diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue
index 9e66f9d..61854e8 100644
--- a/pages/order_details/index.vue
+++ b/pages/order_details/index.vue
@@ -126,19 +126,21 @@
-
- {{orderInfo.merchant.mer_name}}
+ {{orderInfo.merchant.mer_name}}
-
+
-
@@ -244,9 +246,9 @@
支付宝支付
微信支付
- 微信收款
- 现金收款
- 支付宝收款
+ 微信收款
+ 现金收款
+ 支付宝收款
买家留言:
@@ -286,10 +288,11 @@
优惠券抵扣:
-¥{{orderInfo.coupon_price}}
-
- 平台优惠抵扣:
- -¥{{orderInfo.platform_coupon_price}}
-
+
+ 平台优惠抵扣:
+ -¥{{orderInfo.platform_coupon_price}}
+
+
积分抵扣:
-¥{{orderInfo.integral_price}}
@@ -511,7 +514,7 @@
invoice: false,
add: false,
},
- sale_type: 1
+ sale_type: 1
};
},
computed: {
@@ -534,7 +537,7 @@
onLoad: function(options) {
if (options.order_id) {
this.$set(this, 'order_id', options.order_id);
- options.sale_type ? this.sale_type = options.sale_type : null;
+ options.sale_type ? this.sale_type = options.sale_type : null;
}
},
onShow() {
@@ -613,7 +616,7 @@
goStore(mer_id) {
if (this.hide_mer_status != 1) {
uni.navigateTo({
- url: '/pages/store/home/index?id=' + mer_id + '&sale_type=' + this.sale_type
+ url: '/pages/store/home/index?id=' + mer_id + '&sale_type=' + this.sale_type
})
}
},
@@ -938,11 +941,12 @@
})
orderAgain({
data: data,
- sale_type: this.sale_type
+ sale_type: this.sale_type
}).then(res => {
let cart_id = res.data.cart_id.join(',')
return uni.navigateTo({
- url: '/pages/users/order_confirm/index?cartId=' + cart_id + '&sale_type=' + this.sale_type
+ url: '/pages/users/order_confirm/index?cartId=' + cart_id + '&sale_type=' +
+ this.sale_type
});
}).catch(err => {
that.$util.Tips({
@@ -1054,6 +1058,7 @@
}
.merchant {
+ display: flex;
width: 100%;
height: 86rpx;
padding: 0 30rpx;
@@ -1065,6 +1070,12 @@
box-sizing: border-box;
background-color: #fff;
+ .merchant_name {
+ display: inline-block;
+ overflow: hidden;
+ max-width: 700rpx;
+ }
+
.iconfont {
margin-top: 6rpx;
font-size: 22rpx;