/* 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%; } .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; } } .order-content { margin: 20rpx 26rpx 0; border-radius: 20rpx; padding: 24rpx; 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; position: relative; } .quotaCon { display: flex; align-items: center; .quota { margin-left: 12rpx; width: 102rpx; height: 36rpx; } } .tip { margin-top: 12rpx; font-weight: 400; font-size: 24rpx; color: #888888; line-height: 34rpx; } .instrumentsListBox { margin-top: 24rpx; width: 100%; height: 350rpx; position: relative; .instrumentsListCon { width: calc(100% + 50rpx); height: 100%; position: absolute; white-space: nowrap; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; &::-webkit-scrollbar { display: none; } .instrumentItem { width: 200rpx; background: #FFFFFF; border-radius: 16rpx; border: 2rpx solid #EAEAEA; margin-right: 16rpx; overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column; position: relative; &:last-child { margin-right: 26rpx; } .itemSel { position: absolute; right: 12rpx; top: 12rpx; width: 32rpx; height: 32rpx; } .itemPic { width: 200rpx; height: 202rpx; } .itemName { margin: 6rpx 0 0 12rpx; font-weight: 400; font-size: 26rpx; color: #131415; line-height: 40rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .itemSalePrice { margin: 6rpx 0 0 12rpx; font-weight: bold; font-size: 28rpx; color: #000000; line-height: 40rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; .stuff { margin-right: 2rpx; } .numberDisplay--integer { line-height: 1; font-size: 32rpx; } .numberDisplay--decimal { font-size: 24rpx; } } .itemOriginalPrice { margin: 6rpx 0 0 12rpx; font-weight: 400; font-size: 24rpx; color: #AAAAAA; line-height: 36rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } .memberBox { margin-top: 16rpx; background: linear-gradient(315deg, #FFEEE9 0%, #FFF6EC 100%); border-radius: 20rpx; border: 3rpx solid #FD4502; .memberCon { padding: 24rpx; display: flex; justify-content: space-between; position: relative; .memberImg { margin-top: 4rpx; width: 28rpx; height: 36rpx; flex-shrink: 0; } .infoBox { margin-left: 12rpx; display: flex; flex-direction: column; flex-grow: 1; margin-right: 42rpx; overflow: hidden; .topInfo { font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; } .info { margin-top: 14rpx; font-weight: 400; font-size: 24rpx; color: rgba(19, 20, 21, 0.4); line-height: 34rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .infoCon { margin-top: 8rpx; display: flex; align-items: center; font-weight: 400; font-size: 24rpx; color: rgba(19, 20, 21, 0.5); line-height: 34rpx; .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .phone { flex-shrink: 0; margin-left: 16rpx; } } .infoAddress { font-weight: 600; font-size: 26rpx; color: #131415; line-height: 36rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .chevronImg { position: absolute; right: 24rpx; top: 50%; transform: translateY(-50%); width: 32rpx; height: 32rpx; } } } .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 { line-height: 40rpx; margin-right: 4rpx; } .numberDisplay--integer { line-height: 1; font-size: 32rpx; } .numberDisplay--decimal { font-size: 24rpx; } } } .popup-section { .popup-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 9; } .popup-container { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; width: 100%; background: #FFFFFF; border-radius: 32rpx 32rpx 0rpx 0rpx; padding: 40rpx 0 56rpx; box-sizing: border-box; .topTit { font-weight: 600; font-size: 36rpx; color: #131415; line-height: 50rpx; text-align: center; margin-bottom: 40rpx; } .iconClose { position: absolute; right: 40rpx; top: 50rpx; width: 32rpx; height: 32rpx; } .btnSections { margin-top: 20rpx; padding: 0 26rpx; image { width: 28rpx; height: 28rpx; margin-right: 16rpx; } button { width: 100%; line-height: 84rpx; background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat; background-size: 100% 100%; font-weight: 500; font-size: 32rpx; color: #FFFFFF; padding-top: 0; padding-bottom: 0; border-radius: 78rpx; &[disabled][type=primary] { color: #fff; opacity: 0.7; } } } } } .addressPopup { z-index: 10; .popup-mask { z-index: 11; } .popup-container { z-index: 11; .memberListCon { overflow: hidden; max-height: 500rpx; min-height: 400rpx; .memberListInfo { background: #F6F6F6; border-radius: 20rpx; margin: 0 26rpx 24rpx; padding: 28rpx 24rpx; border: 3rpx solid transparent; &.active { background: linear-gradient(315deg, #FFEEE9 0%, #FFF6EC 100%); border-color: rgba(255, 170, 157, 0.56); } .schoolInfoCon { font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; word-break: break-all; } .infoCon { margin-top: 16rpx; font-weight: 400; font-size: 26rpx; color: rgba(19, 20, 21, 0.5); line-height: 36rpx; display: flex; align-items: center; padding-bottom: 28rpx; border-bottom: 2rpx solid rgba(0, 0, 0, 0.06); .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .phone { flex-shrink: 0; margin-left: 16rpx; } } .operate { margin-top: 28rpx; display: flex; justify-content: space-between; align-items: center; .radioCon { display: flex; align-items: center; .radioImg { width: 28rpx; height: 28rpx; } .radioName { margin-left: 8rpx; font-weight: 400; font-size: 24rpx; color: #777777; line-height: 34rpx; } } .operateCon { display: flex; font-weight: 400; font-size: 24rpx; color: #333333; line-height: 34rpx; view:last-child { margin-left: 60rpx; } } } } .empty-box { height: 400rpx; display: flex; flex-direction: column; justify-content: center; align-items: center; image { width: 375rpx; height: 250rpx; } .empty-text { font-weight: 400; font-size: 28rpx; color: #AAAAAA; line-height: 40rpx; text-align: center; margin-top: -24rpx; } } } .btnSections { margin-top: 20rpx; padding: 0 26rpx; button { width: 100%; line-height: 84rpx; background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat; background-size: 100% 100%; font-weight: 500; font-size: 32rpx; color: #FFFFFF; padding-top: 0; padding-bottom: 0; border-radius: 78rpx; &[disabled][type=primary] { color: #fff; opacity: 0.7; } } } } } .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; align-items: center; 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: 24rpx; color: #131415; .stuff { margin-right: 6rpx; font-size: 24rpx; } .numberDisplay--integer { line-height: 1; font-size: 32rpx; } .numberDisplay--decimal { font-size: 24rpx; } } } .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; } } } .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: 24rpx 32rpx 56rpx 32rpx; 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; } } .del-popup-section { .popup-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 99999; } .popup-container { position: fixed; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 999999; margin: 0 100rpx; padding: 50rpx 0 40rpx 0; background: #FFFFFF; border-radius: 32rpx; .tit { font-weight: 600; font-size: 32rpx; color: #000000; line-height: 44rpx; text-align: center; } .titCon { margin-top: 40rpx; font-weight: 400; font-size: 32rpx; color: #777777; line-height: 44rpx; text-align: center; } .btnCon { display: flex; justify-content: center; margin-top: 50rpx; view { font-weight: 400; font-size: 28rpx; color: #000000; line-height: 36rpx; padding: 16rpx 72rpx; border-radius: 36rpx; border: 2rpx solid #DCDCDC; &:last-child { margin-left: 32rpx; background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat; background-size: 100% 100%; color: #fff; border-color: transparent; } } } } }