info.vue 18 KB

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