module-menu-vue 0.1.8 → 0.1.9

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.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <el-dropdown @command="handleCommand" :style="{color: color, marginRight: '30px'}">
3
- <span class="el-dropdown-link" :style="{color: color}">
4
- {{tenantName}}<i class="el-icon-arrow-down el-icon--right" :style="{color: color}"></i>
3
+ <span class="el-dropdown-link" :style="{color: color1}">
4
+ {{tenantName}}<i class="el-icon-arrow-down el-icon--right" :style="{color: color1, 'important': true }"></i>
5
5
  </span>
6
6
  <el-dropdown-menu slot="dropdown">
7
7
  <el-dropdown-item :command="item.id" v-for="item in options" :key="item.value">{{item.name}}</el-dropdown-item>
@@ -23,6 +23,10 @@ export default {
23
23
  type: String,
24
24
  default: '#ffffff'
25
25
  },
26
+ color1: {
27
+ type: String,
28
+ default: '#606368'
29
+ },
26
30
  },
27
31
  created () {
28
32
  // 每次都获取最新的租户列表
@@ -4,7 +4,7 @@
4
4
  <span class="el-dropdown-link">
5
5
  <img src="../../assets/userLogo.svg" style="vertical-align:middle;padding-right:10px"/>
6
6
  <span :style="{color: stash === 'LNRD' || stash === 'HBJK' ? '#fff' : '#000000d9'}">{{getName()}}</span>
7
- <i :style="{color: stash === 'HBJK' ? '#fff' : '#000000d9'}" class="el-icon-arrow-down el-icon--right"></i>
7
+ <i :style="{color: stash === 'LNRD' || stash === 'HBJK' ? '#fff' : '#000000d9'}" class="el-icon-arrow-down el-icon--right"></i>
8
8
  </span>
9
9
  <el-dropdown-menu slot="dropdown">
10
10
  <el-dropdown-item command="single">