1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!--pages/ocr/ocr.wxml-->
- <view class="container1">
- <!-- 拍照示例边框 -->
- <view class="border-tip">
- <!-- 提示语1 -->
- <view class="tip">
- <text wx:if="{{isChinese}}">{{tip.title.ch}}</text>
- <text wx:if="{{!isChinese}}">{{tip.title.en}}</text>
- </view>
- <!-- 护照区域 -->
- <view class="passport-area">
- <image wx:if="{{isChinese}}" src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/icon/passportCh.png"></image>
- <image wx:if="{{!isChinese}}" src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/icon/passportEn.png"></image>
- <image src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/icon/scanning.gif"></image>
- </view>
- <!-- 提示语2 -->
- <view class="tip">
- <text wx:if="{{isChinese}}">{{tip.sub_title.ch}}</text>
- <text wx:if="{{!isChinese}}">{{tip.sub_title.en}}</text>
- </view>
- <!-- 提示3 -->
- <view class="icon-area">
- <view class="icon">
- <image src="../../static/ocr/without_block.png"></image>
- <text wx:if="{{isChinese}}">{{tip.sub_tip_one.ch}}</text>
- <text wx:if="{{!isChinese}}">{{tip.sub_tip_one.en}}</text>
- </view>
- <view class="icon">
- <image src="../../static/ocr/keep_bright.png"></image>
- <text wx:if="{{isChinese}}">{{tip.sub_tip_two.ch}}</text>
- <text wx:if="{{!isChinese}}">{{tip.sub_tip_two.en}}</text>
- </view>
- <view class="icon">
- <image src="../../static/ocr/front.png"></image>
- <text wx:if="{{isChinese}}">{{tip.sub_tip_three.ch}}</text>
- <text wx:if="{{!isChinese}}">{{tip.sub_tip_three.en}}</text>
- </view>
- </view>
- </view>
- <!-- 操作区域 -->
- <view class="do-area">
- <view class="title" wx:if="{{isChinese}}">{{tip.do_area.ch}}</view>
- <view class="title" wx:if="{{!isChinese}}">{{tip.do_area.en}}</view>
- <!-- 选择证件类型 -->
- <view class="picker-area">
- <van-cell-group>
- <!-- 证件类型 -->
- <van-cell border="{{ false }}" required title="{{isChinese?tip.papers_type.ch:tip.papers_type.en}}" is-link use-label-slot>
- <view>
- <picker value="{{type_index}}" range="{{type_list}}" range-key="{{isChinese?'name_ch':'name_en'}}" bindchange="chooseType">
- <view wx:if="{{isChinese}}">{{type_index != null?type_list[type_index].name_ch:tip.papers_type.ch}}</view>
- <view wx:if="{{!isChinese}}">{{type_index != null?type_list[type_index].name_en:tip.papers_type.en}}</view>
- </picker>
- </view>
- </van-cell>
- </van-cell-group>
- </view>
- <!-- 护照验证 -->
- <view class="btn-area">
- <button wx:if="{{isChinese}}" bindtap="doOCR">{{tip.submit.ch}}</button>
- <button wx:if="{{!isChinese}}"bindtap="doOCR">{{tip.submit.en}}</button>
- </view>
- </view>
- </view>
|