zydx-plus 1.35.483 → 1.35.484
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/components/tab/src/tab.vue +3 -16
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="tabs cl" :ref="`tabs${id}`" :style="{'text-align': heiStart? 'left': 'center'}">
|
|
3
|
-
<div class="tabs-li" :class="{'tab-active theme-text': actives === index, '
|
|
3
|
+
<div class="tabs-li" :class="{'tab-active theme-text': actives === index, 'tabsliDisableStyle': isDisableTab && !isOtherModule(item) && !item.alive}" @click="listTap(index)"
|
|
4
4
|
v-for="(item,index) in list" :key="index" v-html="item[column[0]]"></div>
|
|
5
5
|
<!-- <div v-if="addShow" @click="addTap" class="tabs-li tab-add">+</div>-->
|
|
6
6
|
</div>
|
|
@@ -98,21 +98,8 @@ export default {
|
|
|
98
98
|
</script>
|
|
99
99
|
|
|
100
100
|
<style scoped>
|
|
101
|
-
.
|
|
102
|
-
|
|
103
|
-
min-width: 60px;
|
|
104
|
-
height: 20px;
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
line-height: 20px;
|
|
107
|
-
color: #717171 !important;
|
|
108
|
-
border: #717171 1px solid !important;
|
|
109
|
-
border-radius: 3px;
|
|
110
|
-
text-align: center;
|
|
111
|
-
cursor: pointer;
|
|
112
|
-
background-color: #fff;
|
|
113
|
-
user-select: none;
|
|
114
|
-
margin: 1px;
|
|
115
|
-
box-sizing: border-box;
|
|
101
|
+
.tabsliDisableStyle {
|
|
102
|
+
color: rgba(51,51,51,0.5) !important;
|
|
116
103
|
pointer-events: none !important;
|
|
117
104
|
/*禁止点击*/
|
|
118
105
|
}
|