shish 4 лет назад
Родитель
Сommit
153f72ad16

+ 6 - 6
ghsApp/src/ext.json

@@ -1,12 +1,12 @@
 {
 {
   "extEnable": true,
   "extEnable": true,
-  "extAppid": "wx21b7c3ef12082099",
+  "extAppid": "wxcf32b3f0684c2433",
   "directCommit": false,
   "directCommit": false,
   "ext": {
   "ext": {
-    "account": 12362,
-    "apiHost": "https://api.shop.hzghd.com",
-    "socketApiHost": "api.shop.hzghd.com",
-    "imgHost": "https://img.hzghd.com",
-    "name":"花掌柜"
+    "account": 12358,
+    "apiHost": "https://api.shop.wixhb.com",
+    "socketApiHost": "api.shop.wixhb.com",
+    "imgHost": "https://img.wixhb.com",
+    "name":"销花宝"
   }
   }
 }
 }

+ 7 - 1
ghsApp/src/manifest.json

@@ -83,15 +83,21 @@
     "quickapp" : {},
     "quickapp" : {},
     /* 小程序特有相关 线上(销花宝) wxcf32b3f0684c2433 开发(花掌柜) wx21b7c3ef12082099 */
     /* 小程序特有相关 线上(销花宝) wxcf32b3f0684c2433 开发(花掌柜) wx21b7c3ef12082099 */
     "mp-weixin" : {
     "mp-weixin" : {
-        "appid" : "wx21b7c3ef12082099",
+        "appid" : "wxcf32b3f0684c2433",
         "setting" : {
         "setting" : {
             "urlCheck" : false
             "urlCheck" : false
         },
         },
+		"optimization" : {
+			"subPackages" : true
+		},
         "usingComponents" : true,
         "usingComponents" : true,
         "permission" : {
         "permission" : {
             "scope.userLocation" : {
             "scope.userLocation" : {
                 "desc" : "请点击确定"
                 "desc" : "请点击确定"
             }
             }
+        },
+        "optimization": {  
+            "subPackages": true  
         }
         }
     },
     },
     "mp-alipay" : {
     "mp-alipay" : {

+ 5 - 5
ghsApp/src/mixins/product.js

@@ -641,19 +641,19 @@ export default {
 					return
 					return
 				}
 				}
 				//红色粉色花材太多,搜索时会卡住,所以设置输入第三个字母时才搜索
 				//红色粉色花材太多,搜索时会卡住,所以设置输入第三个字母时才搜索
-				if(this.py.indexOf('fs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('fs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('hs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('hs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('zs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('zs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('ls') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('ls') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('bs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('bs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
 				let commonChildList = [];
 				let commonChildList = [];

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

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

+ 5 - 6
hdApp/src/mixins/product.js

@@ -1040,22 +1040,21 @@ export default {
 					return
 					return
 				}
 				}
 				//红色粉色紫色绿色白色花材太多,搜索时会卡住,所以设置输入第三个字母时才搜索
 				//红色粉色紫色绿色白色花材太多,搜索时会卡住,所以设置输入第三个字母时才搜索
-				if(this.py.indexOf('fs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('fs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('hs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('hs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('zs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('zs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('ls') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('ls') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-				if(this.py.indexOf('bs') == 0 && this.py.length <= 2){
+				if(this.py.toLocaleLowerCase().indexOf('bs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
-
 				clearInterval(this.timeFun)
 				clearInterval(this.timeFun)
 				let commonChildList = [];
 				let commonChildList = [];
 				list.forEach(ele => {
 				list.forEach(ele => {