maple 11 mēneši atpakaļ
vecāks
revīzija
41d6dfd56e
5 mainītis faili ar 8 papildinājumiem un 11 dzēšanām
  1. 0 1
      common/request/index-shop.js
  2. 0 1
      common/request/index.js
  3. 0 3
      common/wx/jswx.js
  4. 2 2
      manifest.json
  5. 6 4
      pages/goods.vue

+ 0 - 1
common/request/index-shop.js

@@ -22,7 +22,6 @@ shopHttp.setConfig(config => {
 	config.header = {
 		...config.header,
 		...systemInfoHeaders,
-    // 'Content-Security-Policy': "frame-src 'self' https://*.qq.com webcompt:;"
 	};
 	return config;
 });

+ 0 - 1
common/request/index.js

@@ -22,7 +22,6 @@ http.setConfig(config => {
 	config.header = {
 		...config.header,
 		...systemInfoHeaders,
-    // 'Content-Security-Policy': "frame-src 'self' https://*.qq.com webcompt:;"
 	};
 	return config;
 });

+ 0 - 3
common/wx/jswx.js

@@ -16,9 +16,6 @@ const requestFun = ({
       url: baseWxUrl + url, //仅为示例,并非真实接口地址。
       data: data,
       method: method,
-      // header: {
-      //   'Content-Security-Policy': "frame-src 'self' https://*.qq.com webcompt:;"
-      // },
       success: (res) => {
         resolve(res.data)
       },

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "宜格分享",
     "appid" : "__UNI__90011BF",
     "description" : "应用描述",
-    "versionName" : "1.1.7",
-    "versionCode" : 117,
+    "versionName" : "1.1.8",
+    "versionCode" : 118,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 6 - 4
pages/goods.vue

@@ -160,6 +160,8 @@
               border-radius: 20px;
 							display: flex;
 							align-items: center;
+              text-align: center;
+              font-size: 14px;
             }
 						.logo-img {
 						  width: 20px;
@@ -169,7 +171,7 @@
 						}
           </style>
           <button class="btn">
-						<!-- <image class="logo-img" src="../static/logo.png" mode="aspectFill"></image> -->
+						<image class="logo-img" src="https://yigefuwuapp.ycbrain.com/ycimg/logo.png" mode="aspectFill"></image>
 						<text>打开宜格服务APP</text>
 					</button>
         </script>
@@ -232,8 +234,8 @@
 			// console.log(isWeiXin(),"=============")
       this.type = this.options.type;
       this.queryPath = `jumpType=goods&goodsType=${this.options.type}&goodsId=${this.options.id}`
-      alert('res=>' + uni.getStorageSync('wx_access_token'))
-      alert('res=>' + uni.getStorageSync('wx_js_ticket'))
+      // alert('res=>' + uni.getStorageSync('wx_access_token'))
+      // alert('res=>' + uni.getStorageSync('wx_js_ticket'))
       if ((this.options.type == 1 || this.options.type == 5) && this.options.id) {
         this.getDefaultDetailInfo(this.options.id);
       }
@@ -265,7 +267,7 @@
       },
       errorApp(e) {
 				// alert(e + 1111111111111)
-        console.log(e, 1111)
+        console.log(e, 2222)
 				uni.navigateTo({
 					url: "/pages/down"
 				})