contract.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!--pages/invoice/contract/contract.wxml-->
  2. <view class="page-contract">
  3. <!-- 合同step -->
  4. <view class="contract-step">
  5. <view class="img-wrap">
  6. <image class="img-full" lazy-load="true" src="https://resource.artouchstone.com/miniapp/artist/images/sw-step-01.png"></image>
  7. </view>
  8. </view>
  9. <!-- 上传合同 -->
  10. <view class="contract-content">
  11. <view wx:if="{{upFileInfo}}">
  12. <view class="file-box">
  13. <!-- {{upFileInfo.url}}-->
  14. <image class="img-full" lazy-load="true" src="/images/contract-pdf.png"></image>
  15. <view bindtap="removeFile" class="close"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-close.png"></image></view>
  16. </view>
  17. <view bindtap="prevFile" class="prev-text">点击预览</view>
  18. </view>
  19. <view wx:if="{{!upFileInfo}}" class="upload-text">
  20. <view bindtap="showFileChoose" class="icon">
  21. <image class="img-full" lazy-load="true" src="https://resource.artouchstone.com/miniapp/artist/images/ico_add-round.png"></image>
  22. </view>
  23. <view class="name">点击上传合同</view>
  24. <view class="text">支持.pdf 文件,10M以内</view>
  25. </view>
  26. <view wx:if="{{!upFileInfo}}" class="default-btn">确定</view>
  27. <view wx:if="{{upFileInfo}}" bindtap="saveData" class="default-btn primary">确定</view>
  28. </view>
  29. <!--下载合同 -->
  30. <view class="contract-info">
  31. <view class="info-text">如没有合同,请先下载合同模板</view>
  32. <navigator url="/pages/invoice/downContract/downContract" class="down-contract">下载合同模板</navigator>
  33. </view>
  34. <button plain="true" open-type='contact' session-from='' class="fixed-zx"></button>
  35. <!-- 选择上传文件形式弹框 -->
  36. <view wx:if="{{isShowFileChoose}}" class="pop-box">
  37. <view class="pop-inner">
  38. <view class="pop-inner-text">
  39. <view bindtap="chooseFileMsg" class="pop-choose-item">
  40. <view class="icon icon-01"></view>
  41. 从聊天记录选择
  42. </view>
  43. <view bindtap="chooseFile" class="pop-choose-item">
  44. <view class="icon icon-02"></view>
  45. 从本地文件选择
  46. </view>
  47. </view>
  48. <view bindtap="hideFileChoose" class="default-btn primary">
  49. 取消
  50. </view>
  51. <view bindtap="hideFileChoose" class="pop-close">
  52. <image class="img-full" lazy-load="true" src="https://resource.artouchstone.com/miniapp/artist/images/close.png" mode="widthFix"/>
  53. </view>
  54. </view>
  55. </view>
  56. </view>