index.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <view class="fill-tracking-no">
  2. <view class="notice-bar">请填写正确的退货包裹运单信息,以免影响退款进度</view>
  3. <view class="fill-tracking-no__form">
  4. <t-cell-group>
  5. <t-cell title="运单号" t-class-title="t-cell-title-width">
  6. <t-input
  7. slot="note"
  8. borderless
  9. t-class="t-cell__value"
  10. type="text"
  11. value="{{trackingNo}}"
  12. maxlength="30"
  13. placeholder="请输入物流单号"
  14. bind:change="onInput"
  15. data-key="trackingNo"
  16. />
  17. <t-icon slot="right-icon" name="scan" t-class="icon-scan" bindtap="onScanTap" />
  18. </t-cell>
  19. <t-cell
  20. t-class-title="t-cell-title-width"
  21. t-class-note="{{deliveryCompany && deliveryCompany.name ? 't-cell__value' : 't-cell__placeholder'}}"
  22. title="物流公司"
  23. note="{{deliveryCompany && deliveryCompany.name || '请选择物流公司'}}"
  24. arrow
  25. bindtap="onCompanyTap"
  26. />
  27. </t-cell-group>
  28. <view class="textarea-wrapper">
  29. <text>备注信息</text>
  30. </view>
  31. <t-textarea
  32. t-class="t-textarea-wrapper"
  33. type="text"
  34. value="{{remark}}"
  35. maxlength="140"
  36. autosize
  37. placeholder="选填项,如有多个包裹寄回,请注明其运单信息"
  38. bind:change="onInput"
  39. data-key="remark"
  40. />
  41. </view>
  42. <view class="fill-tracking-no__button-bar">
  43. <t-button
  44. t-class="btn {{ submitActived ? 'confirmBtn' : '' }}"
  45. disabled="{{!submitActived}}"
  46. loading="{{submitting}}"
  47. bindtap="onSubmit"
  48. >
  49. 保存
  50. </t-button>
  51. </view>
  52. </view>
  53. <ui-reason-sheet id="wr-reason-sheet" />
  54. <t-toast id="t-toast" />
  55. <t-dialog id="t-dialog" />