diff --git a/pages/OrderDetails/OrderDetails.scss b/pages/OrderDetails/OrderDetails.scss index 63d977f..16873cc 100644 --- a/pages/OrderDetails/OrderDetails.scss +++ b/pages/OrderDetails/OrderDetails.scss @@ -6,21 +6,30 @@ /* 订单状态 */ .order-status{ - width: 100%; - background: linear-gradient(to right,$base,$change-clor); + // width: 100%; + margin:24rpx; + border-radius:10rpx; + // background: linear-gradient(to right,$base,$change-clor); + background-color: #fff; .status{ - display: flex; - align-items: center; - justify-content: center; + // display: flex; + // align-items: center; + // justify-content: center; width: 100%; - height: 100rpx; + padding:24rpx; + // height: 100rpx; text{ - font-size: 38rpx; + font-size: 30rpx; // font-weight: bold; - color: #FFFFFF; + color: $base; } .iconfont{ margin-right: 20rpx; + font-size: 38rpx; + } + .time{ + margin-left:60rpx; + margin-top:10rpx; } } .reason{ @@ -38,15 +47,31 @@ /* 订单商品 */ .order-goods{ - width: 100%; + // width: 100%; + margin:24rpx; background-color: #FFFFFF; - border-radius: 20rpx; + border-radius: 10rpx; .goods-list{ padding: 0 4%; .list{ - display: flex; - align-items: center; - width: 100%; + .sellerInfo{ + display: flex; + align-items: center; + width: 100%; + color:$base; + padding:20rpx 0; + border-bottom:1px solid #eaeaea; + } + .orderInfo,.orderNum{ + display: flex; + align-items: center; + width: 100%; + } + .orderNum{ + padding:20rpx 0; + + } + min-height: 200rpx; .thumb{ display: flex; @@ -61,14 +86,16 @@ .item{ width: 70%; height: 100%; + color:$base; .title{ display: flex; align-items: center; width: 100%; height: 60rpx; + text{ font-size: 26rpx; - color: #222222; + } } .num-size{ @@ -78,7 +105,7 @@ height: 60rpx; text{ font-size: 26rpx; - color: #959595; + color:$base; margin-right: 20rpx; } text:last-child{ @@ -93,7 +120,7 @@ text{ font-size: 28rpx; font-weight: bold; - color: #222222; + color:$base; } } .order-btn{ @@ -150,21 +177,22 @@ /* 订单信息 */ .order-info{ - width: 100%; + // width: 100%; background-color: #FFFFFF; - border-radius: 20rpx; - margin: 20rpx auto; + border-radius: 10rpx; + margin: 24rpx; .info-list{ padding: 0 4%; .list{ display: flex; align-items: center; + justify-content: space-between; width: 100%; height: 100rpx; border-bottom: 2rpx solid #f6f6f6; .title{ font-size: 26rpx; - color: #959595; + color: $base; } .content{ display: flex; @@ -172,8 +200,8 @@ margin-left: 20rpx; text{ font-size: 26rpx; - font-weight: bold; - color: #222222; + // font-weight: bold; + color: $base; } .btn{ padding: 6rpx 20rpx; @@ -190,10 +218,10 @@ /* 订单明细 */ .order-details{ - width: 100%; + // width: 100%; + margin:24rpx; background-color: #FFFFFF; - border-radius: 20rpx; - margin: 20rpx auto; + border-radius: 10rpx; .details-list{ padding: 0 4%; .list{ @@ -205,11 +233,12 @@ border-bottom: 2rpx solid #f6f6f6; .title{ font-size: 26rpx; - color: #959595; + color: $base; } .price{ font-size: 26rpx; - font-weight: bold; + color: $base; + // font-weight: bold; } } .action{ @@ -218,12 +247,24 @@ justify-content: flex-end; .price{ font-size: 32rpx; - font-weight: bold; color: $base; } } } } +.pic{ + margin:24rpx; + padding-bottom:100rpx; + .title{ + color:$base; + } + image{ + width:300rpx; + height:300rpx; + border:1px solid #eaeaea; + margin-top:10rpx; + } +} .btnContainer{ position: absolute; bottom:20rpx; @@ -238,5 +279,6 @@ background-color: $base; padding:10rpx 20rpx; border-radius: 10rpx; + margin:0 10rpx; } } diff --git a/pages/OrderDetails/OrderDetails.vue b/pages/OrderDetails/OrderDetails.vue index 7302ee8..ad37a8b 100644 --- a/pages/OrderDetails/OrderDetails.vue +++ b/pages/OrderDetails/OrderDetails.vue @@ -5,6 +5,9 @@ {{orderDetails.status==0?'待支付':orderDetails.status==1?'待确认':orderDetails.status==2?'待委托':orderDetails.status==3?'已投诉':orderDetails.status==4?'待发货':orderDetails.status==5?'待收货':orderDetails.status==-1?'已取消':''}} + @@ -13,21 +16,36 @@ - - + + {{orderDetails.seller?orderDetails.seller.nickname:'-'}} + + {{orderDetails.seller?orderDetails.seller.mobile:'-'}} + - - - {{item.goods_name}} + + 订单号: + + {{orderDetails.order_sn}} - - 数量:{{item.num}} + + + + - - ¥{{item.goods_price}} + + + {{item.goods_name}} + + + + ¥{{item.goods_price}} + + - + @@ -36,18 +54,19 @@ - 订单编号: + 订单提交时间: - {{orderDetails.order_sn}} + {{getTime(orderDetails.createtime)}} - 下单时间: + 付款确认时间: - {{getTime(orderDetails.createtime)}} + {{orderDetails.pay_time_text}} + @@ -61,19 +80,43 @@ ¥{{orderDetails.order_amount}} + + + 实付款 + + + ¥{{orderDetails.pay_amount}} + + - - - 去支付 + + + 付款截图 + + + 上传凭证 + 去支付 + 支付确认 + + + @@ -272,4 +300,8 @@ padding:0 24rpx 24rpx 24rpx; color:gray; } + .yongjin{ + color:$base; + margin-left:40rpx; + }