module-menu-vue 0.0.93 → 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.93",
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>
@@ -281,7 +281,7 @@ export const lnrdMenuList = [{
281
281
  {
282
282
  childName: "目录管理",
283
283
  path: "/catalog",
284
- url: require("../../assets/ic_muluguanli.png"),
284
+ url: require("../../assets/LNRD_img/muluguanli_logo.png"),
285
285
  },
286
286
  // {
287
287
  // childName: "资源管理",
@@ -291,17 +291,17 @@ export const lnrdMenuList = [{
291
291
  {
292
292
  childName: "供需对接",
293
293
  path: "/supply-and-demand-docking",
294
- url: require("../../assets/ic_gongxuduijie.png"),
294
+ url: require("../../assets/LNRD_img/gongxuduijie_logo.png"),
295
295
  },
296
296
  {
297
297
  childName: "数据直达",
298
298
  path: "/cascade",
299
- url: require("../../assets/ic_jilianguanli.png"),
299
+ url: require("../../assets/LNRD_img/shujuzhida_logo.png"),
300
300
  },
301
301
  {
302
302
  childName: '综合评价系统',
303
303
  path: '/evaluate',
304
- url: require("../../assets/ic_pingjia.png"),
304
+ url: require("../../assets/LNRD_img/zonghepingjia_logo.png"),
305
305
  }]
306
306
  },
307
307
  {
@@ -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 = 'a99cd51ae5ee416cb129e34dc5a27331';
4
+ let tokenValue = 'ba8db130f3334ae5b432b1398e0c1b1d';
5
5
  axios.interceptors.response.use(
6
6
  (response) => {
7
7
  if (response.status === 200) {