Browse Source

增加手动输入按钮

epass
mk 1 month ago
parent
commit
1f1506bba2
  1. 5
      subpages/OCRCard/pages/index/index.wxml
  2. 17
      subpages/OCRCard/pages/index/index.wxss

5
subpages/OCRCard/pages/index/index.wxml

@ -19,6 +19,9 @@
<view style="font-size: 28rpx;color: #666666;" class="mt-16">温馨提示:请先拍照或上传身份证照片进行身份识别。</view>
</view>
<navigator url="/subpages/OCRCard/pages/OCR/OCR" certificateType="idCard" opposite="{{false}}" class="ocr">
<button hover-class="color" style="background-color:#0bb4b4">开始识别</button>
<button hover-class="color" class="btn1" style="background-color:#0bb4b4">开始识别</button>
</navigator>
<navigator url="/subpages/index/checkInUser/checkInUser" certificateType="idCard" opposite="{{false}}" class="ocr">
<button hover-class="color" class="btn2" style="background-color:#0bb4b4;margin-top: 10rpx;" >手动输入</button>
</navigator>
</view>

17
subpages/OCRCard/pages/index/index.wxss

@ -72,7 +72,7 @@ page {
align-items: center;
}
button {
.btn1{
height: 84rpx;
line-height: 84rpx;
width: 100% !important;
@ -82,9 +82,20 @@ button {
font-size: 33rpx;
border-radius: 84rpx;
background: linear-gradient(to right, #82f1f1, #08b3b3);
margin: 160rpx 0 0 !important;
margin: 150rpx 0 0 !important;
}
.btn2{
height: 84rpx;
line-height: 84rpx;
width: 100% !important;
padding: 0;
text-align: center;
color: #fff;
font-size: 33rpx;
border-radius: 84rpx;
background: linear-gradient(to right, #82f1f1, #08b3b3);
margin: 30rpx 0 !important;
}
.ocr {
width: 100%;
}

Loading…
Cancel
Save