mali-applet-ui 1.0.156 → 1.0.157
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.
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<view class="ml-calendar-date-day-item" v-for="(item, key) in list" :key="key" @tap="onSelect(item)">
|
|
27
27
|
<view class="ml-calendar-date-day-box" :class="{'today': item.isToday, 'last-month': item.isLastMonth, 'next-month': item.isNextMonth, 'selected': selectDay === item.date, 'not-yet': item.isNotYet, 'disabled': item.disabled}">
|
|
28
28
|
<view class="ml-calendar-date-box-warpper">
|
|
29
|
-
<view class="ml-calendar-date-day-text" :class="{'today': item.isToday}" v-if="item.isToday"
|
|
29
|
+
<view class="ml-calendar-date-day-text" :class="{'today': item.isToday}" v-if="item.isToday">今</view>
|
|
30
30
|
<view class="ml-calendar-date-day-text" v-else>{{ item.day }}</view>
|
|
31
31
|
<view class="ml-calendar-date-day-dots">
|
|
32
32
|
<view class="ml-calendar-date-day-status" v-for="(status, sIndex) in item.statusList" :key="sIndex" :class="[`ss-${status}`]"></view>
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
return XEUtils.toDateString(this.selectMonth, 'yyyy年MM月')
|
|
78
78
|
},
|
|
79
79
|
contentStyle () {
|
|
80
|
-
const lineHeight =
|
|
80
|
+
const lineHeight = 94
|
|
81
81
|
if (this.isfold) {
|
|
82
82
|
return `height: ${lineHeight}rpx;`
|
|
83
83
|
}
|
|
@@ -187,13 +187,14 @@ export default {
|
|
|
187
187
|
align-items: center;
|
|
188
188
|
margin-bottom: 10rpx;
|
|
189
189
|
.ml-calendar-header-title {
|
|
190
|
-
flex: 1;
|
|
190
|
+
flex-grow: 1;
|
|
191
191
|
text-align: center;
|
|
192
192
|
margin: 0 30rpx;
|
|
193
|
-
font-size:
|
|
193
|
+
font-size: 32rpx;
|
|
194
194
|
font-weight: bolder;
|
|
195
195
|
}
|
|
196
196
|
.ml-calendar-header-button {
|
|
197
|
+
flex-shrink: 0;
|
|
197
198
|
border: 1px solid #dddddd;
|
|
198
199
|
padding: 10rpx;
|
|
199
200
|
border-radius: 8rpx;
|
|
@@ -236,7 +237,7 @@ export default {
|
|
|
236
237
|
}
|
|
237
238
|
.ml-calendar-date-day-box {
|
|
238
239
|
width: 64rpx;
|
|
239
|
-
height:
|
|
240
|
+
height: 86rpx;
|
|
240
241
|
border-radius: 8rpx;
|
|
241
242
|
margin: auto;
|
|
242
243
|
border: 2px solid transparent;
|
|
@@ -245,23 +246,27 @@ export default {
|
|
|
245
246
|
height: 100%;
|
|
246
247
|
.ml-calendar-date-day-text {
|
|
247
248
|
font-weight: 500;
|
|
248
|
-
font-size:
|
|
249
|
+
font-size: 30rpx;
|
|
249
250
|
text-align: center;
|
|
250
|
-
|
|
251
|
+
margin: 0 auto;
|
|
252
|
+
width: 60rpx;
|
|
253
|
+
height: 60rpx;
|
|
254
|
+
line-height: 60rpx;
|
|
255
|
+
border-radius: 50%;
|
|
251
256
|
&.today {
|
|
252
257
|
font-size: 22rpx;
|
|
253
258
|
}
|
|
254
259
|
}
|
|
255
260
|
.ml-calendar-date-day-dots {
|
|
256
261
|
width: 100%;
|
|
257
|
-
line-height:
|
|
262
|
+
line-height: 10rpx;
|
|
258
263
|
text-align: center;
|
|
259
264
|
}
|
|
260
265
|
.ml-calendar-date-day-status {
|
|
261
266
|
display: inline-block;
|
|
262
|
-
width:
|
|
263
|
-
height:
|
|
264
|
-
margin: 0
|
|
267
|
+
width: 14rpx;
|
|
268
|
+
height: 14rpx;
|
|
269
|
+
margin: 0 4rpx;
|
|
265
270
|
border-radius: 50%;
|
|
266
271
|
&.ss-primary {
|
|
267
272
|
background-color: $ml-theme-primary-color;
|
|
@@ -298,19 +303,16 @@ export default {
|
|
|
298
303
|
}
|
|
299
304
|
}
|
|
300
305
|
}
|
|
301
|
-
&.selected {
|
|
302
|
-
border-color: #2497FF;
|
|
303
|
-
}
|
|
304
|
-
&.selected {
|
|
305
|
-
border-color: #2497FF;
|
|
306
|
-
}
|
|
307
306
|
&.today {
|
|
308
|
-
.ml-calendar-date-
|
|
307
|
+
.ml-calendar-date-day-text {
|
|
308
|
+
color: $ml-theme-primary-color;
|
|
309
309
|
background-color: #c6e4ff;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
&.selected {
|
|
313
|
+
.ml-calendar-date-day-text {
|
|
314
|
+
color: #fff;
|
|
315
|
+
background-color: $ml-theme-primary-color;
|
|
314
316
|
}
|
|
315
317
|
}
|
|
316
318
|
&.last-month,
|