@tuya-miniapp/smart-ui 2.7.2-beta-3 → 2.7.2-beta-5
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-month/index.wxml +1 -1
- package/dist/calendar-year-list/index.wxml +3 -3
- package/dist/custom-keyboard/index.wxml +1 -1
- package/lib/calendar-month/index.wxml +1 -1
- package/lib/calendar-year-list/index.wxml +3 -3
- package/lib/custom-keyboard/index.wxml +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
wx:for="{{ days }}"
|
|
8
8
|
wx:key="index"
|
|
9
9
|
style="{{ computed.getDayStyle(item.type, index, date, rowHeight, color, firstDayOfWeek) }}"
|
|
10
|
-
class="{{ utils.bem('calendar__day', [item.type]) }} {{ item.className }} {{ item.customClass }}"
|
|
10
|
+
class="{{ utils.bem('calendar__day', [item.type]) }} {{ item.className }} smart-manrope {{ item.customClass }}"
|
|
11
11
|
data-index="{{ index }}"
|
|
12
12
|
bindtap="onClick"
|
|
13
13
|
>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<view class="contain">
|
|
2
2
|
<smart-row>
|
|
3
3
|
<smart-col wx:for="{{years}}" 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="{{currentYear === item.year}}" class="item item_active" data-index="{{index}}" bindtap="onClick" style="background: {{ color }};">
|
|
7
|
+
<view wx:elif="{{currentYear === item.year}}" 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>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<view class="{{prefix}} {{prefix}}-container" style="{{inputContainerStyle}}">
|
|
2
2
|
<view class="{{prefix}}-textView" bind:tap="handlePassword">
|
|
3
|
-
<text class="{{prefix}}-pwdText {{currValue !== '' ? prefix + '-password' : null}}" style="{{valueTextStyle}}">{{currValue || placeholder}}</text>
|
|
3
|
+
<text class="{{prefix}}-pwdText smart-manrope {{currValue !== '' ? prefix + '-password' : null}}" style="{{valueTextStyle}}">{{currValue || placeholder}}</text>
|
|
4
4
|
</view>
|
|
5
5
|
<slot name="custom-button" />
|
|
6
6
|
</view>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
wx:for="{{ days }}"
|
|
8
8
|
wx:key="index"
|
|
9
9
|
style="{{ computed.getDayStyle(item.type, index, date, rowHeight, color, firstDayOfWeek) }}"
|
|
10
|
-
class="{{ utils.bem('calendar__day', [item.type]) }} {{ item.className }} {{ item.customClass }}"
|
|
10
|
+
class="{{ utils.bem('calendar__day', [item.type]) }} {{ item.className }} smart-manrope {{ item.customClass }}"
|
|
11
11
|
data-index="{{ index }}"
|
|
12
12
|
bindtap="onClick"
|
|
13
13
|
>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<view class="contain">
|
|
2
2
|
<smart-row>
|
|
3
3
|
<smart-col wx:for="{{years}}" 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="{{currentYear === item.year}}" class="item item_active" data-index="{{index}}" bindtap="onClick" style="background: {{ color }};">
|
|
7
|
+
<view wx:elif="{{currentYear === item.year}}" 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>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<view class="{{prefix}} {{prefix}}-container" style="{{inputContainerStyle}}">
|
|
2
2
|
<view class="{{prefix}}-textView" bind:tap="handlePassword">
|
|
3
|
-
<text class="{{prefix}}-pwdText {{currValue !== '' ? prefix + '-password' : null}}" style="{{valueTextStyle}}">{{currValue || placeholder}}</text>
|
|
3
|
+
<text class="{{prefix}}-pwdText smart-manrope {{currValue !== '' ? prefix + '-password' : null}}" style="{{valueTextStyle}}">{{currValue || placeholder}}</text>
|
|
4
4
|
</view>
|
|
5
5
|
<slot name="custom-button" />
|
|
6
6
|
</view>
|