Pārlūkot izejas kodu

背景图替换

谢杰标 2 gadi atpakaļ
vecāks
revīzija
326a52e9b1
4 mainītis faili ar 3 papildinājumiem un 7 dzēšanām
  1. 0 2
      pages.json
  2. 2 4
      pages/index/index.vue
  3. 1 1
      pages5/scan/examact.vue
  4. BIN
      static/acbg.png

+ 0 - 2
pages.json

@@ -1096,7 +1096,6 @@
 						}
 					}
 				},
-				// #ifdef H5
 				{
 					"path": "scan/examact",
 					"style": {
@@ -1109,7 +1108,6 @@
 						}
 					}
 				}
-				// #endif
 			]
 		}
 	],

+ 2 - 4
pages/index/index.vue

@@ -459,10 +459,8 @@ export default {
     } else {
       // 没有code,就重定向到地址https://www.xyyxt.net?ask_type=h.xyyxt.net 去获取code,授权后就会把code带上然后访问域名
       // h.gdzzkj.net
-      if (
-        !uni.getStorageSync("h5_code") &&
-        process.env.NODE_ENV !== "development"
-      ) {
+      // !uni.getStorageSync("h5_code") &&
+      if (process.env.NODE_ENV !== "development") {
         location.replace(
           "https://" +
             window.location.host +

+ 1 - 1
pages5/scan/examact.vue

@@ -1,7 +1,7 @@
 <template>
   <view class="examact">
     <view class="examact-tname">{{ tenantInfo.name }}</view>
-    <img src="../../static/acbg.png" alt="" srcset="" />
+    <img :src="$method.splitImgHost('oss/images/file/20230317/1679036853309.png')" alt="" srcset="" />
     <view class="examact-btn" @click="collectMerch"> 点击领取真题题库 </view>
     <img
       class="examact-qrcode"

BIN
static/acbg.png