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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/logo.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="btns">
|
|
3
|
+
<ul class="lambobigbutton-ul">
|
|
4
|
+
<van-button :disabled="disabled" :icon="icon" :icon-position="position" :loading="loading" :plain="plain"
|
|
5
|
+
:type="type" class="LamboBigButton" size="large" @click="handleClick"> {{ text }}
|
|
6
|
+
</van-button>
|
|
7
|
+
</ul>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'LamboBigButton',
|
|
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
|
+
.LamboBigButton {
|
|
68
|
+
height: 38px;
|
|
69
|
+
border-radius: 3px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*填充按钮primary类型按钮样式 */
|
|
73
|
+
/deep/ .lambobigbutton-ul .van-button--primary {
|
|
74
|
+
background: var(--scl-blue);
|
|
75
|
+
border: 1px solid var(--scl-blue);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/*填充按钮primary类型不可用按钮样式 */
|
|
79
|
+
/deep/ .lambobigbutton-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/ .lambobigbutton-ul .van-button__text {
|
|
89
|
+
font-size: 14px;
|
|
90
|
+
padding: 10px 0px;
|
|
91
|
+
font-family: 微软雅黑, serif Regular;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/*线框按钮按钮样式*/
|
|
95
|
+
/deep/ .lambobigbutton-ul .van-button--plain.van-button--info {
|
|
96
|
+
color: var(--scl-blue);
|
|
97
|
+
border: 1px solid var(--scl-blue);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/*线框按钮不可用按钮样式*/
|
|
101
|
+
/deep/ .lambobigbutton-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/ .lambobigbutton-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/ .lambobigbutton-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,47 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="button-group">
|
|
3
|
+
<slot name="opt"></slot>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
name: 'LamboButtonGroup',
|
|
10
|
+
components: {},
|
|
11
|
+
props: {},
|
|
12
|
+
data() {
|
|
13
|
+
return {}
|
|
14
|
+
},
|
|
15
|
+
methods: {},
|
|
16
|
+
created() {
|
|
17
|
+
|
|
18
|
+
},
|
|
19
|
+
mounted() {
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
24
|
+
<style scoped>
|
|
25
|
+
@import "../styles/index.less";
|
|
26
|
+
|
|
27
|
+
.button-group {
|
|
28
|
+
display: flex;
|
|
29
|
+
padding: 0 14px;
|
|
30
|
+
background-color: var(--scl-white-1)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.button-group-line {
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 1px;
|
|
36
|
+
border-bottom: 1px solid var(--scl-white-2);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.button-group /deep/ .btns {
|
|
40
|
+
flex: 1;
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.button-group /deep/ .btns:nth-child(n+2) {
|
|
45
|
+
border-left: 1px solid var(--scl-white-2);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<van-button :icon="loadIcon" class="btn-icon" :loading="loading" :disabled="disabled" @click="handleClick"></van-button>
|
|
3
|
+
</template>
|
|
4
|
+
<script>
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
name: "LamboIconButton",
|
|
8
|
+
props: {
|
|
9
|
+
icon: String,
|
|
10
|
+
loading: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: false
|
|
13
|
+
},
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
data() {
|
|
20
|
+
return {}
|
|
21
|
+
},
|
|
22
|
+
methods: {
|
|
23
|
+
handleClick(event) {
|
|
24
|
+
this.$emit('click', event);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
computed: {
|
|
28
|
+
loadIcon() {
|
|
29
|
+
// vite的写法,而且需要用相对路径
|
|
30
|
+
// return new URL('../../../assets/icon/' + this.icon, import.meta.url).href
|
|
31
|
+
return require('../assets/icon/' + this.icon)
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
<style scoped>
|
|
37
|
+
@import "../styles/index.less";
|
|
38
|
+
|
|
39
|
+
.btn-icon {
|
|
40
|
+
border: 1px solid #e5e5e5;
|
|
41
|
+
width: 40px;
|
|
42
|
+
height: 30px;
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
border-radius: 3px;
|
|
46
|
+
}
|
|
47
|
+
/deep/ .van-icon__image {
|
|
48
|
+
width: 1em;
|
|
49
|
+
}
|
|
50
|
+
</style>
|
|
@@ -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="normal" @click="handleClick"> {{ text }}
|
|
6
|
+
</van-button>
|
|
7
|
+
</ul>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'LamboMediumButton',
|
|
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: 30px;
|
|
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,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div slot="btns"></div>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
name: 'LamboSmallButtonGroup',
|
|
10
|
+
components: {},
|
|
11
|
+
props: {},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
methods: {
|
|
18
|
+
|
|
19
|
+
},
|
|
20
|
+
created() {
|
|
21
|
+
|
|
22
|
+
},
|
|
23
|
+
mounted() {
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
<style scoped>
|
|
29
|
+
@import "../styles/index.less";
|
|
30
|
+
|
|
31
|
+
</style>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<LamboBigButton :disabled="false" :position="position" :text="text" :type="type" icon="arrow-down"
|
|
4
|
+
@click="onClick"></LamboBigButton>
|
|
5
|
+
<ul v-show="show">
|
|
6
|
+
<LamboBigButton :disabled="false" :type="type" text="编辑" @click="onClick1"></LamboBigButton>
|
|
7
|
+
<LamboBigButton :disabled="false" :type="type" text="删除" @click="onClick2"></LamboBigButton>
|
|
8
|
+
</ul>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script>
|
|
12
|
+
|
|
13
|
+
import LamboBigButton from "@/components/lambo/btn/lambo-big-button.vue";
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
name: 'LamboSmallButtonSelect',
|
|
17
|
+
components: {LamboBigButton},
|
|
18
|
+
props: {
|
|
19
|
+
text: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: '更多'
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
type: 'default',
|
|
27
|
+
position: 'right',
|
|
28
|
+
show: false,
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
onClick() {
|
|
33
|
+
this.show = !this.show;
|
|
34
|
+
},
|
|
35
|
+
onClick1() {
|
|
36
|
+
console.log('path', 'onClick1')
|
|
37
|
+
},
|
|
38
|
+
onClick2() {
|
|
39
|
+
console.log('path', 'onClick2')
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
created() {
|
|
43
|
+
|
|
44
|
+
},
|
|
45
|
+
mounted() {
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
<style scoped>
|
|
51
|
+
@import "../styles/index.less";
|
|
52
|
+
|
|
53
|
+
</style>
|