Commit e8c97497807a380dc14422cf18b035a731d277b4
1 parent
06ae20d2
服务卡详情页购买弹窗数量减修改
Showing
1 changed file
with
2 additions
and
1 deletions
packageA/pages/goodsInfo/goodsInfo.wxml
... | ... | @@ -696,7 +696,8 @@ |
696 | 696 | <view class="b_num"> |
697 | 697 | <view>购买数量</view> |
698 | 698 | <view class="count"> |
699 | - <view bindtap="subCartNum" class="sub {{goodsInputNum <= 1 ? 'active':''}}">-</view> | |
699 | + <view class="sub {{goodsInputNum <= 1 ? 'active':''}}" wx:if="{{goodsInputNum <= 1}}">-</view> | |
700 | + <view bindtap="subCartNum" class="sub" wx:else>-</view> | |
700 | 701 | <input bindblur="inputCartNum" type="number" value="{{goodsInputNum}}"></input> |
701 | 702 | <view bindtap="addCartNum" class="add">+</view> |
702 | 703 | </view> | ... | ... |