找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索本站精品资源

首页 教程频道 小程序开发 查看内容

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

作者:模板之家 2018-4-17 09:41 2337人关注

作者:JoyJin,来自授权地址 block wx:for={{salesList}} wx:for-index=index wx:key=id wx:for-item=item view class=con_txt view class=con_txt1 style=margin-left:30rpx;width:140rpx销售品申请/view view clas ...

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


路过

雷人

握手

鲜花

鸡蛋
原作者: 模板之家 来自: 网络收集

全部回复(0)