2 回复
< picker bindchange = "bindPickerChange" value = "{{pickerIndex}}" range = "{{seckillInfo.items}}" range-key = "goodsStandardValueName" > < view class = "picker" > < view wx:if="{{pickerIndex > -1}}">已选择:{{seckillInfo.items[pickerIndex].goodsStandardValueName}}</ view > < view wx:else>请选择规格</ view > </ view > </ picker > |
pickerIndex 默认-1
seckillInfo = {
items:[
{
goodsStandardValueName:‘十分士大夫大师傅是否近段时间,士大夫大师傅但是不付款节点设备’
}
]
}