/* pages/orders/orders.wxss */ .container { height: 100vh; display: flex; flex-direction: column; background: #F4F4F4; position: relative; &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 286rpx; background: linear-gradient(180deg, #FDEC00 0%, #FAD400 100%); } } .record-content { display: flex; flex-direction: column; width: 100%; flex: 1; overflow-y: auto; position: relative; } .record-tab { display: flex; align-items: center; justify-content: space-between; padding: 28rpx 24rpx 16rpx; >view { font-size: 32rpx; font-family: PingFangSC-Regular, PingFang SC; color: rgba(0, 0, 0, 0.5); padding: 0 34rpx; &.active { font-size: 32rpx; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #131415; position: relative; z-index: 2; &::before { content: ""; position: absolute; left: 50%; margin-left: -19rpx; bottom: -16rpx; z-index: -1; width: 34rpx; height: 4rpx; background: #534E49; } } } } .record-list { flex: 1; overflow-y: scroll; box-sizing: border-box; background: #F4F4F4 !important; } .list-item-group { padding-bottom: 24rpx; } .list-item { background: #FFFFFF; border-radius: 20rpx; margin: 26rpx 26rpx 0; padding: 24rpx; .item-top { display: flex; justify-content: space-between; font-size: 28rpx; line-height: 48rpx; padding-bottom: 26rpx; .item-mid { color: #999999; } >text { color: #777; } .cancel { color: #777; } .red { color: #FE4600; } } .item-content { display: flex; &+.item-content { padding-top: 26rpx; } .goods-icon { width: 140rpx; height: 140rpx; margin-right: 20rpx; flex-shrink: 0; border-radius: 11rpx; overflow: hidden; } .goods-desc { flex: 1 auto; display: flex; flex-direction: column; } .goodsInfo { display: flex; justify-content: space-between; padding-top: 4rpx; .goods-name { flex: 1 auto; white-space: nowrap; overflow: hidden; font-weight: 600; font-size: 30rpx; color: #333; line-height: 50rpx; text-overflow: ellipsis; max-width: 280rpx; } .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 28rpx; color: #333333; line-height: 48rpx; text { font-size: 36rpx; padding-left: 4rpx; } } } .goods-type { display: flex; justify-content: space-between; align-items: center; padding-top: 12rpx; .goods-card { background: #FEEDF0; border-radius: 6rpx; font-size: 26rpx; color: #FE2451; line-height: 40rpx; padding: 0 12rpx; } .goods-num { font-size: 26rpx; color: #AAAAAA; line-height: 36rpx; } } } .item-footer { padding-top: 24rpx; margin-top: 24rpx; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; border-top: 2rpx solid #F2F2F2; .order-price { display: flex; align-items: flex-end; .desc { font-size: 24rpx; color: #999; line-height: 40rpx; flex-shrink: 0; } .currentPrice { font-weight: bold; font-family: DINAlternate, DINAlternate; // display: flex; // align-items: center; color: #333; .before { font-size: 28rpx; color: #131415; font-weight: 400; } .stuff { font-size: 28rpx; padding: 2rpx 4rpx 0; } .priceZ { font-size: 36rpx; line-height: 1; } // .priceF { // font-size: 32rpx; // } } // .line { // margin: 0 12rpx 8rpx; // background-color: #D2D2D2; // width: 2rpx; // height: 20rpx; // } .discountPrice { font-size: 28rpx; color: #FE4600; font-weight: bold; padding-left: 8rpx; padding-right: 12rpx; text { font-size: 36rpx; line-height: 1; } } } button { margin: 24rpx 0 0; background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); border-radius: 26rpx; font-weight: 600; font-size: 24rpx; color: #FEFFCA; width: auto; padding: 0 22rpx; line-height: 52rpx; } } } .bottom-section { // position: fixed; // bottom: 0; // left: 0; width: 100%; background-color: #FFFFFF; box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0; padding: 20rpx 32rpx 58rpx 32rpx; display: flex; align-items: center; box-sizing: border-box; justify-content: space-around; .orders { display: flex; align-items: center; margin-right: 40rpx; padding: 8rpx 0 16rpx; &.active { text { color: #131415; } } image { width: 44rpx; height: 44rpx; } text { padding-left: 16rpx; font-weight: 500; font-size: 28rpx; color: #AAAAAA; line-height: 44rpx; text-align: center; } } .btnSection { flex: 1 auto; button { width: 100%; line-height: 88rpx; background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%); border-radius: 44rpx; font-weight: 500; font-size: 32rpx; color: #FFFFFF; padding-top: 0; padding-bottom: 0; &[disabled][type=primary] { opacity: 0.7; } } } } .empty-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); font-size: 32rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; image { width: 384rpx; height: 198rpx; } .empty-text { font-size: 28rpx; color: #777777; line-height: 40rpx; text-align: center; padding-top: 24rpx; } }