info.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. <template>
  2. <view class="content">
  3. <uni-card class="card">
  4. <uni-section title="基本信息" type="line">
  5. <view>
  6. <view class="lzcOCR">
  7. <view class="imgBox">
  8. <image :src="zjcaijianSrc" style="width: 40vw;" mode="widthFix">
  9. </image>
  10. <view class="text">拍摄人像面</view>
  11. </view>
  12. <view class="imgBox">
  13. <image :src="zjcaijianSrcFan" style="width: 40vw;" mode="widthFix">
  14. </image>
  15. <view class="text">拍摄国徽面</view>
  16. </view>
  17. </view>
  18. </view>
  19. <uni-forms ref="baseForm" :modelValue="baseFormData" :rules="rules" style="margin-top: 5vh;">
  20. <uni-forms-item label="姓名" required name="lrXm">
  21. <uni-easyinput ref="xm" type="text" :disabled="disabled" v-model="baseFormData.lrXm" placeholder="请输入姓名"
  22. :inputBorder="true"></uni-easyinput>
  23. </uni-forms-item>
  24. <uni-forms-item label="手机号" required name="lrCydh">
  25. <uni-easyinput type="text" v-model="baseFormData.lrCydh" placeholder="请输入手机号" :inputBorder="true"></uni-easyinput>
  26. </uni-forms-item>
  27. <uni-forms-item label="监护人姓名">
  28. <uni-easyinput ref="xm" type="text" v-model="baseFormData.jhrxm" placeholder="请输入监护人姓名" :inputBorder="true"></uni-easyinput>
  29. </uni-forms-item>
  30. <uni-forms-item label="监护人联系电话" name="jhrlxdh">
  31. <uni-easyinput type="text" v-model="baseFormData.jhrlxdh" placeholder="请输入监护人联系电话" :inputBorder="true"></uni-easyinput>
  32. </uni-forms-item>
  33. <uni-forms-item label="街道社区">
  34. <uni-easyinput type="text" v-model="diqu" @focus="toggle('bottom')" placeholder="请选择街道社区" :clearable="false"></uni-easyinput>
  35. </uni-forms-item>
  36. <uni-forms-item label="住址" required name="jzdz">
  37. <uni-easyinput type="text" v-model="baseFormData.jzdz" placeholder="请输入住址" :inputBorder="true"></uni-easyinput>
  38. </uni-forms-item>
  39. <uni-forms-item label="是否特困">
  40. <uni-data-checkbox v-model="baseFormData.istk" :localdata="radioData" @change="radioChange('tkzmList',$event)"></uni-data-checkbox>
  41. </uni-forms-item>
  42. <uni-forms-item label="特困证明" v-if="baseFormData.istk == 1">
  43. <myfile :zczmList="tkzmList" @recordsChange="tkChange"></myfile>
  44. </uni-forms-item>
  45. <uni-forms-item label="是否低保">
  46. <uni-data-checkbox v-model="baseFormData.isdb" :localdata="radioData" @change="radioChange('dbzmList',$event)"></uni-data-checkbox>
  47. </uni-forms-item>
  48. <uni-forms-item label="低保证明" v-if="baseFormData.isdb == 1">
  49. <myfile :zczmList="dbzmList" @recordsChange="dbChange"></myfile>
  50. </uni-forms-item>
  51. <uni-forms-item label="是否重残">
  52. <uni-data-checkbox v-model="baseFormData.iszc" :localdata="radioData" @change="radioChange('zczmList',$event)"></uni-data-checkbox>
  53. </uni-forms-item>
  54. <uni-forms-item label="重残证明" v-if="baseFormData.iszc == 1">
  55. <!-- <uni-file-picker v-model="zczm" @select="imgSelect3" @delete="imgDelete3"></uni-file-picker> -->
  56. <myfile :zczmList="zczmList" @recordsChange="zcChange"></myfile>
  57. </uni-forms-item>
  58. <uni-forms-item v-if="baseFormData.lrSpyj" label="审核意见" name="lrSpyj">
  59. <uni-easyinput ref="lrSpyj" v-model="baseFormData.lrSpyj" type="textarea" disabled placeholder="请输入审核意见" />
  60. </uni-forms-item>
  61. <view>
  62. <!-- <button cursor-spacing="22px" class="buttonClass" @click="ht()">刷脸激活</button> -->
  63. <button cursor-spacing="22px" class="buttonClass" @click="preSave()">修改</button>
  64. </view>
  65. </uni-forms>
  66. </uni-section>
  67. </uni-card>
  68. <view>
  69. <!-- 普通弹窗 -->
  70. <uni-popup ref="popup" background-color="#fff">
  71. <picker-view :indicator-style="indicatorStyle" @change="bindChange" class="picker-view">
  72. <picker-view-column>
  73. <view class="item" v-for="(item,index) in jiedaoData" :key="index">{{item.label}}</view>
  74. </picker-view-column>
  75. <picker-view-column>
  76. <view class="item" v-for="(item,index) in shequData" :key="index">{{item.label}}</view>
  77. </picker-view-column>
  78. </picker-view>
  79. </uni-popup>
  80. </view>
  81. </view>
  82. </template>
  83. <script>
  84. import myfile from '@/components/my-file/my-file.vue';
  85. import {
  86. decryptRowData_ECB,
  87. decryptData_ECB
  88. } from '@/common/sm4.js'
  89. import {
  90. GetChildListByCode
  91. } from '@/api/dict.js'
  92. import {
  93. showConfirm,
  94. getDictInfo,
  95. toast,
  96. toBase64
  97. } from '@/common/common.js'
  98. import {
  99. UploadOne,
  100. UploadSome,
  101. UploadSomeFile
  102. } from '@/api/upload.js'
  103. import {
  104. Register
  105. } from '@/api/login.js'
  106. import {
  107. getUser
  108. } from '@/common/auth.js'
  109. import CryptoJS from 'crypto-js';
  110. import config from '@/config.js';
  111. import idCardNoUtil from '@/common/idcard.js'
  112. import {
  113. translate,
  114. base64ToUrl,
  115. blobToDataURI,
  116. translateAll,
  117. base64toFilen,
  118. fileToBlob
  119. } from '@/common/image.js'
  120. import {
  121. setToken,
  122. setOpenid,
  123. getOpenid,
  124. setUser
  125. } from '@/common/auth.js'
  126. import {
  127. getAccessToken,
  128. idcard,
  129. match
  130. } from '@/common/baiduUtil.js'
  131. import {
  132. updateKhjbxx,
  133. infoKhjbxx,
  134. GetLrByZjhm,
  135. SaveKhjbxx,
  136. GetUrl
  137. } from '@/api/kh.js'
  138. export default {
  139. components: {
  140. myfile
  141. },
  142. data() {
  143. return {
  144. id: '',
  145. diqu: '',
  146. item: {},
  147. tkzmList: [],
  148. dbzmList: [],
  149. zczmList: [],
  150. isCheck: false,
  151. indicatorStyle: `height: 50px;`,
  152. jiedaoData: [],
  153. shequData: [],
  154. jiedaoValue: {},
  155. shequValue: {},
  156. shequIndex: 0,
  157. jiedaoIndex: 0,
  158. disabled: true,
  159. show: false,
  160. radio: "0",
  161. radioData: [{
  162. text: '否',
  163. value: "0"
  164. }, {
  165. text: '是',
  166. value: "1"
  167. }],
  168. // 字典
  169. dicts: {
  170. // 民族
  171. C0009: [],
  172. // 性别
  173. C0007: [],
  174. },
  175. // 百度云access_token
  176. token: '',
  177. // 人像地址
  178. src: "/static/images/head.png",
  179. // 身份拍摄地址
  180. zjSrc: "",
  181. // 身份证裁剪地址
  182. zjcaijianSrc: '/static/images/zhengmian.png',
  183. zjcaijianSrcFan: '/static/images/fanmian.png',
  184. cardType: 'front',
  185. frontBase64: '',
  186. backBase64: '',
  187. file1: "",
  188. file2: "",
  189. file3: "",
  190. file4: "",
  191. file5: "",
  192. file6: "",
  193. showSrc: "",
  194. // 人员信息
  195. userInfo: {},
  196. userType: '',
  197. // 组
  198. groupId: '',
  199. // 身份证号加密
  200. idcardMD5: '',
  201. // 人像base64
  202. faceBase64: '',
  203. // 身份证base64
  204. idcardFace: '',
  205. idcardFaceUrl: '',
  206. // 对比份数
  207. score: 0,
  208. // ocrXm
  209. ocrXm: '',
  210. isSearch: false,
  211. baseFormData: {
  212. lrXm: '',
  213. lrZjhm: '',
  214. lrHjbcxx: '',
  215. lrCydh: '',
  216. code: '',
  217. diqu: '',
  218. lrHjdz: '',
  219. istk: "0",
  220. isdb: "0",
  221. iszc: "0",
  222. lzzt: 0,
  223. lrZjz: ""
  224. },
  225. rules: {
  226. jzdz: {
  227. rules: [{
  228. required: true,
  229. errorMessage: '住址不能为空'
  230. }]
  231. },
  232. lrXm: {
  233. rules: [{
  234. required: true,
  235. errorMessage: '姓名不能为空'
  236. }]
  237. },
  238. diqu: {
  239. rules: [{
  240. required: true,
  241. errorMessage: '请选择地区'
  242. }]
  243. },
  244. photo: {
  245. rules: [{
  246. required: true,
  247. errorMessage: '请上传人像'
  248. }]
  249. },
  250. lrCydh: {
  251. rules: [{
  252. required: true,
  253. errorMessage: '手机号不能为空'
  254. },
  255. {
  256. format: 'number',
  257. errorMessage: '请输入正确的手机号',
  258. },
  259. {
  260. pattern: '^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\\d{8})$',
  261. errorMessage: '请输入正确的手机号',
  262. }
  263. ]
  264. },
  265. jhrlxdh: {
  266. rules: [{
  267. required: false,
  268. errorMessage: '监护人联系电话不能为空'
  269. },
  270. {
  271. format: 'number',
  272. errorMessage: '请输入正确的手机号',
  273. },
  274. {
  275. pattern: '^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\\d{8})$',
  276. errorMessage: '请输入正确的手机号',
  277. }
  278. ]
  279. }
  280. },
  281. }
  282. },
  283. onLoad(o) {
  284. this.userInfo = getUser()
  285. this.userType = this.userInfo.userType
  286. // 查询街道和社区
  287. this.getAddressList(this.userInfo.dept.locationCode)
  288. // this.getDictList(Object.keys(this.dicts), this.dicts)
  289. this.baseFormData.code = getOpenid()
  290. this.groupId = this.userInfo.dept.locationCode.substring(0, 6)
  291. this.id = o.id
  292. },
  293. methods: {
  294. radioChange(key, e) {
  295. const key1 = key.replace('List', ''),
  296. { value } = e.detail
  297. if (value === '0') {
  298. this[key] = []
  299. this.baseFormData[key1] = ''
  300. }
  301. },
  302. ht() {
  303. let param = {
  304. id: this.baseFormData.id,
  305. url: 'https://www.ccsckj.com/'
  306. }
  307. GetUrl(param).then(res => {
  308. if (res.code == 200) {
  309. window.open(res.data.url, '_self');
  310. } else {
  311. toast('该功能暂未开放')
  312. // uni.navigateBack()
  313. }
  314. })
  315. },
  316. showInfo(id) {
  317. infoKhjbxx(id).then(res => {
  318. if (res.data) this.baseFormData = decryptData_ECB(res.data, ["lrZjhm", "lrXm",
  319. "lrHjbcxx",
  320. "lrXjdzBcxx",
  321. "lrCydh", "lrPoxm", "lrPoZjmh", "jhrXm", "jhrSjhm", "zlrXm", "zlrDh",
  322. "cjzh",
  323. "yhzh", "khmc", "jhrxm", "jhrlxdh"
  324. ], [2, 1, 4, 4, 3, 1, 2, 1, 2, 1, 3, 5, 5, 5]);
  325. if (this.baseFormData.lrTx) this.src = config.baseUrl + this.baseFormData.lrTx
  326. if (this.baseFormData.lrHjdz) {
  327. this.jiedaoData.forEach((e, jiedaoIndex) => {
  328. if (e.children.length > 0) {
  329. e.children.forEach((ee, shequIndex) => {
  330. if (ee) {
  331. if (ee.code == this.baseFormData.lrHjdz) {
  332. this.shequValue = ee
  333. this.jiedaoValue = e
  334. this.diqu = this.jiedaoValue.label + '/' + this.shequValue.label
  335. }
  336. } else {
  337. if (e.code == this.baseFormData.lrHjdz) {
  338. this.jiedaoValue = e
  339. this.diqu = this.jiedaoValue.label
  340. }
  341. }
  342. })
  343. }
  344. })
  345. }
  346. if (this.baseFormData.lrZjz) this.zjcaijianSrc = this.baseFormData.lrZjz
  347. if (res.data && res.data.sfzzpb) this.zjcaijianSrcFan = res.data.sfzzpb
  348. if (res.data && res.data.tkzm) this.tkzmList = [res.data.tkzm]
  349. if (res.data && res.data.dbzm) this.dbzmList = [res.data.dbzm]
  350. if (res.data && res.data.zczm) this.zczmList = [res.data.zczm]
  351. if (res.data) this.updateFlag = true
  352. })
  353. },
  354. tkChange(e) {
  355. this.tkzmList = e
  356. },
  357. dbChange(e) {
  358. this.dbzmList = e
  359. },
  360. zcChange(e) {
  361. this.zczmList = e
  362. },
  363. getAddressList(code) {
  364. if (this.userType === '07') {
  365. code = code.substring(0, 6) + '000000'
  366. }
  367. GetChildListByCode({
  368. code: code
  369. }).then(res => {
  370. if (res.data) {
  371. this.jiedaoData = res.data
  372. this.shequData = res.data[0].children
  373. this.jiedaoValue = this.jiedaoData[0]
  374. if (this.shequData.length > 0) {
  375. this.shequValue = this.shequData[0]
  376. this.diqu = this.jiedaoValue.label + '/' + this.shequValue.label
  377. this.baseFormData.lrHjdz = this.shequValue.code
  378. } else {
  379. this.diqu = this.jiedaoValue.label
  380. this.baseFormData.lrHjdz = this.shequValue.code
  381. }
  382. if (this.id) this.showInfo(this.id)
  383. }
  384. })
  385. },
  386. callbackFace(res) {
  387. uni.hideLoading()
  388. if (res.data.error_msg == 'SUCCESS') {
  389. this.score = res.data.result.score;
  390. this.baseFormData.lrTxdb = JSON.stringify({
  391. "lrJmzjhm": this.idcardMD5,
  392. "xsfs": this.score
  393. })
  394. if (this.score >= config.score) {
  395. this.show = false
  396. // this.baseFormData.lzzt = 3
  397. this.baseFormData.lzzt = 0
  398. // this.baseFormData.lrSpyj = '同意'
  399. this.baseFormData.lrSpyj = ''
  400. } else {
  401. // 低于80选项是否人工审核,是的话进记录表
  402. // 身份证头像保存后端
  403. // 人脸库注册人脸、身份证md5
  404. // 修改的时候去人脸库搜索,搜索不到不允许修改
  405. // 修改成功替换原始人脸库照片
  406. // 首次修改搜索身份证
  407. // 后端没入库,人脸库相应删除
  408. // ocr失败身份证原版入库,ocr成功人脸入库
  409. // showConfirm('人像与身份证不符,请重新上传')
  410. // this.baseFormData.lzzt = 1
  411. // this.baseFormData.lrSpyj = ''
  412. this.baseFormData.lzzt = 0
  413. this.baseFormData.lrSpyj = ''
  414. this.show = true
  415. }
  416. this.baseFormData.prelrZjz = this.zjcaijianSrc
  417. } else {
  418. showConfirm(res.data.error_msg)
  419. this.faceBase64 = ''
  420. }
  421. },
  422. callbackToken(e) {
  423. this.token = e
  424. },
  425. toggle(type) {
  426. uni.hideKeyboard()
  427. this.shequData = this.jiedaoData[0].children
  428. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  429. this.$refs.popup.open(type)
  430. },
  431. bindChange(e) {
  432. if (e.detail.value.length == 1) {
  433. this.jiedaoValue = this.jiedaoData[e.detail.value[0]]
  434. this.shequData = this.jiedaoData[e.detail.value[0]].children
  435. if (this.shequData.length > 0 && this.shequData[0] != null) {
  436. this.shequValue = this.shequData[0]
  437. this.diqu = this.jiedaoValue.label + '/' + this.shequValue.label
  438. this.baseFormData.lrHjdz = this.shequValue.code
  439. } else {
  440. this.shequData = []
  441. this.shequValue = ''
  442. this.diqu = this.jiedaoValue.label
  443. this.baseFormData.lrHjdz = this.jiedaoValue.code
  444. }
  445. } else {
  446. let index = e.detail.value[0] ? e.detail.value[0] : 0
  447. this.jiedaoValue = this.jiedaoData[index]
  448. this.shequValue = this.shequData[e.detail.value[1]]
  449. this.diqu = this.jiedaoValue.label + '/' + this.shequValue.label
  450. this.baseFormData.lrHjdz = this.shequValue.code
  451. }
  452. },
  453. buildDataByLevel(data, pid) {
  454. let result = [];
  455. data.filter(e => {
  456. return e.parent_id === pid
  457. }).forEach(e => {
  458. result.push({
  459. value: e.code,
  460. text: e.name,
  461. id: e.id,
  462. children: this.buildDataByLevel(data, e.id)
  463. })
  464. })
  465. return result.length > 0 ? result : []
  466. },
  467. paizhao(type) {
  468. this.type = type
  469. if (this.type == 'back' && !this.ocrXm) {
  470. showConfirm('请先拍摄身份证人像面')
  471. return
  472. }
  473. uni.setStorageSync("cardType", type)
  474. uni.navigateTo({
  475. url: '/pages/info/card'
  476. })
  477. },
  478. onchange(e) {},
  479. onnodeclick(node) {
  480. this.groupId = node.code.substring(0, 6)
  481. this.baseFormData.lrHjdz = this.groupId + '000000'
  482. },
  483. preSave() {
  484. if (this.baseFormData.lzzt != 0 && this.baseFormData.lzzt != 3 && this.baseFormData.lzzt != 4 && this
  485. .baseFormData.lzzt != 6) {
  486. showConfirm('信息正在审核,请审核后重试')
  487. return
  488. }
  489. if (this.baseFormData.istk == 1 && this.tkzmList.length == 0) {
  490. showConfirm('请先上传特困证明')
  491. return
  492. }
  493. if (this.baseFormData.isdb == 1 && this.dbzmList.length == 0) {
  494. showConfirm('请先上传低保证明')
  495. return
  496. }
  497. if (this.baseFormData.iszc == 1 && this.zczmList.length == 0) {
  498. showConfirm('请先上传重残证明')
  499. return
  500. }
  501. this.save()
  502. },
  503. save() {
  504. uni.showLoading({
  505. title: '正在修改中...'
  506. })
  507. let paramFiles = []
  508. if (this.baseFormData.istk == 1 && this.tkzmList.length == 1 && this.tkzmList[0].indexOf(
  509. 'data:image') > -1) {
  510. fileToBlob(base64toFilen(this.tkzmList[0]), (e) => {
  511. this.file4 = e
  512. paramFiles.push({
  513. name: "file4",
  514. uri: this.file4
  515. })
  516. })
  517. if (this.baseFormData.lzzt != 2 || this.baseFormData.lzzt != 1) {
  518. // 特殊材料待审核
  519. // this.baseFormData.lzzt = 5
  520. this.baseFormData.lzzt = 0
  521. this.baseFormData.lrSpyj = '无'
  522. }
  523. }
  524. if (this.baseFormData.isdb == 1 && this.dbzmList.length == 1 && this.dbzmList[0].indexOf(
  525. 'data:image') > -1) {
  526. fileToBlob(base64toFilen(this.dbzmList[0]), (e) => {
  527. this.file5 = e
  528. paramFiles.push({
  529. name: "file5",
  530. uri: this.file5
  531. })
  532. })
  533. if (this.baseFormData.lzzt != 2 || this.baseFormData.lzzt != 1) {
  534. // 特殊材料待审核
  535. // this.baseFormData.lzzt = 5
  536. this.baseFormData.lzzt = 0
  537. this.baseFormData.lrSpyj = '无'
  538. }
  539. }
  540. if (this.baseFormData.iszc == 1 && this.zczmList.length == 1 && this.zczmList[0].indexOf(
  541. 'data:image') > -1) {
  542. fileToBlob(base64toFilen(this.zczmList[0]), (e) => {
  543. this.file6 = e
  544. paramFiles.push({
  545. name: "file6",
  546. uri: this.file6
  547. })
  548. })
  549. if (this.baseFormData.lzzt != 2 || this.baseFormData.lzzt != 1) {
  550. // 特殊材料待审核
  551. // this.baseFormData.lzzt = 5
  552. this.baseFormData.lzzt = 0
  553. this.baseFormData.lrSpyj = '无'
  554. }
  555. }
  556. let that = this
  557. setTimeout(function() {
  558. UploadSomeFile(paramFiles).then(res => {
  559. if (res.data.url1) {
  560. that.baseFormData.lrZjz = res.data.url1
  561. }
  562. if (res.data.url2) {
  563. that.baseFormData.sfzzpb = res.data.url2
  564. }
  565. if (res.data.url3) {
  566. that.baseFormData.lrTx = res.data.url3
  567. }
  568. if (that.baseFormData.istk == 1 && that.tkzmList.length == 1) {
  569. that.baseFormData.tkzm = res.data.url4
  570. }
  571. if (that.baseFormData.isdb == 1 && that.dbzmList.length == 1) {
  572. that.baseFormData.dbzm = res.data.url5
  573. }
  574. if (that.baseFormData.iszc == 1 && that.zczmList.length == 1) {
  575. that.baseFormData.zczm = res.data.url6
  576. }
  577. that.$refs['baseForm'].validate().then(res => {
  578. if (that.updateFlag) {
  579. updateKhjbxx(that.baseFormData).then(r => {
  580. uni.hideLoading()
  581. if (r.code == 200) {
  582. toast('保存成功')
  583. setTimeout(function() {
  584. // uni.switchTab({
  585. // url: '/pages/index/index'
  586. // })
  587. uni.navigateBack()
  588. }, 1000)
  589. }
  590. })
  591. } else {
  592. SaveKhjbxx(that.baseFormData).then(r => {
  593. uni.hideLoading()
  594. if (r.code == 200) {
  595. toast('保存成功')
  596. // setOpenid(r.data.openId)
  597. // setUser(r.data.sysUser)
  598. // setToken(r.data.token.access_token)
  599. setTimeout(function() {
  600. uni.switchTab({
  601. url: '/pages/index/index'
  602. })
  603. }, 1000)
  604. }
  605. })
  606. }
  607. }).catch(err => {
  608. uni.hideLoading()
  609. })
  610. })
  611. }, 500)
  612. }
  613. }
  614. }
  615. </script>
  616. <style scoped>
  617. .content {
  618. padding: 1vh;
  619. }
  620. .lzcOCR {
  621. display: flex;
  622. justify-content: space-between;
  623. margin-top: 5vh;
  624. }
  625. .imgBox {
  626. width: 47%;
  627. text-align: center;
  628. image {
  629. width: 100%;
  630. }
  631. .text {
  632. width: 100%;
  633. /* background-color: red; */
  634. }
  635. }
  636. .miaoshu {
  637. margin-top: 5vh;
  638. font-size: 14px;
  639. }
  640. .buttonClass {
  641. margin-top: 4vh;
  642. margin-left: 4vw;
  643. width: 68vw;
  644. /* height: 5vh; */
  645. border-radius: 5.8vw;
  646. /* border: 1px solid rgba(176, 179, 199, 1); */
  647. background: #28d87d;
  648. color: white;
  649. height: 5vh;
  650. display: flex;
  651. align-items: center;
  652. justify-content: center;
  653. box-shadow: 0rpx 4rpx 10rpx 1rpx rgba(40, 216, 125, 0.4);
  654. }
  655. .picker-view {
  656. width: 750rpx;
  657. height: 600rpx;
  658. margin-top: 20rpx;
  659. }
  660. .item {
  661. line-height: 100rpx;
  662. text-align: center;
  663. }
  664. </style>