/* 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-content { margin: 24rpx 26rpx 0; border-radius: 20rpx; padding: 32rpx 24rpx; // display: flex; 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; } .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; } } } .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; } } .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: 500; font-size: 28rpx; color: #131415; line-height: 40rpx; } .stuff { font-size: 32rpx; padding-right: 4rpx; } .priceZ { font-size: 48rpx; } .priceF { font-size: 38rpx; } } } .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; } } } .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; } .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; color: #777777; } } } .order-btn { margin-top: 24rpx; // position: fixed; // bottom: 0; // left: 0; width: 100%; background-color: #ffffff; padding: 20rpx 32rpx 58rpx 40rpx; 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; } } .more { display: flex; } // .price { // display: flex; // align-items: center; // .desc { // font-weight: 500; // font-size: 28rpx; // color: #131415; // line-height: 40rpx; // padding-top: 20rpx; // } // .currentPrice { // font-weight: bold; // color: #ff0047; // font-family: DINAlternate, DINAlternate; // .stuff { // font-size: 32rpx; // } // .priceZ { // font-size: 56rpx; // } // .priceF { // font-size: 32rpx; // } // } // } button { margin: 0 0 0 12rpx; width: 100%; background: linear-gradient(90deg, #544f4a 0%, #302f2b 100%); border-radius: 44rpx; padding: 22rpx 84rpx; font-weight: 500; font-size: 32rpx; color: #fbeac9; line-height: 44rpx; display: flex; justify-content: center; } .btnGroup { position: relative; width: 100%; .currentPrice { font-weight: bold; color: #FBEAC9; font-family: DINAlternate, DINAlternate; .before { font-size: 28rpx; font-weight: 500; padding-right: 4rpx; } .after { font-weight: 500; font-size: 32rpx; padding-left: 12rpx; } .stuff { font-size: 32rpx; } .priceZ { font-size: 56rpx; } .priceF { font-size: 32rpx; } } } .btnInnerFree { position: absolute; right: 0; top: -28rpx; background: linear-gradient(180deg, #ff5181 0%, #ff0047 100%); border-radius: 150rpx 200rpx 200rpx 0rpx; border: 2rpx solid #ffffff; padding: 0 8rpx; font-size: 24rpx; color: #ffffff; line-height: 34rpx; padding-top: 2rpx; overflow: hidden; font-weight: bold; text { font-weight: bold; } } } .top-bg { position: absolute; top: 0; left: 0; width: 100%; height: 98rpx; background: linear-gradient(180deg, #FBEAD0 0%, #FFFFFF 100%); border-radius: 32rpx 32rpx 0rpx 0rpx; } .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: 36rpx; font-weight: 600; font-size: 36rpx; color: #131415; line-height: 50rpx; } .cell-group { .van-cell { padding: 26rpx 28rpx; font-size: 30rpx; } .van-field__label { font-weight: 600; color: #666666; } .van-icon-arrow { color: #CCCCCC; font-weight: 600; } .textarea { height: 72rpx; } } .van-picker-column__item--selected { font-weight: 600; font-size: 32rpx; color: #6D4718 !important; } .pop-btn-group { padding: 100rpx 32rpx 58rpx; } .submit-btn { width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 88rpx; background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); border-radius: 88rpx; font-weight: 500; font-size: 32rpx; color: #FBEAC9; } .address-list { padding: 40rpx 26rpx 0; max-height: 534rpx; overflow-x: hidden; overflow-y: auto; } .address-item { padding: 24rpx; background: #FFFFFF; border-radius: 20rpx; border: 4rpx solid #F2F2F2; margin-bottom: 22rpx; &.active { border: 4rpx solid #855F2E; } .item-title { font-weight: 600; font-size: 30rpx; color: #000000; line-height: 42rpx; } .item-users { display: flex; justify-content: space-between; padding-top: 24rpx; .item-user { font-size: 28rpx; color: #333333; line-height: 40rpx; text { padding-right: 8rpx; } } .item-btn-group { display: flex; flex: 1; justify-content: flex-end; .btn { width: 104rpx; padding: 0 !important; margin: 0 0 0 12rpx !important; line-height: 44rpx; border-radius: 44rpx; font-weight: 600; font-size: 24rpx; color: #333333; border: 2rpx solid #DCDCDC; background-color: #fff; } .update-btn { background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); color: #FBEAC9; } } } } .pop-btn-list { padding-top: 20rpx; box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0; } .dialog-section { width: 532rpx; .dialog-title { padding: 48rpx 0; text-align: center; font-weight: 600; font-size: 32rpx; color: #131415; line-height: 44rpx; } .dialog-btn-group { border-top: 2rpx solid #F2F2F2; display: flex; align-items: center; .btn { flex: 1; text-align: center; line-height: 80rpx; font-size: 28rpx; color: #777777; } .del-btn { color: #6D4718; border-left: 2rpx solid #F2F2F2; } } } .empty-box { text-align: center; font-size: 32rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; padding-bottom: 32rpx; image { width: 408rpx; height: 204rpx; } .empty-text { font-size: 28rpx; color: #777777; line-height: 40rpx; text-align: center; padding-top: 36rpx; } }