Ver código fonte

cps:分享赚钱中转页样式

panyong 3 anos atrás
pai
commit
6772925b31

+ 1 - 1
htmldev/cps/src/api/request.js

@@ -55,7 +55,7 @@ request.interceptors.request.use(request => {
 
   // 因为微信开发者工具重复授权,本地开发时写死
   if (/^(0|192|10|localhost)/.test(domain)) {
-    request.headers.wechatToken = '72af1c69ca82b45d4648727a552f93a1'
+    request.headers.wechatToken = 'd34ca8724e9001d4f5ab44b6f4dcbcc7'
   } else {
     request.headers.wechatToken = getCookieValue('fanbutingwechatToken')
   }

+ 8 - 1
htmldev/cps/src/views/shareMiddle/index.vue

@@ -1,11 +1,18 @@
 <template>
-  <div>中转页</div>
+  <div></div>
 </template>
 
 <script>
+import { Toast } from 'vant'
+
 export default {
   name: 'index',
   created () {
+    Toast.loading({
+      message: '加载中...',
+      forbidClick: true,
+      duration: 0
+    })
     const { redirectUrl } = this.$route.query
     if (redirectUrl && /http/.test(decodeURIComponent(redirectUrl))) {
       location.replace(decodeURIComponent(redirectUrl))