/* 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: 592rpx; background: url("https://oss.dayaedu.com/ktyq/1738997023805.png") no-repeat; background-size: 100% 100%; } .record-list { padding-top: 36rpx; flex-grow: 1; padding-bottom: 200rpx; overflow: hidden; } } .order-status { margin: 24rpx 26rpx 0; // background-color: #FFFFFF; border-radius: 20rpx; padding: 24rpx 32rpx; .status { display: flex; padding-bottom: 24rpx; image { width: 48rpx; height: 48rpx; margin-right: 16rpx; } text { font-weight: 600; font-size: 48rpx; color: #FFFFFF; line-height: 48rpx; } } .tips { font-size: 28rpx; color: #FFFFFF; line-height: 40rpx; } } .memberBox { margin: 0 24rpx; background: #ffffff; border-radius: 20rpx; border: 3rpx solid transparent; &.showMemberInfoTip { border-color: #FD4502; } .memberCon { padding: 24rpx; display: flex; justify-content: space-between; align-items: center; .memberImg { width: 44rpx; height: 44rpx; } .info { flex-grow: 1; margin-left: 16rpx; font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; } .chevronImg { flex-shrink: 0; width: 32rpx; height: 32rpx; } .memberInfoCon { margin-right: 24rpx; overflow: hidden; } .infoCon { display: flex; align-items: center; font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; .tip { flex-shrink: 0; width: 44rpx; height: 44rpx; } .name{ margin-left: 16rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .phone { flex-shrink: 0; margin-left: 16rpx; } } .schoolInfoCon { margin-top: 20rpx; display: flex; align-items: center; .schoolInfo { margin-right: 8rpx; border-radius: 4rpx; border: 1.6rpx solid rgba(243, 131, 9, 0.5); padding: 0rpx 6rpx; font-weight: 400; font-size: 20rpx; color: #F38309; line-height: 32rpx; flex-shrink: 0; } .schoolInfoDes { font-weight: 400; font-size: 24rpx; color: #777777; line-height: 32rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } .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; } } .titTip { font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; margin-bottom: 32rpx; position: relative; &::after { content: ""; display: inline-block; position: absolute; left: -24rpx; top: 50%; transform: translateY(-50%); z-index: 1; width: 6rpx; height: 24rpx; background: #24CD72; border-radius: 0rpx 4rpx 4rpx 0rpx; } } .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: 26rpx; color: #777777; line-height: 36rpx; } .goods-num { font-weight: 400; font-size: 26rpx; color: #777777; line-height: 36rpx; } } } .discountCon { margin-top: 42rpx; display: flex; justify-content: space-between; align-items: center; .discountTip { display: flex; align-items: center; image { width: 32rpx; height: 32rpx; } text { margin-left: 8rpx; font-weight: 400; font-size: 28rpx; color: #333333; line-height: 40rpx; } } .discount { font-weight: bold; font-size: 32rpx; color: #FD4502; line-height: 48rpx; display: flex; text { &:first-child { margin-right: 6rpx; font-size: 28rpx; } } } } .totalPic { border-top: 2rpx solid #EEEEEE; margin-top: 32rpx; padding-top: 20rpx; display: flex; justify-content: flex-end; align-items: flex-end; font-weight: bold; font-size: 32rpx; color: #000000; line-height: 56rpx; .titPic { font-weight: 600; font-size: 24rpx; color: #777777; } .stuff { margin-left: 16rpx; margin-right: 4rpx; } .numberDisplay--integer { line-height: 1; font-size: 48rpx; } .numberDisplay--decimal { font-size: 32rpx; } } .memberInfo { display: flex; justify-content: space-between; margin-bottom: 32rpx; &:last-child{ margin-bottom: 0; } text { &:nth-child(1) { margin-right: 28rpx; width: 140rpx; flex-shrink: 0; font-weight: 400; font-size: 28rpx; color: #666666; line-height: 40rpx; } &:nth-child(2) { 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: space-between; 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; } .price { display: flex; align-items: flex-end; font-weight: bold; font-size: 32rpx; color: #000000; line-height: 56rpx; .desc { font-weight: 600; font-size: 24rpx; color: #777777; } .stuff { margin-right: 4rpx; } .numberDisplay--integer { line-height: 1; font-size: 48rpx; } .numberDisplay--decimal { font-size: 32rpx; } } .discountVal { font-weight: 600; font-size: 24rpx; color: #FD4502; line-height: 34rpx; } button { margin: 0; width: 280rpx; height: 88rpx; background: url("https://oss.dayaedu.com/ktyq/1739342836131.png") no-repeat; background-size: 100% 100%; border-radius: 78rpx; font-weight: 600; font-size: 32rpx; color: #FFFFFF; line-height: 88rpx; } }