certification.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. <template>
  2. <view class="page">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <view class="posi p-3 d-flex j-center">
  6. <view class="posi2">推荐关系</view>
  7. <view class="posi2 on">实名认证</view>
  8. </view>
  9. <view class="IDcardInfo p-3 mb-3" style="background-color: #FFFFFF;">
  10. <view class="cardImages d-flex j-sb">
  11. <view :class="(IdCardBefore=='')?'idCardBefore':'imageBorder'" @click="chooseImage('IdCardBefore')">
  12. <template v-if="IdCardBefore!=''">
  13. <image :src="IdCardBefore" mode="aspectFill"></image>
  14. </template>
  15. </view>
  16. <view :class="(IdCardAfter=='')?'idCardAfter':'imageBorder'" @click="chooseImage('IdCardAfter')">
  17. <template v-if="IdCardAfter!=''">
  18. <image :src="IdCardAfter" mode="aspectFill"></image>
  19. </template>
  20. </view>
  21. </view>
  22. <view class="d-flex a-center j-center"><text class="IDcardNotice main-text-color"
  23. @tap="showPopup(1)">点击查看证件上传实例</text></view>
  24. <view class="inputView d-flex">
  25. <view class="d-flex a-center">姓名</view>
  26. <view class="d-flex a-center"><input placeholder="请输入姓名" v-model="staffInfo.name" /></view>
  27. </view>
  28. <view class="inputView d-flex">
  29. <view class="d-flex a-center">性别</view>
  30. <view class="d-flex a-center" style="width: 100%;">
  31. <picker style="width: 100%;" @change="bindPickerChange($event,'sex')" :value="sexList[sexIndex]"
  32. :range="sexList">
  33. <view style="color: #999;font-size: 30upx;">{{sexList[sexIndex]}}</view>
  34. </picker>
  35. </view>
  36. <view style="color: #999;font-size: 28upx;padding-right: 20upx;flex-shrink: 0;"
  37. class="icon iconfont icon-youjiantou d-flex a-center"></view>
  38. </view>
  39. <view class="inputView d-flex">
  40. <view class="d-flex a-center">出生日期</view>
  41. <view class="d-flex a-center"><input placeholder="请输入出生日期" v-model="staffInfo.birthday" /></view>
  42. </view>
  43. <view class="inputView d-flex">
  44. <view class="d-flex a-center">户口所在地</view>
  45. <view class="d-flex a-center"><input placeholder="请输入户口所在地" type="Textarea"
  46. v-model="staffInfo.addressresident" /></view>
  47. </view>
  48. <view class="inputView d-flex">
  49. <view class="d-flex a-center">证件号码</view>
  50. <view class="d-flex a-center"><input placeholder="请输入证件号码" @blur="validateIdCard"
  51. v-model="staffInfo.identity" /> </view>
  52. </view>
  53. <view class="inputView d-flex">
  54. <view class="d-flex a-center">民族</view>
  55. <view class="d-flex a-center" style="width: 100%;">
  56. <picker style="width: 100%;" @change="bindPickerChange($event,'nations')"
  57. :value="nationsList[nationsIndex]" :range="nationsList">
  58. <view style="color: #999;font-size: 30upx;">{{nationsList[nationsIndex]}}</view>
  59. </picker>
  60. </view>
  61. <view style="color: #999;font-size: 28upx;padding-right: 20upx;flex-shrink: 0;"
  62. class="icon iconfont icon-youjiantou d-flex a-center"></view>
  63. </view>
  64. <view class="inputView d-flex">
  65. <view class="d-flex a-center">学历</view>
  66. <view class="d-flex a-center" style="width: 100%;">
  67. <picker style="width: 100%;" @change="bindPickerChange($event,'education')"
  68. :value="educationList[educationIndex]" :range="educationList">
  69. <view style="color: #999;font-size: 30upx;">{{educationList[educationIndex]}}</view>
  70. </picker>
  71. </view>
  72. <view style="color: #999;font-size: 28upx;padding-right: 20upx;flex-shrink: 0;"
  73. class="icon iconfont icon-youjiantou d-flex a-center"></view>
  74. </view>
  75. <view class="inputView d-flex">
  76. <view class="d-flex a-center">居住地址</view>
  77. <view class="d-flex a-center"><input placeholder="请输入通讯地址" v-model="staffInfo.addressnow" /> </view>
  78. </view>
  79. <view class="inputView d-flex">
  80. <view class="d-flex a-center">毕业院校</view>
  81. <view class="d-flex a-center"><input placeholder="请输入毕业院校" v-model="staffInfo.college" /> </view>
  82. </view>
  83. <view class="inputView d-flex">
  84. <view class="d-flex a-center">邮箱号</view>
  85. <view class="d-flex a-center"><input placeholder="请输入邮箱号" v-model="staffInfo.email" /> </view>
  86. </view>
  87. <view class="inputView d-flex">
  88. <view class="d-flex a-center">婚姻状况</view>
  89. <view class="d-flex a-center" style="width: 100%;">
  90. <picker style="width: 100%;" @change="bindPickerChange($event,'marrycode')"
  91. :value="marrycodeList[marrycodeIndex]" :range="marrycodeList">
  92. <view style="color: #999;font-size: 30upx;">{{marrycodeList[marrycodeIndex]}}</view>
  93. </picker>
  94. </view>
  95. <view style="color: #999;font-size: 28upx;padding-right: 20upx;flex-shrink: 0;"
  96. class="icon iconfont icon-youjiantou d-flex a-center"></view>
  97. </view>
  98. <view class="inputView d-flex">
  99. <view class="d-flex a-center">血型</view>
  100. <view class="d-flex a-center" style="width: 100%;">
  101. <picker style="width: 100%;" @change="bindPickerChange($event,'blood')"
  102. :value="bloodList[bloodIndex]" :range="bloodList">
  103. <view style="color: #999;font-size: 30upx;">{{bloodList[bloodIndex]}}</view>
  104. </picker>
  105. </view>
  106. <view style="color: #999;font-size: 28upx;padding-right: 20upx;flex-shrink: 0;"
  107. class="icon iconfont icon-youjiantou d-flex a-center"></view>
  108. </view>
  109. <view class="inputView d-flex">
  110. <view class="d-flex a-center">政治面貌</view>
  111. <view class="d-flex a-center" style="width: 100%;">
  112. <picker style="width: 100%;" @change="bindPickerChange($event,'politicalstatus')"
  113. :value="politicalstatusList[politicalstatusIndex]" :range="politicalstatusList">
  114. <view style="color: #999;font-size: 30upx;">{{politicalstatusList[politicalstatusIndex]}}</view>
  115. </picker>
  116. </view>
  117. <view style="color: #999;font-size: 28upx;padding-right: 20upx;flex-shrink: 0;"
  118. class="icon iconfont icon-youjiantou d-flex a-center"></view>
  119. </view>
  120. <view class="inputView d-flex">
  121. <view class="d-flex a-center">紧急联系人姓名</view>
  122. <view class="d-flex a-center"><input placeholder="请输入紧急联系人姓名" v-model="staffInfo.namespecial" /> </view>
  123. </view>
  124. <view class="inputView d-flex">
  125. <view class="d-flex a-center">紧急联系人电话</view>
  126. <view class="d-flex a-center"><input placeholder="请输入紧急联系人电话" v-model="staffInfo.phonespecial" />
  127. </view>
  128. </view>
  129. <view class="inputView d-flex">
  130. <view class="d-flex a-center">开户行</view>
  131. <view class="d-flex a-center"><input disabled placeholder="系统自动识别" v-model="staffInfo.bankname" />
  132. </view>
  133. </view>
  134. <view class="inputView d-flex">
  135. <view class="d-flex a-center">银行卡号</view>
  136. <view class="d-flex a-center"><input placeholder="请输入银行卡号" @blur="validateBankCard"
  137. v-model="staffInfo.accountno" /> </view>
  138. </view>
  139. </view>
  140. <z-popup v-model="popupShow" :hideOnBlur="false" type="center" width="600upx" radius="12upx">
  141. <view class="popup_title">
  142. <text @click="popupShow = false">取消</text>
  143. <view>{{(popupType=='1')?'证件上传实例':'指定开户行'}}</view>
  144. <text @click="popupShow = false">确定</text>
  145. </view>
  146. <view class="popup_content">
  147. <view class="body d-flex a-center j-center">
  148. <template v-if="popupType=='1'">
  149. <image src="/static/image/certification/certification.jpg" mode="widthFix"></image>
  150. </template>
  151. <template v-if="popupType=='2'">
  152. <view>中国建设银行(储蓄卡)</view>
  153. </template>
  154. </view>
  155. </view>
  156. </z-popup>
  157. <button class="mx-3 my-5 d-flex a-center j-center main-bg-color" type="primary" @tap="submit">提 交</button>
  158. </view>
  159. </template>
  160. <script>
  161. import {
  162. mapState,
  163. mapMutations
  164. } from "vuex"
  165. import bankBin from "@/common/bankcardinfo.js"
  166. import {
  167. pathToBase64,
  168. base64ToPath
  169. } from '@/common/image-tools-base64.js';
  170. import zPopup from "@/components/common/z-popup.vue"
  171. export default {
  172. components: {
  173. zPopup
  174. },
  175. data() {
  176. return {
  177. popupShow: false, //弹窗开启关闭
  178. popupType: 1, //表示证件上传,2表示银行卡指定开户行
  179. IdCardBefore: "", //身份证正影像
  180. IdCardAfter: "", //身份证反影像
  181. bankCard: "", //银行卡影像
  182. validateBankCardStatus: false, //银行卡验证状态
  183. //民族
  184. nationsList: ['汉族', '壮族', '满族', '回族', '苗族', '维吾尔族', '土家族', '彝族', '蒙古族', '藏族', '布依族', '侗族', '瑶族', '朝鲜族',
  185. '白族', '哈尼族', '哈萨克族', '黎族', '傣族', '畲族', '傈僳族', '仡佬族', '东乡族', '高山族', '拉祜族', '水族', '佤族', '纳西族', '羌族',
  186. '土族', '仫佬族', '锡伯族', '柯尔克孜族', '达斡尔族', '景颇族', '毛南族', '撒拉族', '布朗族', '塔吉克族', '阿昌族', '普米族', '鄂温克族',
  187. '怒族', '京族', '基诺族', '德昂族', '保安族', '俄罗斯族', '裕固族', '乌兹别克族', '门巴族', '鄂伦春族', '独龙族', '塔塔尔族', '赫哲族', '珞巴族'
  188. ],
  189. nationsIndex: 0,
  190. userLoginId: "",
  191. //学历
  192. educationList: ["小学", "初中", "高中", "专科", "本科", "硕士", "博士"],
  193. educationIndex: 0,
  194. // 婚姻状况
  195. marrycodeList: ["未婚", "已婚", "离异", "再婚"],
  196. marrycodeIndex: 0,
  197. //政治面貌
  198. politicalstatusList: ["群众", "共青团员", "中共党员"],
  199. politicalstatusIndex: 0,
  200. //血型
  201. bloodList: ["A型", "B型", "O型", "AB型"],
  202. bloodIndex: 0,
  203. sexList: ["男", "女"],
  204. sexIndex: 0,
  205. staffInfo: {
  206. id: "",
  207. name: "", //姓名
  208. sex: "", //性别
  209. birthday: "", //出生日期
  210. addressresident: "", //户口地址
  211. email: "", //邮箱
  212. identity: '', //身份证号
  213. college: "", //毕业院校
  214. accountno: '', //开户账号
  215. bankname: '', //开户行
  216. namespecial: '', //紧急联系人姓名
  217. phonespecial: '', //紧急联系人电话
  218. marrycode: '未婚', //婚姻状况
  219. blood: 'A型', //血型
  220. education: '小学', //学历
  221. addressnow: '', //居住地址
  222. nations: '汉族', //民族
  223. politicalstatus: '群众', //政治面貌
  224. }
  225. }
  226. },
  227. async onLoad() {
  228. this.staffInfo.id = this.userInfo.sysUser.id;
  229. let res = await this.$http.get('/apps/getApplicationInfo?jobNumber=' + this.staffInfo.id);
  230. if (res.code == 200) {
  231. console.log(res)
  232. this.staffInfo = res.data;
  233. }
  234. },
  235. computed: {
  236. ...mapState(["userInfo", "userCheckInfo"]),
  237. },
  238. methods: {
  239. ...mapMutations(['setUserModules']),
  240. // 下拉选择
  241. bindPickerChange(e, type) {
  242. this[type + 'Index'] = e.detail.value;
  243. this.staffInfo[type] = this[type + 'List'][this[type + 'Index']];
  244. },
  245. // 验证身份证号
  246. validateIdCard() {
  247. var that = this;
  248. that.staffInfo.birthday = "";
  249. that.staffInfo.sex = "";
  250. let mPattern = /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X|x)$/;
  251. let validateResult = mPattern.test(this.staffInfo.identity);
  252. if (validateResult) {
  253. let upperCaseValue = this.staffInfo.identity.toUpperCase();
  254. var such = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
  255. var sum = 0;
  256. for (var i = 0; i < upperCaseValue.length - 1; i++) {
  257. var product = upperCaseValue[i] * such[i];
  258. sum += product;
  259. }
  260. var result = sum % 11;
  261. var example = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'];
  262. if (upperCaseValue[17] == example[result]) {
  263. that.staffInfo.identity = upperCaseValue;
  264. that.staffInfo.birthday = upperCaseValue.substr(6, 4) + '-' + upperCaseValue.substr(10, 2) + '-' +
  265. upperCaseValue.substr(12, 2);
  266. that.staffInfo.sex = (upperCaseValue.substr(16, 1) % 2 == 0) ? '女' : '男';
  267. return true;
  268. } else {
  269. return false;
  270. }
  271. } else {
  272. return false;
  273. }
  274. },
  275. // 验证银行卡号
  276. validateBankCard() {
  277. var that = this;
  278. that.staffInfo.bankname = "";
  279. bankBin.getBankBin(this.staffInfo.accountno)
  280. .then((data) => {
  281. that.staffInfo.bankname = data.bankName;
  282. if (data.bankCode == "CCB" && data.cardType == "DC") {
  283. that.validateBankCardStatus = true;
  284. } else {
  285. that.validateBankCardStatus = false;
  286. uni.showToast({
  287. title: '请选择中国建设银行储蓄卡',
  288. icon: "none",
  289. duration: 2000
  290. });
  291. }
  292. })
  293. .catch((err) => {
  294. that.validateBankCardStatus = false;
  295. uni.showToast({
  296. title: err.split(":")[1],
  297. icon: "none"
  298. });
  299. })
  300. },
  301. async chooseImage(type) {
  302. let [err, chooseImageRes] = await uni.chooseImage({
  303. count: 1,
  304. sizeType: ['compressed']
  305. });
  306. if (!chooseImageRes) return;
  307. // 上传
  308. const isLt2M = chooseImageRes.tempFiles[0].size / 1024 / 1024 < 2;
  309. if (!isLt2M) {
  310. return uni.showToast({
  311. title: '上传图片大小不能超过 2M!',
  312. icon: "none"
  313. });
  314. }
  315. pathToBase64(chooseImageRes.tempFilePaths[0])
  316. .then(async base64 => {
  317. this[type] = base64;
  318. if (type == 'IdCardBefore') {
  319. var paramImg = {
  320. "image": base64, //图片base64
  321. "imgType": "1" //1身份证 2表示行驶证
  322. }
  323. let imgRes = await this.$http.post('/api/huanong/imgAI', paramImg, {
  324. timeout: 30000
  325. });
  326. if (!!imgRes.data.customerInfo && !!imgRes.data.customerInfo.identifyNumber) {
  327. this.staffInfo.name = imgRes.data.customerInfo.name; //姓名
  328. this.staffInfo.identity = imgRes.data.customerInfo.identifyNumber; //身份证号
  329. this.staffInfo.sex = imgRes.data.customerInfo.identifyIssuedCom; //性别
  330. this.staffInfo.birthday = imgRes.data.customerInfo.identifyValidDate; //出生日期
  331. this.staffInfo.addressresident = imgRes.data.customerInfo.addr; //户口所在地
  332. } else {
  333. return uni.showToast({
  334. title: '请上传正确的证件',
  335. icon: "none"
  336. });
  337. }
  338. }
  339. })
  340. },
  341. showPopup(type) {
  342. this.popupShow = true;
  343. this.popupType = type;
  344. },
  345. // 验证手机号码
  346. isPhone() {
  347. let mPattern = /^1[3456789]\d{9}$/;
  348. return mPattern.test(this.staffInfo.phonespecial);
  349. },
  350. // 验证邮箱
  351. isEmail() {
  352. let mPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
  353. return mPattern.test(this.staffInfo.email);
  354. },
  355. // 验证名字
  356. isName() {
  357. let mPattern = /^([\u4e00-\u9fa5]{1,6}|[a-zA-Z\.\s]{1,6})$/;
  358. return mPattern.test(this.staffInfo.name);
  359. },
  360. isNamespecial() {
  361. let mPattern = /^([\u4e00-\u9fa5]{1,6}|[a-zA-Z\.\s]{1,6})$/;
  362. return mPattern.test(this.staffInfo.namespecial);
  363. },
  364. async submit() {
  365. if (this.IdCardBefore == "") {
  366. return uni.showToast({
  367. title: '请上传身份证正面影像',
  368. icon: "none"
  369. });
  370. }
  371. if (!this.isName()) {
  372. return uni.showToast({
  373. title: '请输入正确的姓名',
  374. icon: "none"
  375. });
  376. }
  377. if (!this.validateIdCard()) {
  378. return uni.showToast({
  379. title: '请输入正确的身份证号',
  380. icon: "none"
  381. });
  382. }
  383. if (this.staffInfo.addressnow == "") {
  384. return uni.showToast({
  385. title: '请输入居住地址',
  386. icon: "none"
  387. });
  388. }
  389. if (!this.isNamespecial()) {
  390. return uni.showToast({
  391. title: '请输入正确的紧急联系人姓名',
  392. icon: "none"
  393. });
  394. }
  395. if (!this.isPhone()) {
  396. return uni.showToast({
  397. title: '请输入紧急联系人电话',
  398. icon: "none"
  399. });
  400. }
  401. //验证银行卡号
  402. await this.validateBankCard();
  403. if (!this.validateBankCardStatus) {
  404. uni.showToast({
  405. title: '请输入正确的银行卡号',
  406. icon: "none"
  407. });
  408. return;
  409. }
  410. var info = {
  411. sysUser: {},
  412. esmUserInternal: {},
  413. esmUserAgent: {}
  414. };
  415. Object.assign(info.sysUser, this.userCheckInfo.sysUser)
  416. Object.assign(info.esmUserInternal, this.userCheckInfo.esmUserInternal)
  417. Object.assign(info.esmUserAgent, this.userCheckInfo.esmUserAgent)
  418. info.sysUser.name = this.staffInfo.name; //姓名
  419. info.sysUser.email = this.staffInfo.email; //邮箱
  420. info.sysUser.sex = this.staffInfo.sex; //性别
  421. info.sysUser.jobCode = "17";
  422. info.esmUserInternal.birthday = this.staffInfo.birthday; //出生日期
  423. info.esmUserInternal.isteamleader = '0';
  424. info.esmUserInternal.addressnow = this.staffInfo.addressnow; //
  425. info.esmUserInternal.addressresident = this.staffInfo.addressresident; //户口地址
  426. info.esmUserInternal.college = this.staffInfo.college; //毕业院校
  427. info.esmUserInternal.identity = this.staffInfo.identity; //
  428. info.esmUserInternal.accountno = this.staffInfo.accountno; //
  429. info.esmUserInternal.bankname = this.staffInfo.bankname; //
  430. info.esmUserInternal.namespecial = this.staffInfo.namespecial; //
  431. info.esmUserInternal.phonespecial = this.staffInfo.phonespecial; //
  432. info.esmUserInternal.marrycode = this.staffInfo.marrycode; //
  433. info.esmUserInternal.blood = this.staffInfo.blood; //
  434. info.esmUserInternal.education = this.staffInfo.education; //
  435. info.esmUserInternal.nations = this.staffInfo.nations; //
  436. info.esmUserInternal.politicalstatus = this.staffInfo.politicalstatus; //
  437. // 修改并保存人员信息
  438. let res = await this.$http.post('/apps/certification', this.staffInfo);
  439. if (res.code == 200) {
  440. //保存临时数据到本地
  441. this.setUserModules({
  442. title: 'sysUser',
  443. data: info
  444. })
  445. var params1 = {
  446. taskid: this.userInfo.sysUser.id,
  447. imgtype: "T1",
  448. imgList: [this.IdCardBefore]
  449. }
  450. await this.$http.post('/insTaskImage/save', params1);
  451. var params2 = {
  452. taskid: this.userInfo.sysUser.id,
  453. imgtype: "T2",
  454. imgList: [this.IdCardAfter]
  455. }
  456. await this.$http.post('/insTaskImage/save', params2);
  457. uni.showToast({
  458. title: '提交成功',
  459. icon: "none",
  460. duration: 1000
  461. });
  462. this.setUserModules({
  463. title: 'userStatus',
  464. data: '2'
  465. })
  466. setTimeout(() => {
  467. return uni.reLaunch({
  468. url: "/pages/index/index"
  469. })
  470. }, 500);
  471. } else if (res.code == 500) {
  472. uni.showToast({
  473. title: '已提交过实名认证',
  474. icon: "none",
  475. duration: 2000
  476. });
  477. } else {
  478. uni.showToast({
  479. title: '系统错误',
  480. icon: "none",
  481. duration: 2000
  482. });
  483. }
  484. }
  485. }
  486. }
  487. </script>
  488. <style lang="scss" scoped>
  489. @import '@/style/mixin.scss';
  490. .idCardBefore {
  491. background: rgba($themeColor, 0.1) url('/static/image/user/identy2.png') center center no-repeat;
  492. background-size: auto 70%;
  493. padding: 10upx;
  494. }
  495. .idCardAfter {
  496. background: rgba($themeColor, 0.1) url('/static/image/user/identy1.png') center center no-repeat;
  497. background-size: auto 70%;
  498. padding: 10upx;
  499. }
  500. .bankCardImage {
  501. background: rgba($themeColor, 0.1) url('/static/image/user/card.png') center center no-repeat;
  502. background-size: auto 70%;
  503. padding: 10upx;
  504. }
  505. .imageBorder {
  506. border: 2px solid #ddd;
  507. padding: 10upx;
  508. }
  509. .posi {
  510. counter-reset: num;
  511. }
  512. .posi2 {
  513. position: relative;
  514. display: inline-block;
  515. height: 40rpx;
  516. line-height: 40rpx;
  517. text-align: right;
  518. padding-right: 15rpx;
  519. width: 140rpx;
  520. border-radius: 30rpx;
  521. border: 1px solid #F0F0F0;
  522. background: #F0F0F0;
  523. margin-left: 30rpx;
  524. color: #999;
  525. font-size: 24rpx;
  526. }
  527. .posi2.on {
  528. border: 1px solid $themeColor;
  529. background: #FFFFFF;
  530. color: $themeColor;
  531. }
  532. .posi2:before {
  533. position: absolute;
  534. display: block;
  535. left: 2rpx;
  536. top: 6rpx;
  537. width: 28rpx;
  538. height: 28rpx;
  539. border-radius: 100%;
  540. background: #fff;
  541. color: #999;
  542. counter-increment: num;
  543. content: counter(num);
  544. text-align: center;
  545. line-height: 28rpx;
  546. }
  547. .posi2.on:before {
  548. background: $themeColor;
  549. color: #FFF;
  550. }
  551. .posi>view:nth-of-type(1):after {
  552. position: absolute;
  553. display: block;
  554. content: "";
  555. right: -20rpx;
  556. top: 12rpx;
  557. width: 16rpx;
  558. height: 16rpx;
  559. border-top: 1px solid #eee;
  560. border-right: 1px solid #eee;
  561. transform: rotate(45deg);
  562. }
  563. .posi>.posi2:nth-of-type(1) {
  564. margin-left: 0;
  565. }
  566. .cardImages>view {
  567. width: 310rpx;
  568. height: 260rpx;
  569. }
  570. .cardImages>view>image {
  571. width: 100%;
  572. height: 100%;
  573. }
  574. .IDcardInfo .IDcardNotice,
  575. .BankCardInfo .BankCardNotice {
  576. text-align: center;
  577. height: 110rpx;
  578. line-height: 110rpx;
  579. }
  580. .inputView {
  581. border-bottom: 1px solid #ddd;
  582. height: 90upx;
  583. }
  584. .inputView>view:nth-of-type(1) {
  585. flex-shrink: 0;
  586. font-size: 32upx;
  587. width: 135px;
  588. padding-left: 12px;
  589. color: #333;
  590. }
  591. .inputView>view:nth-of-type(2)>input {
  592. font-size: 30upx;
  593. color: #999;
  594. }
  595. .BankCardInfo {
  596. background-color: #FFFFFF;
  597. padding: 30upx;
  598. }
  599. .popup_box {
  600. width: 100%;
  601. // border-radius: 12upx;
  602. }
  603. .popup_title {
  604. display: flex;
  605. justify-content: space-between;
  606. height: 88upx;
  607. line-height: 88upx;
  608. border-bottom: 2upx solid #ebebeb;
  609. padding: 0 20upx;
  610. background-color: #FFF;
  611. }
  612. .popup_title view {
  613. font-size: 32upx;
  614. display: flex;
  615. align-items: center;
  616. }
  617. .popup_title text {
  618. width: 80upx;
  619. flex-shrink: 0;
  620. text-align: center;
  621. }
  622. .popup_title text {
  623. font-size: 28upx;
  624. color: #999;
  625. }
  626. .popup_title text:last-child {
  627. color: $themeColor;
  628. }
  629. .popup_content {
  630. padding: 40rpx 30rpx;
  631. background-color: #FFFFFF;
  632. text-align: center;
  633. }
  634. .popup_content .body {
  635. padding: 20upx 30upx;
  636. }
  637. .popup_content .body image {
  638. width: 540upx;
  639. }
  640. </style>