1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <view class="home">
- <!-- 第一部分 -->
- <view class="home-content">
- <view class="home-content-title">
- (一) 接口实名入库
- </view>
- <view class="home-content-text">
- 仅支付宝用户可以实名入库成功;若失败,则为非支付宝用户或其他原因(①有支付宝账号,但未实名认证;②在库中已存在相似人脸)。
- </view>
- <view class="home-info">
- <view class="home-info-item">
- <view class="home-info-item-tit">姓名</view>
- <input type="text" value="{{certName1}}" placeholder="请输入姓名" onInput="getUserName"></input>
- </view>
- <view class='home-info-item'>
- <view class="home-info-item-tit">身份证号</view>
- <input
- value="{{certNo1}}"
- placeholder="请输入身份证号"
- onInput="getCardID"
- type="idcard"
- />
- </view>
- <view class="home-btn-area">
- <button onTap="upStorage">接口实名入库</button>
- </view>
- </view>
- <view class="home-content-text home-content-text1">
- 若支付宝账号所属人要执行入库操作,可以先调用支付宝提供的一键获取三要素能力,再调用接口实名入库。
- </view>
- <view class="home-info">
- <view class="home-btn-area home-btn-area1">
- <button onTap="upStorage2">支付宝用户一键入库</button>
- </view>
- </view>
- </view>
- <!-- 第二部分 -->
- <view class="home-content">
- <view class="home-content-title">
- (二) 接口匿名入库
- </view>
- <view class="home-content-text">
- 非支付宝用户可以通过采集该用户的姓名,身份证号,人像照片进行匿名入库。
- </view>
- <view class="home-info">
- <view class="home-info-item">
- <view class="home-info-item-tit">姓名</view>
- <input type="text" value="{{certName2}}" placeholder="请输入姓名" onInput="getUserName2"></input>
- </view>
- <view class='home-info-item'>
- <view class="home-info-item-tit">身份证号</view>
- <input
- value="{{certNo2}}"
- placeholder="请输入身份证号"
- onInput="getCardID2"
- type="idcard"
- />
- </view>
- <view class='home-info-item home-info-item1'>
- <view class="home-info-item-tit" style="margin-bottom:40rpx">拍摄人像照片</view>
- <ant-uploader
- maxCount='{{1}}'
- fileList="{{ fileList }}"
- onChange="onChange"
- onUpload="{{ onUpload ? onUpload : 'onUpload' }}"
- uploadingText="上传中……"
- uploadfailedText="上传失败"
- onRemove="{{ onRemove ? onRemove : 'onRemove' }}"
- />
- <!--<view onTap="ChooseImage" class="home-info-img"><view a:if="{{form2.image}}" class="have-photo"><image src="{{'data:image/png;base64,' + form2.image}}" /></view><view a:else class="default-photo"><ant-icon onTap="onSwitch" type="AddOutline" /></view></view> -->
- </view>
- <view class="home-btn-area">
- <button onTap="upStorage3">接口匿名入库</button>
- </view>
- </view>
- </view>
- </view>
|