second.wxml 1.0 KB

1234567891011121314151617181920
  1. <!--StepPage/pages/second/second.wxml-->
  2. <cover-image src="../../../images/head.png"></cover-image>
  3. <view class="title">1.选择产品类型</view>
  4. <view class="item_content">
  5. <view style="width:48%">
  6. <view wx:for="{{productList}}" wx:key="index" class="item_content_shop {{item.is_choose?'choose':'unchoose'}}" bindtap="handleChoose" data-item='{{item}}' data-index='{{index}}'>
  7. {{item.title}}
  8. </view>
  9. </view>
  10. <view style="width: 48%">
  11. <view wx:for="{{itemList}}" wx:key="index" class="item_content_shop_child {{item.is_choose?'choose':'unchoose'}}" bindtap="handleChooseItem" data-item='{{item}}' data-index='{{index}}'>
  12. {{item.title}}
  13. </view>
  14. </view>
  15. </view>
  16. <view class="btn">
  17. <van-button color="linear-gradient(to top, #626365, #ffffff)" custom-class="btn_item" bindtap="handleReturn"><text class="font_item">上一步</text></van-button>
  18. <van-button disabled='{{allowNext?false:true}}' color="linear-gradient(to top, #626365, #ffffff)"
  19. custom-class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  20. </view>