You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
29 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/lenovo/Desktop/uni-Identify-quality/pages/realName/realName.vue?2cd2","webpack:///C:/Users/lenovo/Desktop/uni-Identify-quality/pages/realName/realName.vue?e230","webpack:///C:/Users/lenovo/Desktop/uni-Identify-quality/pages/realName/realName.vue?8b81","webpack:///C:/Users/lenovo/Desktop/uni-Identify-quality/pages/realName/realName.vue?0f48","uni-app:///pages/realName/realName.vue","webpack:///C:/Users/lenovo/Desktop/uni-Identify-quality/pages/realName/realName.vue?1a8c"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uUpload","uIcon","uCheckboxGroup","uCheckbox","uButton","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","_self","_c","recyclableRender","staticRenderFns","_withStripped","i","data","name","num","checked","fileList","fileList2","video","isChecked","isFddSuccess","onShow","uni","tempVideoPath","watch","methods","changeName","changeNum","camera","url","completeRegistration","telNum","realNameIDName","realName","realIDImgA","realIDImgB","user","res","deletePic","deletePic2","afterRead","lists","fileListLen","item","status","result","afterRead2","uploadFilePromise","filePath","success","resolve","chenckId","fddRealName","mobile","customerName","customerIdentNo","checkFdd","agreementHandle"],"mappings":"kJAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,8BACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACX,UAAW,WACT,OAAO,yGAITC,QAAS,WACP,OAAO,yGAITC,MAAO,WACL,OAAO,qGAITC,eAAgB,WACd,OAAO,yHAITC,UAAW,WACT,OAAO,6GAITC,QAAS,WACP,OAAO,0GAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAEjBC,GAAmB,EACnBC,EAAkB,GACtBR,EAAOS,eAAgB,G,iCC1DvB,yHAAuqB,eAAG,G,gKC2F1qB,gQAAAC,EAAA,EAAAA,EAAA,iBAAAA,IAAA,uBAAAA,GAAA,UAAAA,GAAA,GAAAA,EAAA,sRACA,CACAC,gBACA,OACAC,QACAC,OACAC,WACAC,YACAC,aACAC,SACAC,aACAC,kBAYAC,kBAAA,0IACA,iBACAC,mCAAA,eACA,OAAAC,oCAAA,SACA,6CACAD,qCACAvB,oEAQA,0CAdA,IAiBAyB,OACAJ,yBACA,IACArB,uBACA,4CACA,0CACA,oDACA,sDACA,8CACAuB,+BAIAG,SACAC,uBACA,aAEAC,sBACA,YAEAC,kBACAN,cACAO,4CAGAC,gCAAA,kJAWA,GAVA/B,aACAgC,kCACAC,qBACAC,gBACAf,cACAgB,6DACAC,gEAEA,+BACA,+CAEA,oGACA,uFACA,wFACA,wGACA,wGACA,4GAEA,uBACAC,MACAL,kCACAC,qBACAC,gBACAf,cACAgB,6DACAC,iEAEA,QATAE,SAUA,aACAf,aACAO,0BAGA,0BACA,2CAnCA,IAuCAS,sBACA,oCAGAC,uBACA,qCAGAC,sBAAA,kJAEAC,oBACAC,uBACAD,mBACA,0BACAE,OACAC,mBACA/C,oBAGAc,IAAA,yDACA,6CAAAkC,SACAF,mBACA,0CACAC,iBACA/C,WACAgC,SAEAa,IAAA,QARA/B,IAAA,0DAXA,IAsBAmC,uBAAA,kJAEAL,oBACAC,wBACAD,mBACA,2BACAE,OACAC,mBACA/C,oBAGAc,IAAA,yDACA,qCAAAkC,SACAF,oBACA,2CACAC,iBACA/C,WACAgC,SAEAa,IAAA,QARA/B,IAAA,0DAXA,IAsBAoC,8BAAA,yEACA,gCACAzB,cACAO,8CACAmB,WACAnC,YACAoC,oBACA,mCACAC,KACA,aACA,qBAMAC,qBAAA,0JACA,uBAAAjB,eAAA,OAAAG,SACA,cACA,mBACA,wBAEA,8BACA,0CAPA,IASAe,uBAAA,mJACA,iGAUA,OATAxC,GACAE,UACAD,YACAG,oBACAC,sBACAC,eAEAnB,sBACAuB,2BACA+B,6BAAA,SACA,0BACAC,oBACAC,sBACAF,WACA,OAJAhB,SAKA,cACAf,sEACAA,cACAO,qCAGA,0BACA,2CAxBA,IA0BA2B,oBAAA,WACA,oDACA,gBAEA,OADA,+BACA,gBAEA,8BAIAC,4BACA,OACA3C,aACAD,eACAG,uBACAC,yBACAC,kBAEAI,2BACAA,cACAO,6CAIA,c,6DClUA,yHAAkxC,eAAG,G","file":"pages/realName/realName.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/realName/realName.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./realName.vue?vue&type=template&id=46c328a6&scoped=true&\"\nvar renderjs\nimport script from \"./realName.vue?vue&type=script&lang=js&\"\nexport * from \"./realName.vue?vue&type=script&lang=js&\"\nimport style0 from \"./realName.vue?vue&type=style&index=0&id=46c328a6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"46c328a6\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/realName/realName.vue\"\nexport default component.exports","export * from \"-!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./realName.vue?vue&type=template&id=46c328a6&scoped=true&\"","var components\ntry {\n components = {\n \"u-Input\": function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u--input/u--input\" */ \"@/uview-ui/components/u--input/u--input.vue\"\n )\n },\n uUpload: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-upload/u-upload\" */ \"@/uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n uIcon: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uCheckboxGroup: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uview-ui/components/u-checkbox/u-checkbox.vue\"\n )\n },\n uButton: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./realName.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./realName.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"main\">\r\n <view class=\"logo\">\r\n <image src=\"@/static/image/logo2.png\" mode=\"scaleToFill\" class=\"img\" />\r\n </view>\r\n <view class=\"container\">\r\n <view class=\"head\">\r\n <view style=\"display:flex; align-items: center;\">\r\n <view class=\"title\">注册手机号</view>\r\n <!-- <view :style=\"{ fontSize: '18rpx' }\">*实名认证失败</view> -->\r\n <!-- <view>*实名认证成功</view> -->\r\n </view>\r\n <view style=\"color:#7FA770;font-size:24rpx;margin-left:36rpx\">此实名仅用于注册该小程序</view>\r\n </view>\r\n <view class=\"info\">\r\n <view class=\"item\">\r\n <view class=\"name\">姓名</view>\r\n <u--input placeholder=\"请输入姓名\" border=\"none\" v-model=\"name\" @change=\"changeName\"></u--input>\r\n </view>\r\n <view class=\"item\">\r\n <view class=\"name\">身份证号</view>\r\n <u--input placeholder=\"请输入身份证号\" border=\"none\" v-model=\"num\" @change=\"changeNum\" clearable\r\n type=\"idcard\"></u--input>\r\n </view>\r\n </view>\r\n <view class=\"card-box\">\r\n <view class=\"color:#626262;font-size:28rpx\">身份证照片</view>\r\n <view style=\"display: flex;justify-content:space-between;margin-top:20rpx\">\r\n <view class=\"card\">\r\n <view>\r\n <u-upload :fileList=\"fileList\" @afterRead=\"afterRead\" @delete=\"deletePic\" name=\"1\" multiple\r\n :maxCount=\"1\" :width=\"'270rpx'\" :height=\"'158rpx'\" previewImage>\r\n <image src=\"@/static/image/card.png\" mode=\"scaleToFill\"\r\n style=\"width: 270rpx;height: 158rpx;\"></image>\r\n </u-upload>\r\n </view>\r\n <view style=\"color:#4E964D;font-size:20rpx;margin-top:20rpx\">上传身份证人像面</view>\r\n </view>\r\n <view class=\"card\">\r\n <view>\r\n <u-upload :fileList=\"fileList2\" @afterRead=\"afterRead2\" @delete=\"deletePic2\" name=\"1\" multiple\r\n :maxCount=\"1\" :width=\"'270rpx'\" :height=\"'158rpx'\">\r\n <image src=\"@/static/image/card2.png\" mode=\"scaleToFill\"\r\n style=\"width: 270rpx;height: 158rpx;\"></image>\r\n </u-upload>\r\n </view>\r\n <view style=\"color:#4E964D;font-size:20rpx;margin-top:20rpx\">上传身份证国徽面</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"face\">\r\n <view class=\"faceTitle\">人脸识别</view>\r\n <view class=\"recognition\" @click=\"camera\" v-if=\"!video\">\r\n <view style=\"color: #fff;margin-right:10rpx\">前往认证</view>\r\n <u-icon name=\"arrow-right-double\" color=\"#fff\"></u-icon>\r\n </view>\r\n <view class=\"recognition\" @click=\"camera\" v-else>\r\n <view style=\"color: #fff;margin-right:10rpx\">认证成功</view>\r\n <u-icon name=\"checkmark-circle\" color=\"#fff\"></u-icon>\r\n </view>\r\n </view>\r\n <view class=\"face\">\r\n <view class=\"faceTitle\">法大大认证</view>\r\n <view class=\"recognition\" @click=\"fddRealName\" v-if=\"!isFddSuccess\">\r\n <view style=\"color: #fff;margin-right:10rpx\">前往认证</view>\r\n <u-icon name=\"arrow-right-double\" color=\"#fff\"></u-icon>\r\n </view>\r\n <view class=\"recognition\" @click=\"fddRealName\" v-else>\r\n <view style=\"color: #fff;margin-right:10rpx\">认证成功</view>\r\n <u-icon name=\"checkmark-circle\" color=\"#fff\"></u-icon>\r\n </view>\r\n </view>\r\n <view class=\"agreement\">\r\n <u-checkbox-group v-model=\"checked\" iconPlacement=\"left\" placement=\"row\" inactiveColor=\"#76C458\">\r\n <u-checkbox name=\"yes\" shape=\"circle\" activeColor=\"#76C458\"></u-checkbox>\r\n <view class=\"know\">\r\n 已阅读并同意\r\n <text @click=\"agreementHandle('service')\">《软件许可及服务协议》</text>\r\n <text @click=\"agreementHandle('privacy')\">&《隐私保护政策》</text>\r\n </view>\r\n </u-checkbox-group>\r\n </view>\r\n <view style=\"width:284rpx;margin:20rpx auto\">\r\n <u-button text=\"完成注册\" shape=\"circle\" @click=\"completeRegistration\" color=\"#76C458\"></u-button>\r\n </view>\r\n </view>\r\n <!-- <u-loading-page bg-color=\"rgba(0, 0, 0, 0.8)\" loading-text=\"数据正在加载中\" :loading=\"show\"></u-loading-page> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport http from \"@/http/api\";\r\nexport default {\r\n data() {\r\n return {\r\n name: \"\",\r\n num: \"\",\r\n checked: [],\r\n fileList: [],\r\n fileList2: [],\r\n video: '',\r\n isChecked: false,\r\n isFddSuccess: false,\r\n // show:false\r\n };\r\n },\r\n // onLoad(options) {\r\n // console.log(this.isFddSuccess)\r\n // if (this.isFddSuccess) {\r\n // this.nextTick(() => {\r\n \r\n // })\r\n // }\r\n // },\r\n async onShow() {\r\n this.checkFdd()\r\n if (uni.getStorageSync('tempVideoPath')) {\r\n const tempVideoPath = uni.getStorageSync('tempVideoPath');\r\n this.video = await this.uploadFilePromise(tempVideoPath)\r\n uni.removeStorageSync(\"tempVideoPath\")\r\n console.log('this.video', this.video,uni.getStorageSync('tempVideoPath'))\r\n // const data = {\r\n // num: uni.getStorageSync(\"info\").num || '',\r\n // name: uni.getStorageSync(\"info\").name || '',\r\n // fileList: uni.getStorageSync(\"info\").fileList || [],\r\n // fileList2: uni.getStorageSync(\"info\").fileList2,\r\n // video: this.video\r\n // }\r\n // uni.setStorageSync(\"info\", data)\r\n }\r\n },\r\n watch:{\r\n isFddSuccess(newValue){\r\n if(newValue){\r\n console.log(9999999,newValue)\r\n this.name = uni.getStorageSync(\"info\").name || ''\r\n this.num = uni.getStorageSync(\"info\").num || ''\r\n this.fileList = uni.getStorageSync(\"info\").fileList || []\r\n this.fileList2 = uni.getStorageSync(\"info\").fileList2 || []\r\n this.video = uni.getStorageSync(\"info\").video || ''\r\n uni.removeStorageSync(\"info\")\r\n }\r\n }\r\n },\r\n methods: {\r\n changeName(value) {\r\n this.name = value;\r\n },\r\n changeNum(value) {\r\n this.num = value;\r\n },\r\n camera() {\r\n uni.navigateTo({\r\n url: '/pages/cameraContext/cameraContext'\r\n });\r\n },\r\n async completeRegistration() {\r\n console.log({\r\n telNum: uni.getStorageSync(\"telNum\"),\r\n realNameIDName: this.num,\r\n realName: this.name,\r\n video: this.video,\r\n realIDImgA: this.fileList[0]?.url,\r\n realIDImgB: this.fileList2[0]?.url\r\n })\r\n this.checkFdd().then((res) => {\r\n if (!res) return this.$common.msgToast(\"法大大验证未通过\")\r\n })\r\n if (!this.checked.length) return this.$common.msgToast(\"请阅读并勾选协议\");\r\n if (!this.name) return this.$common.msgToast(\"请输入姓名\");\r\n if (!this.num) return this.$common.msgToast(\"请输入身份证号\");\r\n if (!this.fileList.length) return this.$common.msgToast(\"请上传身份证人面像\");\r\n if (!this.fileList2.length) return this.$common.msgToast(\"请上传身份国徽面\");\r\n if (!this.video) return this.$common.msgToast(\"请上传人脸识别视频\");\r\n\r\n const res = await this.$api.login.register({\r\n user: {\r\n telNum: uni.getStorageSync(\"telNum\"),\r\n realNameIDName: this.num,\r\n realName: this.name,\r\n video: this.video,\r\n realIDImgA: this.fileList[0]?.url,\r\n realIDImgB: this.fileList2[0]?.url\r\n }\r\n })\r\n if (res.status === 0) {\r\n uni.switchTab({\r\n url: '/pages/home/index'\r\n });\r\n } else {\r\n this.$common.msgToast(res.msg)\r\n }\r\n\r\n },\r\n // 删除图片\r\n deletePic(event) {\r\n this[`fileList`].splice(event.index, 1)\r\n },\r\n // 删除图片\r\n deletePic2(event) {\r\n this[`fileList2`].splice(event.index, 1)\r\n },\r\n // 新增图片\r\n async afterRead(event) {\r\n // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式\r\n let lists = [].concat(event.file)\r\n let fileListLen = this[`fileList`].length\r\n lists.map((item) => {\r\n this[`fileList`].push({\r\n ...item,\r\n status: 'uploading',\r\n message: '上传中'\r\n })\r\n })\r\n for (let i = 0; i < lists.length; i++) {\r\n const result = await this.uploadFilePromise(lists[i].url, 'check')\r\n let item = this[`fileList`][fileListLen]\r\n this[`fileList`].splice(fileListLen, 1, Object.assign(item, {\r\n status: 'success',\r\n message: '',\r\n url: result\r\n }))\r\n fileListLen++\r\n }\r\n },\r\n async afterRead2(event) {\r\n // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式\r\n let lists = [].concat(event.file)\r\n let fileListLen = this[`fileList2`].length\r\n lists.map((item) => {\r\n this[`fileList2`].push({\r\n ...item,\r\n status: 'uploading',\r\n message: '上传中'\r\n })\r\n })\r\n for (let i = 0; i < lists.length; i++) {\r\n const result = await this.uploadFilePromise(lists[i].url)\r\n let item = this[`fileList2`][fileListLen]\r\n this[`fileList2`].splice(fileListLen, 1, Object.assign(item, {\r\n status: 'success',\r\n message: '',\r\n url: result\r\n }))\r\n fileListLen++\r\n }\r\n },\r\n uploadFilePromise(url, type = null) {\r\n return new Promise((resolve) => {\r\n uni.uploadFile({\r\n url: http.baseUrl + \"/api/wxuser/uploadpic\",\r\n filePath: url,\r\n name: \"file\",\r\n success: (res) => {\r\n const { path } = JSON.parse(res.data).data;\r\n resolve(path);\r\n if (type === 'check') {\r\n this.chenckId(path)\r\n }\r\n },\r\n });\r\n })\r\n },\r\n async chenckId(realIDImgA) {\r\n const res = await this.$api.login.chenckId({ realIDImgA })\r\n if (res.status === 0) {\r\n this.num = res.data.iDNum\r\n this.name = res.data.realName\r\n } else {\r\n this.$common.msgToast('未识别身份信息')\r\n }\r\n },\r\n async fddRealName() {\r\n if (!this.num || !this.name) return this.$common.msgToast('姓名和身份证号不能为空')\r\n const data = {\r\n num: this.num,\r\n name: this.name,\r\n fileList: this.fileList,\r\n fileList2: this.fileList2,\r\n video: this.video\r\n }\r\n console.log(data, 'data')\r\n uni.setStorageSync(\"info\", data)\r\n const mobile = uni.getStorageSync(\"telNum\")\r\n const res = await this.$api.login.fddRealName({\r\n customerName: this.name,\r\n customerIdentNo: this.num,\r\n mobile\r\n })\r\n if (res.status === 0) {\r\n uni.setStorageSync(\"fddUrl\", res.data?.url);\r\n uni.navigateTo({\r\n url: \"/pages/realName/FDDRegister\",\r\n });\r\n } else {\r\n this.$common.msgToast(res.msg)\r\n }\r\n },\r\n checkFdd() {\r\n return this.$api.login.checkFdd().then((res) => {\r\n if (res.status === 0) {\r\n this.isFddSuccess = res.data.isVerify\r\n return res.data.isVerify\r\n } else {\r\n this.$common.msgToast(res.msg)\r\n }\r\n })\r\n },\r\n agreementHandle(type) {\r\n const data = {\r\n num: this.num,\r\n name: this.name,\r\n fileList: this.fileList,\r\n fileList2: this.fileList2,\r\n video: this.video\r\n }\r\n uni.setStorageSync(\"info\", data)\r\n uni.navigateTo({\r\n url: \"/pages/realName/agreement?type=\" + type,\r\n });\r\n },\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n/deep/.u-checkbox__icon-wrap--circle {\r\n width: 30upx !important;\r\n height: 30upx !important;\r\n}\r\n\r\n/deep/ .u-checkbox-label--left {\r\n margin-top: 20rpx;\r\n}\r\n\r\n.main {\r\n background: url(\"@/static/image/login-bg.png\") no-repeat;\r\n box-sizing: border-box;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100vh;\r\n\r\n .logo {\r\n height: 200rpx;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n\r\n .img {\r\n width: 142rpx;\r\n height: 60rpx;\r\n }\r\n }\r\n\r\n .container {\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n box-sizing: border-box;\r\n height: calc(100vh - 200upx);\r\n width: 100%;\r\n background: #fff;\r\n border-radius: 40rpx 40rpx 0rpx 0rpx;\r\n padding: 62rpx 32rpx;\r\n\r\n .head {\r\n .title {\r\n color: #626262;\r\n font-size: 40rpx;\r\n margin-left: 36rpx;\r\n font-weight: 600;\r\n }\r\n }\r\n\r\n .info {\r\n margin-top: 24rpx;\r\n\r\n .item {\r\n box-sizing: border-box;\r\n background: #f8f8f8;\r\n border-radius: 20rpx;\r\n width: 100%;\r\n height: 92rpx;\r\n display: flex;\r\n align-items: center;\r\n padding-left: 24rpx;\r\n margin-bottom: 20rpx;\r\n\r\n .name {\r\n width: 200rpx;\r\n height: 72rpx;\r\n line-height: 72rpx;\r\n border-right: 1rpx solid #d1d1d1;\r\n }\r\n\r\n /deep/ .u-input {\r\n margin-left: 40rpx;\r\n }\r\n }\r\n }\r\n\r\n .card-box {\r\n width: 100%;\r\n height: 322rpx;\r\n background: #f8f8f8;\r\n padding: 32rpx 24rpx;\r\n box-sizing: border-box;\r\n\r\n .card {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n }\r\n }\r\n\r\n .face {\r\n margin-top: 20rpx;\r\n box-sizing: border-box;\r\n background: #f8f8f8;\r\n border-radius: 20rpx;\r\n width: 100%;\r\n height: 92rpx;\r\n display: flex;\r\n align-items: center;\r\n\r\n .faceTitle {\r\n width: 202rpx;\r\n height: 100%;\r\n padding: 26rpx 0 26rpx 24rpx;\r\n box-sizing: border-box;\r\n }\r\n\r\n .recognition {\r\n height: 92rpx;\r\n width: calc(100% - 202rpx);\r\n background: #76C458;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border-radius: 0 20rpx 20rpx 0;\r\n }\r\n }\r\n\r\n .agreement {\r\n font-size: 28rpx;\r\n margin: 46rpx auto;\r\n\r\n .know {\r\n margin-top: 20upx;\r\n font-size: 28upx;\r\n color: #a6a6a6;\r\n\r\n text {\r\n color: #76C458;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n</style> ","import mod from \"-!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./realName.vue?vue&type=style&index=0&id=46c328a6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./realName.vue?vue&type=style&index=0&id=46c328a6&lang=scss&scoped=true&\""],"sourceRoot":""}