/* pages/orders/orders.wxss */ .container { height: 100vh; display: flex; flex-direction: column; background: #F5F6F7; &::before { content: ''; position: absolute; top: 0; width: 100%; height: 592rpx; background: url("https://oss.dayaedu.com/ktyq/1738997023805.png") no-repeat; background-size: 100% 100%; } } .container { display: flex; flex-direction: column; } .record-content { display: flex; flex-direction: column; width: 100%; flex: 1; overflow-y: auto; } .record-tab { display: flex; align-items: center; justify-content: space-between; padding: 32rpx 60rpx 36rpx; position: relative; font-weight: 600; font-size: 30rpx; color: rgba(0, 0, 0, 0.4); line-height: 42rpx; >view { &.active { color: #000000; position: relative; z-index: 2; &::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -10rpx; z-index: -1; width: 32rpx; height: 8rpx; background: #000000; border-radius: 4rpx; } } } } .record-list { flex: 1; overflow-y: scroll; box-sizing: border-box; } .list-item-group { padding-bottom: 88rpx; } .list-item { background: #FFFFFF; border-radius: 20rpx; margin: 20rpx 26rpx 0; padding: 24rpx 24rpx 16rpx 24rpx; &:first-child { margin-top: 0; } .item-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24rpx; .item-mid { font-weight: 400; font-size: 26rpx; color: #AAAAAA; line-height: 36rpx; } >text { font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; } .red { color: #FD4502; } .closed { color: #AAAAAA; } } .item-content { margin-bottom: 16rpx; display: flex; justify-content: space-between; .imgCon{ display: flex; } .goods-icon { width: 120rpx; height: 120rpx; margin-right: 24rpx; flex-shrink: 0; border-radius: 6px; overflow: hidden; } .goods-desc { display: flex; flex-direction: column; } .goodsInfo { display: flex; justify-content: space-between; padding-top: 4rpx; .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 28rpx; color: #131415; line-height: 48rpx; .stuff { font-size: 32rpx; margin-right: 4rpx; } .numberDisplay--integer { line-height: 52rpx; font-size: 44rpx; } .numberDisplay--decimal { font-size: 32rpx; } } } .goods-type { display: flex; justify-content: flex-end; align-items: center; padding-top: 10rpx; .goods-card { // background: #FEEDF0; border-radius: 6rpx; font-size: 26rpx; color: #131415; line-height: 40rpx; // padding: 0 12rpx; } .goods-num { font-size: 26rpx; color: #999999; line-height: 36rpx; text-align: right; } } } .item-footer { border-top: 2rpx solid #EEEEEE; margin-top:8rpx; padding-top: 16rpx; display: flex; justify-content: space-between; align-items: center; .order-price { font-size: 28rpx; color: #999999; line-height: 48rpx; .price-first { font-weight: bold; color: #FE2451; font-size: 28rpx; } .price { font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 36rpx; color: #FE2451; line-height: 48rpx; } } button { margin: 0; border-radius: 12rpx; background: #fff; //border: 2rpx solid #DCDCDC; font-weight: 500; font-size: 28rpx; color: #131415; width: auto; padding: 0 24rpx; line-height: 54rpx; box-sizing: content-box; } .sure { background: #000000; border-radius: 36rpx; font-family: PingFangSC, PingFang SC; font-weight: 500; font-size: 26rpx; color: #FFFFFF; } } } .empty-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); image { width: 375rpx; height: 250rpx; } .empty-text { font-weight: 400; font-size: 28rpx; color: #AAAAAA; line-height: 40rpx; text-align: center; padding-top: -24rpx; } }