/* packageA/pages/refuelingCharging/RefuelingChargingDetail/RefuelingChargingDetail.wxss */ .container { height: 100vh; padding-top: 2px; box-sizing: border-box; background: #EFF1F4; overflow: hidden; position: relative; >.bg { width: 100%; height: 250px; position: absolute; top: 0; image { width: 100%; height: 100%; display: block; } } .top { margin: 8px 8px 10px; padding: 12px 10px; margin-bottom: 8px; background: #fff; border-radius: 8px; position: relative; padding: 12px 10px; .row:first-child { margin-bottom: 8px; } .row { margin-bottom: 4px; color: #2E3A4F; font-size: 28rpx; display: flex; align-items: center; justify-content: space-between; .title { font-size: 30rpx; font-weight: bold; } .time { color: #858CA0; } .val { display: flex; align-items: center; .type { width: 104rpx; height: 32rpx; padding: 4rpx; margin-left: 16rpx; line-height: 32rpx; background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%); border-radius: 2px; color: #fff; text-align: center; } .type-g { background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%); } .type-b { background: #4381FC; } .type-bb { background: #FFFFFF; border-radius: 2px; border: 1px solid #4F88FC; color: #4381FC; } } .status { width: 104rpx; color: #2E3A4F; font-weight: bold; text-align: center; } .status1 { width: 104rpx; color: #4381FC; font-weight: bold; text-align: center; } .prices { color: #4381FC; font-size: 14px; // display: flex; // align-items: flex-end; .num { font-size: 28px; font-weight: bold; display: inline-block; } } } } .detail-container { max-height: calc(100vh - 130px); padding: 0px 8px 0px; box-sizing: border-box; overflow: hidden; position: relative; .content { max-height: calc(100vh - 150px); padding: 12px 10px; // box-sizing: border-box; border-radius: 8px; background: #fff; overflow-y: auto; .title { margin-bottom: 17px; display: flex; align-items: center; .line { width: 4px; height: 22px; background: linear-gradient(180deg, #4E87FC 0%, #38B1FE 100%); border-radius: 2px; } .val { margin-left: 8px; font-size: 14px; font-weight: bold; color: #333F53; } } .row { margin-bottom: 8px; display: flex; justify-content: space-between; // align-items: center; .label { margin-right: 4px; color: #858CA0; font-size: 14px; white-space: nowrap; } .val { color: #2E3A4F; font-size: 14px; } .pic-box { max-width: 70%; display: flex; justify-content: flex-end; flex-wrap: wrap; .item { width: 84px; height: 84px; padding-left: 8px; margin-bottom: 8px; display: flex; align-items: center; image { width: 100%; height: 100%; display: block; } } } } } } .bottom { width: 100%; padding: 10px 8px 30px; background: #fff; box-sizing: border-box; border-radius: 8px 8px 0 0; box-shadow: 0px -2px 12px 0px rgba(0,0,0,0.2); position: absolute; bottom: 0; left: 0; .btn-box { width: 100%; display: flex; justify-content: space-between; .btn { width: 100%; height: 40px; line-height: 40px; border-radius: 8px; background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%); color: #fff; font-weight: bold; text-align: center; } } } } .file{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #409EFF; word-wrap: break-word; word-break: break-all; white-space: pre-line; }