n20-common-lib 1.2.6 → 1.2.7
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 +1 -1
- package/src/assets/css/cl-suspend.scss +1 -1
- package/src/assets/css/font-icon.scss +2 -1
- package/src/assets/iconFont/demo.css +539 -0
- package/src/assets/iconFont/demo_index.html +1614 -0
- package/src/assets/iconFont/iconfont.css +263 -0
- package/src/assets/iconFont/iconfont.js +1 -0
- package/src/assets/iconFont/iconfont.json +443 -0
- package/src/assets/iconFont/iconfont.ttf +0 -0
- package/src/assets/iconFont/iconfont.woff +0 -0
- package/src/assets/iconFont/iconfont.woff2 +0 -0
- package/src/components/Layout/AsideNav/index.vue +96 -42
- package/src/components/Layout/HeaderWrap/index.vue +29 -14
- package/style/fonts/iconfont.022f36c4.woff2 +0 -0
- package/style/fonts/iconfont.4a1b2c93.woff +0 -0
- package/style/fonts/iconfont.a9febaa2.ttf +0 -0
- package/style/index.css +3 -2
- package/style/index.css.map +1 -1
|
@@ -89,6 +89,23 @@
|
|
|
89
89
|
<el-dropdown-item command="myDeal" divided>{{
|
|
90
90
|
'我的交易' | $l(i18n)
|
|
91
91
|
}}</el-dropdown-item>
|
|
92
|
+
<el-dropdown-item
|
|
93
|
+
v-if="customOpt.agency && customOpt.agency.show"
|
|
94
|
+
command="myAgency"
|
|
95
|
+
divided
|
|
96
|
+
>
|
|
97
|
+
<div class="flex-box flex-v">
|
|
98
|
+
<span>{{ '工作代理' | $l(i18n) }}</span>
|
|
99
|
+
<el-badge
|
|
100
|
+
v-if="customOpt.agency.underway"
|
|
101
|
+
class="m-l-auto font-size-small color-primary"
|
|
102
|
+
is-dot
|
|
103
|
+
type="primary"
|
|
104
|
+
style="line-height: initial"
|
|
105
|
+
>进行中</el-badge
|
|
106
|
+
>
|
|
107
|
+
</div>
|
|
108
|
+
</el-dropdown-item>
|
|
92
109
|
<el-divider class="m-t-s m-b-s" />
|
|
93
110
|
<div class="user-log-time p-l p-r p-b-s">
|
|
94
111
|
<i
|
|
@@ -171,6 +188,9 @@ const i18n = {
|
|
|
171
188
|
我的交易: {
|
|
172
189
|
en: 'My deal'
|
|
173
190
|
},
|
|
191
|
+
工作代理: {
|
|
192
|
+
en: 'My agency'
|
|
193
|
+
},
|
|
174
194
|
登录时长: {
|
|
175
195
|
en: 'Login duration'
|
|
176
196
|
},
|
|
@@ -209,6 +229,12 @@ export default {
|
|
|
209
229
|
changePwd,
|
|
210
230
|
noticePop
|
|
211
231
|
},
|
|
232
|
+
inject: {
|
|
233
|
+
customOpt: {
|
|
234
|
+
type: Object,
|
|
235
|
+
default: () => ({})
|
|
236
|
+
}
|
|
237
|
+
},
|
|
212
238
|
data() {
|
|
213
239
|
return {
|
|
214
240
|
show: false,
|
|
@@ -271,18 +297,15 @@ export default {
|
|
|
271
297
|
case 'dowApp':
|
|
272
298
|
this.dowApp()
|
|
273
299
|
break
|
|
274
|
-
case 'setStyle':
|
|
275
|
-
this.setStyle()
|
|
276
|
-
break
|
|
277
300
|
case 'changePassword':
|
|
278
301
|
this.changePassword()
|
|
279
302
|
break
|
|
280
|
-
case 'myDeal':
|
|
281
|
-
this.myDeal()
|
|
282
|
-
break
|
|
283
303
|
case 'logOut':
|
|
284
304
|
this.logOut()
|
|
285
305
|
break
|
|
306
|
+
default:
|
|
307
|
+
this.$emit('custom-event', { type: c })
|
|
308
|
+
break
|
|
286
309
|
}
|
|
287
310
|
},
|
|
288
311
|
setLang() {
|
|
@@ -302,18 +325,10 @@ export default {
|
|
|
302
325
|
aDom = undefined
|
|
303
326
|
})
|
|
304
327
|
},
|
|
305
|
-
setStyle() {
|
|
306
|
-
// alert('主题设置')
|
|
307
|
-
this.$emit('custom-event', { type: 'setStyle' })
|
|
308
|
-
},
|
|
309
328
|
changePassword() {
|
|
310
329
|
// alert('修改密码')
|
|
311
330
|
this.cpwdV = true
|
|
312
331
|
},
|
|
313
|
-
myDeal() {
|
|
314
|
-
// alert('我的交易')
|
|
315
|
-
this.$emit('custom-event', { type: 'myDeal' })
|
|
316
|
-
},
|
|
317
332
|
logOut() {
|
|
318
333
|
// alert('退出登录')
|
|
319
334
|
this.$confirm(
|
|
Binary file
|
|
Binary file
|
|
Binary file
|