123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <template>
- <div class="vh100">
- <!-- 导航栏 -->
- <div class="nav-bar">
- <div class="back-btn" @click="$router.back()">
- <i class="arrow-left"></i>
- </div>
- <div class="title">实名认证</div>
- </div>
- <!-- 认证表单 -->
- <div class="flex bgwhite alcenter radius4 pl10 pt10 bdb_blue3">
- <div class="flex between h40 lh40 pr10 tr flex1">
- <span>证件认证</span>
- <span>身份证</span>
- </div>
- </div>
- <div class="flex bgwhite alcenter radius4 pl10 pt10 bdb_blue3">
- <span>证件姓氏:</span>
- <input
- type="text"
- class="h40 lh40 pr10 tr flex1 input-uni"
- placeholder="姓名"
- v-model="formData.realName"
- >
- </div>
- <div class="flex bgwhite alcenter radius4 pl10 mt10 bdb_blue3">
- <span>证件号码:</span>
- <input
- type="text"
- class="h40 lh40 pr10 tr flex1 input-uni"
- placeholder="输入证件号码"
- v-model="formData.idCard"
- >
- </div>
- <div
- class="mt30 h40 lh40 tc white bgBlue radius28 ft14 w90 mauto"
- @click="handleSubmit"
- >
- 确 认
- </div>
- <div class="flex alcenter mt10">
- <div class="bottom">
- <ul>
- <li style="height: 45px;">为保证您的权益请认真查看以下条例,如有疑问请及时联系在线客服</li>
- <li>身份证件拍摄不完整有反光</li>
- <li>提交信息和身份证件不一致</li>
- <li style="height: 45px;">为了您的信息安全审核期间由AI机器人全程负责我们无法干预</li>
- <li style="height: 45px;">使用虚假信息的用户我们将采取相应措施,包含且不限于封号、冻结资产、限制登录等</li>
- </ul>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: 'RealAuthentication',
- data() {
- return {
- formData: {
- realName: '',
- idCard: ''
- }
- }
- },
- methods: {
- async handleSubmit() {
- if (!this.formData.realName) {
- alert('请输入姓名');
- return;
- }
- if (!this.formData.idCard) {
- alert('请输入证件号码');
- return;
- }
- // TODO: 实现实名认证提交逻辑
- alert('认证信息提交成功');
- this.$router.back();
- }
- }
- }
- </script>
- <style scoped>
- .vh100 {
- min-height: 100vh;
- background: #fff;
- }
- .nav-bar {
- height: 44px;
- background-color: #ed4b39;
- color: #fff;
- display: flex;
- align-items: center;
- position: relative;
- padding: 0 15px;
- }
- .back-btn {
- width: 24px;
- height: 44px;
- display: flex;
- align-items: center;
- cursor: pointer;
- }
- .arrow-left {
- width: 12px;
- height: 12px;
- border-left: 2px solid #fff;
- border-bottom: 2px solid #fff;
- transform: rotate(45deg);
- }
- .title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 16px;
- font-weight: 500;
- }
- .flex { display: flex; }
- .between { justify-content: space-between; }
- .alcenter { align-items: center; }
- .tc { text-align: center; }
- .tr { text-align: right; }
- .mt10 { margin-top: 10px; }
- .mt30 { margin-top: 30px; }
- .pl10 { padding-left: 10px; }
- .pr10 { padding-right: 10px; }
- .pt10 { padding-top: 10px; }
- .h40 { height: 40px; }
- .lh40 { line-height: 40px; }
- .ft14 { font-size: 14px; }
- .white { color: #fff; }
- .bgwhite { background: #fff; }
- .flex1 { flex: 1; }
- .w90 { width: 90%; }
- .mauto { margin: 0 auto; }
- .radius4 { border-radius: 4px; }
- .radius28 { border-radius: 28px; }
- .bgBlue {
- margin-top: 20px;
- background: #ed4b39;
- cursor: pointer;
- }
- .bgBlue:active {
- opacity: 0.9;
- }
- .bdb_blue3 {
- border-bottom: 1px solid rgba(85, 89, 105, 0.12);
- }
- .input-uni {
- border: none;
- outline: none;
- background: transparent;
- }
- .bottom {
- padding: 0 20px;
- width: 100%;
- }
- .bottom ul {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- .bottom li {
- color: #666;
- font-size: 12px;
- line-height: 1.5;
- margin-bottom: 10px;
- padding-left: 15px;
- position: relative;
- }
- .bottom li::before {
- content: '';
- position: absolute;
- left: 0;
- top: 8px;
- width: 4px;
- height: 4px;
- background: #666;
- border-radius: 50%;
- }
- </style>
|