wx-sky-ui 1.0.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/LICENSE +21 -0
- package/README.md +138 -0
- package/miniprogram_dist/action-sheet/index.d.ts +0 -0
- package/miniprogram_dist/action-sheet/index.js +67 -0
- package/miniprogram_dist/action-sheet/index.js.map +1 -0
- package/miniprogram_dist/action-sheet/index.json +6 -0
- package/miniprogram_dist/action-sheet/index.wxml +62 -0
- package/miniprogram_dist/action-sheet/index.wxss +227 -0
- package/miniprogram_dist/action-sheet/index.wxss.map +1 -0
- package/miniprogram_dist/badge/index.d.ts +0 -0
- package/miniprogram_dist/badge/index.js +114 -0
- package/miniprogram_dist/badge/index.js.map +1 -0
- package/miniprogram_dist/badge/index.json +6 -0
- package/miniprogram_dist/badge/index.wxml +16 -0
- package/miniprogram_dist/badge/index.wxss +105 -0
- package/miniprogram_dist/badge/index.wxss.map +1 -0
- package/miniprogram_dist/button/index.d.ts +0 -0
- package/miniprogram_dist/button/index.js +140 -0
- package/miniprogram_dist/button/index.js.map +1 -0
- package/miniprogram_dist/button/index.json +6 -0
- package/miniprogram_dist/button/index.wxml +28 -0
- package/miniprogram_dist/button/index.wxss +211 -0
- package/miniprogram_dist/button/index.wxss.map +1 -0
- package/miniprogram_dist/cell/index.d.ts +0 -0
- package/miniprogram_dist/cell/index.js +55 -0
- package/miniprogram_dist/cell/index.js.map +1 -0
- package/miniprogram_dist/cell/index.json +6 -0
- package/miniprogram_dist/cell/index.wxml +37 -0
- package/miniprogram_dist/cell/index.wxss +82 -0
- package/miniprogram_dist/cell/index.wxss.map +1 -0
- package/miniprogram_dist/checkbox/index.d.ts +0 -0
- package/miniprogram_dist/checkbox/index.js +50 -0
- package/miniprogram_dist/checkbox/index.js.map +1 -0
- package/miniprogram_dist/checkbox/index.json +6 -0
- package/miniprogram_dist/checkbox/index.wxml +16 -0
- package/miniprogram_dist/checkbox/index.wxss +87 -0
- package/miniprogram_dist/checkbox/index.wxss.map +1 -0
- package/miniprogram_dist/common/utils/index.d.ts +22 -0
- package/miniprogram_dist/common/utils/index.js +46 -0
- package/miniprogram_dist/common/utils/index.js.map +1 -0
- package/miniprogram_dist/datetime-picker/calendar.d.ts +1 -0
- package/miniprogram_dist/datetime-picker/calendar.js +424 -0
- package/miniprogram_dist/datetime-picker/calendar.js.map +1 -0
- package/miniprogram_dist/datetime-picker/calendar.json +8 -0
- package/miniprogram_dist/datetime-picker/calendar.wxml +86 -0
- package/miniprogram_dist/datetime-picker/calendar.wxss +352 -0
- package/miniprogram_dist/datetime-picker/calendar.wxss.map +1 -0
- package/miniprogram_dist/datetime-picker/index.d.ts +1 -0
- package/miniprogram_dist/datetime-picker/index.js +672 -0
- package/miniprogram_dist/datetime-picker/index.js.map +1 -0
- package/miniprogram_dist/datetime-picker/index.json +9 -0
- package/miniprogram_dist/datetime-picker/index.wxml +125 -0
- package/miniprogram_dist/datetime-picker/index.wxss +243 -0
- package/miniprogram_dist/datetime-picker/index.wxss.map +1 -0
- package/miniprogram_dist/datetime-picker/time-picker.d.ts +0 -0
- package/miniprogram_dist/datetime-picker/time-picker.js +83 -0
- package/miniprogram_dist/datetime-picker/time-picker.js.map +1 -0
- package/miniprogram_dist/datetime-picker/time-picker.json +6 -0
- package/miniprogram_dist/datetime-picker/time-picker.wxml +36 -0
- package/miniprogram_dist/datetime-picker/time-picker.wxss +75 -0
- package/miniprogram_dist/datetime-picker/time-picker.wxss.map +1 -0
- package/miniprogram_dist/datetime-picker/util.d.ts +172 -0
- package/miniprogram_dist/datetime-picker/util.js +404 -0
- package/miniprogram_dist/datetime-picker/util.js.map +1 -0
- package/miniprogram_dist/dialog/index.d.ts +0 -0
- package/miniprogram_dist/dialog/index.js +81 -0
- package/miniprogram_dist/dialog/index.js.map +1 -0
- package/miniprogram_dist/dialog/index.json +6 -0
- package/miniprogram_dist/dialog/index.wxml +55 -0
- package/miniprogram_dist/dialog/index.wxss +143 -0
- package/miniprogram_dist/dialog/index.wxss.map +1 -0
- package/miniprogram_dist/dropdown-select/index.d.ts +4 -0
- package/miniprogram_dist/dropdown-select/index.js +84 -0
- package/miniprogram_dist/dropdown-select/index.js.map +1 -0
- package/miniprogram_dist/dropdown-select/index.json +6 -0
- package/miniprogram_dist/dropdown-select/index.wxml +42 -0
- package/miniprogram_dist/dropdown-select/index.wxss +189 -0
- package/miniprogram_dist/dropdown-select/index.wxss.map +1 -0
- package/miniprogram_dist/editor/index.d.ts +0 -0
- package/miniprogram_dist/editor/index.js +254 -0
- package/miniprogram_dist/editor/index.js.map +1 -0
- package/miniprogram_dist/editor/index.json +6 -0
- package/miniprogram_dist/editor/index.wxml +142 -0
- package/miniprogram_dist/editor/index.wxss +613 -0
- package/miniprogram_dist/editor/index.wxss.map +1 -0
- package/miniprogram_dist/float-button/index.d.ts +0 -0
- package/miniprogram_dist/float-button/index.js +281 -0
- package/miniprogram_dist/float-button/index.js.map +1 -0
- package/miniprogram_dist/float-button/index.json +8 -0
- package/miniprogram_dist/float-button/index.wxml +68 -0
- package/miniprogram_dist/float-button/index.wxss +119 -0
- package/miniprogram_dist/float-button/index.wxss.map +1 -0
- package/miniprogram_dist/html-renderer/index.d.ts +1 -0
- package/miniprogram_dist/html-renderer/index.js +74 -0
- package/miniprogram_dist/html-renderer/index.js.map +1 -0
- package/miniprogram_dist/html-renderer/index.json +6 -0
- package/miniprogram_dist/html-renderer/index.wxml +79 -0
- package/miniprogram_dist/html-renderer/index.wxss +200 -0
- package/miniprogram_dist/html-renderer/index.wxss.map +1 -0
- package/miniprogram_dist/html-renderer/parser.d.ts +12 -0
- package/miniprogram_dist/html-renderer/parser.js +103 -0
- package/miniprogram_dist/html-renderer/parser.js.map +1 -0
- package/miniprogram_dist/icon/index.d.ts +1 -0
- package/miniprogram_dist/icon/index.js +231 -0
- package/miniprogram_dist/icon/index.js.map +1 -0
- package/miniprogram_dist/icon/index.json +6 -0
- package/miniprogram_dist/icon/index.wxml +13 -0
- package/miniprogram_dist/icon/index.wxss +14 -0
- package/miniprogram_dist/icon/index.wxss.map +1 -0
- package/miniprogram_dist/icon/presets.d.ts +7 -0
- package/miniprogram_dist/icon/presets.js +68 -0
- package/miniprogram_dist/icon/presets.js.map +1 -0
- package/miniprogram_dist/index.d.ts +6 -0
- package/miniprogram_dist/index.js +9 -0
- package/miniprogram_dist/index.js.map +1 -0
- package/miniprogram_dist/input/index.d.ts +0 -0
- package/miniprogram_dist/input/index.js +137 -0
- package/miniprogram_dist/input/index.js.map +1 -0
- package/miniprogram_dist/input/index.json +6 -0
- package/miniprogram_dist/input/index.wxml +57 -0
- package/miniprogram_dist/input/index.wxss +331 -0
- package/miniprogram_dist/input/index.wxss.map +1 -0
- package/miniprogram_dist/nav-bar/index.d.ts +0 -0
- package/miniprogram_dist/nav-bar/index.js +162 -0
- package/miniprogram_dist/nav-bar/index.js.map +1 -0
- package/miniprogram_dist/nav-bar/index.json +9 -0
- package/miniprogram_dist/nav-bar/index.wxml +46 -0
- package/miniprogram_dist/nav-bar/index.wxss +160 -0
- package/miniprogram_dist/nav-bar/index.wxss.map +1 -0
- package/miniprogram_dist/popup-select/index.d.ts +4 -0
- package/miniprogram_dist/popup-select/index.js +70 -0
- package/miniprogram_dist/popup-select/index.js.map +1 -0
- package/miniprogram_dist/popup-select/index.json +6 -0
- package/miniprogram_dist/popup-select/index.wxml +48 -0
- package/miniprogram_dist/popup-select/index.wxss +184 -0
- package/miniprogram_dist/popup-select/index.wxss.map +1 -0
- package/miniprogram_dist/progress/index.d.ts +0 -0
- package/miniprogram_dist/progress/index.js +120 -0
- package/miniprogram_dist/progress/index.js.map +1 -0
- package/miniprogram_dist/progress/index.json +6 -0
- package/miniprogram_dist/progress/index.wxml +31 -0
- package/miniprogram_dist/progress/index.wxss +163 -0
- package/miniprogram_dist/progress/index.wxss.map +1 -0
- package/miniprogram_dist/radio/index.d.ts +0 -0
- package/miniprogram_dist/radio/index.js +52 -0
- package/miniprogram_dist/radio/index.js.map +1 -0
- package/miniprogram_dist/radio/index.json +6 -0
- package/miniprogram_dist/radio/index.wxml +16 -0
- package/miniprogram_dist/radio/index.wxss +62 -0
- package/miniprogram_dist/radio/index.wxss.map +1 -0
- package/miniprogram_dist/rate/index.d.ts +0 -0
- package/miniprogram_dist/rate/index.js +128 -0
- package/miniprogram_dist/rate/index.js.map +1 -0
- package/miniprogram_dist/rate/index.json +6 -0
- package/miniprogram_dist/rate/index.wxml +31 -0
- package/miniprogram_dist/rate/index.wxss +89 -0
- package/miniprogram_dist/rate/index.wxss.map +1 -0
- package/miniprogram_dist/select-input/index.d.ts +0 -0
- package/miniprogram_dist/select-input/index.js +116 -0
- package/miniprogram_dist/select-input/index.js.map +1 -0
- package/miniprogram_dist/select-input/index.json +6 -0
- package/miniprogram_dist/select-input/index.wxml +43 -0
- package/miniprogram_dist/select-input/index.wxss +143 -0
- package/miniprogram_dist/select-input/index.wxss.map +1 -0
- package/miniprogram_dist/skeleton/index.d.ts +0 -0
- package/miniprogram_dist/skeleton/index.js +102 -0
- package/miniprogram_dist/skeleton/index.js.map +1 -0
- package/miniprogram_dist/skeleton/index.json +6 -0
- package/miniprogram_dist/skeleton/index.wxml +40 -0
- package/miniprogram_dist/skeleton/index.wxss +103 -0
- package/miniprogram_dist/skeleton/index.wxss.map +1 -0
- package/miniprogram_dist/slider/index.d.ts +0 -0
- package/miniprogram_dist/slider/index.js +180 -0
- package/miniprogram_dist/slider/index.js.map +1 -0
- package/miniprogram_dist/slider/index.json +6 -0
- package/miniprogram_dist/slider/index.wxml +38 -0
- package/miniprogram_dist/slider/index.wxss +132 -0
- package/miniprogram_dist/slider/index.wxss.map +1 -0
- package/miniprogram_dist/subsection/index.d.ts +0 -0
- package/miniprogram_dist/subsection/index.js +85 -0
- package/miniprogram_dist/subsection/index.js.map +1 -0
- package/miniprogram_dist/subsection/index.json +6 -0
- package/miniprogram_dist/subsection/index.wxml +55 -0
- package/miniprogram_dist/subsection/index.wxss +150 -0
- package/miniprogram_dist/subsection/index.wxss.map +1 -0
- package/miniprogram_dist/swipe-cell/index.d.ts +0 -0
- package/miniprogram_dist/swipe-cell/index.js +91 -0
- package/miniprogram_dist/swipe-cell/index.js.map +1 -0
- package/miniprogram_dist/swipe-cell/index.json +6 -0
- package/miniprogram_dist/swipe-cell/index.wxml +30 -0
- package/miniprogram_dist/swipe-cell/index.wxss +42 -0
- package/miniprogram_dist/swipe-cell/index.wxss.map +1 -0
- package/miniprogram_dist/swiper/index.d.ts +0 -0
- package/miniprogram_dist/swiper/index.js +82 -0
- package/miniprogram_dist/swiper/index.js.map +1 -0
- package/miniprogram_dist/swiper/index.json +6 -0
- package/miniprogram_dist/swiper/index.wxml +53 -0
- package/miniprogram_dist/swiper/index.wxss +123 -0
- package/miniprogram_dist/swiper/index.wxss.map +1 -0
- package/miniprogram_dist/switch/index.d.ts +0 -0
- package/miniprogram_dist/switch/index.js +53 -0
- package/miniprogram_dist/switch/index.js.map +1 -0
- package/miniprogram_dist/switch/index.json +6 -0
- package/miniprogram_dist/switch/index.wxml +21 -0
- package/miniprogram_dist/switch/index.wxss +198 -0
- package/miniprogram_dist/switch/index.wxss.map +1 -0
- package/miniprogram_dist/tag/index.d.ts +0 -0
- package/miniprogram_dist/tag/index.js +114 -0
- package/miniprogram_dist/tag/index.js.map +1 -0
- package/miniprogram_dist/tag/index.json +6 -0
- package/miniprogram_dist/tag/index.wxml +19 -0
- package/miniprogram_dist/tag/index.wxss +182 -0
- package/miniprogram_dist/tag/index.wxss.map +1 -0
- package/miniprogram_dist/textarea/index.d.ts +0 -0
- package/miniprogram_dist/textarea/index.js +143 -0
- package/miniprogram_dist/textarea/index.js.map +1 -0
- package/miniprogram_dist/textarea/index.json +6 -0
- package/miniprogram_dist/textarea/index.wxml +59 -0
- package/miniprogram_dist/textarea/index.wxss +242 -0
- package/miniprogram_dist/textarea/index.wxss.map +1 -0
- package/miniprogram_dist/toast/index.d.ts +0 -0
- package/miniprogram_dist/toast/index.js +92 -0
- package/miniprogram_dist/toast/index.js.map +1 -0
- package/miniprogram_dist/toast/index.json +8 -0
- package/miniprogram_dist/toast/index.wxml +30 -0
- package/miniprogram_dist/toast/index.wxss +116 -0
- package/miniprogram_dist/toast/index.wxss.map +1 -0
- package/miniprogram_dist/uploader/index.d.ts +8 -0
- package/miniprogram_dist/uploader/index.js +192 -0
- package/miniprogram_dist/uploader/index.js.map +1 -0
- package/miniprogram_dist/uploader/index.json +8 -0
- package/miniprogram_dist/uploader/index.wxml +88 -0
- package/miniprogram_dist/uploader/index.wxss +179 -0
- package/miniprogram_dist/uploader/index.wxss.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* 日历组件样式 - 适配 Skyline */
|
|
3
|
+
.calendar-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* 遮罩层 */
|
|
9
|
+
.calendar-mask {
|
|
10
|
+
position: fixed;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
top: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
right: 0;
|
|
15
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
16
|
+
transition-property: opacity;
|
|
17
|
+
transition-duration: 0.3s;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
z-index: 9999;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.calendar-mask-show {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* 固定定位容器 */
|
|
27
|
+
.calendar-fixed {
|
|
28
|
+
position: fixed;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
left: 0;
|
|
31
|
+
right: 0;
|
|
32
|
+
transition-property: transform;
|
|
33
|
+
transition-duration: 0.3s;
|
|
34
|
+
transform: translateY(100%);
|
|
35
|
+
z-index: 10000;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.calendar-ani-show {
|
|
39
|
+
transform: translateY(0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* 日历内容 */
|
|
43
|
+
.calendar-content {
|
|
44
|
+
background-color: #ffffff;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.calendar-content-mobile {
|
|
48
|
+
border-top-left-radius: 32rpx;
|
|
49
|
+
border-top-right-radius: 32rpx;
|
|
50
|
+
box-shadow: 0 0 16rpx rgba(0, 0, 0, 0.08);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* 头部 */
|
|
54
|
+
.calendar-header {
|
|
55
|
+
position: relative;
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
align-items: center;
|
|
60
|
+
height: 100rpx;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.calendar-header-mobile {
|
|
64
|
+
padding: 20rpx;
|
|
65
|
+
padding-bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.calendar-header-text {
|
|
69
|
+
text-align: center;
|
|
70
|
+
width: 240rpx;
|
|
71
|
+
font-size: 30rpx;
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
color: #212529;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.calendar-header-btn-box {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: row;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
width: 100rpx;
|
|
82
|
+
height: 100rpx;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.calendar-header-btn {
|
|
86
|
+
width: 18rpx;
|
|
87
|
+
height: 18rpx;
|
|
88
|
+
border-left: 4rpx solid #adb5bd;
|
|
89
|
+
border-top: 4rpx solid #adb5bd;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.calendar-left {
|
|
93
|
+
transform: rotate(-45deg);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.calendar-right {
|
|
97
|
+
transform: rotate(135deg);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* 关闭按钮 */
|
|
101
|
+
.dialog-close {
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: 0;
|
|
104
|
+
right: 0;
|
|
105
|
+
bottom: 0;
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
align-items: center;
|
|
109
|
+
padding: 0 50rpx;
|
|
110
|
+
margin-top: 20rpx;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.dialog-close-line {
|
|
114
|
+
width: 32rpx;
|
|
115
|
+
height: 4rpx;
|
|
116
|
+
background-color: #adb5bd;
|
|
117
|
+
border-radius: 4rpx;
|
|
118
|
+
transform: rotate(45deg);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.dialog-close-rotate {
|
|
122
|
+
position: absolute;
|
|
123
|
+
transform: rotate(-45deg);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* 日历主体 */
|
|
127
|
+
.calendar-box {
|
|
128
|
+
position: relative;
|
|
129
|
+
padding-bottom: 14rpx;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.calendar-box-bg {
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
align-items: center;
|
|
136
|
+
position: absolute;
|
|
137
|
+
top: 0;
|
|
138
|
+
left: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
bottom: 0;
|
|
141
|
+
pointer-events: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.calendar-box-bg-text {
|
|
145
|
+
font-size: 400rpx;
|
|
146
|
+
font-weight: bold;
|
|
147
|
+
color: #e9ecef;
|
|
148
|
+
opacity: 0.15;
|
|
149
|
+
text-align: center;
|
|
150
|
+
line-height: 1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* 星期标题 */
|
|
154
|
+
.calendar-weeks {
|
|
155
|
+
position: relative;
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: row;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.calendar-weeks-item {
|
|
161
|
+
flex: 1;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.calendar-weeks-day {
|
|
165
|
+
flex: 1;
|
|
166
|
+
display: flex;
|
|
167
|
+
flex-direction: column;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
align-items: center;
|
|
170
|
+
height: 80rpx;
|
|
171
|
+
border-bottom: 2rpx solid #f1f3f5;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.calendar-weeks-day-text {
|
|
175
|
+
font-size: 24rpx;
|
|
176
|
+
color: #adb5bd;
|
|
177
|
+
font-weight: 600;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* 日期项 */
|
|
181
|
+
.calendar-item-weeks-box {
|
|
182
|
+
flex: 1;
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
align-items: center;
|
|
187
|
+
margin: 2rpx 0;
|
|
188
|
+
position: relative;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.calendar-item-weeks-box-item {
|
|
192
|
+
position: relative;
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-direction: column;
|
|
195
|
+
justify-content: center;
|
|
196
|
+
align-items: center;
|
|
197
|
+
width: 80rpx;
|
|
198
|
+
height: 80rpx;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.calendar-item-weeks-box-text {
|
|
202
|
+
font-size: 28rpx;
|
|
203
|
+
font-weight: 700;
|
|
204
|
+
color: #343a40;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.calendar-item-weeks-box-text-disable {
|
|
208
|
+
color: #e9ecef;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* 圆点标记 */
|
|
212
|
+
.calendar-item-weeks-box-circle {
|
|
213
|
+
position: absolute;
|
|
214
|
+
top: 10rpx;
|
|
215
|
+
right: 10rpx;
|
|
216
|
+
width: 16rpx;
|
|
217
|
+
height: 16rpx;
|
|
218
|
+
border-radius: 50%;
|
|
219
|
+
background-color: hsl(355, 85%, 55%);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* 今天标记 */
|
|
223
|
+
.calendar-item-today {
|
|
224
|
+
position: absolute;
|
|
225
|
+
top: 20rpx;
|
|
226
|
+
right: 17%;
|
|
227
|
+
background-color: hsl(355, 85%, 55%);
|
|
228
|
+
width: 12rpx;
|
|
229
|
+
height: 12rpx;
|
|
230
|
+
border-radius: 50%;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* 选中状态 */
|
|
234
|
+
.calendar-item-checked {
|
|
235
|
+
background-color: hsl(250, 85%, 55%);
|
|
236
|
+
border-radius: 50%;
|
|
237
|
+
box-sizing: border-box;
|
|
238
|
+
border: 6rpx solid #ffffff;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.calendar-item-checked-text {
|
|
242
|
+
color: #ffffff;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* 禁用状态 */
|
|
246
|
+
.calendar-item-disable {
|
|
247
|
+
cursor: default;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.calendar-item-disable .calendar-item-weeks-box-text-disable {
|
|
251
|
+
color: #e9ecef;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* 多选状态 */
|
|
255
|
+
.calendar-item-multiple {
|
|
256
|
+
background-color: hsl(250, 85%, 95%);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.calendar-item-multiple .calendar-item-checked-range-text {
|
|
260
|
+
color: #212529;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.calendar-item-multiple .calendar-item-before-checked,
|
|
264
|
+
.calendar-item-multiple .calendar-item-after-checked {
|
|
265
|
+
background-color: hsl(250, 85%, 55%);
|
|
266
|
+
border-radius: 50%;
|
|
267
|
+
box-sizing: border-box;
|
|
268
|
+
border: 6rpx solid hsl(250, 85%, 95%);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.calendar-item-before-checked .calendar-item-checked-text,
|
|
272
|
+
.calendar-item-after-checked .calendar-item-checked-text {
|
|
273
|
+
color: #ffffff;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* 范围开始和结束 */
|
|
277
|
+
.calendar-item-before-checked-x {
|
|
278
|
+
border-top-left-radius: 100rpx;
|
|
279
|
+
border-bottom-left-radius: 100rpx;
|
|
280
|
+
box-sizing: border-box;
|
|
281
|
+
background-color: hsl(250, 85%, 95%);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.calendar-item-after-checked-x {
|
|
285
|
+
border-top-right-radius: 100rpx;
|
|
286
|
+
border-bottom-right-radius: 100rpx;
|
|
287
|
+
background-color: hsl(250, 85%, 95%);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/* 底部时间显示区域 */
|
|
291
|
+
.date-changed {
|
|
292
|
+
padding: 20rpx;
|
|
293
|
+
text-align: center;
|
|
294
|
+
color: #212529;
|
|
295
|
+
border-top: 2rpx solid #f1f3f5;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.date-btn-ok {
|
|
299
|
+
padding: 30rpx;
|
|
300
|
+
background-color: #ffffff;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.date-changed-time-start,
|
|
304
|
+
.date-changed-time-end {
|
|
305
|
+
display: flex;
|
|
306
|
+
flex-direction: column;
|
|
307
|
+
align-items: center;
|
|
308
|
+
flex: 1;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.date-changed-time-date {
|
|
312
|
+
color: #212529;
|
|
313
|
+
font-size: 28rpx;
|
|
314
|
+
margin-bottom: 10rpx;
|
|
315
|
+
font-weight: bold;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.arrow-icon {
|
|
319
|
+
color: #adb5bd;
|
|
320
|
+
font-size: 32rpx;
|
|
321
|
+
display: flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
margin: 0 10rpx;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* 布局模式 */
|
|
327
|
+
.calendar-fixed-top {
|
|
328
|
+
display: flex;
|
|
329
|
+
flex-direction: column;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.calendar-fixed-top.range-layout {
|
|
333
|
+
flex-direction: row;
|
|
334
|
+
justify-content: space-around;
|
|
335
|
+
align-items: flex-start;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* 确认按钮 */
|
|
339
|
+
.datetime-picker-btn {
|
|
340
|
+
border-radius: 9999rpx;
|
|
341
|
+
height: 80rpx;
|
|
342
|
+
line-height: 80rpx;
|
|
343
|
+
background-color: hsl(250, 85%, 55%);
|
|
344
|
+
color: #ffffff;
|
|
345
|
+
font-size: 32rpx;
|
|
346
|
+
letter-spacing: 4rpx;
|
|
347
|
+
text-align: center;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.datetime-picker-btn:active {
|
|
351
|
+
opacity: 0.7;
|
|
352
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["datetime-picker/calendar.scss","common/style/theme.scss"],"names":[],"mappings":";AAGA;AAEA;EACE;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AACA;EACE,kBCFgB;;;ADKlB;EACE;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA,OCtBiB;;;ADyBnB;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA,kBCrEiB;EDsEjB;EACA;;;AAGF;EACE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA,OCtGiB;EDuGjB;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA,OCjIiB;EDkIjB;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA,OC1JiB;;;AD6JnB;EACE,OCnKiB;;;ADsKnB;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA,kBCtMiB;;;ADyMnB;AACA;EACE;EACA;EACA;EACA,kBC9MiB;ED+MjB;EACA;EACA;;;AAGF;AACA;EACE,kBCpOkB;EDqOlB;EACA;EACA;;;AAGF;EACE,OCxMgB;;;AD2MlB;AACA;EACE;;;AAGF;EACE,OC9MiB;;;ADiNnB;AACA;EACE,kBCtPwB;;;ADyP1B;EACE,OCjNiB;;;ADoNnB;AAAA;EAEE,kBClQkB;EDmQlB;EACA;EACA;;;AAGF;AAAA;EAEE,OCvOgB;;;AD0OlB;AACA;EACE;EACA;EACA;EACA,kBC/QwB;;;ADkR1B;EACE;EACA;EACA,kBCrRwB;;;ADwR1B;AACA;EACE;EACA;EACA,OCnPiB;EDoPjB;;;AAGF;EACE;EACA,kBClQgB;;;ADqQlB;AAAA;EAEE;EACA;EACA;EACA;;;AAGF;EACE,OCrQiB;EDsQjB;EACA;EACA;;;AAGF;EACE,OChRiB;EDiRjB;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;AACA;EACE,eCpRwB;EDqRxB;EACA;EACA,kBChVkB;EDiVlB,OC9SgB;ED+ShB;EACA;EACA;;;AAGF;EACE","file":"calendar.wxss","sourcesContent":["@use \"../common/style/theme.scss\" as *;\n@use \"../common/style/mixins.scss\" as *;\n\n/* 日历组件样式 - 适配 Skyline */\n\n.calendar-container {\n display: flex;\n flex-direction: column;\n}\n\n/* 遮罩层 */\n.calendar-mask {\n position: fixed;\n bottom: 0;\n top: 0;\n left: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.4);\n transition-property: opacity;\n transition-duration: 0.3s;\n opacity: 0;\n z-index: 9999;\n}\n\n.calendar-mask-show {\n opacity: 1;\n}\n\n/* 固定定位容器 */\n.calendar-fixed {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n transition-property: transform;\n transition-duration: 0.3s;\n transform: translateY(100%);\n z-index: 10000;\n}\n\n.calendar-ani-show {\n transform: translateY(0);\n}\n\n/* 日历内容 */\n.calendar-content {\n background-color: $sky-color-white;\n}\n\n.calendar-content-mobile {\n border-top-left-radius: 32rpx;\n border-top-right-radius: 32rpx;\n box-shadow: 0 0 16rpx rgba(0, 0, 0, 0.08);\n}\n\n/* 头部 */\n.calendar-header {\n position: relative;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n height: 100rpx;\n}\n\n.calendar-header-mobile {\n padding: 20rpx;\n padding-bottom: 0;\n}\n\n.calendar-header-text {\n text-align: center;\n width: 240rpx;\n font-size: 30rpx;\n font-weight: 700;\n color: $sky-color-gray-9;\n}\n\n.calendar-header-btn-box {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100rpx;\n height: 100rpx;\n}\n\n.calendar-header-btn {\n width: 18rpx;\n height: 18rpx;\n border-left: 4rpx solid $sky-color-gray-5;\n border-top: 4rpx solid $sky-color-gray-5;\n}\n\n.calendar-left {\n transform: rotate(-45deg);\n}\n\n.calendar-right {\n transform: rotate(135deg);\n}\n\n/* 关闭按钮 */\n.dialog-close {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0 50rpx;\n margin-top: 20rpx;\n}\n\n.dialog-close-line {\n width: 32rpx;\n height: 4rpx;\n background-color: $sky-color-gray-5;\n border-radius: 4rpx;\n transform: rotate(45deg);\n}\n\n.dialog-close-rotate {\n position: absolute;\n transform: rotate(-45deg);\n}\n\n/* 日历主体 */\n.calendar-box {\n position: relative;\n padding-bottom: 14rpx;\n}\n\n.calendar-box-bg {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n}\n\n.calendar-box-bg-text {\n font-size: 400rpx;\n font-weight: bold;\n color: $sky-color-gray-3;\n opacity: 0.15;\n text-align: center;\n line-height: 1;\n}\n\n/* 星期标题 */\n.calendar-weeks {\n position: relative;\n display: flex;\n flex-direction: row;\n}\n\n.calendar-weeks-item {\n flex: 1;\n}\n\n.calendar-weeks-day {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 80rpx;\n border-bottom: 2rpx solid $sky-color-gray-2;\n}\n\n.calendar-weeks-day-text {\n font-size: 24rpx;\n color: $sky-color-gray-5;\n font-weight: 600;\n}\n\n/* 日期项 */\n.calendar-item-weeks-box {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n margin: 2rpx 0;\n position: relative;\n}\n\n.calendar-item-weeks-box-item {\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 80rpx;\n height: 80rpx;\n}\n\n.calendar-item-weeks-box-text {\n font-size: 28rpx;\n font-weight: 700;\n color: $sky-color-gray-8;\n}\n\n.calendar-item-weeks-box-text-disable {\n color: $sky-color-gray-3;\n}\n\n/* 圆点标记 */\n.calendar-item-weeks-box-circle {\n position: absolute;\n top: 10rpx;\n right: 10rpx;\n width: 16rpx;\n height: 16rpx;\n border-radius: 50%;\n background-color: $sky-color-danger;\n}\n\n/* 今天标记 */\n.calendar-item-today {\n position: absolute;\n top: 20rpx;\n right: 17%;\n background-color: $sky-color-danger;\n width: 12rpx;\n height: 12rpx;\n border-radius: 50%;\n}\n\n/* 选中状态 */\n.calendar-item-checked {\n background-color: $sky-color-primary;\n border-radius: 50%;\n box-sizing: border-box;\n border: 6rpx solid $sky-color-white;\n}\n\n.calendar-item-checked-text {\n color: $sky-color-white;\n}\n\n/* 禁用状态 */\n.calendar-item-disable {\n cursor: default;\n}\n\n.calendar-item-disable .calendar-item-weeks-box-text-disable {\n color: $sky-color-gray-3;\n}\n\n/* 多选状态 */\n.calendar-item-multiple {\n background-color: $sky-color-primary-light;\n}\n\n.calendar-item-multiple .calendar-item-checked-range-text {\n color: $sky-color-gray-9;\n}\n\n.calendar-item-multiple .calendar-item-before-checked,\n.calendar-item-multiple .calendar-item-after-checked {\n background-color: $sky-color-primary;\n border-radius: 50%;\n box-sizing: border-box;\n border: 6rpx solid $sky-color-primary-light;\n}\n\n.calendar-item-before-checked .calendar-item-checked-text,\n.calendar-item-after-checked .calendar-item-checked-text {\n color: $sky-color-white;\n}\n\n/* 范围开始和结束 */\n.calendar-item-before-checked-x {\n border-top-left-radius: 100rpx;\n border-bottom-left-radius: 100rpx;\n box-sizing: border-box;\n background-color: $sky-color-primary-light;\n}\n\n.calendar-item-after-checked-x {\n border-top-right-radius: 100rpx;\n border-bottom-right-radius: 100rpx;\n background-color: $sky-color-primary-light;\n}\n\n/* 底部时间显示区域 */\n.date-changed {\n padding: 20rpx;\n text-align: center;\n color: $sky-color-gray-9;\n border-top: 2rpx solid $sky-color-gray-2;\n}\n\n.date-btn-ok {\n padding: 30rpx;\n background-color: $sky-color-white;\n}\n\n.date-changed-time-start,\n.date-changed-time-end {\n display: flex;\n flex-direction: column;\n align-items: center;\n flex: 1;\n}\n\n.date-changed-time-date {\n color: $sky-color-gray-9;\n font-size: 28rpx;\n margin-bottom: 10rpx;\n font-weight: bold;\n}\n\n.arrow-icon {\n color: $sky-color-gray-5;\n font-size: 32rpx;\n display: flex;\n align-items: center;\n margin: 0 10rpx;\n}\n\n/* 布局模式 */\n.calendar-fixed-top {\n display: flex;\n flex-direction: column;\n}\n\n.calendar-fixed-top.range-layout {\n flex-direction: row;\n justify-content: space-around;\n align-items: flex-start;\n}\n\n/* 确认按钮 */\n.datetime-picker-btn {\n border-radius: $sky-border-radius-round;\n height: 80rpx;\n line-height: 80rpx;\n background-color: $sky-color-primary;\n color: $sky-color-white;\n font-size: 32rpx;\n letter-spacing: 4rpx;\n text-align: center;\n}\n\n.datetime-picker-btn:active {\n opacity: 0.7;\n}\n","// ==========================================\r\n// Skyline-UI 极具质感的现代设计系统 (SCSS)\r\n// ==========================================\r\n\r\n// --- 品牌色体系 (HSL Tailored Colors) ---\r\n$sky-brand-h: 250; // 主品牌色相 (优雅深紫/蓝色调)\r\n$sky-brand-s: 85%;\r\n$sky-brand-l: 55%;\r\n\r\n$sky-color-primary: hsl($sky-brand-h, $sky-brand-s, $sky-brand-l);\r\n$sky-color-primary-hover: hsl($sky-brand-h, $sky-brand-s, $sky-brand-l - 8%);\r\n$sky-color-primary-active: hsl($sky-brand-h, $sky-brand-s, $sky-brand-l - 15%);\r\n$sky-color-primary-light: hsl($sky-brand-h, $sky-brand-s, 95%);\r\n\r\n// 辅助色体系 (意图表达)\r\n$sky-color-success: hsl(150, 80%, 40%);\r\n$sky-color-success-active: hsl(150, 80%, 32%);\r\n$sky-color-success-light: hsl(150, 80%, 96%);\r\n\r\n$sky-color-warning: hsl(35, 90%, 50%);\r\n$sky-color-warning-active: hsl(35, 90%, 42%);\r\n$sky-color-warning-light: hsl(35, 90%, 96%);\r\n\r\n$sky-color-danger: hsl(355, 85%, 55%);\r\n$sky-color-danger-active: hsl(355, 85%, 45%);\r\n$sky-color-danger-light: hsl(355, 85%, 96%);\r\n\r\n$sky-color-info: hsl(200, 85%, 50%);\r\n$sky-color-info-active: hsl(200, 85%, 42%);\r\n$sky-color-info-light: hsl(200, 85%, 96%);\r\n\r\n// --- Tag 标签组件专用色系 (莫兰迪低饱和) ---\r\n$sky-tag-blue: #edf2ff;\r\n$sky-tag-blue-text: #3b5bdb;\r\n$sky-tag-green: #ebfbee;\r\n$sky-tag-green-text: #2b8a3e;\r\n$sky-tag-yellow: #fff9db;\r\n$sky-tag-yellow-text: #f08c00;\r\n$sky-tag-red: #ffeef0;\r\n$sky-tag-red-text: #fa5252;\r\n$sky-tag-info: #e7f5ff;\r\n$sky-tag-info-text: #1c7ed6;\r\n\r\n// --- 纯净的中性色调 (Sleek Grays) ---\r\n$sky-color-white: #ffffff;\r\n$sky-color-gray-1: #f8f9fa; // 极浅背景\r\n$sky-color-gray-2: #f1f3f5; // 浅灰背景\r\n$sky-color-gray-3: #e9ecef; // 边框线/失效态\r\n$sky-color-gray-4: #dee2e6;\r\n$sky-color-gray-5: #adb5bd; // 提示文本\r\n$sky-color-gray-6: #868e96;\r\n$sky-color-gray-7: #495057; // 次级文本\r\n$sky-color-gray-8: #343a40;\r\n$sky-color-gray-9: #212529; // 主级文本\r\n\r\n// --- 阴影系统 (Premium Shadows) ---\r\n$sky-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);\r\n$sky-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);\r\n$sky-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);\r\n$sky-shadow-primary: 0 4px 14px rgba(100, 80, 240, 0.2);\r\n\r\n// --- 圆角规范 (Borders) ---\r\n$sky-border-radius-xs: 4rpx;\r\n$sky-border-radius-sm: 8rpx;\r\n$sky-border-radius-md: 12rpx;\r\n$sky-border-radius-lg: 20rpx;\r\n$sky-border-radius-round: 9999rpx;\r\n\r\n// --- 字体与字号规范 (Typography) ---\r\n$sky-font-family: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", Helvetica, \"Segoe UI\", Arial, Roboto, sans-serif;\r\n$sky-font-size-xs: 20rpx;\r\n$sky-font-size-sm: 24rpx;\r\n$sky-font-size-md: 28rpx;\r\n$sky-font-size-lg: 32rpx;\r\n$sky-font-size-xl: 36rpx;\r\n\r\n// --- 动效与过渡 (Transitions) ---\r\n$sky-transition-duration: 200ms;\r\n$sky-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);\r\n\r\n// --- 间距规范 (Spacing) ---\r\n$sky-spacing-xs: 8rpx;\r\n$sky-spacing-sm: 16rpx;\r\n$sky-spacing-md: 24rpx;\r\n$sky-spacing-lg: 32rpx;\r\n$sky-spacing-xl: 48rpx;\r\n\r\n// --- 组件高度规范 (Component Heights) ---\r\n$sky-height-sm: 56rpx;\r\n$sky-height-md: 72rpx;\r\n$sky-height-lg: 88rpx;\r\n$sky-height-xl: 96rpx;\r\n\r\n// --- 层级规范 (Z-Index) ---\r\n$sky-z-dropdown: 100;\r\n$sky-z-fixed: 500;\r\n$sky-z-popup: 1000;\r\n$sky-z-toast: 2000;\r\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|