|
@@ -350,6 +350,14 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- #ifdef MP-WEIXIN -->
|
|
|
|
|
+ <view style="padding-bottom:20upx;">
|
|
|
|
|
+ <ad-custom unit-id="adunit-22b6fe92acad433e" v-if="currentEnv=='production'" binderror="adError" style="margin:0 auto;"></ad-custom>
|
|
|
|
|
+ <ad-custom unit-id="adunit-13c9d1954d809a16" v-else style="margin:0 auto;" binderror="adError"></ad-custom>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- #endif -->
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 底部操作按钮 -->
|
|
<!-- 底部操作按钮 -->
|
|
@@ -430,6 +438,7 @@ import { expressDetail } from "@/api/express";
|
|
|
import { cancelExpressOrder,mockNotify } from '@/api/shop-express'
|
|
import { cancelExpressOrder,mockNotify } from '@/api/shop-express'
|
|
|
import { cancelDeliveryOrder, getCancelReason, addTip as addTipApi } from '@/api/express/delivery'
|
|
import { cancelDeliveryOrder, getCancelReason, addTip as addTipApi } from '@/api/express/delivery'
|
|
|
import { needWork } from "@/api/work"
|
|
import { needWork } from "@/api/work"
|
|
|
|
|
+import { CURRENT_ENV } from "@/config"
|
|
|
export default {
|
|
export default {
|
|
|
name: "detail",
|
|
name: "detail",
|
|
|
components: {
|
|
components: {
|
|
@@ -452,7 +461,8 @@ export default {
|
|
|
cancelReasonList: [],
|
|
cancelReasonList: [],
|
|
|
selectedCancelReasonCode: null,
|
|
selectedCancelReasonCode: null,
|
|
|
otherCancelReason: '',
|
|
otherCancelReason: '',
|
|
|
- currentExpressInfo: {}
|
|
|
|
|
|
|
+ currentExpressInfo: {},
|
|
|
|
|
+ currentEnv:'production'
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -460,6 +470,10 @@ export default {
|
|
|
let pages = getCurrentPages();
|
|
let pages = getCurrentPages();
|
|
|
let prevPage = pages[pages.length - 2];
|
|
let prevPage = pages[pages.length - 2];
|
|
|
prevPage.$vm.refreshPage = 0
|
|
prevPage.$vm.refreshPage = 0
|
|
|
|
|
+
|
|
|
|
|
+ //当前环境
|
|
|
|
|
+ this.currentEnv = CURRENT_ENV
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
if (this.refreshPage == 1) {
|
|
if (this.refreshPage == 1) {
|
|
@@ -472,7 +486,6 @@ export default {
|
|
|
uni.stopPullDownRefresh()
|
|
uni.stopPullDownRefresh()
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
/**
|
|
/**
|
|
|
* 获取配送平台
|
|
* 获取配送平台
|