File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
hover-class="{{isHover?'count-hover':''}}">
7
7
<view class="l-icon l-icon-reduce" style="font-size:{{iconSize}};color:{{iconColor}}"></view>
8
8
</view>
9
- <input wx:if ="{{focus}}"
9
+ <input hidden ="{{! focus}}"
10
10
class="l-count-class count"
11
11
disabled="{{disabled}}"
12
12
type="number"
13
13
focus="{{focus}}"
14
14
value="{{count}}"
15
15
bind:input="onInput"
16
16
bindblur="onBlur"/>
17
- <view wx:else class="l-count-class count" mut-bind:tap="onCount">{{count}}</view>
17
+ <view hidden="{{focus}}" class="l-count-class count" mut-bind:tap="onCount">{{count}}</view>
18
18
<view class="l-symbol-class symbol {{count>=max|| disabled?'disabled l-disabled-class':'abled l-symbol-class'}}"
19
19
catchtap="{{count>=max|| disabled?'doNothing':'onTapChange'}}"
20
20
data-type="overflow_max"
You can’t perform that action at this time.
0 commit comments