wl-design-mobile 0.8.19 → 0.8.21
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 -120
- 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 -107
- 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 -413
- 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 +38 -37
- 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 +227 -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 +608 -565
- package/util/math.js +76 -76
- package/util/token.js +36 -36
|
@@ -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>
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<table width="100%" class="title-tb-end" border="0">
|
|
4
|
-
<tr>
|
|
5
|
-
<slot></slot>
|
|
6
|
-
</tr>
|
|
7
|
-
</table>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script>
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
name: "LamboCardFooter",
|
|
14
|
-
components: {},
|
|
15
|
-
props: {
|
|
16
|
-
item: {
|
|
17
|
-
type: Object
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
data() {
|
|
21
|
-
return {
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
methods: {
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
created() {
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
33
|
-
<style scoped>
|
|
34
|
-
@import "../styles/index.less";
|
|
35
|
-
|
|
36
|
-
.title-tb-end {
|
|
37
|
-
border-collapse: collapse;
|
|
38
|
-
margin: 0px;
|
|
39
|
-
}
|
|
40
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<table width="100%" class="title-tb-end" border="0">
|
|
4
|
+
<tr>
|
|
5
|
+
<slot></slot>
|
|
6
|
+
</tr>
|
|
7
|
+
</table>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: "LamboCardFooter",
|
|
14
|
+
components: {},
|
|
15
|
+
props: {
|
|
16
|
+
item: {
|
|
17
|
+
type: Object
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
data() {
|
|
21
|
+
return {
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
methods: {
|
|
26
|
+
|
|
27
|
+
},
|
|
28
|
+
created() {
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</script>
|
|
33
|
+
<style scoped>
|
|
34
|
+
@import "../styles/index.less";
|
|
35
|
+
|
|
36
|
+
.title-tb-end {
|
|
37
|
+
border-collapse: collapse;
|
|
38
|
+
margin: 0px;
|
|
39
|
+
}
|
|
40
|
+
</style>
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div @click="handleClick">
|
|
3
|
-
<table width="100%" class="title-tb" border="0">
|
|
4
|
-
<tr>
|
|
5
|
-
<td class="card-title0">{{ title }}</td>
|
|
6
|
-
<td style="width: 33%;">
|
|
7
|
-
<div class="right-container">
|
|
8
|
-
<slot name="right"></slot>
|
|
9
|
-
</div>
|
|
10
|
-
</td>
|
|
11
|
-
</tr>
|
|
12
|
-
</table>
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
<script>
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
name: "LamboCardHead",
|
|
19
|
-
components: {},
|
|
20
|
-
props: {
|
|
21
|
-
item: {
|
|
22
|
-
type: Object
|
|
23
|
-
},
|
|
24
|
-
title: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
data() {
|
|
30
|
-
return {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
created() {
|
|
35
|
-
console.log("head item:", this.item)
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
handleClick() {
|
|
39
|
-
this.$emit('click', this.item);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
</script>
|
|
44
|
-
<style scoped>
|
|
45
|
-
@import "../styles/index.less";
|
|
46
|
-
|
|
47
|
-
.card-title0 {
|
|
48
|
-
font-size: 14px;
|
|
49
|
-
font-weight: bold;
|
|
50
|
-
color: #333;
|
|
51
|
-
width: 67%;
|
|
52
|
-
text-align: left;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.right-container {
|
|
56
|
-
display: -webkit-flex;
|
|
57
|
-
display: flex;
|
|
58
|
-
-webkit-justify-content: flex-end;
|
|
59
|
-
justify-content: flex-end;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.title-tb {
|
|
63
|
-
border-collapse: collapse;
|
|
64
|
-
margin: 0px 0px 10px 0px;
|
|
65
|
-
}
|
|
66
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div @click="handleClick">
|
|
3
|
+
<table width="100%" class="title-tb" border="0">
|
|
4
|
+
<tr>
|
|
5
|
+
<td class="card-title0">{{ title }}</td>
|
|
6
|
+
<td style="width: 33%;">
|
|
7
|
+
<div class="right-container">
|
|
8
|
+
<slot name="right"></slot>
|
|
9
|
+
</div>
|
|
10
|
+
</td>
|
|
11
|
+
</tr>
|
|
12
|
+
</table>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
<script>
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: "LamboCardHead",
|
|
19
|
+
components: {},
|
|
20
|
+
props: {
|
|
21
|
+
item: {
|
|
22
|
+
type: Object
|
|
23
|
+
},
|
|
24
|
+
title: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: ""
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
created() {
|
|
35
|
+
console.log("head item:", this.item)
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
handleClick() {
|
|
39
|
+
this.$emit('click', this.item);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
</script>
|
|
44
|
+
<style scoped>
|
|
45
|
+
@import "../styles/index.less";
|
|
46
|
+
|
|
47
|
+
.card-title0 {
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
font-weight: bold;
|
|
50
|
+
color: #333;
|
|
51
|
+
width: 67%;
|
|
52
|
+
text-align: left;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.right-container {
|
|
56
|
+
display: -webkit-flex;
|
|
57
|
+
display: flex;
|
|
58
|
+
-webkit-justify-content: flex-end;
|
|
59
|
+
justify-content: flex-end;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.title-tb {
|
|
63
|
+
border-collapse: collapse;
|
|
64
|
+
margin: 0px 0px 10px 0px;
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<table width="100%" class="title-tb" border="0">
|
|
4
|
-
<tr class="tb-tr">
|
|
5
|
-
<td>
|
|
6
|
-
<span class="key-title">{{ name }}:</span><span class="val-title">{{ val }}</span>
|
|
7
|
-
</td>
|
|
8
|
-
</tr>
|
|
9
|
-
</table>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
<script>
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
name: "LamboCardRow",
|
|
16
|
-
components: {},
|
|
17
|
-
props: {
|
|
18
|
-
name: {
|
|
19
|
-
type: String
|
|
20
|
-
},
|
|
21
|
-
val: {
|
|
22
|
-
type: String
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
data() {
|
|
26
|
-
return {
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
created() {
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
</script>
|
|
38
|
-
<style scoped>
|
|
39
|
-
@import "../styles/index.less";
|
|
40
|
-
|
|
41
|
-
.key-title {
|
|
42
|
-
font-size: 12px;
|
|
43
|
-
color: #666;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.val-title {
|
|
47
|
-
font-size: 12px;
|
|
48
|
-
color: #333;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.title-tb {
|
|
52
|
-
border-collapse: collapse;
|
|
53
|
-
margin: 0px 0px 8px 0px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.tb-tr {
|
|
57
|
-
margin-bottom: 8px;
|
|
58
|
-
}
|
|
59
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<table width="100%" class="title-tb" border="0">
|
|
4
|
+
<tr class="tb-tr">
|
|
5
|
+
<td>
|
|
6
|
+
<span class="key-title">{{ name }}:</span><span class="val-title">{{ val }}</span>
|
|
7
|
+
</td>
|
|
8
|
+
</tr>
|
|
9
|
+
</table>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<script>
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
name: "LamboCardRow",
|
|
16
|
+
components: {},
|
|
17
|
+
props: {
|
|
18
|
+
name: {
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
21
|
+
val: {
|
|
22
|
+
type: String
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
data() {
|
|
26
|
+
return {
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
|
|
32
|
+
},
|
|
33
|
+
created() {
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
</script>
|
|
38
|
+
<style scoped>
|
|
39
|
+
@import "../styles/index.less";
|
|
40
|
+
|
|
41
|
+
.key-title {
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
color: #666;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.val-title {
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
color: #333;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.title-tb {
|
|
52
|
+
border-collapse: collapse;
|
|
53
|
+
margin: 0px 0px 8px 0px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.tb-tr {
|
|
57
|
+
margin-bottom: 8px;
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="coll-div">
|
|
3
|
-
<van-collapse v-model="activeNames">
|
|
4
|
-
<van-collapse-item name="1">
|
|
5
|
-
<div slot="title">
|
|
6
|
-
<div class="indicator-title">
|
|
7
|
-
<div class="color-line" />
|
|
8
|
-
{{ title }}
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<div slot="value" class="coll-title-icon">
|
|
12
|
-
<slot name="right-value">
|
|
13
|
-
</slot>
|
|
14
|
-
</div>
|
|
15
|
-
<div slot="right-icon" class="coll-title-icon">
|
|
16
|
-
<slot name="right-icon">
|
|
17
|
-
<van-icon :color="'#0070D2'" class="van-icon van-cell__right-icon" name="play" />
|
|
18
|
-
</slot>
|
|
19
|
-
</div>
|
|
20
|
-
<slot></slot>
|
|
21
|
-
</van-collapse-item>
|
|
22
|
-
</van-collapse>
|
|
23
|
-
</div>
|
|
24
|
-
</template>
|
|
25
|
-
<script>
|
|
26
|
-
|
|
27
|
-
export default {
|
|
28
|
-
name: 'LamboCollapse',
|
|
29
|
-
components: {},
|
|
30
|
-
props: {
|
|
31
|
-
title: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: '',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
data() {
|
|
37
|
-
return {
|
|
38
|
-
activeNames: ['1'],
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
}
|
|
42
|
-
</script>
|
|
43
|
-
<style scoped>
|
|
44
|
-
@import "../styles/index.less";
|
|
45
|
-
|
|
46
|
-
.coll-div{
|
|
47
|
-
margin-bottom: 8px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.indicator-title {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
color: black;
|
|
54
|
-
font-weight: bold;
|
|
55
|
-
font-size: 14px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.indicator-title .color-line {
|
|
59
|
-
width: 3px;
|
|
60
|
-
height: 14px;
|
|
61
|
-
background-color: var(--scl-blue);
|
|
62
|
-
margin-right: 8px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.coll-title-icon {
|
|
66
|
-
display: flex;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
align-items: center;
|
|
69
|
-
align-content: center;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* 覆盖折叠面板的标题的padding */
|
|
73
|
-
/deep/ .van-cell {
|
|
74
|
-
padding: 10px 14px 10px 10px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/* 覆盖去掉折叠面板的标题下面的线 */
|
|
78
|
-
/deep/ .van-cell::after {
|
|
79
|
-
border: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/deep/ .van-cell__title {
|
|
83
|
-
display: flex;
|
|
84
|
-
justify-content: flex-start;
|
|
85
|
-
align-items: center;
|
|
86
|
-
align-content: center;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* 覆盖折叠面板的内容的padding */
|
|
90
|
-
/deep/ .van-collapse-item__content {
|
|
91
|
-
padding: 0px 0px 0px 0px;
|
|
92
|
-
}
|
|
93
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="coll-div">
|
|
3
|
+
<van-collapse v-model="activeNames">
|
|
4
|
+
<van-collapse-item name="1">
|
|
5
|
+
<div slot="title">
|
|
6
|
+
<div class="indicator-title">
|
|
7
|
+
<div class="color-line" />
|
|
8
|
+
{{ title }}
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<div slot="value" class="coll-title-icon">
|
|
12
|
+
<slot name="right-value">
|
|
13
|
+
</slot>
|
|
14
|
+
</div>
|
|
15
|
+
<div slot="right-icon" class="coll-title-icon">
|
|
16
|
+
<slot name="right-icon">
|
|
17
|
+
<van-icon :color="'#0070D2'" class="van-icon van-cell__right-icon" name="play" />
|
|
18
|
+
</slot>
|
|
19
|
+
</div>
|
|
20
|
+
<slot></slot>
|
|
21
|
+
</van-collapse-item>
|
|
22
|
+
</van-collapse>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
<script>
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
name: 'LamboCollapse',
|
|
29
|
+
components: {},
|
|
30
|
+
props: {
|
|
31
|
+
title: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: '',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
activeNames: ['1'],
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
}
|
|
42
|
+
</script>
|
|
43
|
+
<style scoped>
|
|
44
|
+
@import "../styles/index.less";
|
|
45
|
+
|
|
46
|
+
.coll-div{
|
|
47
|
+
margin-bottom: 8px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.indicator-title {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
color: black;
|
|
54
|
+
font-weight: bold;
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.indicator-title .color-line {
|
|
59
|
+
width: 3px;
|
|
60
|
+
height: 14px;
|
|
61
|
+
background-color: var(--scl-blue);
|
|
62
|
+
margin-right: 8px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.coll-title-icon {
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
align-items: center;
|
|
69
|
+
align-content: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* 覆盖折叠面板的标题的padding */
|
|
73
|
+
/deep/ .van-cell {
|
|
74
|
+
padding: 10px 14px 10px 10px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* 覆盖去掉折叠面板的标题下面的线 */
|
|
78
|
+
/deep/ .van-cell::after {
|
|
79
|
+
border: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/deep/ .van-cell__title {
|
|
83
|
+
display: flex;
|
|
84
|
+
justify-content: flex-start;
|
|
85
|
+
align-items: center;
|
|
86
|
+
align-content: center;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* 覆盖折叠面板的内容的padding */
|
|
90
|
+
/deep/ .van-collapse-item__content {
|
|
91
|
+
padding: 0px 0px 0px 0px;
|
|
92
|
+
}
|
|
93
|
+
</style>
|