tanzhongheY/components/num-controller/index.wxml

7 lines
433 B
Plaintext
Raw Permalink Normal View History

2021-09-01 07:52:30 +00:00
<view class="num-controller">
<!-- <image src="images/minus.png" class="{{num <= min ?'hide': ''}}" bindtap="sub"></image> -->
<button class="default" size="mini" hover-class="none" class="{{num <= min ?'hide': ''}}" bindtap="sub">-</button>
<text class="num">{{num}}</text>
<!-- <image src="images/plus.png" bindtap="add"></image> -->
<button class="default" size="mini" hover-class="none" bindtap="add">+</button>
</view>