/* pages/orders/order-detail.wxss */ .container { position: relative; height: 100vh; display: flex; flex-direction: column; background: #F5F6F7; // background: linear-gradient(to bottom, #FB660A, #F5F6F7) #f4f4f4; // background-size: 750rpx; &::before { content: ''; position: absolute; top: 0; width: 100%; width: 100%; height: 489rpx; background: url("https://oss.dayaedu.com/ktyq/1739529857509.png") no-repeat; background-size: 100% 100%; } .topTitle { font-weight: 400; font-size: 24rpx; color: rgba(0, 0, 0, 0.5); line-height: 34rpx; text-align: center; z-index: 122; } .record-list { padding-top: 24rpx; flex-grow: 1; overflow: hidden; &.waitList { padding-bottom: 200rpx; } } } .order-status { margin: 0 24rpx 32rpx 50rpx; // background-color: #FFFFFF; border-radius: 20rpx; //padding: 24rpx 32rpx; .status { display: flex; align-items: center; image { width: 48rpx; height: 48rpx; margin-right: 16rpx; } text { font-weight: 600; font-size: 40rpx; color: #000000; line-height: 48rpx; } } .tips { margin-top: 20rpx; font-weight: 400; font-size: 26rpx; color: rgba(0, 0, 0, 0.5); line-height: 36rpx; } } .order-content { margin: 20rpx 26rpx 0; border-radius: 20rpx; padding: 24rpx 24rpx 32rpx; display: flex; flex-direction: column; background-color: #FFFFFF; &:first-child { margin-top: 0; } } .bottomBlock { width: 100%; height: 60rpx; } .titTip { font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; margin-bottom: 32rpx; position: relative; &.priceTip{ margin-bottom: 0; } } .item-content { margin-top: 40rpx; display: flex; width: 100%; &.first-item-content { margin-top: 0; } .goods-icon { width: 120rpx; height: 120rpx; margin-right: 24rpx; flex-shrink: 0; border-radius: 6px; overflow: hidden; } .goods-desc { flex: 1 auto; display: flex; flex-direction: column; overflow: hidden; } .goodsInfo { display: flex; justify-content: space-between; margin-top: 8rpx; .goods-name { flex: 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 20rpx; font-weight: 600; font-size: 28rpx; color: #131415; line-height: 48rpx; } .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 28rpx; color: #131415; line-height: 48rpx; display: flex; .stuff { margin-right: 6rpx; font-size: 28rpx; } .priceZ { font-size: 32rpx; } } } .goods-type { display: flex; justify-content: space-between; align-items: center; padding-top: 12rpx; .goods-card { font-weight: 400; font-size: 24rpx; color: #777777; line-height: 36rpx; } .goods-num { font-weight: 400; font-size: 24rpx; color: #AAAAAA; line-height: 36rpx; } } } .priceDetails { display: flex; justify-content: space-between; align-items: center; margin-top: 28rpx; &.sumTip { padding-top: 24rpx; border-top: 2rpx solid #F2F2F2; .titPic { font-weight: 400; font-size: 24rpx; color: #777777; } } .priceLeft { >text { &:nth-child(1) { font-weight: 400; font-size: 26rpx; color: #777777; line-height: 36rpx; } &:nth-child(2) { margin-left: 16rpx; font-weight: 400; font-size: 24rpx; color: #AAAAAA; line-height: 34rpx; } } } .priceRight { display: flex; justify-content: flex-end; align-items: flex-end; font-weight: bold; font-size: 28rpx; color: #000000; line-height: 44rpx; &.discountTip { color: #FD4502; } .stuff { margin-right: 4rpx; } .numberDisplay--integer { line-height: 1; font-size: 32rpx; } .numberDisplay--decimal { font-size: 24rpx; } } } .memberInfo { display: flex; justify-content: space-between; margin-bottom: 32rpx; &:last-child { margin-bottom: 0; } .orderInfoRight { display: flex; align-items: center; font-weight: 400; font-size: 28rpx; color: #000000; line-height: 40rpx; .copy { border-left: 2rpx solid #D2D2D2; margin-left: 12rpx; padding-left: 12rpx; font-weight: 400; font-size: 28rpx; line-height: 40rpx; } } >text { &:nth-child(1) { flex-shrink: 0; font-weight: 400; font-size: 28rpx; color: #666666; line-height: 40rpx; } &:nth-child(2) { margin-left: 30rpx; word-break: break-all; text-align: right; font-weight: 400; font-size: 28rpx; color: #000000; line-height: 40rpx; } } } .order-time { margin: 24rpx 26rpx 0; border-radius: 20rpx; padding: 36rpx 24rpx; background-color: #FFFFFF; .order-item { display: flex; justify-content: space-between; padding-bottom: 36rpx; &:last-child { padding-bottom: 0; } .title { font-size: 28rpx; color: #131415; line-height: 40rpx; } .value { font-size: 28rpx; color: #777777; line-height: 40rpx; } } } .order-btn { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #FFFFFF; border-radius: 32rpx 32rpx 0rpx 0rpx; padding: 32rpx 40rpx 56rpx 48rpx; display: flex; justify-content: flex-end; align-items: center; box-sizing: border-box; .orders { display: flex; flex-direction: column; margin-right: 40rpx; image { width: 48rpx; height: 48rpx; } text { font-weight: 500; font-size: 22rpx; color: #131415; line-height: 32rpx; text-align: center; } } .more { display: flex; } .priceCon { margin-right: 32rpx; } .price { display: flex; align-items: flex-end; font-weight: bold; font-size: 32rpx; color: #FE462E; line-height: 56rpx; .goodsNum { margin-right: 10rpx; font-weight: 600; font-size: 24rpx; color: #777777; } .desc { font-weight: 600; font-size: 24rpx; color: #777777; } .stuff { margin-right: 6rpx; } .numberDisplay--integer { line-height: 1; font-size: 52rpx; } .numberDisplay--decimal { font-size: 32rpx; } } button { margin: 0; width: 220rpx; height: 84rpx; background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat; background-size: 100% 100%; border-radius: 78rpx; font-weight: 600; font-size: 32rpx; color: #FFFFFF; line-height: 84rpx; } }