ocr.axml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <view class='container1' ref='saveChildRef0'>
  2. <view class='border-tip'>
  3. <view class='tip'>
  4. <text a:if='{{isChinese}}'>
  5. {{tip.title.ch}}
  6. </text>
  7. <text a:if='{{!isChinese}}'>
  8. {{tip.title.en}}
  9. </text>
  10. </view>
  11. <view class='passport-area'>
  12. <image a:if='{{isChinese}}' src='https://renhe.hz-hanghui.com/zsms/file/permanent/passport_ch.png'>
  13. </image>
  14. <image a:if='{{!isChinese}}' src='https://renhe.hz-hanghui.com/zsms/file/permanent/passport_en.png'>
  15. </image>
  16. <image src='https://renhe.hz-hanghui.com/zsms/file/permanent/ocr_scan.gif'>
  17. </image>
  18. </view>
  19. <view class='tip'>
  20. <text a:if='{{isChinese}}'>
  21. {{tip.sub_title.ch}}
  22. </text>
  23. <text a:if='{{!isChinese}}'>
  24. {{tip.sub_title.en}}
  25. </text>
  26. </view>
  27. <view class='icon-area'>
  28. <view class='icon'>
  29. <image src='../../static/ocr/without_block.png'>
  30. </image>
  31. <text a:if='{{isChinese}}'>
  32. {{tip.sub_tip_one.ch}}
  33. </text>
  34. <text a:if='{{!isChinese}}'>
  35. {{tip.sub_tip_one.en}}
  36. </text>
  37. </view>
  38. <view class='icon'>
  39. <image src='../../static/ocr/keep_bright.png'>
  40. </image>
  41. <text a:if='{{isChinese}}'>
  42. {{tip.sub_tip_two.ch}}
  43. </text>
  44. <text a:if='{{!isChinese}}'>
  45. {{tip.sub_tip_two.en}}
  46. </text>
  47. </view>
  48. <view class='icon'>
  49. <image src='../../static/ocr/front.png'>
  50. </image>
  51. <text a:if='{{isChinese}}'>
  52. {{tip.sub_tip_three.ch}}
  53. </text>
  54. <text a:if='{{!isChinese}}'>
  55. {{tip.sub_tip_three.en}}
  56. </text>
  57. </view>
  58. </view>
  59. </view>
  60. <view class='do-area'>
  61. <view a:if='{{isChinese}}' class='title'>
  62. {{tip.do_area.ch}}
  63. </view>
  64. <view a:if='{{!isChinese}}' class='title'>
  65. {{tip.do_area.en}}
  66. </view>
  67. <view class='picker-area'>
  68. <van-cell-group ref='saveChildRef1'>
  69. <van-cell
  70. border='{{ false }}'
  71. required=" "
  72. title='{{isChinese?tip.papers_type.ch:tip.papers_type.en}}'
  73. is-link=" "
  74. use-label-slot=" "
  75. ref='saveChildRef2'
  76. >
  77. <view>
  78. <picker
  79. value='{{type_index}}'
  80. range='{{type_list}}'
  81. range-key="{{isChinese?'name_ch':'name_en'}}"
  82. onChange='chooseType'
  83. >
  84. <view a:if='{{isChinese}}'>
  85. {{type_index != null?type_list[type_index].name_ch:tip.papers_type.ch}}
  86. </view>
  87. <view a:if='{{!isChinese}}'>
  88. {{type_index != null?type_list[type_index].name_en:tip.papers_type.en}}
  89. </view>
  90. </picker>
  91. </view>
  92. </van-cell>
  93. </van-cell-group>
  94. </view>
  95. <view class='btn-area'>
  96. <btn a:if='{{isChinese}}' onTap='antmoveAction' data-antmove-tap='doOCR'>
  97. {{tip.submit.ch}}
  98. </btn>
  99. <btn a:if='{{!isChinese}}' onTap='antmoveAction' data-antmove-tap='doOCR'>
  100. {{tip.submit.en}}
  101. </btn>
  102. </view>
  103. </view>
  104. </view>