/* pages/orders/order-detail.wxss */ page { height: 100vh; display: flex; flex-direction: column; background: #F4F4F4; } .container { display: flex; flex-direction: column; } .record-list { flex: 1; overflow-y: scroll; box-sizing: border-box; } .order-status { margin: 24rpx 26rpx 0; background-color: #FFFFFF; border-radius: 20rpx; padding: 24rpx 32rpx; .status { display: flex; image { width: 48rpx; height: 48rpx; margin-right: 16rpx; } text { font-weight: 600; font-size: 36rpx; color: #131415; line-height: 48rpx; } } .tips { padding-top: 24rpx; font-size: 28rpx; color: #777777; line-height: 40rpx; } } .order-content { margin: 24rpx 26rpx 0; border-radius: 20rpx; display: flex; flex-direction: column; background-color: #FFFFFF; } .goods-content { margin: 24rpx 26rpx 0; border-radius: 20rpx; padding: 28rpx 24rpx; display: flex; flex-direction: column; background-color: #FFFFFF; .goods-title { font-weight: 600; font-size: 30rpx; color: #502F00; line-height: 42rpx; padding: 0 0 32rpx; } } .item-content { display: flex; width: 100%; &+.item-content { padding-top: 60rpx; } .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; color: #131415; line-height: 50rpx; text-overflow: ellipsis; max-width: 480rpx; } } .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; color: #131415; line-height: 48rpx; .stuff { font-size: 28rpx; padding-right: 4rpx; } .priceZ { font-size: 40rpx; } .priceF { font-size: 32rpx; } } .origin-price { font-weight: 400; font-size: 24rpx; color: #6D4718; line-height: 1; text { text-decoration: line-through; padding-left: 6rpx; } } .goods-type { display: flex; align-items: center; padding-top: 28rpx; .goods-card { height: 40rpx; background: #fdf2e2; border-radius: 6rpx; font-size: 26rpx; color: #502f00; line-height: 40rpx; padding: 0 12rpx; } .goods-num { font-size: 28rpx; color: #777; line-height: 36rpx; } } // .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; // color: #131415; // text-overflow: ellipsis; // max-width: 360rpx; // } // .goods-price { // flex-shrink: 0; // font-family: DINAlternate, DINAlternate; // font-weight: bold; // font-size: 28rpx; // color: #131415; // line-height: 48rpx; // text { // font-size: 34rpx; // } // } // } // .goods-type { // display: flex; // justify-content: space-between; // align-items: center; // padding-top: 12rpx; // .innerGroup { // display: flex; // position: relative; // } // .innerFree { // margin-left: 8rpx; // font-size: 24rpx; // color: #FF0047; // line-height: 34rpx; // border-radius: 4rpx; // border: 2rpx solid rgba(255,0,71,0.25); // padding: 2rpx 8rpx; // // text { // // font-weight: bold; // // } // } // .goods-card { // background: #FDF2E2; // border-radius: 6rpx; // font-size: 26rpx; // color: #502F00; // line-height: 36rpx; // padding: 2rpx 10rpx; // } // .goods-num { // font-size: 26rpx; // color: #777777; // line-height: 36rpx; // } // } } .goodsInfos { margin-top: 32rpx; // border-top: 2rpx solid #F2F2F2; .qrcode-line { position: relative; background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段 background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围 // margin: 42rpx 0 32rpx; &::before, &::after { content: ''; position: absolute; top: -20rpx; display: block; width: 40rpx; height: 40rpx; background-color: #F4F4F4; border-radius: 50%; } &::before { left: -50rpx; } &::after { right: -50rpx; } } } .goodsInfo-item { display: flex; justify-content: space-between; align-items: center; padding-top: 32rpx; .title { font-weight: 400; font-size: 28rpx; color: #131415; line-height: 40rpx; } .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; color: #131415; line-height: 48rpx; .stuff { font-size: 32rpx; padding-right: 4rpx; } .priceZ { font-size: 48rpx; } .priceF { font-size: 32rpx; } } .calc-price { font-weight: bold; font-size: 28rpx; color: #FF0047; line-height: 32rpx; } } /* HTML:
*/ .loader { position: absolute; top: 50%; left: 50%; right: 0; bottom: 0; margin-top: -25rpx; margin-left: -25rpx; z-index: 9; width: 50rpx; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(farthest-side, #E8E8E8 94%, #0000) top/8rpx 8rpx no-repeat, conic-gradient(#0000 30%, #E8E8E8); -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8rpx), #000 0); animation: tempLoading 1s infinite linear; } @keyframes tempLoading { 100% { transform: rotate(1turn) } } .qrcode-title { padding: 40rpx 24rpx; font-weight: 600; font-size: 30rpx; color: #131415; line-height: 42rpx; } // .qrcode-line { // position: relative; // background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段 // background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px // height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围 // margin: 0 24rpx; // &::before, // &::after { // content: ''; // position: absolute; // top: -20rpx; // display: block; // width: 40rpx; // height: 40rpx; // background-color: #F4F4F4; // border-radius: 50%; // } // &::before { // left: -44rpx; // } // &::after { // right: -44rpx; // } // } .only_canvas { position: absolute; left: -300rpx; top: 0; width: 202rpx; height: 202rpx; } .qrcode-text { font-size: 28rpx; color: #777; line-height: 40rpx; border-radius: 12rpx; font-size: 26rpx; border: 2rpx solid #F2F2F2; padding: 16rpx 12rpx; text-align: left; margin: 30rpx 20rpx; text { color: #DDA64C; font-weight: bold; } &.used { // padding: 16rpx 12rpx; color: #777; display: flex; align-items: center; justify-content: space-between; } .free { color: #FF0047; } .bold { font-weight: bold; } } .qrcode-section { margin-top: 20rpx; padding-bottom: 32rpx; padding: 0 24rpx 28rpx; .qrcode-block { display: flex; margin-top: 20rpx; background: #FBF5EE; border-radius: 20rpx; overflow: hidden; .left-text { padding: 0 18rpx 0 22rpx; background: linear-gradient(180deg, #544F4A 0%, #302F2B 100%); display: flex; align-items: center; justify-content: center; writing-mode: vertical-lr; font-weight: 600; font-size: 26rpx; color: #FBEAC9; line-height: 36rpx; letter-spacing: 10rpx; } } .qrCodeSection { flex: 1; width: 100%; display: flex; align-items: center; flex-direction: column; } .qrcode-btn--section { display: flex; align-items: center; padding-bottom: 22rpx; button { border-radius: 78rpx; line-height: 26px; padding: 5rpx 13rpx; width: auto; font-weight: 600; font-size: 12px; margin: 0 8rpx; min-width: 148rpx; box-sizing: border-box; } .submit { background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); color: #FBEAC9; } .download { border: 1px solid #C8C8C8; // box-sizing: content-box; line-height: 24px; background-color: transparent; color: #333333; } } .qrcode-wrap { position: relative; margin: 22rpx auto 22rpx; border: 2rpx solid #ECCEA0; padding: 6rpx; border-radius: 8rpx; display: inline-block; font-size: 0; &.used { border: 2rpx solid #EDEDED; } } .my_draw_canvas { width: 202rpx; height: 202rpx; background-color: #fff; padding: 6rpx; } } .downloadApp { background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); border-radius: 26rpx; padding: 4rpx 12rpx; font-weight: 600; font-size: 22rpx; color: #FBEAC9; line-height: 32rpx; display: inline-block; } .download-task { padding: 0 24rpx 24rpx; image { width: 100%; } } .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; padding: 36rpx 0; margin: 0 24rpx; 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: #FE2451; } .copy { font-size: 30rpx; color: #131415; line-height: 42rpx; display: flex; align-items: center; &::before { content: ''; display: block; width: 2rpx; height: 22rpx; background: #DCDCDC; margin: 0 16rpx; } } } } } .scroll-brank { height: 44rpx; width: 100%; } .order-btn { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #FFFFFF; padding: 20rpx 32rpx 58rpx 40rpx; box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0; 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(90deg, #544F4A 0%, #302F2B 100%); border-radius: 78rpx; padding: 22rpx 84rpx; font-weight: 600; font-size: 32rpx; color: #FBEAC9; line-height: 44rpx; &[disabled][type=primary] { color: #fff; background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); opacity: 0.7; } } .refoundWaiteUse { margin-right: 28rpx; border: 2rpx solid #DCDCDC; background: #fff; border-radius: 78rpx; color: #333333; } } .select-section { margin: 24rpx 26rpx 0; background: #ffffff; border-radius: 20rpx; padding: 24rpx; display: flex; align-items: center; justify-content: space-between; .name { font-weight: 600; font-size: 30rpx; color: #000000; line-height: 42rpx; } .icon-arrow { width: 24rpx; height: 24rpx; } .add-buy-btn { width: 104rpx; background: linear-gradient(90deg, #544f4a 0%, #302f2b 100%); border-radius: 26rpx; margin: 0; padding: 0; font-weight: 600; font-size: 24rpx; color: #fbeac9; line-height: 44rpx; display: flex; align-items: center; justify-content: center; } } .select-address { .address-text { font-weight: 600; font-size: 30rpx; color: #000000; line-height: 42rpx; word-break: break-all; word-wrap: break-word; } .address-user { padding-top: 12rpx; font-size: 28rpx; color: #333333; line-height: 40rpx; text { padding-right: 12rpx; } } .icon-arrow { width: 24rpx; height: 24rpx; } } .select-buy-user { flex-direction: column; padding: 34rpx 24rpx; .title { display: flex; width: 100%; justify-content: space-between; padding-bottom: 32rpx; border-bottom: 2rpx solid #F2F2F2; .name { color: #502F00; } } .user-list { padding-top: 32rpx; width: 100%; } .user-item { padding-bottom: 32rpx; font-size: 28rpx; color: #131415; line-height: 40rpx; display: flex; // align-items: center; justify-content: space-between; .left-label { width: 196rpx; } .right-value { flex: 1; text-align: right; word-break: break-all; word-wrap: break-word; color: #777777; } } }