欢迎光临,了解微信小程序开发,就上易用通!

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

发布:2018-04-17 09:42浏览: 来源:网络 作者:cola

作者: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





免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。