index.wxml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class="deliver-goods">
  3. <view class="header">
  4. <view class="order-num acea-row row-between-wrapper">
  5. <view class="num line1">订单号:{{ order_id }}</view>
  6. <view class="name line1">
  7. <span class="iconfont icon-yonghu2"></span>{{ delivery.nickname }}
  8. </view>
  9. </view>
  10. <view class="address">
  11. <view class="name">
  12. {{ delivery.real_name}}<span class="phone">{{ delivery.user_phone }}</span>
  13. </view>
  14. <view>{{ delivery.user_address }}</view>
  15. </view>
  16. <view class="line"><image src="/images/line.jpg"></image></view>
  17. </view>
  18. <form bindsubmit="formSubmit" report-submit='true'>
  19. <view class="wrapper">
  20. <view class="item acea-row row-between-wrapper">
  21. <view>发货方式</view>
  22. <view class="mode acea-row row-middle row-between">
  23. <view
  24. class="{{active === index ? 'on' : ''}} goods"
  25. wx:for="{{types}}" wx:key='index'
  26. bindtap="changeType" data-rows="{{item}}" data-indexs="{{index}}">
  27. {{ item.title }}<span class="iconfont icon-xuanzhong2"></span>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="list" wx:if="{{active === 0}}">
  32. <view class="item acea-row row-between-wrapper">
  33. <view>发货方式:</view>
  34. <picker class='mode' bindchange="bindPickerChange" value="{{index}}" range="{{logistics}}">
  35. <view class="picker acea-row row-right">
  36. <view class='reason'>{{logistics[index]}}</view>
  37. <text class='iconfont icon-jiantou'></text>
  38. </view>
  39. </picker>
  40. </view>
  41. <view class="item acea-row row-between-wrapper">
  42. <view>快递单号</view>
  43. <input type="text" placeholder="填写快递单号" name='delivery_id' value="{{delivery_id}}" placeholder-class='placeholder' class="mode"/>
  44. </view>
  45. </view>
  46. <view class="list" wx:if="{{active === 1}}">
  47. <view class="item acea-row row-between-wrapper">
  48. <view>送货人</view>
  49. <input type="text" placeholder="填写送货人" class="mode" name='delivery_name' value="{{delivery_name}}" placeholder-class='placeholder'/>
  50. </view>
  51. <view class="item acea-row row-between-wrapper">
  52. <view>送货电话</view>
  53. <input type="text" placeholder="填写送货电话" class="mode" name='delivery_phone' value="{{delivery_phone}}" placeholder-class='placeholder'/>
  54. </view>
  55. </view>
  56. </view>
  57. <view style="height:1.2rem;"></view>
  58. <button class="confirm" formType="submit">确认提交</button>
  59. </form>
  60. </view>
  61. <authorize bind:onLoadFun='onLoadFun'></authorize>