|
|
@@ -51,7 +51,7 @@
|
|
|
<img :src="store.logo" alt="" />
|
|
|
<p>{{ store.storeName }}</p>
|
|
|
</div>
|
|
|
- <div class="box-tit-seller" @click.stop="wait">联系卖家</div>
|
|
|
+ <div class="box-tit-seller" @click="sales">联系卖家</div>
|
|
|
</div>
|
|
|
<div v-for="(item, index) in Boxes" :key="index.id">
|
|
|
<div class="box-con">
|
|
|
@@ -82,7 +82,7 @@
|
|
|
<div class="box-buttom">
|
|
|
<div class="box-buttom-con">
|
|
|
<p>邮费</p>
|
|
|
- <p class="box-buttom-p">¥10</p>
|
|
|
+ <p class="box-buttom-p">¥{{ postage || 0 }}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="box-buttom">
|
|
|
@@ -302,7 +302,7 @@ export default {
|
|
|
this.$http
|
|
|
.get('/orderInfo/get/' + this.$mp.query.id)
|
|
|
.then(res => {
|
|
|
- console.log(res);
|
|
|
+ // console.log(res);
|
|
|
this.hideLoading();
|
|
|
this.caseId = res.caseId;
|
|
|
this.status = res;
|
|
|
@@ -311,6 +311,7 @@ export default {
|
|
|
this.total = res.total;
|
|
|
this.Boxes = res.cardBoxList;
|
|
|
this.orderInfoId = res.id;
|
|
|
+ this.postage = res.cardCase.postage;
|
|
|
this.cardCaseInfo = res.cardCase.collection;
|
|
|
if (this.status.orderStatus === 'CREATED') {
|
|
|
this.status.label = '待支付';
|
|
|
@@ -344,7 +345,8 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
// setTimeout(() => {
|
|
|
- // if (this.status.orderStatus == 'COMPETED' || this.status.orderStatus == 'SEND') {
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // if (this.status.orderStatus == 'COMPETED' || this.status.orderStatus == 'SEND') {
|
|
|
// console.log(this.status.orderStatus);
|
|
|
this.$http.get('/orderInfo/checkLogistic', { orderInfoId: this.$mp.query.id }).then(res => {
|
|
|
this.hideLoading();
|
|
|
@@ -360,7 +362,8 @@ export default {
|
|
|
this.stepsList = steps;
|
|
|
this.stepsShow = res.logistic.result.list[0];
|
|
|
});
|
|
|
- // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
// }, 1000);
|
|
|
},
|
|
|
again() {
|
|
|
@@ -416,16 +419,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
sales() {
|
|
|
- wx.showToast({
|
|
|
- title: '敬请开放',
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
- },
|
|
|
- seller() {
|
|
|
- wx.showToast({
|
|
|
- title: '敬请开放',
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
+ this.navigateTo('/pages/chat?toUserId=' + this.store.userId + '&toName=' + this.store.storeName);
|
|
|
},
|
|
|
Apply() {
|
|
|
this.navigateTo('/pages/Apply?id=' + this.orderInfoId);
|
|
|
@@ -685,6 +679,7 @@ export default {
|
|
|
font-weight: bold;
|
|
|
color: #000000;
|
|
|
line-height: 24px;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
}
|
|
|
.box-con-today {
|