/* pages/orders/order-detail.wxss */ page { height: 100vh; display: flex; flex-direction: column; background: #F5F6F7; } .container { display: flex; flex-direction: column; } .record-list { flex: 1; overflow-y: scroll; box-sizing: border-box; } .scroll-container { padding-bottom: 186rpx; 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: 36rpx; color: #131415; line-height: 48rpx; } } .tips { font-size: 28rpx; color: #777777; line-height: 40rpx; } } .addBuyer { position: relative; margin: 26rpx; background: #fff; border-radius: 20rpx; display: flex; align-items: center; justify-content: space-between; padding: 24rpx; overflow: hidden; .addressTop { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; } .icon-man { width: 36rpx; height: 36rpx; margin-right: 16rpx; } .addBuyer-left { display: flex; } .users { font-weight: 600; font-size: 32rpx; color: #131415; line-height: 40rpx; width: 520rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .address { padding-top: 16rpx; font-size: 26rpx; color: #777777; line-height: 34rpx; text { padding-right: 24rpx; } } .arrow-right { width: 24rpx; height: 24rpx; } } .order-content { margin: 24rpx 26rpx 0; border-radius: 20rpx; padding: 28rpx 24rpx; background-color: #FFFFFF; } .item-content { display: flex; width: 100%; &+.item-content { padding-top: 40rpx; } .goods-icon { width: 160rpx; height: 160rpx; 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: 280rpx; } .goods-current-price { font-weight: bold; font-family: DINAlternate, DINAlternate; font-size: 28rpx; color: #131415; line-height: 48rpx; text { font-size: 32rpx; padding-left: 4rpx; } } } .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; } .goods-type { display: flex; align-items: center; padding-top: 10rpx; justify-content: space-between; .goods-card { background: #FEEDF0; border-radius: 6rpx; font-size: 26rpx; color: #FE2451; line-height: 40rpx; padding: 0 12rpx; } .goods-num { font-size: 26rpx; color: #777; line-height: 36rpx; } } } .goodsInfos { margin-top: 30rpx; // 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 background-color: #F2F2F2; height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围 margin: 24rpx 0 28rpx; // &::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: 28rpx; &:first-child { padding-top: 0; .title { color: #777; } } .title { font-weight: 400; font-size: 28rpx; color: #FE2451; line-height: 40rpx; } .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: 32rpx; } .priceF { font-size: 24rpx; } } .calc-price { // font-weight: bold; // font-size: 28rpx; color: #FF0047; // line-height: 32rpx; } } .goodsInfo-count { display: flex; justify-content: flex-end; .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; color: #131415; line-height: 48rpx; .before { font-weight: 400; font-size: 24rpx; color: #777777; vertical-align: middle; } .stuff { font-size: 38rpx; padding-right: 4rpx; } .priceZ { font-size: 40rpx; line-height: 1; } .priceF { font-size: 24rpx; } } } .order-time { margin: 24rpx 26rpx 0; border-radius: 20rpx; padding: 28rpx 24rpx; background-color: #FFFFFF; .line { width: 100%; height: 2rpx; background: #F2F2F2; margin-bottom: 28rpx; } .order-item { display: flex; justify-content: space-between; padding-bottom: 28rpx; &:last-child { padding-bottom: 0; } .title { font-size: 28rpx; color: #131415; line-height: 40rpx; flex-shrink: 0; padding-right: 46rpx; } .value { font-size: 28rpx; color: #777777; line-height: 42rpx; display: flex; align-items: center; text-align: right; &.red { color: #FE2451; } &.expanded { .iconDown { transform: rotate(0deg); } } .iconDown { margin-left: 8rpx; width: 24rpx; height: 24rpx; transform: rotate(180deg); } .copy { font-size: 28rpx; color: #FE2451; line-height: 42rpx; display: flex; align-items: center; padding-left: 16rpx; } } } } .wechat-section { background: #FFFFFF; border-radius: 20rpx; padding: 28rpx 24rpx; margin: 24rpx 26rpx; display: flex; justify-content: space-between; align-items: center; .wechat-left { font-weight: 600; font-size: 28rpx; color: #000000; line-height: 40rpx; display: flex; align-items: center; image { margin-right: 16rpx; width: 40rpx; height: 34rpx; } } .checkbox { width: 32rpx; height: 32rpx; } } .order-btn { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #FFFFFF; padding: 20rpx 32rpx 58rpx 32rpx; display: flex; justify-content: flex-end; 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-section { display: flex; align-items: center; } .price { display: flex; align-items: flex-end; .desc { font-size: 28rpx; color: #777; line-height: 40rpx; flex-shrink: 0; } .currentPrice { font-weight: bold; color: #FE2451; font-family: DINAlternate, DINAlternate; display: flex; align-items: flex-end; .stuff { font-size: 32rpx; padding: 0 4rpx; } .priceZ { font-size: 48rpx; line-height: 1; } .priceF { font-size: 32rpx; } } .line { margin: 0 12rpx 8rpx; background-color: #D2D2D2; width: 2rpx; height: 20rpx; } .discountPrice { padding-bottom: 2rpx; font-size: 24rpx; color: #FE2451; } } button { margin-left: 12rpx !important; width: 240rpx !important; line-height: 88rpx; background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%); border-radius: 78rpx; padding: 0 !important; font-weight: 500; font-size: 32rpx; color: #FFFFFF; flex-shrink: 0; } } .van-picker__toolbar, .toolbar-top { margin: 0 40rpx !important; padding: 0 14rpx !important; border-bottom: 2rpx solid #F2F2F2; height: auto !important; line-height: normal !important; } .van-picker__cancel, .van-picker__confirm, .toolbar-cancel, toolbar-confirm { font-size: 32rpx !important; padding: 28rpx 0 !important; color: #777777 !important; } .van-picker__confirm, .toolbar-confirm { color: #FE2451 !important; } .toolbar-top { display: flex; align-items: center; justify-content: space-between; } .addressContainer { background: linear-gradient(180deg, #FFDEE7 0%, #FFFFFF 12%, #FFFFFF 100%); border-radius: 32rpx 32rpx 0rpx 0rpx; height: 928rpx; display: flex; flex-direction: column; .icon-close { position: absolute; z-index: 2; top: 28rpx; right: 12rpx; padding: 20rpx; width: 30rpx; height: 30rpx; } .pop-address-title { position: relative; z-index: 1; text-align: center; padding-top: 36rpx; padding-bottom: 20rpx; font-weight: 600; font-size: 36rpx; color: #131415; line-height: 50rpx; } .cell-group { flex: 1 auto; .van-cell { padding: 36rpx 40rpx; font-size: 30rpx; } .van-field__label { color: #666666; } .van-icon-arrow { color: #BFBFBF; } .textarea { max-height: 72rpx; } } .van-picker-column__item--selected { font-weight: 600; font-size: 32rpx; color: #6D4718 !important; } .pop-btn-group { padding: 32rpx 32rpx 58rpx; } .submit-btn { width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 88rpx; background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%); border-radius: 88rpx; font-weight: 500; font-size: 32rpx; color: #fff; } }