lambo-design-bi 0.0.180 → 0.0.182
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.
|
@@ -42,10 +42,12 @@ export default {
|
|
|
42
42
|
getWidgetName,
|
|
43
43
|
initConfig() {
|
|
44
44
|
this.containerStyle = parseStyleStr(this.widget.options.style) || {}
|
|
45
|
+
console.log("ContainerCard this.containerStyle:", this.containerStyle)
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
created() {
|
|
48
49
|
console.log("ContainerCard params:", this.params)
|
|
50
|
+
this.initConfig()
|
|
49
51
|
},
|
|
50
52
|
mounted() {
|
|
51
53
|
|
|
@@ -33,6 +33,8 @@ export default {
|
|
|
33
33
|
valStyle: parseStyleStr(item.valStyle)
|
|
34
34
|
}))
|
|
35
35
|
this.textList = newTextList
|
|
36
|
+
console.log("text-group oldTextList:", oldTextList)
|
|
37
|
+
console.log("text-group newTextList:", this.textList)
|
|
36
38
|
},
|
|
37
39
|
async doSearch() {
|
|
38
40
|
if (!this.textList || this.textList.length < 1) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ivu-number-info">
|
|
3
|
-
<div class="ivu-number-info-title-lambo title-div"
|
|
4
|
-
|
|
3
|
+
<div class="ivu-number-info-title-lambo title-div" :class="{ 'isDrill': isDrill }" v-if="title || $slots.title"
|
|
4
|
+
@click="drill">
|
|
5
5
|
<slot name="title">{{ title }}</slot>
|
|
6
6
|
<Icon v-if="isDrill" type="ios-redo-outline" />
|
|
7
7
|
</div>
|
|
@@ -112,8 +112,10 @@ export default {
|
|
|
112
112
|
},
|
|
113
113
|
methods: {
|
|
114
114
|
drill() {
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
if (this.isDrill) {
|
|
116
|
+
console.log("number-info 点击了下钻按钮")
|
|
117
|
+
this.$emit('on-drill', {})
|
|
118
|
+
}
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
};
|
|
@@ -139,18 +141,18 @@ export default {
|
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
.title-div {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
display: flex;
|
|
145
|
+
justify-content: space-between;
|
|
146
|
+
align-items: center;
|
|
147
|
+
transition: all 0.2s ease;
|
|
148
|
+
border-radius: 5px;
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
.title-div.isDrill {
|
|
150
|
-
|
|
152
|
+
cursor: pointer;
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
.title-div.isDrill:hover {
|
|
154
|
-
|
|
156
|
+
transform: scale(1.02);
|
|
155
157
|
}
|
|
156
158
|
</style>
|