shish 1 год назад
Родитель
Сommit
31f0a5a6c6

+ 6 - 0
ghsApp/src/admin/item/detail.vue

@@ -263,6 +263,12 @@
           </tui-list-cell>
       </view>
 
+      <!-- #ifdef MP-WEIXIN -->
+      <view style="margin-bottom:20upx;background-color: white;">
+      <ad-custom unit-id="adunit-3a7cda7bc692514a"></ad-custom>
+      </view>
+      <!-- #endif -->
+
       <view class="app-footer">
         <button class="admin-button-com big default" @click="goBack()">取消</button>
         <button v-if="option.ptItemId" class="admin-button-com big blue" formType="submit" @click="status = 1">添加</button>

+ 3 - 3
ghsApp/src/config.js

@@ -1,4 +1,4 @@
 export const ProjectName = 'ghs'
-export const APIHOST = 'https://api.shop.hzghd.com'
-export const IMGHOST = 'https://img.hzghd.com'
-export const CURRENT_ENV = 'dev'
+export const APIHOST = 'https://api.shop.wixhb.com'
+export const IMGHOST = 'https://img.wixhb.com'
+export const CURRENT_ENV = 'production'

+ 7 - 8
ghsApp/src/manifest.json

@@ -64,7 +64,7 @@
                     "entitlements" : {
                         "com.apple.developer.associated-domains" : [ "applinks:fronttg.wixhb.com" ]
                     }
-                }          
+                }
             },
             /* SDK配置 */
             "sdkConfigs" : {
@@ -172,20 +172,19 @@
     "quickapp" : {},
     /* 小程序特有相关 线上(销花宝) wxcf32b3f0684c2433 开发(花掌柜) wx21b7c3ef12082099 */
     "mp-weixin" : {
-        "appid" : "wx21b7c3ef12082099",
+        "appid" : "wxcf32b3f0684c2433",
         "setting" : {
             "urlCheck" : false
         },
+        "optimization" : {
+            "subPackages" : true
+        },
         "usingComponents" : true,
         "permission" : {
             "scope.userLocation" : {
                 "desc" : "请点击确定"
             }
-        },
-        "optimization" : {
-            "subPackages" : true
-        },
-        "lazyCodeLoading":"requiredComponents"
+        }
     },
     "mp-alipay" : {
         "usingComponents" : true
@@ -214,7 +213,7 @@
             "port" : 81,
             "proxy" : {
                 "/api" : {
-                    "target" : "http://api.shop.hzghd.com",
+                    "target" : "http://api.shop.wixhb.com",
                     "secure" : false,
                     "changeOrigin" : true,
                     "pathRewrite" : {

+ 6 - 0
ghsApp/src/pagesClient/member/detail.vue

@@ -181,6 +181,12 @@
 
       </view>
 
+      <!-- #ifdef MP-WEIXIN -->
+      <view style="margin-bottom:50upx;background-color: white;width:690upx;margin:0 auto;">
+      <ad-custom unit-id="adunit-3a7cda7bc692514a" style="width:690upx;"></ad-custom>
+      </view>
+      <!-- #endif -->
+
 		<modal-module :show="changeShow" @click="confirmChange" :maskClosable="true" title="修改名称" padding="30rpx 30rpx" >
       <template v-slot:content>
         <div class="app-modal-input-wrap">

+ 6 - 0
ghsApp/src/pagesPurchase/info.vue

@@ -250,6 +250,12 @@
 				</div>
 			</view>
 
+			<!-- #ifdef MP-WEIXIN -->
+			<view style="margin-bottom:20upx;background-color: white;">
+			<ad-custom unit-id="adunit-42a99bd9e25e3626"></ad-custom>
+			</view>
+			<!-- #endif -->
+
 		</view>
 
 		<block v-if="!$util.isEmpty(getLoginInfo.admin) && getLoginInfo.admin.currentGhsShopId > 0">