@tuya-miniapp/smart-ui 2.7.2-beta-5 → 2.7.2-beta-7
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/dist/calendar/calendar.wxml +1 -1
- package/dist/calendar-header/index.wxml +1 -1
- package/dist/calendar-month-list/index.wxml +3 -3
- package/dist/icon/index.wxs +0 -4
- package/lib/calendar/calendar.wxml +1 -1
- package/lib/calendar-header/index.wxml +1 -1
- package/lib/calendar-month-list/index.wxml +3 -3
- package/lib/icon/index.wxs +0 -4
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<header
|
|
5
5
|
title="{{ title }}"
|
|
6
6
|
showTitle="{{ showTitle }}"
|
|
7
|
-
subtitle="{{ type === 'year' ? '' : type === 'month' ? computed.formatYearTitle(originCurrentDateMonthly, visibleIndex, locale.yearFormatter) : computed.formatMonthTitle(months[visibleIndex], subFormatter) }}"
|
|
7
|
+
subtitle="{{ type === 'year' ? '' : type === 'month' ? computed.formatYearTitle(originCurrentDateMonthly, visibleIndex, locale.yearFormatter) : computed.formatMonthTitle(months[visibleIndex], locale.subFormatter) }}"
|
|
8
8
|
subFormatter="{{locale.subFormatter || 'YYYY-MM'}}"
|
|
9
9
|
showSubtitle="{{ showSubtitle }}"
|
|
10
10
|
firstDayOfWeek="{{ firstDayOfWeek }}"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<view class="smart-calendar__header-subtitle_left" bind:tap="onPrev">
|
|
12
12
|
<smart-icon color="{{iconColor}}" class="smart-calendar__header-subtitle_left_icon" name="{{LeftIcon}}" />
|
|
13
13
|
</view>
|
|
14
|
-
<view wx:if="{{ showSubtitle }}" class="smart-calendar__header-subtitle" bind:tap="onClickSubtitle">
|
|
14
|
+
<view wx:if="{{ showSubtitle }}" class="smart-calendar__header-subtitle smart-manrope" bind:tap="onClickSubtitle">
|
|
15
15
|
{{ subtitle }}
|
|
16
16
|
</view>
|
|
17
17
|
<view class="smart-calendar__header-subtitle_right" bind:tap="onNext">
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<view class="contain">
|
|
2
2
|
<smart-row>
|
|
3
3
|
<smart-col wx:for="{{months}}" wx:key="index" span="6" custom-class="col_item">
|
|
4
|
-
<view wx:if="{{item.type === 'disabled'}}" class="item item_disabled" data-index="{{index}}">
|
|
4
|
+
<view wx:if="{{item.type === 'disabled'}}" class="item smart-manrope item_disabled" data-index="{{index}}">
|
|
5
5
|
{{item.text}}
|
|
6
6
|
</view>
|
|
7
|
-
<view wx:elif="{{date === item.value}}" class="item item_active" data-index="{{index}}" bindtap="onClick" style="background: {{ color }};">
|
|
7
|
+
<view wx:elif="{{date === item.value}}" class="item smart-manrope item_active" data-index="{{index}}" bindtap="onClick" style="background: {{ color }};">
|
|
8
8
|
{{item.text}}
|
|
9
9
|
</view>
|
|
10
|
-
<view wx:else class="item" data-index="{{index}}" bindtap="onClick">
|
|
10
|
+
<view wx:else class="item smart-manrope" data-index="{{index}}" bindtap="onClick">
|
|
11
11
|
{{item.text}}
|
|
12
12
|
</view>
|
|
13
13
|
</smart-col>
|
package/dist/icon/index.wxs
CHANGED
|
@@ -59,8 +59,6 @@ function svgStyle(data) {
|
|
|
59
59
|
'-webkit-mask-size': 'contain',
|
|
60
60
|
'-webkit-mask-repeat': 'no-repeat',
|
|
61
61
|
'-webkit-mask-position': 'center',
|
|
62
|
-
'mask-image': imageBase64Src,
|
|
63
|
-
'mask-size': 'contain',
|
|
64
62
|
background: data.color,
|
|
65
63
|
},
|
|
66
64
|
]);
|
|
@@ -78,8 +76,6 @@ function svgPathStyle(data) {
|
|
|
78
76
|
'-webkit-mask-size': 'contain',
|
|
79
77
|
'-webkit-mask-repeat': 'no-repeat',
|
|
80
78
|
'-webkit-mask-position': 'center',
|
|
81
|
-
'mask-image': imageBase64Src,
|
|
82
|
-
'mask-size': 'contain',
|
|
83
79
|
background: data.color,
|
|
84
80
|
},
|
|
85
81
|
]);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<header
|
|
5
5
|
title="{{ title }}"
|
|
6
6
|
showTitle="{{ showTitle }}"
|
|
7
|
-
subtitle="{{ type === 'year' ? '' : type === 'month' ? computed.formatYearTitle(originCurrentDateMonthly, visibleIndex, locale.yearFormatter) : computed.formatMonthTitle(months[visibleIndex], subFormatter) }}"
|
|
7
|
+
subtitle="{{ type === 'year' ? '' : type === 'month' ? computed.formatYearTitle(originCurrentDateMonthly, visibleIndex, locale.yearFormatter) : computed.formatMonthTitle(months[visibleIndex], locale.subFormatter) }}"
|
|
8
8
|
subFormatter="{{locale.subFormatter || 'YYYY-MM'}}"
|
|
9
9
|
showSubtitle="{{ showSubtitle }}"
|
|
10
10
|
firstDayOfWeek="{{ firstDayOfWeek }}"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<view class="smart-calendar__header-subtitle_left" bind:tap="onPrev">
|
|
12
12
|
<smart-icon color="{{iconColor}}" class="smart-calendar__header-subtitle_left_icon" name="{{LeftIcon}}" />
|
|
13
13
|
</view>
|
|
14
|
-
<view wx:if="{{ showSubtitle }}" class="smart-calendar__header-subtitle" bind:tap="onClickSubtitle">
|
|
14
|
+
<view wx:if="{{ showSubtitle }}" class="smart-calendar__header-subtitle smart-manrope" bind:tap="onClickSubtitle">
|
|
15
15
|
{{ subtitle }}
|
|
16
16
|
</view>
|
|
17
17
|
<view class="smart-calendar__header-subtitle_right" bind:tap="onNext">
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<view class="contain">
|
|
2
2
|
<smart-row>
|
|
3
3
|
<smart-col wx:for="{{months}}" wx:key="index" span="6" custom-class="col_item">
|
|
4
|
-
<view wx:if="{{item.type === 'disabled'}}" class="item item_disabled" data-index="{{index}}">
|
|
4
|
+
<view wx:if="{{item.type === 'disabled'}}" class="item smart-manrope item_disabled" data-index="{{index}}">
|
|
5
5
|
{{item.text}}
|
|
6
6
|
</view>
|
|
7
|
-
<view wx:elif="{{date === item.value}}" class="item item_active" data-index="{{index}}" bindtap="onClick" style="background: {{ color }};">
|
|
7
|
+
<view wx:elif="{{date === item.value}}" class="item smart-manrope item_active" data-index="{{index}}" bindtap="onClick" style="background: {{ color }};">
|
|
8
8
|
{{item.text}}
|
|
9
9
|
</view>
|
|
10
|
-
<view wx:else class="item" data-index="{{index}}" bindtap="onClick">
|
|
10
|
+
<view wx:else class="item smart-manrope" data-index="{{index}}" bindtap="onClick">
|
|
11
11
|
{{item.text}}
|
|
12
12
|
</view>
|
|
13
13
|
</smart-col>
|
package/lib/icon/index.wxs
CHANGED
|
@@ -59,8 +59,6 @@ function svgStyle(data) {
|
|
|
59
59
|
'-webkit-mask-size': 'contain',
|
|
60
60
|
'-webkit-mask-repeat': 'no-repeat',
|
|
61
61
|
'-webkit-mask-position': 'center',
|
|
62
|
-
'mask-image': imageBase64Src,
|
|
63
|
-
'mask-size': 'contain',
|
|
64
62
|
background: data.color,
|
|
65
63
|
},
|
|
66
64
|
]);
|
|
@@ -78,8 +76,6 @@ function svgPathStyle(data) {
|
|
|
78
76
|
'-webkit-mask-size': 'contain',
|
|
79
77
|
'-webkit-mask-repeat': 'no-repeat',
|
|
80
78
|
'-webkit-mask-position': 'center',
|
|
81
|
-
'mask-image': imageBase64Src,
|
|
82
|
-
'mask-size': 'contain',
|
|
83
79
|
background: data.color,
|
|
84
80
|
},
|
|
85
81
|
]);
|