shijiplus-web-plugin 0.1.19 → 0.1.20
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/directive/module/authAccess.js +10 -0
- package/src/index.less +27 -0
package/package.json
CHANGED
|
@@ -12,6 +12,16 @@ export default {
|
|
|
12
12
|
}
|
|
13
13
|
if (vnode.context.$store.state.user.access.indexOf(binding.value) === -1) {
|
|
14
14
|
el.parentNode.removeChild(el)
|
|
15
|
+
if (vnode.componentInstance && vnode.componentInstance.$options.name == 'TabPane') {
|
|
16
|
+
console.log('------------', vnode.componentInstance)
|
|
17
|
+
for (let i = 0; i < vnode.componentInstance.TabsInstance.$children.length; i++) {
|
|
18
|
+
if (vnode.componentInstance.TabsInstance.$children[i].currentName == vnode.componentInstance.currentName) {
|
|
19
|
+
vnode.componentInstance.TabsInstance.$children.splice(i, 1)
|
|
20
|
+
break
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
vnode.componentInstance.updateNav()
|
|
24
|
+
}
|
|
15
25
|
}
|
|
16
26
|
}
|
|
17
27
|
}
|
package/src/index.less
CHANGED
|
@@ -501,4 +501,31 @@
|
|
|
501
501
|
|
|
502
502
|
.fill-parents {
|
|
503
503
|
height: 100%;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.plus-old-modal {
|
|
507
|
+
.ivu-modal-body {
|
|
508
|
+
max-height: calc(~'100vh - 80px');
|
|
509
|
+
overflow-y: auto;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.plus-card {
|
|
514
|
+
box-sizing : border-box;
|
|
515
|
+
background : #fff;
|
|
516
|
+
box-shadow : 0 1px 8px 0 rgba(0, 0, 0, .1);
|
|
517
|
+
border-radius: @border-radius-base;
|
|
518
|
+
|
|
519
|
+
&:hover {
|
|
520
|
+
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .1),
|
|
521
|
+
0 2px 16px 0 rgba(0, 0, 0, .04)
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.desc-line {
|
|
526
|
+
width : 100%;
|
|
527
|
+
height : 40px;
|
|
528
|
+
background-image: url('~@/assets/union-pay/line-bg.png');
|
|
529
|
+
background-size : cover;
|
|
530
|
+
padding : 0 12px;
|
|
504
531
|
}
|