bindtap点击无效?
wxml:
<view class=‘select-area’>
<view class=‘name’>高低错位</view>
<radio-group class=“select-gather” bindchange=“modifyInfo” id=“gatherType”>
<label class=‘select-option’><radio value=‘1’></radio><view class=“{{gatherType==1?‘option-active’:‘’}}”>标准</view></label>
<label class=‘select-option’><radio value=‘2’></radio><view class=“{{gatherType==2?‘option-active’:‘’}}”>左高</view></label>
<label class=‘select-option’><radio value=‘3’></radio><view class=“{{gatherType==3?‘option-active’:‘’}}”>右高</view></label>
</radio-group>
</view>
JS:
modifyInfo(e) {
// //console.log(e.detail.value)
var key = e.target.id
var data = {}
data[key] = e.detail.value
this.setData(data)
wx.setStorageSync(e.target.id, e.detail.value)
this.infoType()
wx.setStorageSync(‘saveinfo’, true)
},
vivo xplay6 点击无效
