/* pages/orders/order-detail.wxss */ page { height: 100vh; display: flex; flex-direction: column; background: #F4F4F4; &::before { content: ''; position: absolute; top: 0; width: 100%; height: 750rpx; background: linear-gradient(to bottom, #FB660A, #F5F6F7) #f4f4f4; background-size: 750rpx; } .weui-navigation-bar__btn_goback { background-color: #fff; } } .scroll-container { padding-bottom: 184rpx; } .order-status { margin: 24rpx 26rpx 0; // background-color: #FFFFFF; border-radius: 20rpx; padding: 24rpx 8rpx 24rpx 32rpx; .status { display: flex; justify-content: space-between; image { width: 48rpx; height: 48rpx; margin-right: 16rpx; } .btn-refound { text-align: center; font-size: 26rpx; color: rgba(255,255,255,0.7); line-height: 34rpx; height: 34rpx; border-radius: 24rpx; border: 1rpx solid rgba(255,255,255,0.7); padding: 4rpx 12rpx; } text { font-weight: 600; font-size: 48rpx; color: #FFFFFF; line-height: 48rpx; } } .tips { padding-top: 24rpx; font-size: 28rpx; color: #FFFFFF; line-height: 40rpx; } } .order-content { margin: 32rpx 26rpx 0; border-radius: 20rpx; padding: 28rpx 24rpx; display: flex; flex-direction: column; background-color: #FFFFFF; } .item-content { display: flex; width: 100%; .goods-icon { width: 140rpx; height: 140rpx; margin-right: 24rpx; flex-shrink: 0; border-radius: 6px; overflow: hidden; } .goods-desc { flex: 1 auto; display: flex; flex-direction: column; } .goodsInfo { display: flex; justify-content: space-between; padding-top: 4rpx; .goods-name { flex: 1 auto; white-space: nowrap; overflow: hidden; font-weight: 600; font-size: 30rpx; text-overflow: ellipsis; max-width: 310rpx; } // .goods-price { // flex-shrink: 0; // font-family: DINAlternate, DINAlternate; // font-weight: bold; // 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; .stuff { font-size: 28rpx; } .priceZ { font-size: 36rpx; } .priceF { font-size: 28rpx; } } } .goods-type { display: flex; justify-content: space-between; align-items: center; padding-top: 12rpx; .goods-card { border-radius: 6rpx; font-size: 26rpx; color: #131415; line-height: 40rpx; } .goods-num { font-size: 26rpx; color: #999999; line-height: 36rpx; } } } .only_canvas { position: absolute; left: -300rpx; top: 0; width: 300rpx; height: 300rpx; } /* HTML:
*/ .loader { position: absolute; top: 50%; left: 50%; right: 0; bottom: 0; margin-top: -50rpx; margin-left: -50rpx; z-index: 9; width: 100rpx; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(farthest-side,#E8E8E8 94%,#0000) top/8px 8px no-repeat, conic-gradient(#0000 30%,#E8E8E8); -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0); animation: tempLoading 1s infinite linear; } @keyframes tempLoading{ 100%{transform: rotate(1turn)} } .qrcode-section { margin-top: 28rpx; border-top: 2rpx solid #F0F0F0; padding-top: 60rpx; padding-bottom: 22rpx; text-align: center; display: flex; flex-direction: column; .qrcode-wrap { position: relative; margin: 0 auto; // border: 3rpx solid #EDEDED; padding: 34rpx; display: inline-block; font-size: 0; background: url('https://oss.dayaedu.com/ktyq/1732529619848.png') no-repeat center; background-size: contain; &.used { .arrow { display: none; } background: url('https://oss.dayaedu.com/ktyq/1732530067551.png') no-repeat center; background-size: contain; } .arrow { position: absolute; left: -126rpx; top: 50%; transform: translateY(-50%); width: 106rpx; height: 52rpx; } .arrow-right { right: -126rpx; left: auto; transform: rotateY(180deg) translateY(-50%); } } .my_draw_canvas { width: 300rpx; height: 300rpx; } .qrcode-text { display: inline-block; margin-top: 32rpx; padding: 16rpx 32rpx 0; font-weight: 500; font-size: 28rpx; color: #131415; line-height: 40rpx; // background: #FFE7C7; border-radius: 36rpx; &.used { // background: #F2F2F2; color: #AAAAAA; } } .qrcode-btn--section { display: flex; align-items: center; justify-content: center; // padding-bottom: 22rpx; padding-top: 32rpx; button { border-radius: 78rpx; // line-height: 68rpx; padding: 14rpx 30rpx; width: auto; border-radius: 68rpx; font-weight: 500; font-size: 28rpx; margin: 0 16rpx; min-width: 200rpx; box-sizing: border-box; } .submit { background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%); color: #FFFFFF; } .download { background: #FFEADE; color: #FF5000; } } } .order-time { margin: 24rpx 26rpx 0; border-radius: 20rpx; padding: 0 24rpx; background-color: #FFFFFF; .order-item { display: flex; justify-content: space-between; padding: 36rpx 0; border-bottom: 2rpx solid #F0F0F0; &:last-child { border-bottom: none; } .title { font-weight: 500; font-size: 30rpx; color: #131415; line-height: 42rpx; } .value { font-size: 30rpx; color: #777777; line-height: 42rpx; display: flex; &.red { color: #FF5000; } .copy { font-size: 30rpx; color: #FF5000; line-height: 42rpx; display: flex; align-items: center; font-weight: 400; padding-left: 16rpx; } } } } .order-btn { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #FFFFFF; padding: 20rpx 32rpx 58rpx; display: flex; justify-content: space-between; 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; } } .price { display: flex; align-items: center; .desc { font-weight: 500; font-size: 28rpx; color: #131415; line-height: 40rpx; } .currentPrice { font-weight: bold; color: #FE2451; font-family: DINAlternate, DINAlternate; .stuff { font-size: 32rpx; } .priceZ { font-size: 56rpx; } .priceF { font-size: 32rpx; } } } button { margin: 0; width: 100%; background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%); border-radius: 16rpx; padding: 22rpx 84rpx; font-weight: 500; font-size: 32rpx; color: #FFFFFF; line-height: 44rpx; &[disabled][type=primary] { color: #fff; background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%); color: #FFFFFF; opacity: 0.7; } } }