vdesign-ui 0.2.20 → 0.3.0
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 +58 -58
- package/dist/components/actionbar/index.js +8 -8
- package/dist/components/actionbar/index.vue +39 -39
- package/dist/components/actionbar/style.less +44 -44
- package/dist/components/actionbar-cell/index.js +7 -7
- package/dist/components/actionbar-cell/index.vue +42 -42
- package/dist/components/actions/index.js +6 -6
- package/dist/components/actions/index.vue +77 -77
- package/dist/components/actions/style.less +109 -109
- package/dist/components/actions-cell/index.js +6 -6
- package/dist/components/actions-cell/index.vue +94 -94
- package/dist/components/actions-cell/style.less +38 -38
- package/dist/components/activityviews/index.js +8 -8
- package/dist/components/activityviews/index.vue +192 -192
- package/dist/components/activityviews/style.less +161 -161
- package/dist/components/badge/index.js +8 -8
- package/dist/components/badge/index.vue +49 -49
- package/dist/components/badge/style.less +54 -54
- package/dist/components/button/index.js +8 -8
- package/dist/components/button/index.vue +93 -93
- package/dist/components/button/style.less +558 -558
- package/dist/components/calendar/index-element.vue +84 -84
- package/dist/components/calendar/index.js +7 -7
- package/dist/components/calendar/index.vue +53 -53
- package/dist/components/calendar/style.less +138 -138
- package/dist/components/checkbox/index.js +8 -8
- package/dist/components/checkbox/index.vue +161 -161
- package/dist/components/checkbox/style.less +288 -288
- package/dist/components/checkbox-group/index.js +7 -7
- package/dist/components/checkbox-group/index.vue +73 -73
- package/dist/components/common/state/index.vue +33 -33
- package/dist/components/common/state/style.less +47 -47
- package/dist/components/data-list/index.js +10 -10
- package/dist/components/data-list/index.vue +19 -19
- package/dist/components/data-list/style.less +623 -623
- package/dist/components/datetime-picker/index.js +7 -7
- package/dist/components/datetime-picker/index.vue +39 -39
- package/dist/components/datetime-picker/style.less +23 -23
- package/dist/components/dialog/index.js +8 -8
- package/dist/components/dialog/index.vue +164 -164
- package/dist/components/dialog/overlay-manager.js +18 -18
- package/dist/components/dialog/style.less +138 -138
- package/dist/components/divider/index.js +8 -8
- package/dist/components/divider/index.vue +54 -54
- package/dist/components/divider/style.less +92 -92
- package/dist/components/dropdown/index.js +8 -8
- package/dist/components/dropdown/index.vue +218 -218
- package/dist/components/dropdown/style.less +432 -432
- package/dist/components/empty/index.js +8 -8
- package/dist/components/empty/index.vue +138 -138
- package/dist/components/empty/style.less +60 -60
- package/dist/components/footer/index.js +6 -6
- package/dist/components/footer/index.vue +33 -33
- package/dist/components/footer/style.less +20 -20
- package/dist/components/footnav/index.js +6 -6
- package/dist/components/footnav/index.vue +93 -93
- package/dist/components/footnav/style.less +22 -22
- package/dist/components/footnav-item/index.js +6 -6
- package/dist/components/footnav-item/index.vue +50 -50
- package/dist/components/footnav-item/style.less +39 -39
- package/dist/components/form/index.js +6 -6
- package/dist/components/form/index.vue +14 -14
- package/dist/components/headnav/index.js +6 -6
- package/dist/components/headnav/index.vue +185 -185
- package/dist/components/headnav/style.less +231 -231
- package/dist/components/icon/font/iconfont.css +163 -163
- package/dist/components/icon/font/iconfont.js +5 -5
- package/dist/components/icon/index.js +9 -9
- package/dist/components/icon/index.vue +96 -96
- package/dist/components/icon/style.less +44 -44
- package/dist/components/input/calcTextareaHeight.js +162 -162
- package/dist/components/input/index.js +8 -8
- package/dist/components/input/index.vue +345 -345
- package/dist/components/input/style.less +471 -471
- package/dist/components/list/index.js +8 -8
- package/dist/components/list/index.vue +152 -152
- package/dist/components/list/style.less +213 -213
- package/dist/components/loading/index.js +6 -6
- package/dist/components/loading/index.vue +68 -68
- package/dist/components/loading/style.less +53 -53
- package/dist/components/mixins/clickoutside.js +81 -81
- package/dist/components/mixins/dom.js +41 -41
- package/dist/components/mixins/languageMixin.js +43 -43
- package/dist/components/mixins/outlineConfigPlugin.js +45 -45
- package/dist/components/mixins/router-link.js +22 -22
- package/dist/components/mixins/themeMixin.js +43 -43
- package/dist/components/noticebar/index.js +8 -8
- package/dist/components/noticebar/index.vue +258 -258
- package/dist/components/noticebar/style.less +333 -333
- package/dist/components/overlay/index.js +8 -8
- package/dist/components/overlay/index.vue +184 -184
- package/dist/components/overlay/style.less +24 -24
- package/dist/components/pagebreak/index.js +6 -6
- package/dist/components/pagebreak/index.vue +67 -67
- package/dist/components/pagebreak/style.less +41 -41
- package/dist/components/password/index.js +8 -8
- package/dist/components/password/index.vue +64 -64
- package/dist/components/popover/index.js +8 -8
- package/dist/components/popover/index.vue +100 -100
- package/dist/components/popover/style.less +346 -346
- package/dist/components/popover/vue-popover.vue +314 -314
- package/dist/components/popup/index.js +7 -7
- package/dist/components/popup/index.vue +165 -165
- package/dist/components/popup/style.less +78 -78
- package/dist/components/radio/index.js +8 -8
- package/dist/components/radio/index.vue +184 -184
- package/dist/components/radio/style.less +300 -300
- package/dist/components/radio-group/index.js +7 -7
- package/dist/components/radio-group/index.vue +62 -62
- package/dist/components/result/index.js +8 -8
- package/dist/components/result/index.vue +73 -73
- package/dist/components/result/style.less +43 -43
- package/dist/components/search/index.js +8 -8
- package/dist/components/search/index.vue +70 -70
- package/dist/components/selector/index.js +8 -8
- package/dist/components/selector/index.vue +161 -161
- package/dist/components/selector/style.less +484 -484
- package/dist/components/skeleton/index.js +6 -6
- package/dist/components/skeleton/index.vue +207 -207
- package/dist/components/skeleton/style.less +196 -196
- package/dist/components/slider/draggable.js +49 -49
- package/dist/components/slider/index.js +6 -6
- package/dist/components/slider/index.vue +167 -167
- package/dist/components/slider/style.less +99 -99
- package/dist/components/slider/utils.js +59 -59
- package/dist/components/step/index.js +7 -7
- package/dist/components/step/index.vue +48 -48
- package/dist/components/step/style.less +66 -66
- package/dist/components/step-item/index.js +7 -7
- package/dist/components/step-item/index.vue +126 -126
- package/dist/components/step-item/style.less +399 -399
- package/dist/components/stepper/index.js +8 -8
- package/dist/components/stepper/index.vue +150 -150
- package/dist/components/style/index.vue +42 -42
- package/dist/components/switch/index.js +8 -8
- package/dist/components/switch/index.vue +72 -72
- package/dist/components/switch/style.less +56 -56
- package/dist/components/tab/index.js +7 -7
- package/dist/components/tab/index.vue +97 -97
- package/dist/components/tabs/index.js +8 -8
- package/dist/components/tabs/index.vue +356 -356
- package/dist/components/tabs/style.less +504 -504
- package/dist/components/tag/index.js +6 -6
- package/dist/components/tag/index.vue +64 -64
- package/dist/components/tag/style.less +210 -210
- package/dist/components/title/index.js +8 -8
- package/dist/components/title/index.vue +99 -99
- package/dist/components/title/style.less +187 -187
- package/dist/components/toast/index.js +139 -139
- package/dist/components/toast/index.vue +50 -50
- package/dist/components/toast/style.less +58 -58
- package/dist/components/transition/index.js +8 -8
- package/dist/components/transition/index.vue +13 -13
- package/dist/components/transition/style.less +208 -208
- package/dist/components/upload/index.js +6 -6
- package/dist/components/upload/index.vue +106 -106
- package/dist/components/upload/style.less +147 -147
- package/dist/components/utils/assist.js +34 -34
- package/dist/components/utils/env.js +21 -21
- package/dist/locale/ar.js +97 -97
- package/dist/locale/en.js +97 -97
- package/dist/locale/zh.js +97 -97
- package/dist/token.css +9 -9
- package/dist/vdesign-ui.common.js +83 -83
- package/dist/vdesign-ui.umd.js +83 -83
- package/package.json +113 -113
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<!-- <div class="vd-calendar-input">
|
|
4
|
-
<div class="vd-calendar-input-inner">
|
|
5
|
-
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="Start date">
|
|
6
|
-
<i class="vd-calendar-input__line"></i>
|
|
7
|
-
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="End date">
|
|
8
|
-
</div>
|
|
9
|
-
</div> -->
|
|
10
|
-
<el-date-picker class="vd-calendar-input" v-on="$listeners" v-bind="$attrs"></el-date-picker>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
|
|
16
|
-
zhLocale.el.datepicker.weeks = {
|
|
17
|
-
"sun": "S",
|
|
18
|
-
"mon": "M",
|
|
19
|
-
"tue": "T",
|
|
20
|
-
"wed": "W",
|
|
21
|
-
"thu": "T",
|
|
22
|
-
"fri": "F",
|
|
23
|
-
"sat": "S"
|
|
24
|
-
}
|
|
25
|
-
zhLocale.el.datepicker.year = ''
|
|
26
|
-
zhLocale.el.datepicker.month8 = '8'
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
name: 'vd-calendar',
|
|
30
|
-
data() {
|
|
31
|
-
return {
|
|
32
|
-
};
|
|
33
|
-
},
|
|
34
|
-
inheritAttrs: false, // 确保 $attrs 不绑定到根元素
|
|
35
|
-
|
|
36
|
-
mounted() {
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
</script>
|
|
40
|
-
|
|
41
|
-
<style lang="less">
|
|
42
|
-
.el-date-range-picker {
|
|
43
|
-
position: absolute !important;
|
|
44
|
-
left: 0 !important;
|
|
45
|
-
;
|
|
46
|
-
right: 0 !important;
|
|
47
|
-
width: 100%;
|
|
48
|
-
|
|
49
|
-
.el-date-range-picker__content {
|
|
50
|
-
width: 100%;
|
|
51
|
-
border: 0
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.el-picker-panel__body {
|
|
55
|
-
min-width: 300px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.el-date-range-picker__content.is-right {
|
|
60
|
-
height: 0;
|
|
61
|
-
display: none;
|
|
62
|
-
|
|
63
|
-
.el-date-range-picker__header {
|
|
64
|
-
top: -330px;
|
|
65
|
-
left: 210px;
|
|
66
|
-
width: 50px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.el-date-range-picker__header div {
|
|
70
|
-
display: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
table {
|
|
74
|
-
display: none;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.el-icon-d-arrow-left,
|
|
79
|
-
.el-icon-d-arrow-right {
|
|
80
|
-
display: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@import './style.less';
|
|
84
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<!-- <div class="vd-calendar-input">
|
|
4
|
+
<div class="vd-calendar-input-inner">
|
|
5
|
+
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="Start date">
|
|
6
|
+
<i class="vd-calendar-input__line"></i>
|
|
7
|
+
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="End date">
|
|
8
|
+
</div>
|
|
9
|
+
</div> -->
|
|
10
|
+
<el-date-picker class="vd-calendar-input" v-on="$listeners" v-bind="$attrs"></el-date-picker>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
|
|
16
|
+
zhLocale.el.datepicker.weeks = {
|
|
17
|
+
"sun": "S",
|
|
18
|
+
"mon": "M",
|
|
19
|
+
"tue": "T",
|
|
20
|
+
"wed": "W",
|
|
21
|
+
"thu": "T",
|
|
22
|
+
"fri": "F",
|
|
23
|
+
"sat": "S"
|
|
24
|
+
}
|
|
25
|
+
zhLocale.el.datepicker.year = ''
|
|
26
|
+
zhLocale.el.datepicker.month8 = '8'
|
|
27
|
+
|
|
28
|
+
export default {
|
|
29
|
+
name: 'vd-calendar',
|
|
30
|
+
data() {
|
|
31
|
+
return {
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
inheritAttrs: false, // 确保 $attrs 不绑定到根元素
|
|
35
|
+
|
|
36
|
+
mounted() {
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
</script>
|
|
40
|
+
|
|
41
|
+
<style lang="less">
|
|
42
|
+
.el-date-range-picker {
|
|
43
|
+
position: absolute !important;
|
|
44
|
+
left: 0 !important;
|
|
45
|
+
;
|
|
46
|
+
right: 0 !important;
|
|
47
|
+
width: 100%;
|
|
48
|
+
|
|
49
|
+
.el-date-range-picker__content {
|
|
50
|
+
width: 100%;
|
|
51
|
+
border: 0
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.el-picker-panel__body {
|
|
55
|
+
min-width: 300px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.el-date-range-picker__content.is-right {
|
|
60
|
+
height: 0;
|
|
61
|
+
display: none;
|
|
62
|
+
|
|
63
|
+
.el-date-range-picker__header {
|
|
64
|
+
top: -330px;
|
|
65
|
+
left: 210px;
|
|
66
|
+
width: 50px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.el-date-range-picker__header div {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
table {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.el-icon-d-arrow-left,
|
|
79
|
+
.el-icon-d-arrow-right {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@import './style.less';
|
|
84
|
+
</style>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import HdCalendar from './index.vue';
|
|
2
|
-
import './style.less';
|
|
3
|
-
|
|
4
|
-
HdCalendar.install = function (Vue) {
|
|
5
|
-
Vue.component(HdCalendar.name, HdCalendar);
|
|
6
|
-
};
|
|
7
|
-
|
|
1
|
+
import HdCalendar from './index.vue';
|
|
2
|
+
import './style.less';
|
|
3
|
+
|
|
4
|
+
HdCalendar.install = function (Vue) {
|
|
5
|
+
Vue.component(HdCalendar.name, HdCalendar);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
8
|
export default HdCalendar;
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<!-- <div class="vd-calendar-input">
|
|
4
|
-
<div class="vd-calendar-input-inner">
|
|
5
|
-
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="Start date">
|
|
6
|
-
<i class="vd-calendar-input__line"></i>
|
|
7
|
-
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="End date">
|
|
8
|
-
</div>
|
|
9
|
-
</div> -->
|
|
10
|
-
<van-calendar class="vd-calendar" v-on="$listeners" v-bind="$attrs" />
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
// import Vue from 'vue'
|
|
16
|
-
import { Calendar } from 'vant';
|
|
17
|
-
// import 'vant/lib/calendar/style';
|
|
18
|
-
|
|
19
|
-
// Vue.use(Calendar);
|
|
20
|
-
import { Locale } from 'vant';
|
|
21
|
-
|
|
22
|
-
const messages = {
|
|
23
|
-
'zh-CN': {
|
|
24
|
-
vanCalendar: {
|
|
25
|
-
weekdays: ['S', 'M', 'T ', 'W', 'T', 'F', 'S'],
|
|
26
|
-
start: 'Start',
|
|
27
|
-
end: "End"
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
Locale.add(messages);
|
|
33
|
-
|
|
34
|
-
export default {
|
|
35
|
-
name: 'vd-calendar',
|
|
36
|
-
components: {
|
|
37
|
-
'van-calendar': Calendar
|
|
38
|
-
},
|
|
39
|
-
data() {
|
|
40
|
-
return {
|
|
41
|
-
};
|
|
42
|
-
},
|
|
43
|
-
inheritAttrs: false, // 确保 $attrs 不绑定到根元素
|
|
44
|
-
|
|
45
|
-
mounted() {
|
|
46
|
-
// console.log(Locale);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
</script>
|
|
50
|
-
|
|
51
|
-
<style lang="less">
|
|
52
|
-
@import './style.less';
|
|
53
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<!-- <div class="vd-calendar-input">
|
|
4
|
+
<div class="vd-calendar-input-inner">
|
|
5
|
+
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="Start date">
|
|
6
|
+
<i class="vd-calendar-input__line"></i>
|
|
7
|
+
<input type="text" class="vd-calendar-input__inputs" disabled placeholder="End date">
|
|
8
|
+
</div>
|
|
9
|
+
</div> -->
|
|
10
|
+
<van-calendar class="vd-calendar" v-on="$listeners" v-bind="$attrs" />
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
// import Vue from 'vue'
|
|
16
|
+
import { Calendar } from 'vant';
|
|
17
|
+
// import 'vant/lib/calendar/style';
|
|
18
|
+
|
|
19
|
+
// Vue.use(Calendar);
|
|
20
|
+
import { Locale } from 'vant';
|
|
21
|
+
|
|
22
|
+
const messages = {
|
|
23
|
+
'zh-CN': {
|
|
24
|
+
vanCalendar: {
|
|
25
|
+
weekdays: ['S', 'M', 'T ', 'W', 'T', 'F', 'S'],
|
|
26
|
+
start: 'Start',
|
|
27
|
+
end: "End"
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
Locale.add(messages);
|
|
33
|
+
|
|
34
|
+
export default {
|
|
35
|
+
name: 'vd-calendar',
|
|
36
|
+
components: {
|
|
37
|
+
'van-calendar': Calendar
|
|
38
|
+
},
|
|
39
|
+
data() {
|
|
40
|
+
return {
|
|
41
|
+
};
|
|
42
|
+
},
|
|
43
|
+
inheritAttrs: false, // 确保 $attrs 不绑定到根元素
|
|
44
|
+
|
|
45
|
+
mounted() {
|
|
46
|
+
// console.log(Locale);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style lang="less">
|
|
52
|
+
@import './style.less';
|
|
53
|
+
</style>
|
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
.van-calendar__header {
|
|
2
|
-
box-shadow: none;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.van-calendar__header-subtitle {
|
|
6
|
-
height: var(--height-datepicker-title-month_year);
|
|
7
|
-
line-height: var(--height-datepicker-title-month_year);
|
|
8
|
-
color: var(--color-datepicker-title-month_year);
|
|
9
|
-
font-size: var(--en-single-f-d-s-fontSize);
|
|
10
|
-
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.van-calendar__weekdays {
|
|
14
|
-
padding: 0 20px;
|
|
15
|
-
height: var(--height-datepicker-week);
|
|
16
|
-
color: var(--color-datepicker-text-week);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.van-calendar__weekday {
|
|
20
|
-
line-height: var(--height-datepicker-week);
|
|
21
|
-
font-size: var(--en-single-f-b-r-fontSize);
|
|
22
|
-
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.van-calendar__days {
|
|
26
|
-
display: flex;
|
|
27
|
-
padding: 0 20px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.van-calendar__day {
|
|
31
|
-
height: var(--height-datepicker-date);
|
|
32
|
-
font-size: var(--en-single-f-d-s-fontSize);
|
|
33
|
-
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
34
|
-
color: var(--color-datepicker-date-text-default);
|
|
35
|
-
background-color: var(--color-datepicker-date-bg-default);
|
|
36
|
-
margin-block-start: var(--spacing-datepicker-date-margin_top);
|
|
37
|
-
margin-block-end: var(--spacing-datepicker-date-margin_bottom);
|
|
38
|
-
|
|
39
|
-
&--disabled {
|
|
40
|
-
color: var(--color-datepicker-date-text-disable);
|
|
41
|
-
background-color: var(--color-datepicker-date-bg-disable);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&--start {
|
|
45
|
-
font-size: var(--en-single-f-d-s-fontSize);
|
|
46
|
-
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
47
|
-
color: var(--color-datepicker-date-text-active);
|
|
48
|
-
border-radius: 0;
|
|
49
|
-
background-image: url(./start.png) !important;
|
|
50
|
-
background-position: center center !important;
|
|
51
|
-
background-repeat: no-repeat !important;
|
|
52
|
-
background-size: cover !important;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&--middle {
|
|
56
|
-
color: var(--color-datepicker-date-text-default) !important;
|
|
57
|
-
background-color: var(--color-datepicker-date_mask-bg-active);
|
|
58
|
-
|
|
59
|
-
&::after {
|
|
60
|
-
background-color: transparent;
|
|
61
|
-
opacity: 1;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&--end {
|
|
66
|
-
font-size: var(--en-single-f-d-s-fontSize);
|
|
67
|
-
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
68
|
-
color: var(--color-datepicker-date-text-active);
|
|
69
|
-
background-color: var(--color-datepicker-date-bg-active);
|
|
70
|
-
border-radius: 0;
|
|
71
|
-
background-image: url(./end.png) !important;
|
|
72
|
-
background-position: center center !important;
|
|
73
|
-
background-repeat: no-repeat !important;
|
|
74
|
-
background-size: cover !important;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.van-calendar__selected-day {
|
|
79
|
-
background-color: var(--color-datepicker-date-bg-active);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.van-calendar__bottom-info {
|
|
83
|
-
bottom: -14px;
|
|
84
|
-
color: #1BC47D;
|
|
85
|
-
font-size: 12px;
|
|
86
|
-
font-weight: normal;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.van-calendar__top-info {
|
|
90
|
-
top: auto;
|
|
91
|
-
bottom: -14px;
|
|
92
|
-
color: var(--color-datepicker-today_dot);
|
|
93
|
-
font-size: 18px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.vd-calendar-input {
|
|
97
|
-
padding-block-start: var(--spacing-datepicker-range_picker-margin_top);
|
|
98
|
-
padding-block-end: var(--spacing-datepicker-range_picker-margin_bottom);
|
|
99
|
-
padding-inline-start: var(--spacing-datepicker-padding_y);
|
|
100
|
-
padding-inline-end: var(--spacing-datepicker-padding_y);
|
|
101
|
-
|
|
102
|
-
&-inner {
|
|
103
|
-
display: flex;
|
|
104
|
-
align-items: center;
|
|
105
|
-
border-radius: var(--radius-datepicker-range_picker_bg);
|
|
106
|
-
background-color: var(--color-datepicker-range_picker-bg);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&__inputs {
|
|
110
|
-
width: 100%;
|
|
111
|
-
text-align: center;
|
|
112
|
-
background-color: transparent;
|
|
113
|
-
height: var(--height-datepicker-range_picker_bg);
|
|
114
|
-
line-height: var(--height-datepicker-range_picker_bg);
|
|
115
|
-
font-size: var(--en-single-f-d-r-fontSize);
|
|
116
|
-
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
117
|
-
color: var(--color-datepicker-range_picker-text-active);
|
|
118
|
-
|
|
119
|
-
::-webkit-input-placeholder {
|
|
120
|
-
color: var(--color-datepicker-range_picker-text-default);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&__line {
|
|
125
|
-
width: var(--width-datepicker-range_picker_divider);
|
|
126
|
-
height: var(--height-datepicker-range_picker_divider);
|
|
127
|
-
background-color: var(--color-datepicker-range_picker_divider);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.van-hairline-unset--top-bottom::after {
|
|
132
|
-
border-width: 0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.van-picker__frame {
|
|
136
|
-
left: var(--spacing-datepicker-padding_y);
|
|
137
|
-
right: var(--spacing-datepicker-padding_y);
|
|
138
|
-
}
|
|
1
|
+
.van-calendar__header {
|
|
2
|
+
box-shadow: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.van-calendar__header-subtitle {
|
|
6
|
+
height: var(--height-datepicker-title-month_year);
|
|
7
|
+
line-height: var(--height-datepicker-title-month_year);
|
|
8
|
+
color: var(--color-datepicker-title-month_year);
|
|
9
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
10
|
+
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.van-calendar__weekdays {
|
|
14
|
+
padding: 0 20px;
|
|
15
|
+
height: var(--height-datepicker-week);
|
|
16
|
+
color: var(--color-datepicker-text-week);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.van-calendar__weekday {
|
|
20
|
+
line-height: var(--height-datepicker-week);
|
|
21
|
+
font-size: var(--en-single-f-b-r-fontSize);
|
|
22
|
+
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.van-calendar__days {
|
|
26
|
+
display: flex;
|
|
27
|
+
padding: 0 20px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.van-calendar__day {
|
|
31
|
+
height: var(--height-datepicker-date);
|
|
32
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
33
|
+
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
34
|
+
color: var(--color-datepicker-date-text-default);
|
|
35
|
+
background-color: var(--color-datepicker-date-bg-default);
|
|
36
|
+
margin-block-start: var(--spacing-datepicker-date-margin_top);
|
|
37
|
+
margin-block-end: var(--spacing-datepicker-date-margin_bottom);
|
|
38
|
+
|
|
39
|
+
&--disabled {
|
|
40
|
+
color: var(--color-datepicker-date-text-disable);
|
|
41
|
+
background-color: var(--color-datepicker-date-bg-disable);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--start {
|
|
45
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
46
|
+
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
47
|
+
color: var(--color-datepicker-date-text-active);
|
|
48
|
+
border-radius: 0;
|
|
49
|
+
background-image: url(./start.png) !important;
|
|
50
|
+
background-position: center center !important;
|
|
51
|
+
background-repeat: no-repeat !important;
|
|
52
|
+
background-size: cover !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--middle {
|
|
56
|
+
color: var(--color-datepicker-date-text-default) !important;
|
|
57
|
+
background-color: var(--color-datepicker-date_mask-bg-active);
|
|
58
|
+
|
|
59
|
+
&::after {
|
|
60
|
+
background-color: transparent;
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--end {
|
|
66
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
67
|
+
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
68
|
+
color: var(--color-datepicker-date-text-active);
|
|
69
|
+
background-color: var(--color-datepicker-date-bg-active);
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
background-image: url(./end.png) !important;
|
|
72
|
+
background-position: center center !important;
|
|
73
|
+
background-repeat: no-repeat !important;
|
|
74
|
+
background-size: cover !important;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.van-calendar__selected-day {
|
|
79
|
+
background-color: var(--color-datepicker-date-bg-active);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.van-calendar__bottom-info {
|
|
83
|
+
bottom: -14px;
|
|
84
|
+
color: #1BC47D;
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
font-weight: normal;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.van-calendar__top-info {
|
|
90
|
+
top: auto;
|
|
91
|
+
bottom: -14px;
|
|
92
|
+
color: var(--color-datepicker-today_dot);
|
|
93
|
+
font-size: 18px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.vd-calendar-input {
|
|
97
|
+
padding-block-start: var(--spacing-datepicker-range_picker-margin_top);
|
|
98
|
+
padding-block-end: var(--spacing-datepicker-range_picker-margin_bottom);
|
|
99
|
+
padding-inline-start: var(--spacing-datepicker-padding_y);
|
|
100
|
+
padding-inline-end: var(--spacing-datepicker-padding_y);
|
|
101
|
+
|
|
102
|
+
&-inner {
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
border-radius: var(--radius-datepicker-range_picker_bg);
|
|
106
|
+
background-color: var(--color-datepicker-range_picker-bg);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__inputs {
|
|
110
|
+
width: 100%;
|
|
111
|
+
text-align: center;
|
|
112
|
+
background-color: transparent;
|
|
113
|
+
height: var(--height-datepicker-range_picker_bg);
|
|
114
|
+
line-height: var(--height-datepicker-range_picker_bg);
|
|
115
|
+
font-size: var(--en-single-f-d-r-fontSize);
|
|
116
|
+
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
117
|
+
color: var(--color-datepicker-range_picker-text-active);
|
|
118
|
+
|
|
119
|
+
::-webkit-input-placeholder {
|
|
120
|
+
color: var(--color-datepicker-range_picker-text-default);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&__line {
|
|
125
|
+
width: var(--width-datepicker-range_picker_divider);
|
|
126
|
+
height: var(--height-datepicker-range_picker_divider);
|
|
127
|
+
background-color: var(--color-datepicker-range_picker_divider);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.van-hairline-unset--top-bottom::after {
|
|
132
|
+
border-width: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.van-picker__frame {
|
|
136
|
+
left: var(--spacing-datepicker-padding_y);
|
|
137
|
+
right: var(--spacing-datepicker-padding_y);
|
|
138
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Checkbox from './index.vue';
|
|
2
|
-
import './style.less';
|
|
3
|
-
|
|
4
|
-
Checkbox.install = function (Vue) {
|
|
5
|
-
Vue.component(Checkbox.name, Checkbox);
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default Checkbox;
|
|
1
|
+
import Checkbox from './index.vue';
|
|
2
|
+
import './style.less';
|
|
3
|
+
|
|
4
|
+
Checkbox.install = function (Vue) {
|
|
5
|
+
Vue.component(Checkbox.name, Checkbox);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default Checkbox;
|