sunlupeng 1 年間 前
コミット
4ec6fd2e88

+ 1 - 1
src/permission.js

@@ -4,7 +4,7 @@ import { getToken, setToken } from '@/utils/auth' // getToken from cookie
 import { lockStatus,unlock } from "@/api/allApi";
 //路由跳转之前
 router.beforeEach((to, _from, next) => {
-  // setToken('444a49a3b1d19fc2ba71d3fdee84d055');
+  // setToken('daa8211a2224d6addda4eda860d38c53');
   const path = to.path;
   const Authorization = to.query.Authorization
   if (path.indexOf('auth') != -1 && Authorization) { 

+ 1 - 1
src/views/HomeView/GoodsDetail.vue

@@ -16,7 +16,7 @@
                     </div>
                     <!-- 小图列表 -->
                     <ul class="small">
-                        <li v-for="(img, i) in imageList" :key="i" @mouseenter="enterhandler(i)"
+                        <li v-for="(img, i) in imageList" :key="i" v-if="i<5" @mouseenter="enterhandler(i)"
                             :class="{ active: i == activeIndex }">
                             <img style="width: 100%;" :src="img" alt="" />
                         </li>

+ 1 - 1
src/views/HomeView/RedeemView.vue

@@ -17,7 +17,7 @@
                     </div>
                     <!-- 小图列表 -->
                     <ul class="small">
-                        <li v-for="(img, i) in imageList" :key="i" @mouseenter="enterhandler(i)"
+                        <li v-for="(img, i) in imageList" :key="i" v-if="i<5" @mouseenter="enterhandler(i)"
                             :class="{ active: i == activeIndex }">
                             <img style="width: 100%;" :src="img" alt="" />
                         </li>