shish 7 месяцев назад
Родитель
Сommit
0ced54402e

+ 7 - 1
hdApp/src/admin/home/workbench.vue

@@ -496,6 +496,12 @@
           <text style="margin-right:20upx;">中花汇提供技术支持</text>
           <text style="margin-right:20upx;">|</text>
           <text @click="toPhone()">联系软件公司</text>
+          <!-- #ifdef MP-WEIXIN -->
+          <view style="padding-top:10upx;">
+          <ad-custom unit-id="adunit-e46a256f5286f547" v-if="CURRENT_ENV=='production'" style="margin:0 auto;"></ad-custom>
+          <ad-custom unit-id="adunit-6df7988e71997ff2" v-else style="margin:0 auto;"></ad-custom>
+          </view>
+          <!-- #endif -->
         </view>
 
       </view>
@@ -569,7 +575,7 @@ import { changeDelStatus,hasMoreGhs } from "@/api/ghs";
 import {currentShop, uploadShopAvatar} from "@/api/shop";
 import { clearLogin,hasNotice } from "@/api/admin";
 import { unReadMsgCount } from "@/api/chat";
-import { APIHOST } from "@/config";
+import { APIHOST,CURRENT_ENV } from "@/config";
 export default {
   name: "workbench",
   mixins: [autoUpdateMixins],

+ 3 - 1
hdApp/src/pagesPurchase/gatherResult.vue

@@ -12,13 +12,15 @@
 
       <!-- #ifdef MP-WEIXIN -->
       <view style="width:690upx;height:25upx;background-color: #f5f5f5;"></view>
-      <ad-custom unit-id="adunit-b3f48f1b6c1a39ff"></ad-custom>
+      <ad-custom unit-id="adunit-b3f48f1b6c1a39ff" v-if="CURRENT_ENV=='production'"></ad-custom>
+      <ad-custom unit-id="adunit-bb3f5872f1a5d549" v-else></ad-custom>
       <!-- #endif -->
 
     </view>
   </view>
 </template>
 <script>
+import { CURRENT_ENV } from "@/config";
 export default {
   name: "AppResult",
 	data() {

+ 3 - 1
hdApp/src/pagesPurchase/particulars.vue

@@ -17,7 +17,8 @@
       </view>
       <!-- #ifdef MP-WEIXIN -->
       <view style="width:690upx;height:25upx;background-color: #f5f5f5;"></view>
-      <ad-custom unit-id="adunit-b3f48f1b6c1a39ff"></ad-custom>
+      <ad-custom unit-id="adunit-b3f48f1b6c1a39ff" v-if="CURRENT_ENV=='production'"></ad-custom>
+      <ad-custom unit-id="adunit-bb3f5872f1a5d549" v-else></ad-custom>
       <!-- #endif -->
     </view>
   </view>
@@ -26,6 +27,7 @@
 import { getCgItemInfo } from "@/api/purchase";
 import { batchChangePrice } from '@/api/product';
 import { mapGetters } from "vuex";
+import { CURRENT_ENV } from "@/config";
 export default {
   name: "AppResult",
   data() {

+ 9 - 0
hdApp/src/pagesPurchase/purDetails.vue

@@ -304,7 +304,15 @@
         </div>
       </view>
 
+      <!-- #ifdef MP-WEIXIN -->
+      <view style="padding-bottom:20upx;">
+      <ad-custom unit-id="adunit-22b6fe92acad433e" v-if="CURRENT_ENV=='production'" style="margin:0 auto;"></ad-custom>
+      <ad-custom unit-id="adunit-13c9d1954d809a16" v-else style="margin:0 auto;"></ad-custom>
+      </view>
+      <!-- #endif -->
+
     </view>
+
     <view class="app-footer open_btn">
 
 
@@ -344,6 +352,7 @@ import { getCgExpressTrack } from "@/api/express"
 import { purchaseDetail, purchaseDebtPay,purchaseClearCreateOrder,confirmTake,cancelOrder } from "@/api/purchase";
 import TuiListCell from "@/components/plugin/list-cell";
 import { getGhsDataApi } from "@/api/ghs";
+import { CURRENT_ENV } from "@/config";
 export default {
   name: "purDetails",
   components: {

+ 3 - 1
hdApp/src/pagesPurchase/refundResult.vue

@@ -7,7 +7,8 @@
       <!-- #ifdef MP-WEIXIN -->
       <view style="width:690upx;height:25upx;background-color: #f5f5f5;"></view>
 	  <view style="width:690upx;">
-      	<ad-custom unit-id="adunit-b3f48f1b6c1a39ff"></ad-custom>
+      	<ad-custom unit-id="adunit-b3f48f1b6c1a39ff" v-if="CURRENT_ENV=='production'"></ad-custom>
+		<ad-custom unit-id="adunit-bb3f5872f1a5d549" v-else></ad-custom>
 	  </view>
       <!-- #endif -->
 
@@ -16,6 +17,7 @@
 </template>
 <script>
 import appResult from "@/components/app-result";
+import { CURRENT_ENV } from "@/config";
 export default {
 	name: "refundResult",
 	components: {