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 点击无效
你好,这种情况可以检查一下布局;若还有问题,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)