<scroll-view scroll-y="true" >
<view id="ss1" class="news_content">
<view class='news_content_right'>
<image src="/imgs/index/timg.png" />
</view>
<view class='news_content_left'>
<view class='news_content_left_top'>
<text style='font-weight:bold'>小白菜</text>
</view>
<view class='news_content_left-but' style=''>
<view style='float:left;width:30%;height:100%'>
<text style='font-size:17px;font-weight:bold;color:#FEB70F;'>¥3.5/斤</text>
</view>
<view class='viewShop' id="plus1" bindtap="xxplus">
<image bindtap="xxplus" style='width:17px;height:17px;' src="/imgs/shop/plus.png"></image>
</view>
<view class='viewShop'>
<text style='font-size:12px' id="count">0</text>
</view>
<view class='viewShop' bindtap='xxminus'>
<image style='width:17px;height:17px;' src="/imgs/shop/minus.png"></image>
</view>
</view>
</view>
</view>
<view style='height:100px'></view>
</scroll-view>
js
xxminus:function(){
wx.showModal({
title: '提示',
content: '减1',
showCancel: false
});
},
xxplus:function(){
wx.showModal({
title: '提示',
content: '加1',
showCancel: false
});
},
```xxplus和xxminus都触发不了事件,请问是怎么回事!!!!