diff --git a/components/order-item/index.vue b/components/order-item/index.vue index c7c2960..a7988f2 100644 --- a/components/order-item/index.vue +++ b/components/order-item/index.vue @@ -19,8 +19,8 @@ {{info.extend_order_goods[0].goods_name}} 共{{info.count_number}}件商品 - 实付¥{{info.order_amount}} - {{ info.payment_time.slice(5,16) }} + {{ info.view_type==10 ? "待支付" : "实付" }}¥{{info.order_amount}} + {{ info.view_type==10 ? info.add_time.slice(5,16) : info.payment_time.slice(5,16) }} diff --git a/pages/index/details.vue b/pages/index/details.vue index f2a5cc3..6a85706 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -848,8 +848,8 @@ export default { .pain-box { .info-container { padding: 0 30rpx; - background-color: #ffffff; margin-bottom: 20rpx; + background-color: #ffffff; .remark { padding: 10rpx 0; height: 100%;