Browse Source

bug fix: 27556 (首博-PC端)文本框背景应该是透明的,图标应该是png

任一存 3 years ago
parent
commit
cf65dd9e22
2 changed files with 10 additions and 3 deletions
  1. 1 1
      web/src/config.js
  2. 9 2
      web/src/views/Visit/index.vue

+ 1 - 1
web/src/config.js

@@ -9,7 +9,7 @@ switch (process.env.NODE_ENV) {
     break;
 }
 
-const version = 'v0526.1828'
+const version = 'v0527.1017'
 
 module.exports = {
   publicPath,

+ 9 - 2
web/src/views/Visit/index.vue

@@ -12,7 +12,10 @@
     >
       <ul>
         <li
-          :class="{ cur: $route.meta.nameAll === item.name }"
+          :class="{
+            cur: $route.meta.nameAll === item.name,
+            'aria-inverse-theme': $route.meta.nameAll === item.name,
+          }"
           v-for="(item, index) in topLi"
           :key="index"
           @click="skip(item.path)"
@@ -22,7 +25,11 @@
           :aria-description="item.name"
         >
           <img :src="require(`@/assets/images/Visit/${item.img}`)" alt="" />
-          <p>{{ item.name }}</p>
+          <p
+            :class="{'aria-inverse-theme': $route.meta.nameAll === item.name,}"
+          >
+            {{ item.name }}
+          </p>
         </li>
       </ul>
     </div>