小程序模板网

微信小程序问题汇总及详解《三》picker 增、删

2018-04-17 尿出子

作者:JoyJin,来自授权地址

 

					
  1. <block wx:for="{{salesList}}" wx:for-index="index" wx:key="id" wx:for-item="item">
  2. <view class="con_txt">
  3. <view class="con_txt1" style="margin-left:30rpx;width:140rpx">销售品申请</view>
  4. <view class="con_txt1 con_txt2">
  5. <view class="section">
  6. <picker bindchange="bindPickerChange" value="{{item.option}}" range="{{objectArray}}" range-key="good_name" data-id="{{objectArray[item.option].id}}" data-index="{{index}}">
  7. <view class="picker" style="height:70rpx;position:relative">
  8. {{objectArray[item.option].good_name}}
  9. <image src="../Image/select.png" style="width:40rpx;height:40rpx;position:absolute;left:80%;top:20%;"></image>
  10. </view>
  11. </picker>
  12. </view>
  13. </view>
  14. <view class="con_txt1">
  15. <view class="section2">
  16. <input


易优小程序(企业版)+灵活api+前后代码开源 码云仓库:starfork
本文地址:https://www.eyoucms.com/wxmini/doc/course/23511.html 复制链接 如需定制请联系易优客服咨询:800182392 点击咨询
QQ在线咨询