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

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

@@ -263,6 +263,18 @@
           </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 -->
+
+      <!-- #ifdef APP-PLUS -->
+      <view style="margin-bottom:20upx;background-color: white;">
+        <ad adpid="1806928014"></ad>
+      </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" : {
@@ -174,20 +174,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
@@ -216,7 +215,7 @@
             "port" : 81,
             "proxy" : {
                 "/api" : {
-                    "target" : "http://api.shop.hzghd.com",
+                    "target" : "http://api.shop.wixhb.com",
                     "secure" : false,
                     "changeOrigin" : true,
                     "pathRewrite" : {

+ 16 - 1
ghsApp/src/pagesClient/member/detail.vue

@@ -171,8 +171,23 @@
             </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 -->
+
+      <!-- #ifdef APP-PLUS -->
+      <view style="margin-bottom:20upx;background-color: white;">
+        <ad adpid="1806928014"></ad>
       </view>
-    
+      <!-- #endif -->
+
+
+      </view>
+
 
 		<modal-module :show="changeShow" @click="confirmChange" :maskClosable="true" title="修改名称" padding="30rpx 30rpx" >
       <template v-slot:content>

+ 12 - 0
ghsApp/src/pagesOrder/detail.vue

@@ -366,6 +366,18 @@
 				</div>
 			</view>
 
+		<!-- #ifdef MP-WEIXIN -->
+		<view style="margin-bottom:20upx;background-color: white;">
+		<ad-custom unit-id="adunit-3a7cda7bc692514a"></ad-custom>
+		</view>
+		<!-- #endif -->
+
+		<!-- #ifdef APP-PLUS -->
+		<view style="margin-bottom:20upx;background-color: white;">
+			<ad adpid="1806928014"></ad>
+		</view>
+		<!-- #endif -->
+
 		</view>
 		<div class="app-footer">
 			<button @click="cancelOrderFn(detailInfo)" v-if="detailInfo.status == 1" class="admin-button-com middle blue" :class="active">取消</button>

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

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

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

@@ -254,6 +254,7 @@
 
   <!-- #ifdef MP-WEIXIN -->
   <ad-custom unit-id="adunit-22b6fe92acad433e" v-if="showAd == 1"></ad-custom>
+  <view style="width:100vw;height:20upx;background-color: #ece5e5;"></view>
   <!-- #endif -->
 
   <view style="text-align:center;margin-top:50upx;margin-bottom:182upx;color:#827171;font-size:28upx;">

+ 4 - 4
hdApp/src/config.js

@@ -1,5 +1,5 @@
 export const ProjectName = 'hd'
-export const APIHOST = 'https://api.shop.huaml.com'
-export const FORMALHOST = 'https://shop.huaml.com'
-export const IMGHOST = 'https://img.huaml.com'
-export const CURRENT_ENV = 'dev'
+export const APIHOST = 'https://api.shop.huahb.cn'
+export const FORMALHOST = 'https://shop.huahb.cn'
+export const IMGHOST = 'https://img.huahb.cn'
+export const CURRENT_ENV = 'production'

+ 6 - 6
hdApp/src/ext.json

@@ -1,12 +1,12 @@
 {
   "extEnable": true,
-  "extAppid": "wxe4675bab299a52f7",
+  "extAppid": "wx0d42f5f1dcb3a370",
   "directCommit": false,
   "ext": {
-    "account": 12362,
-    "apiHost": "https://api.shop.huaml.com",
-    "socketApiHost": "api.shop.huaml.com",
-    "imgHost": "https://img.huaml.com",
-    "name":"花美玲"
+    "account": 12358,
+    "apiHost": "https://api.shop.huahb.cn",
+    "socketApiHost": "api.shop.huahb.cn",
+    "imgHost": "https://img.huahb.cn",
+    "name":"花掌柜"
   }
 }

+ 2 - 3
hdApp/src/manifest.json

@@ -153,7 +153,7 @@
     "quickapp" : {},
     /* 小程序特有相关 线上(花掌柜) wx0d42f5f1dcb3a370 开发(花美玲) wxe4675bab299a52f7 */
     "mp-weixin" : {
-        "appid" : "wxe4675bab299a52f7",
+        "appid" : "wx0d42f5f1dcb3a370",
         "setting" : {
             "urlCheck" : false
         },
@@ -165,8 +165,7 @@
         },
         "optimization" : {
             "subPackages" : true
-        },
-        "lazyCodeLoading":"requiredComponents"
+        }
     },
     "mp-alipay" : {
         "usingComponents" : true

+ 6 - 6
hdApp/src/static/iconfont/iconfont.css

@@ -1,11 +1,11 @@
 @font-face {
   font-family: 'iconfont';  /* project id 1525256 */
-  src: url('https://img.huaml.com/iconfont/font_1525256_6bxwphhntqh.eot');
-  src: url('https://img.huaml.com/iconfont/font_1525256_6bxwphhntqh.eot?#iefix') format('embedded-opentype'),
-  url('https://img.huaml.com/iconfont/font_1525256_6bxwphhntqh.woff2') format('woff2'),
-  url('https://img.huaml.com/iconfont/font_1525256_6bxwphhntqh.woff') format('woff'),
-  url('https://img.huaml.com/iconfont/font_1525256_6bxwphhntqh.ttf') format('truetype'),
-  url('https://img.huaml.com/iconfont/font_1525256_6bxwphhntqh.svg#iconfont') format('svg');
+  src: url('https://img.huahb.cn/iconfont/font_1525256_6bxwphhntqh.eot');
+  src: url('https://img.huahb.cn/iconfont/font_1525256_6bxwphhntqh.eot?#iefix') format('embedded-opentype'),
+  url('https://img.huahb.cn/iconfont/font_1525256_6bxwphhntqh.woff2') format('woff2'),
+  url('https://img.huahb.cn/iconfont/font_1525256_6bxwphhntqh.woff') format('woff'),
+  url('https://img.huahb.cn/iconfont/font_1525256_6bxwphhntqh.ttf') format('truetype'),
+  url('https://img.huahb.cn/iconfont/font_1525256_6bxwphhntqh.svg#iconfont') format('svg');
 }
 
 .iconfont {