wl-design-mobile 0.0.1
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/assets/home/banner.png +0 -0
- package/assets/home/card-slot1.png +0 -0
- package/assets/home/card-slot2.png +0 -0
- package/assets/home/card-slot3.png +0 -0
- package/assets/home/card-slot4.png +0 -0
- package/assets/home/card-slot6.png +0 -0
- package/assets/home/grid-1.png +0 -0
- package/assets/home/icon-1-1.png +0 -0
- package/assets/home/icon-1.png +0 -0
- package/assets/home/icon-2-1.png +0 -0
- package/assets/home/icon-2.png +0 -0
- package/assets/home/placeholder.png +0 -0
- package/assets/home/top-bg.png +0 -0
- package/assets/home/top-car-bg.png +0 -0
- package/assets/icon/arrange.png +0 -0
- package/assets/icon/arrow-left.png +0 -0
- package/assets/icon/arrow-right-big.png +0 -0
- package/assets/icon/back.png +0 -0
- package/assets/icon/boxs.png +0 -0
- package/assets/icon/date.png +0 -0
- package/assets/icon/delete.png +0 -0
- package/assets/icon/down.png +0 -0
- package/assets/icon/fileImg.png +0 -0
- package/assets/icon/filter.png +0 -0
- package/assets/icon/filtrate.png +0 -0
- package/assets/icon/info.png +0 -0
- package/assets/icon/interval/location.png +0 -0
- package/assets/icon/interval/reset.png +0 -0
- package/assets/icon/interval/time.png +0 -0
- package/assets/icon/label/close.png +0 -0
- package/assets/icon/label/down.png +0 -0
- package/assets/icon/label/up.png +0 -0
- package/assets/icon/more.png +0 -0
- package/assets/icon/order.png +0 -0
- package/assets/icon/person.png +0 -0
- package/assets/icon/picture.png +0 -0
- package/assets/icon/pull-down.png +0 -0
- package/assets/icon/report-forms/gary-icon.png +0 -0
- package/assets/icon/report-forms/green-up-icon.png +0 -0
- package/assets/icon/report-forms/icon.png +0 -0
- package/assets/icon/report-forms/up-icon.png +0 -0
- package/assets/icon/required.png +0 -0
- package/assets/icon/search-right.png +0 -0
- package/assets/icon/search.png +0 -0
- package/assets/icon/sort.png +0 -0
- package/assets/icon/timeicon.png +0 -0
- package/assets/icon/title-icon.png +0 -0
- package/assets/icon/unfold.png +0 -0
- package/assets/icon/up.png +0 -0
- package/assets/icon/upload-img.png +0 -0
- package/assets/icon/upload.png +0 -0
- package/assets/icon/uploadImg.png +0 -0
- package/assets/img/card/card-big.png +0 -0
- package/assets/img/doc/excel.png +0 -0
- package/assets/img/doc/mp3.png +0 -0
- package/assets/img/doc/other.png +0 -0
- package/assets/img/doc/pdf.png +0 -0
- package/assets/img/doc/photo.png +0 -0
- package/assets/img/doc/ppt.png +0 -0
- package/assets/img/doc/txt.png +0 -0
- package/assets/img/doc/video.png +0 -0
- package/assets/img/doc/word.png +0 -0
- package/assets/img/doc/zip.png +0 -0
- package/assets/img/login-background-bottom.jpg +0 -0
- package/assets/img/login-background-top.jpg +0 -0
- package/assets/img/login-hello.png +0 -0
- package/assets/img/title1-display-page.png +0 -0
- package/assets/img/title1-edit-page.png +0 -0
- package/assets/logo.png +0 -0
- package/btn/lambo-big-button.vue +121 -0
- package/btn/lambo-button-group.vue +47 -0
- package/btn/lambo-icon-button.vue +50 -0
- package/btn/lambo-medium-button.vue +121 -0
- package/btn/lambo-small-button-group.vue +31 -0
- package/btn/lambo-small-button-select.vue +53 -0
- package/btn/lambo-small-button.vue +121 -0
- package/card-item/card-row-icon.vue +72 -0
- package/card-item/filtrate-row.vue +72 -0
- package/card-item/lambo-card-footer.vue +40 -0
- package/card-item/lambo-card-head.vue +64 -0
- package/card-item/lambo-card-row.vue +60 -0
- package/collapse/lambo-collapse.vue +80 -0
- package/detail/lambo-detail-grid.vue +57 -0
- package/detail/lambo-detail-row.vue +59 -0
- package/doc/file/lambo-file-upload.vue +179 -0
- package/doc/file/styles/css/index.css +118 -0
- package/doc/img/lambo-img-upload.vue +109 -0
- package/doc/img/styles/css/index.css +98 -0
- package/edit/list/Lambo-edit-list.vue +90 -0
- package/edit/list/lambo-edit-card-group.vue +103 -0
- package/edit/list/styles/css/index.css +39 -0
- package/edit/select/lambo-edit-date-range.vue +135 -0
- package/edit/select/lambo-edit-date.vue +108 -0
- package/edit/select/lambo-edit-input-textarea.vue +92 -0
- package/edit/select/lambo-edit-input.vue +92 -0
- package/edit/select/lambo-edit-multi-select.vue +160 -0
- package/edit/select/lambo-edit-single-select.vue +153 -0
- package/edit/select/styles/css/index.css +124 -0
- package/flow/lambo-flow-detail.vue +30 -0
- package/flow/lambo-flow-edit.vue +30 -0
- package/icon/lambo-required-red-star.vue +47 -0
- package/icon/lambo-vector-icon.vue +71 -0
- package/list/lambo-list.vue +236 -0
- package/nav/lambo-top-nav.vue +89 -0
- package/package.json +26 -0
- package/search/lambo-date-range-page.vue +191 -0
- package/search/lambo-date-range.vue +107 -0
- package/search/lambo-input.vue +74 -0
- package/search/lambo-multi-select.vue +125 -0
- package/search/lambo-org-select-page.vue +109 -0
- package/search/lambo-search-box.vue +55 -0
- package/search/lambo-single-select.vue +119 -0
- package/search/styles/css/index.css +126 -0
- package/styles/base.less +75 -0
- package/styles/components/btn.less +7 -0
- package/styles/components/search.less +33 -0
- package/styles/components/tag.less +181 -0
- package/styles/index.less +4 -0
- package/title/lambo-title1.vue +129 -0
- package/title/lambo-title2.vue +37 -0
- package/title/lambo-title3.vue +77 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="btns">
|
|
3
|
+
<ul class="lambomediumbutton-ul">
|
|
4
|
+
<van-button :disabled="disabled" :icon="icon" :icon-position="position" :loading="loading" :plain="plain"
|
|
5
|
+
:type="type" class="LamboMediumButton" size="small" @click="handleClick"> {{ text }}
|
|
6
|
+
</van-button>
|
|
7
|
+
</ul>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'LamboSmallButton',
|
|
14
|
+
components: {},
|
|
15
|
+
props: {
|
|
16
|
+
type: {
|
|
17
|
+
// 填充类型按钮 plain传false type传primary
|
|
18
|
+
// 线框类型按钮 plain传true type传info
|
|
19
|
+
// 无框类型按钮 plain传false type传default
|
|
20
|
+
type: String,
|
|
21
|
+
default: 'primary'
|
|
22
|
+
},
|
|
23
|
+
plain: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
},
|
|
27
|
+
text: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: '小号按钮'
|
|
30
|
+
},
|
|
31
|
+
position: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: 'left'
|
|
34
|
+
},
|
|
35
|
+
disabled: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
icon: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: null
|
|
42
|
+
},
|
|
43
|
+
loading: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
data() {
|
|
49
|
+
return {}
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
handleClick(event) {
|
|
53
|
+
this.$emit('click', event);
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
created() {
|
|
57
|
+
|
|
58
|
+
},
|
|
59
|
+
mounted() {
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
</script>
|
|
64
|
+
<style scoped>
|
|
65
|
+
@import "../styles/index.less";
|
|
66
|
+
|
|
67
|
+
.LamboMediumButton {
|
|
68
|
+
height: 27px;
|
|
69
|
+
border-radius: 3px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*填充按钮primary类型按钮样式 */
|
|
73
|
+
/deep/ .lambomediumbutton-ul .van-button--primary {
|
|
74
|
+
background: var(--scl-blue);
|
|
75
|
+
border: 1px solid var(--scl-blue);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/*填充按钮primary类型不可用按钮样式 */
|
|
79
|
+
/deep/ .lambomediumbutton-ul .van-button--disabled {
|
|
80
|
+
cursor: not-allowed;
|
|
81
|
+
opacity: 1;
|
|
82
|
+
background-color: var(--scl-gray-6);
|
|
83
|
+
color: #000000;
|
|
84
|
+
border: 0px solid var(--scl-gray-6);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/*按钮文字样式*/
|
|
88
|
+
/deep/ .lambomediumbutton-ul .van-button__text {
|
|
89
|
+
font-size: 11px;
|
|
90
|
+
padding: 10px 0px;
|
|
91
|
+
font-family: 微软雅黑, serif Regular;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/*线框按钮按钮样式*/
|
|
95
|
+
/deep/ .lambomediumbutton-ul .van-button--plain.van-button--info {
|
|
96
|
+
color: var(--scl-blue);
|
|
97
|
+
border: 1px solid var(--scl-blue);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/*线框按钮不可用按钮样式*/
|
|
101
|
+
/deep/ .lambomediumbutton-ul .van-button--plain.van-button--info.van-button--disabled {
|
|
102
|
+
color: #000000;
|
|
103
|
+
border: 1px solid var(--scl-gray-6);
|
|
104
|
+
background-color: #ffffff;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/*无框类型按钮样式 */
|
|
108
|
+
/deep/ .lambomediumbutton-ul .van-button--default {
|
|
109
|
+
background: var(--scl-white-1);
|
|
110
|
+
border: 1px solid var(--scl-white-1);
|
|
111
|
+
color: var(--scl-blue);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/*无框按钮不可用按钮样式*/
|
|
115
|
+
/deep/ .lambomediumbutton-ul .van-button--default.van-button--disabled {
|
|
116
|
+
color: #000000;
|
|
117
|
+
border: 1px solid var(--scl-white-1);
|
|
118
|
+
background-color: var(--scl-white-1);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
</style>
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
9
|
+
import picture from '../assets/icon/picture.png'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: "CardRowIcon",
|
|
13
|
+
components: {},
|
|
14
|
+
props: {
|
|
15
|
+
name: {
|
|
16
|
+
type: String
|
|
17
|
+
},
|
|
18
|
+
val: {
|
|
19
|
+
type: String
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
data() {
|
|
23
|
+
return {
|
|
24
|
+
pictureImg: picture,
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
methods: {},
|
|
28
|
+
created() {
|
|
29
|
+
console.log("row name:", this.name)
|
|
30
|
+
console.log("row val:", this.val)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</script>
|
|
34
|
+
<style scoped>
|
|
35
|
+
@import "../styles/index.less";
|
|
36
|
+
|
|
37
|
+
.titp1 {
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
color: #666666;
|
|
40
|
+
margin-bottom: 14px;
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: flex-start;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.titp1:last-child {
|
|
46
|
+
margin-bottom: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.titp1 span {
|
|
50
|
+
font-family: Regular;
|
|
51
|
+
color: #333333;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.titp1 .p {
|
|
55
|
+
height: 24px;
|
|
56
|
+
line-height: 24px;
|
|
57
|
+
padding-right: 8px;
|
|
58
|
+
background: #F2F3F5;
|
|
59
|
+
color: #333333;
|
|
60
|
+
border-radius: var(--ind-border-radius-xxl);
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: flex-start;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.titp1 img {
|
|
66
|
+
width: 24px;
|
|
67
|
+
height: 24px;
|
|
68
|
+
display: block;
|
|
69
|
+
margin-right: 5px;
|
|
70
|
+
border-radius: var(--ind-border-radius-round);
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
export default {
|
|
14
|
+
name: "filtrateRow",
|
|
15
|
+
components: {},
|
|
16
|
+
data() {
|
|
17
|
+
return {
|
|
18
|
+
arrangeImg: arrange,
|
|
19
|
+
deleteImg: deletes,
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
props: {
|
|
23
|
+
name: {
|
|
24
|
+
type: String
|
|
25
|
+
},
|
|
26
|
+
val: {
|
|
27
|
+
type: String
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
|
|
32
|
+
},
|
|
33
|
+
created() {
|
|
34
|
+
console.log("row name:", this.name)
|
|
35
|
+
console.log("row val:", this.val)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
<style scoped>
|
|
40
|
+
@import "../styles/index.less";
|
|
41
|
+
|
|
42
|
+
.filtrateList {
|
|
43
|
+
display: flex;
|
|
44
|
+
justify-content: flex-start;
|
|
45
|
+
float: left;
|
|
46
|
+
}
|
|
47
|
+
.filtrateList div {
|
|
48
|
+
height: 30px;
|
|
49
|
+
line-height: 30px;
|
|
50
|
+
font-size: var(--ind-font-size-sm);
|
|
51
|
+
color: var(--scl-gray-2);
|
|
52
|
+
font-family: Regular;
|
|
53
|
+
padding: 0 var(--ind-padding-xs);
|
|
54
|
+
margin: 0 6px 6px 0;
|
|
55
|
+
background: #F2F3F5;
|
|
56
|
+
border-radius: var(--ind-border-radius-xs);
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
}
|
|
60
|
+
.filtrateList div .arrange {
|
|
61
|
+
width: 12px;
|
|
62
|
+
height: 12px;
|
|
63
|
+
display: block;
|
|
64
|
+
margin: 9px 4px 0;
|
|
65
|
+
}
|
|
66
|
+
.filtrateList div .delete {
|
|
67
|
+
width: 16px;
|
|
68
|
+
height: 16px;
|
|
69
|
+
display: block;
|
|
70
|
+
margin: 7px 0 0 8px;
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
@@ -0,0 +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>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
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
|
+
methods: {
|
|
35
|
+
|
|
36
|
+
},
|
|
37
|
+
created() {
|
|
38
|
+
console.log("head item:", this.item)
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
</script>
|
|
42
|
+
<style scoped>
|
|
43
|
+
@import "../styles/index.less";
|
|
44
|
+
|
|
45
|
+
.card-title0 {
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
font-weight: bold;
|
|
48
|
+
color: #333;
|
|
49
|
+
width: 67%;
|
|
50
|
+
text-align: left;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.right-container {
|
|
54
|
+
display: -webkit-flex;
|
|
55
|
+
display: flex;
|
|
56
|
+
-webkit-justify-content: flex-end;
|
|
57
|
+
justify-content: flex-end;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.title-tb {
|
|
61
|
+
border-collapse: collapse;
|
|
62
|
+
margin: 0px 0px 14px 0px;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
console.log("row name:", this.name)
|
|
35
|
+
console.log("row val:", this.val)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
<style scoped>
|
|
40
|
+
@import "../styles/index.less";
|
|
41
|
+
|
|
42
|
+
.key-title {
|
|
43
|
+
font-size: 12px;
|
|
44
|
+
color: #666;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.val-title {
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
color: #333;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.title-tb {
|
|
53
|
+
border-collapse: collapse;
|
|
54
|
+
margin: 0px 0px 14px 0px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.tb-tr {
|
|
58
|
+
margin-bottom: 14px;
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
@@ -0,0 +1,80 @@
|
|
|
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="right-icon" class="coll-title-icon">
|
|
12
|
+
<van-icon :color="'#0070D2'" class="van-icon van-cell__right-icon" name="play" />
|
|
13
|
+
</div>
|
|
14
|
+
<slot></slot>
|
|
15
|
+
</van-collapse-item>
|
|
16
|
+
</van-collapse>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
<script>
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
name: 'LamboCollapse',
|
|
23
|
+
components: {},
|
|
24
|
+
props: {
|
|
25
|
+
title: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: '',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
data() {
|
|
31
|
+
return {
|
|
32
|
+
activeNames: ['1'],
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
}
|
|
36
|
+
</script>
|
|
37
|
+
<style scoped>
|
|
38
|
+
@import "../styles/index.less";
|
|
39
|
+
|
|
40
|
+
.coll-div{
|
|
41
|
+
margin-bottom: 8px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.indicator-title {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
color: black;
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.indicator-title .color-line {
|
|
53
|
+
width: 3px;
|
|
54
|
+
height: 14px;
|
|
55
|
+
background-color: var(--scl-blue);
|
|
56
|
+
margin-right: 8px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.coll-title-icon {
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-items: center;
|
|
63
|
+
align-content: center;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* 覆盖折叠面板的标题的padding */
|
|
67
|
+
/deep/ .van-cell {
|
|
68
|
+
padding: 12px 10px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* 覆盖去掉折叠面板的标题下面的线 */
|
|
72
|
+
/deep/ .van-cell::after {
|
|
73
|
+
border: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* 覆盖折叠面板的内容的padding */
|
|
77
|
+
/deep/ .van-collapse-item__content {
|
|
78
|
+
padding: 0px 0px 0px 0px;
|
|
79
|
+
}
|
|
80
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="detail-grid">
|
|
3
|
+
<van-grid :border="false" :center="false" :column-num="columnNum" class="detail-grid-main">
|
|
4
|
+
<van-grid-item v-for="(row, index) in data" :key="index" class="detail-grid-box">
|
|
5
|
+
<div class="detail-grid-title">{{ row.title }}</div>
|
|
6
|
+
<div class="detail-grid-val">{{ row.val }}</div>
|
|
7
|
+
</van-grid-item>
|
|
8
|
+
</van-grid>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script>
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
name: 'LamboDetailGrid',
|
|
15
|
+
props: {
|
|
16
|
+
data: {
|
|
17
|
+
type: Array,
|
|
18
|
+
default: () => [],
|
|
19
|
+
},
|
|
20
|
+
columnNum: {
|
|
21
|
+
type: [Number, String],
|
|
22
|
+
default: 2
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
created() {
|
|
26
|
+
console.log("LamboDetailGrid -- created -- data:", this.data)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
</script>
|
|
30
|
+
<style scoped>
|
|
31
|
+
@import "../styles/index.less";
|
|
32
|
+
|
|
33
|
+
.detail-grid {
|
|
34
|
+
background-color: var(--scl-white-1);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.detail-grid-main {
|
|
38
|
+
padding: 0 14px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.detail-grid-main /deep/ .van-grid-item__content {
|
|
42
|
+
padding: 12px 0 0 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
.detail-grid-title {
|
|
47
|
+
margin-bottom: 12px;
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
font-family: Regular;
|
|
50
|
+
color: var(--scl-gray-2)
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.detail-grid-val {
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
color: var(--scl-lucency-1);
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="detail-row-main">
|
|
3
|
+
<div class="detail-row-box" v-for="(item,index) in data" :key="index">
|
|
4
|
+
<div class="detail-row-title">{{ item.title }}</div>
|
|
5
|
+
<div class="detail-row-val">{{ item.val }}</div>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
<script>
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: 'LamboDetailRow',
|
|
13
|
+
components: {},
|
|
14
|
+
props: {
|
|
15
|
+
data: {
|
|
16
|
+
type: Array,
|
|
17
|
+
default: []
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
data() {
|
|
21
|
+
return {}
|
|
22
|
+
},
|
|
23
|
+
methods: {},
|
|
24
|
+
created() {
|
|
25
|
+
|
|
26
|
+
},
|
|
27
|
+
mounted() {
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
</script>
|
|
32
|
+
<style scoped>
|
|
33
|
+
@import "../styles/index.less";
|
|
34
|
+
|
|
35
|
+
.detail-row-main {
|
|
36
|
+
background-color: var(--scl-white-1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.detail-row-box {
|
|
40
|
+
height: 70px;
|
|
41
|
+
margin: 0 14px;
|
|
42
|
+
padding: 12px 0;
|
|
43
|
+
border-bottom: 1px solid var(--scl-white-2);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.detail-row-title {
|
|
47
|
+
height: 16px;
|
|
48
|
+
margin-bottom: 12px;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
font-family: Regular;
|
|
51
|
+
color: var(--scl-gray-2)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.detail-row-val {
|
|
55
|
+
height: 18px;
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
color: var(--scl-lucency-1);
|
|
58
|
+
}
|
|
59
|
+
</style>
|