/* pages/orders/orders.wxss */ .container { height: 100vh; display: flex; flex-direction: column; background: #F5F6F7; &::before { content: ''; position: absolute; top: 0; width: 100%; height: 489rpx; background: url("https://oss.dayaedu.com/ktyq/1739529857509.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 38rpx; 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: -20rpx; z-index: -1; width: 56rpx; height: 18rpx; background: url("https://oss.dayaedu.com/ktyq/1739867325778.png") no-repeat; background-size: 100% 100%; } } } } .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; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 20rpx; } >text { flex-shrink: 0; font-weight: 400; font-size: 28rpx; color: #777777; line-height: 48rpx; } .red { color: #FE462E; } .closed { color: #777777; } } .item-content { margin-bottom: 16rpx; display: flex; justify-content: space-between; .imgCon { display: flex; margin-right: 28rpx; overflow: hidden; .goodsDes { overflow: hidden; view { &:nth-child(1) { margin-top: 10rpx; font-weight: 400; font-size: 28rpx; color: #131415; line-height: 48rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } &:nth-child(2) { margin-top: 10rpx; font-weight: 400; font-size: 24rpx; color: #777777; line-height: 36rpx; } } } } .goods-icon { width: 120rpx; height: 120rpx; margin-right: 24rpx; flex-shrink: 0; border-radius: 6px; overflow: hidden; } .goods-desc { flex-shrink: 0; 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 { margin-top: 8rpx; padding-top: 16rpx; display: flex; justify-content: flex-end; align-items: center; .order-price { font-weight: 400; font-size: 24rpx; color: #FD4502; line-height: 34rpx; margin-right: 24rpx; } 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: #FFF0EE; border-radius: 36rpx; border: 2rpx solid rgba(254, 70, 46, 0.5); font-family: PingFangSC, PingFang SC; font-weight: 400; font-size: 24rpx; color: #FE462E; line-height: 54rpx; } .lookDetails { color: #333333; border-color: #DCDCDC; background: transparent; } } } .empty-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); image { width: 392rpx; height: 272rpx; } .empty-text { font-weight: 400; font-size: 28rpx; color: #AAAAAA; line-height: 40rpx; text-align: center; margin-top: -24rpx; } }