<picker bindchange="bindPickerChange" value="{{multiIndex_pinpai}}" range="{{multiArray_pinpai}}">
<view class="sanji">
<text class="let">商品品牌:</text>
<view wx:if="{{multiIndex_pinpai!=9}}" class="rit">
<text class="pinpal">
{{multiArray_pinpai[multiIndex_pinpai]}}
</text>
<image class='ico' src='../../images/member-tu0.png'></image>
</view>
</view>
</picker>
<view wx:if="{{multiIndex_pinpai==9}}" class="viewKuang on1 viewKuang_1">
<input bindinput='onBindInput' id='content_title' value='{{formDatas.content_title}}' placeholder="请填写商品品牌,例如:耐克-空军一号" maxlength="50" placeholder-class='placeholderClass'></input>
</view>
Page({
data: {
switch1Checked:true,
multiArray_pinpai: ['耐克', '阿迪', '匡威', '李宁', '彪马', '新百伦', 'Vans', 'AJ', 'Yeezy', '其它'],
multiIndex_pinpai: 0,
},
bindPickerChange: function (e) {
this.setData({
multiIndex_pinpai: e.detail.value,
})
},
})