wl-design-mobile 0.8.13 → 0.8.15
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/README.md +6 -6
- package/api/doc.js +25 -25
- package/api/x1.js +56 -56
- package/btn/components/lambo-info-btn.vue +123 -123
- package/btn/components/lambo-primary-btn.vue +117 -117
- package/btn/components/lambo-text-btn.vue +116 -116
- package/btn/lambo-btn-divide.vue +35 -35
- package/btn/lambo-btn-group.vue +46 -46
- package/btn/lambo-btn-split-line.vue +41 -41
- package/btn/lambo-btn.vue +68 -68
- package/btn/lambo-extend-btn.vue +121 -121
- package/btn/lambo-icon-btn.vue +82 -82
- package/card-item/card-row-icon.vue +71 -71
- package/card-item/filtrate-row.vue +73 -73
- package/card-item/lambo-card-footer.vue +40 -40
- package/card-item/lambo-card-head.vue +66 -66
- package/card-item/lambo-card-row.vue +59 -59
- package/collapse/lambo-collapse.vue +93 -93
- package/config/config.js +14 -14
- package/detail/lambo-detail-grid.vue +58 -58
- package/detail/lambo-detail-row.vue +59 -59
- package/doc/file/compoents/lambo-file-list.vue +42 -42
- package/doc/file/compoents/lambo-file-row.vue +77 -77
- package/doc/file/lambo-file-upload-collapse.vue +107 -107
- package/doc/file-type/file-type.js +286 -286
- package/doc/img/comonents/lambo-img-grid.vue +109 -109
- package/doc/img/lambo-img-upload-collapse.vue +107 -109
- package/doc/img/styles/css/index.css +3 -3
- package/edit/list/Lambo-edit-list.vue +87 -87
- package/edit/list/lambo-edit-card-group.vue +100 -100
- package/edit/list/styles/css/index.css +39 -39
- package/edit/select/lambo-edit-date-range.vue +147 -147
- package/edit/select/lambo-edit-date-time.vue +122 -122
- package/edit/select/lambo-edit-date.vue +120 -120
- package/edit/select/lambo-edit-input-textarea.vue +91 -91
- package/edit/select/lambo-edit-input.vue +91 -91
- package/edit/select/lambo-edit-multi-select.vue +168 -168
- package/edit/select/lambo-edit-search-single-select.vue +186 -186
- package/edit/select/lambo-edit-single-select.vue +162 -162
- package/edit/select/styles/css/index.css +133 -133
- package/flow/approval/flow-approval.vue +552 -552
- package/flow/comps/flow-attachment-list.vue +230 -230
- package/flow/comps/flow-attachment-modal.vue +194 -194
- package/flow/comps/flow-copy-users.vue +358 -358
- package/flow/comps/flow-node-card.vue +150 -150
- package/flow/comps/flow-node-header.vue +172 -172
- package/flow/comps/flow-util.js +156 -156
- package/flow/comps/icons/approved.svg +11 -11
- package/flow/comps/icons/canceled.svg +11 -11
- package/flow/comps/icons/rejected.svg +11 -11
- package/flow/comps/icons/underway.svg +11 -11
- package/flow/detail/flow-detail.vue +467 -467
- package/flow/index.js +51 -51
- package/flow/lambo-flow-detail.vue +912 -912
- package/flow/lambo-flow-edit.vue +15 -15
- package/flow/submit/flow-submit.vue +383 -383
- package/icon/lambo-required-red-star.vue +47 -47
- package/icon/lambo-vector-icon.vue +71 -71
- package/list/lambo-list.vue +412 -294
- package/nav/lambo-top-nav.vue +81 -81
- package/order/comps/icons/approved.svg +10 -10
- package/order/comps/icons/underway.svg +10 -10
- package/order/comps/order-attachment-list.vue +228 -228
- package/order/comps/order-attachment-modal.vue +194 -194
- package/order/comps/order-node-card.vue +126 -126
- package/order/comps/order-node-header.vue +133 -133
- package/order/comps/order-util.js +132 -132
- package/order/detail/order-detail.vue +432 -432
- package/order/handle/order-handle.vue +517 -517
- package/order/index.js +33 -33
- package/package.json +1 -1
- package/search/lambo-date-range-page.vue +196 -196
- package/search/lambo-date-range.vue +111 -111
- package/search/lambo-date.vue +105 -105
- package/search/lambo-input.vue +74 -74
- package/search/lambo-multi-select.vue +129 -129
- package/search/lambo-org-select-page.vue +109 -109
- package/search/lambo-search-box.vue +61 -61
- package/search/lambo-search-single-select.vue +152 -152
- package/search/lambo-single-select.vue +123 -123
- package/search/lambo-week-date-select.vue +521 -521
- package/search/styles/css/index.css +138 -138
- package/styles/base.less +77 -77
- package/styles/components/btn.less +7 -7
- package/styles/components/search.less +33 -33
- package/styles/components/tag.less +181 -181
- package/styles/index.less +4 -4
- package/table/lambo-ag-table.vue +228 -227
- package/tag/lambo-tag.vue +23 -23
- package/title/lambo-title1.vue +151 -151
- package/title/lambo-title2.vue +37 -37
- package/title/lambo-title3.vue +77 -77
- package/util/assist.js +43 -43
- package/util/axios/cacheconf.js +19 -19
- package/util/axios/index.js +11 -11
- package/util/axios/interceptors.js +101 -101
- package/util/bus.js +4 -4
- package/util/jssdk-sczy.js +104 -104
- package/util/jssdk.js +565 -565
- package/util/math.js +76 -76
- package/util/token.js +36 -36
package/btn/lambo-extend-btn.vue
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="btn-sel" ref="btnSel">
|
|
3
|
-
<lambo-btn :type="type" :text="text" :size="size" :position="position" :disabled="disabled" :icon="icon"
|
|
4
|
-
:loading="loading" :class="dynamicClass" @click="onClick"></lambo-btn>
|
|
5
|
-
<ul v-show="show" class="extend-ul" @click="toggleClick">
|
|
6
|
-
<slot></slot>
|
|
7
|
-
</ul>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script>
|
|
11
|
-
import LamboBtn from "./lambo-btn.vue";
|
|
12
|
-
|
|
13
|
-
export default {
|
|
14
|
-
name: 'LamboExtendBtn',
|
|
15
|
-
components: {LamboBtn},
|
|
16
|
-
props: {
|
|
17
|
-
type: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: 'text'
|
|
20
|
-
},
|
|
21
|
-
text: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: '按钮'
|
|
24
|
-
},
|
|
25
|
-
size: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: 'normal',
|
|
28
|
-
},
|
|
29
|
-
position: {
|
|
30
|
-
type: String,
|
|
31
|
-
default: 'right'
|
|
32
|
-
},
|
|
33
|
-
disabled: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: false
|
|
36
|
-
},
|
|
37
|
-
icon: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: "arrow-down"
|
|
40
|
-
},
|
|
41
|
-
loading: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
data() {
|
|
47
|
-
return {
|
|
48
|
-
show: false,
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
methods: {
|
|
52
|
-
onClick() {
|
|
53
|
-
this.show = !this.show;
|
|
54
|
-
},
|
|
55
|
-
handleClickOutside(event) {
|
|
56
|
-
const btnSel = this.$refs.btnSel;
|
|
57
|
-
if (btnSel && !btnSel.contains(event.target)) {
|
|
58
|
-
this.show = false;
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
toggleClick() {
|
|
62
|
-
this.show = !this.show;
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
mounted() {
|
|
66
|
-
document.addEventListener('click', this.handleClickOutside);
|
|
67
|
-
},
|
|
68
|
-
beforeDestroy() {
|
|
69
|
-
document.removeEventListener('click', this.handleClickOutside);
|
|
70
|
-
},
|
|
71
|
-
computed: {
|
|
72
|
-
dynamicClass() {
|
|
73
|
-
if (this.size === 'big') {
|
|
74
|
-
return {
|
|
75
|
-
"big-btn": true
|
|
76
|
-
}
|
|
77
|
-
} else if (this.size === 'small') {
|
|
78
|
-
return {
|
|
79
|
-
"small-btn": true
|
|
80
|
-
}
|
|
81
|
-
} else {
|
|
82
|
-
return {
|
|
83
|
-
"normal-btn": true
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
}
|
|
89
|
-
</script>
|
|
90
|
-
<style scoped>
|
|
91
|
-
@import "../styles/index.less";
|
|
92
|
-
|
|
93
|
-
.big-btn {
|
|
94
|
-
border: none;
|
|
95
|
-
min-width: 60px;
|
|
96
|
-
height: 38px;
|
|
97
|
-
font-size: 14px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.normal-btn {
|
|
102
|
-
border: none;
|
|
103
|
-
min-width: 60px;
|
|
104
|
-
height: 30px;
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
border-radius: 3px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.small-btn {
|
|
110
|
-
border: none;
|
|
111
|
-
min-width: 60px;
|
|
112
|
-
height: 27px;
|
|
113
|
-
font-size: 11px;
|
|
114
|
-
border-radius: 3px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.extend-ul {
|
|
118
|
-
position: absolute;
|
|
119
|
-
z-index: 999;
|
|
120
|
-
}
|
|
121
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="btn-sel" ref="btnSel">
|
|
3
|
+
<lambo-btn :type="type" :text="text" :size="size" :position="position" :disabled="disabled" :icon="icon"
|
|
4
|
+
:loading="loading" :class="dynamicClass" @click="onClick"></lambo-btn>
|
|
5
|
+
<ul v-show="show" class="extend-ul" @click="toggleClick">
|
|
6
|
+
<slot></slot>
|
|
7
|
+
</ul>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
import LamboBtn from "./lambo-btn.vue";
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
name: 'LamboExtendBtn',
|
|
15
|
+
components: {LamboBtn},
|
|
16
|
+
props: {
|
|
17
|
+
type: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: 'text'
|
|
20
|
+
},
|
|
21
|
+
text: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: '按钮'
|
|
24
|
+
},
|
|
25
|
+
size: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: 'normal',
|
|
28
|
+
},
|
|
29
|
+
position: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: 'right'
|
|
32
|
+
},
|
|
33
|
+
disabled: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
36
|
+
},
|
|
37
|
+
icon: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "arrow-down"
|
|
40
|
+
},
|
|
41
|
+
loading: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
data() {
|
|
47
|
+
return {
|
|
48
|
+
show: false,
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
onClick() {
|
|
53
|
+
this.show = !this.show;
|
|
54
|
+
},
|
|
55
|
+
handleClickOutside(event) {
|
|
56
|
+
const btnSel = this.$refs.btnSel;
|
|
57
|
+
if (btnSel && !btnSel.contains(event.target)) {
|
|
58
|
+
this.show = false;
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
toggleClick() {
|
|
62
|
+
this.show = !this.show;
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
mounted() {
|
|
66
|
+
document.addEventListener('click', this.handleClickOutside);
|
|
67
|
+
},
|
|
68
|
+
beforeDestroy() {
|
|
69
|
+
document.removeEventListener('click', this.handleClickOutside);
|
|
70
|
+
},
|
|
71
|
+
computed: {
|
|
72
|
+
dynamicClass() {
|
|
73
|
+
if (this.size === 'big') {
|
|
74
|
+
return {
|
|
75
|
+
"big-btn": true
|
|
76
|
+
}
|
|
77
|
+
} else if (this.size === 'small') {
|
|
78
|
+
return {
|
|
79
|
+
"small-btn": true
|
|
80
|
+
}
|
|
81
|
+
} else {
|
|
82
|
+
return {
|
|
83
|
+
"normal-btn": true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
}
|
|
89
|
+
</script>
|
|
90
|
+
<style scoped>
|
|
91
|
+
@import "../styles/index.less";
|
|
92
|
+
|
|
93
|
+
.big-btn {
|
|
94
|
+
border: none;
|
|
95
|
+
min-width: 60px;
|
|
96
|
+
height: 38px;
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
border-radius: 3px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.normal-btn {
|
|
102
|
+
border: none;
|
|
103
|
+
min-width: 60px;
|
|
104
|
+
height: 30px;
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
border-radius: 3px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.small-btn {
|
|
110
|
+
border: none;
|
|
111
|
+
min-width: 60px;
|
|
112
|
+
height: 27px;
|
|
113
|
+
font-size: 11px;
|
|
114
|
+
border-radius: 3px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.extend-ul {
|
|
118
|
+
position: absolute;
|
|
119
|
+
z-index: 999;
|
|
120
|
+
}
|
|
121
|
+
</style>
|
package/btn/lambo-icon-btn.vue
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div class="icon-btn-div">
|
|
4
|
-
<van-button :icon="loadIcon" :class="dynamicClass" :loading="loading" :disabled="disabled"
|
|
5
|
-
@click="handleClick"></van-button>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
</template>
|
|
9
|
-
<script>
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
name: "LamboIconBtn",
|
|
13
|
-
props: {
|
|
14
|
-
icon: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: true
|
|
17
|
-
},
|
|
18
|
-
loading: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false
|
|
21
|
-
},
|
|
22
|
-
disabled: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false
|
|
25
|
-
},
|
|
26
|
-
border: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: true
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
data() {
|
|
32
|
-
return {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
methods: {
|
|
37
|
-
handleClick(event) {
|
|
38
|
-
this.$emit('click', event);
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
computed: {
|
|
42
|
-
loadIcon() {
|
|
43
|
-
return require('../assets/icon/' + this.icon)
|
|
44
|
-
},
|
|
45
|
-
dynamicClass() {
|
|
46
|
-
if (this.border === true) {
|
|
47
|
-
return {
|
|
48
|
-
"btn-icon-border": true
|
|
49
|
-
}
|
|
50
|
-
} else {
|
|
51
|
-
return {
|
|
52
|
-
"btn-icon-border0": true
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
</script>
|
|
59
|
-
<style scoped>
|
|
60
|
-
@import "../styles/index.less";
|
|
61
|
-
|
|
62
|
-
.btn-icon-border {
|
|
63
|
-
border: 1px solid #e5e5e5;
|
|
64
|
-
width: 40px;
|
|
65
|
-
height: 30px;
|
|
66
|
-
background-color: transparent;
|
|
67
|
-
font-size: 12px;
|
|
68
|
-
border-radius: 3px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.btn-icon-border0 {
|
|
72
|
-
border: none;
|
|
73
|
-
width: 40px;
|
|
74
|
-
height: 30px;
|
|
75
|
-
background-color: transparent;
|
|
76
|
-
font-size: 12px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/deep/ .icon-btn-div .van-icon__image {
|
|
80
|
-
width: 1em;
|
|
81
|
-
}
|
|
82
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="icon-btn-div">
|
|
4
|
+
<van-button :icon="loadIcon" :class="dynamicClass" :loading="loading" :disabled="disabled"
|
|
5
|
+
@click="handleClick"></van-button>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
<script>
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: "LamboIconBtn",
|
|
13
|
+
props: {
|
|
14
|
+
icon: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
loading: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: false
|
|
21
|
+
},
|
|
22
|
+
disabled: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: false
|
|
25
|
+
},
|
|
26
|
+
border: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
handleClick(event) {
|
|
38
|
+
this.$emit('click', event);
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
computed: {
|
|
42
|
+
loadIcon() {
|
|
43
|
+
return require('../assets/icon/' + this.icon)
|
|
44
|
+
},
|
|
45
|
+
dynamicClass() {
|
|
46
|
+
if (this.border === true) {
|
|
47
|
+
return {
|
|
48
|
+
"btn-icon-border": true
|
|
49
|
+
}
|
|
50
|
+
} else {
|
|
51
|
+
return {
|
|
52
|
+
"btn-icon-border0": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
</script>
|
|
59
|
+
<style scoped>
|
|
60
|
+
@import "../styles/index.less";
|
|
61
|
+
|
|
62
|
+
.btn-icon-border {
|
|
63
|
+
border: 1px solid #e5e5e5;
|
|
64
|
+
width: 40px;
|
|
65
|
+
height: 30px;
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
border-radius: 3px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.btn-icon-border0 {
|
|
72
|
+
border: none;
|
|
73
|
+
width: 40px;
|
|
74
|
+
height: 30px;
|
|
75
|
+
background-color: transparent;
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/deep/ .icon-btn-div .van-icon__image {
|
|
80
|
+
width: 1em;
|
|
81
|
+
}
|
|
82
|
+
</style>
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="titp1" style="line-height: 24px">
|
|
3
|
-
{{ name }}:
|
|
4
|
-
<p class="p"><img :src="pictureImg">{{ val }}</p>
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
<script>
|
|
8
|
-
import picture from '../assets/icon/picture.png'
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
name: "CardRowIcon",
|
|
12
|
-
components: {},
|
|
13
|
-
props: {
|
|
14
|
-
name: {
|
|
15
|
-
type: String
|
|
16
|
-
},
|
|
17
|
-
val: {
|
|
18
|
-
type: String
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
data() {
|
|
22
|
-
return {
|
|
23
|
-
pictureImg: picture,
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
methods: {},
|
|
27
|
-
created() {
|
|
28
|
-
console.log("row name:", this.name)
|
|
29
|
-
console.log("row val:", this.val)
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
33
|
-
<style scoped>
|
|
34
|
-
@import "../styles/index.less";
|
|
35
|
-
|
|
36
|
-
.titp1 {
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
color: #666666;
|
|
39
|
-
margin-bottom: 14px;
|
|
40
|
-
display: flex;
|
|
41
|
-
justify-content: flex-start;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.titp1:last-child {
|
|
45
|
-
margin-bottom: 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.titp1 span {
|
|
49
|
-
font-family: Regular;
|
|
50
|
-
color: #333333;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.titp1 .p {
|
|
54
|
-
height: 24px;
|
|
55
|
-
line-height: 24px;
|
|
56
|
-
padding-right: 8px;
|
|
57
|
-
background: #F2F3F5;
|
|
58
|
-
color: #333333;
|
|
59
|
-
border-radius: var(--ind-border-radius-xxl);
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: flex-start;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.titp1 img {
|
|
65
|
-
width: 24px;
|
|
66
|
-
height: 24px;
|
|
67
|
-
display: block;
|
|
68
|
-
margin-right: 5px;
|
|
69
|
-
border-radius: var(--ind-border-radius-round);
|
|
70
|
-
}
|
|
71
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="titp1" style="line-height: 24px">
|
|
3
|
+
{{ name }}:
|
|
4
|
+
<p class="p"><img :src="pictureImg">{{ val }}</p>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
import picture from '../assets/icon/picture.png'
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
name: "CardRowIcon",
|
|
12
|
+
components: {},
|
|
13
|
+
props: {
|
|
14
|
+
name: {
|
|
15
|
+
type: String
|
|
16
|
+
},
|
|
17
|
+
val: {
|
|
18
|
+
type: String
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
data() {
|
|
22
|
+
return {
|
|
23
|
+
pictureImg: picture,
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
methods: {},
|
|
27
|
+
created() {
|
|
28
|
+
console.log("row name:", this.name)
|
|
29
|
+
console.log("row val:", this.val)
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</script>
|
|
33
|
+
<style scoped>
|
|
34
|
+
@import "../styles/index.less";
|
|
35
|
+
|
|
36
|
+
.titp1 {
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
color: #666666;
|
|
39
|
+
margin-bottom: 14px;
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: flex-start;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.titp1:last-child {
|
|
45
|
+
margin-bottom: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.titp1 span {
|
|
49
|
+
font-family: Regular;
|
|
50
|
+
color: #333333;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.titp1 .p {
|
|
54
|
+
height: 24px;
|
|
55
|
+
line-height: 24px;
|
|
56
|
+
padding-right: 8px;
|
|
57
|
+
background: #F2F3F5;
|
|
58
|
+
color: #333333;
|
|
59
|
+
border-radius: var(--ind-border-radius-xxl);
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: flex-start;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.titp1 img {
|
|
65
|
+
width: 24px;
|
|
66
|
+
height: 24px;
|
|
67
|
+
display: block;
|
|
68
|
+
margin-right: 5px;
|
|
69
|
+
border-radius: var(--ind-border-radius-round);
|
|
70
|
+
}
|
|
71
|
+
</style>
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="filtrateList">
|
|
3
|
-
<div>筛选指标:
|
|
4
|
-
<img :src="arrangeImg" class="arrange" v-if="name === '降序'">
|
|
5
|
-
{{ name }}
|
|
6
|
-
<img :src="deleteImg" class="delete">
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script>
|
|
11
|
-
import deletes from '../assets/icon/delete.png';
|
|
12
|
-
import arrange from '../assets/icon/arrange.png';
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
name: "filtrateRow",
|
|
16
|
-
components: {},
|
|
17
|
-
data() {
|
|
18
|
-
return {
|
|
19
|
-
arrangeImg: arrange,
|
|
20
|
-
deleteImg: deletes,
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
props: {
|
|
24
|
-
name: {
|
|
25
|
-
type: String
|
|
26
|
-
},
|
|
27
|
-
val: {
|
|
28
|
-
type: String
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
methods: {
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
created() {
|
|
35
|
-
console.log("row name:", this.name)
|
|
36
|
-
console.log("row val:", this.val)
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
</script>
|
|
40
|
-
<style scoped>
|
|
41
|
-
@import "../styles/index.less";
|
|
42
|
-
|
|
43
|
-
.filtrateList {
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: flex-start;
|
|
46
|
-
float: left;
|
|
47
|
-
}
|
|
48
|
-
.filtrateList div {
|
|
49
|
-
height: 30px;
|
|
50
|
-
line-height: 30px;
|
|
51
|
-
font-size: var(--ind-font-size-sm);
|
|
52
|
-
color: var(--scl-gray-2);
|
|
53
|
-
font-family: Regular;
|
|
54
|
-
padding: 0 var(--ind-padding-xs);
|
|
55
|
-
margin: 0 6px 6px 0;
|
|
56
|
-
background: #F2F3F5;
|
|
57
|
-
border-radius: var(--ind-border-radius-xs);
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: space-between;
|
|
60
|
-
}
|
|
61
|
-
.filtrateList div .arrange {
|
|
62
|
-
width: 12px;
|
|
63
|
-
height: 12px;
|
|
64
|
-
display: block;
|
|
65
|
-
margin: 9px 4px 0;
|
|
66
|
-
}
|
|
67
|
-
.filtrateList div .delete {
|
|
68
|
-
width: 16px;
|
|
69
|
-
height: 16px;
|
|
70
|
-
display: block;
|
|
71
|
-
margin: 7px 0 0 8px;
|
|
72
|
-
}
|
|
73
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="filtrateList">
|
|
3
|
+
<div>筛选指标:
|
|
4
|
+
<img :src="arrangeImg" class="arrange" v-if="name === '降序'">
|
|
5
|
+
{{ name }}
|
|
6
|
+
<img :src="deleteImg" class="delete">
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
import deletes from '../assets/icon/delete.png';
|
|
12
|
+
import arrange from '../assets/icon/arrange.png';
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
name: "filtrateRow",
|
|
16
|
+
components: {},
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
arrangeImg: arrange,
|
|
20
|
+
deleteImg: deletes,
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
props: {
|
|
24
|
+
name: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
27
|
+
val: {
|
|
28
|
+
type: String
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
|
|
33
|
+
},
|
|
34
|
+
created() {
|
|
35
|
+
console.log("row name:", this.name)
|
|
36
|
+
console.log("row val:", this.val)
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
</script>
|
|
40
|
+
<style scoped>
|
|
41
|
+
@import "../styles/index.less";
|
|
42
|
+
|
|
43
|
+
.filtrateList {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: flex-start;
|
|
46
|
+
float: left;
|
|
47
|
+
}
|
|
48
|
+
.filtrateList div {
|
|
49
|
+
height: 30px;
|
|
50
|
+
line-height: 30px;
|
|
51
|
+
font-size: var(--ind-font-size-sm);
|
|
52
|
+
color: var(--scl-gray-2);
|
|
53
|
+
font-family: Regular;
|
|
54
|
+
padding: 0 var(--ind-padding-xs);
|
|
55
|
+
margin: 0 6px 6px 0;
|
|
56
|
+
background: #F2F3F5;
|
|
57
|
+
border-radius: var(--ind-border-radius-xs);
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
}
|
|
61
|
+
.filtrateList div .arrange {
|
|
62
|
+
width: 12px;
|
|
63
|
+
height: 12px;
|
|
64
|
+
display: block;
|
|
65
|
+
margin: 9px 4px 0;
|
|
66
|
+
}
|
|
67
|
+
.filtrateList div .delete {
|
|
68
|
+
width: 16px;
|
|
69
|
+
height: 16px;
|
|
70
|
+
display: block;
|
|
71
|
+
margin: 7px 0 0 8px;
|
|
72
|
+
}
|
|
73
|
+
</style>
|