module-menu-vue 0.0.94 → 0.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-menu-vue",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
  </div>
8
8
  <div :class="'menu_title_content'" v-show="showCollapse" @click="toHref()" :style="{lineHeight: stash === 'LNRD' ? '53px' : '49px'}">
9
9
  <img class="menu_title_content_img" :src="getLogoAndTitle().logoSrc" alt="logo" :style="{verticalAlign: stash === 'LNRD' ? 'bottom': 'middle'}"/>
10
- <span class="menu_title" :style="{color: stash === 'LNRD' ? '#fff' : '#1890ff',verticalAlign: stash === 'LNRD' ? 'bottom': 'middle'}">{{getLogoAndTitle().title}}</span>
10
+ <span class='menu_title' :style="{color: stash === 'LNRD' ? '#fff' : '#1890ff',verticalAlign: stash === 'LNRD' ? 'bottom': 'middle'}">{{getLogoAndTitle().title}}</span>
11
11
  </div>
12
12
  </div>
13
13
  <div class='menu_list_content' :style="{ display: showMenuList ? 'block' : 'none', top: stash === 'LNRD' ? '75px' : '50px'}" @mouseenter="showMenuList = true" @mouseleave="showMenuList = false">
@@ -19,7 +19,7 @@
19
19
  lineHeight: item.children.length > 3 ? '45px' : '70px',
20
20
  }">
21
21
  <img :src="item.url" class="middle imgWidth" />
22
- <span class="middle textPad" @click="toHomePage(index)">{{item.name}}</span>
22
+ <span class="middle textPad" :class="stash === 'LNRD' ? 'LNRD_menu_title' : 'textPad'" @click="toHomePage(index)">{{item.name}}</span>
23
23
  </div>
24
24
  <div class='rightMenu'
25
25
  :style="{
@@ -34,7 +34,7 @@
34
34
  <span v-for="child in item.children" :key="child.url">
35
35
  <span :key="child.childName">
36
36
  <img :src="child.url" class="middle iconPad" />
37
- <span class='childMenu textPad middle' @click="toModulePage(child.childName)">{{child.childName}}</span>
37
+ <span :class="stash === 'LNRD' ? 'LNRD_menu_title childMenu textPad' : 'childMenu textPad middle'" @click="toModulePage(child.childName)">{{child.childName}}</span>
38
38
  </span>
39
39
  </span>
40
40
  </div>
@@ -99,3 +99,9 @@
99
99
  vertical-align: middle;
100
100
  animation: pro-layout-title-hide 0.3s;
101
101
  }
102
+ .menu_title:hover {
103
+ color: #4091f7;
104
+ }
105
+ .LNRD_menu_title:hover{
106
+ color: #D40600;
107
+ }
@@ -1,7 +1,7 @@
1
1
  import axios from 'axios';
2
2
  import getStore from './userInfo';
3
3
  import { checkToken } from './permessionUtils';
4
- let tokenValue = '8d14526ebe5a4b2ab37ef039f649dc7d';
4
+ let tokenValue = 'ba8db130f3334ae5b432b1398e0c1b1d';
5
5
  axios.interceptors.response.use(
6
6
  (response) => {
7
7
  if (response.status === 200) {