driverIdentityEdit.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  1. <template>
  2. <view class="center">
  3. <view>
  4. <view>
  5. <view style="margin: 0 auto;" v-if="id != ''" @click="idUp">
  6. <image v-bind:src="id1" class="picture"></image>
  7. </view>
  8. <view style="margin: 0 auto;" v-if="id2 != ''" @click="idLow">
  9. <image v-bind:src="id2" class="picture"></image>
  10. </view>
  11. </view>
  12. <view class="personalcss">
  13. <view class="c-row b-b">
  14. <text class="tit">姓名</text>
  15. <view class="con-list">
  16. <input placeholder="请填写姓名" name="input" v-model="DriverViewInfo.driverName"></input>
  17. </view>
  18. </view>
  19. <view class="c-row b-b">
  20. <text class="tit">身份证号</text>
  21. <view class="con-list">
  22. <input placeholder="请填写身份证号" name="input" v-model="DriverViewInfo.numberCard"></input>
  23. </view>
  24. </view>
  25. <view class="c-row b-b">
  26. <text class="tit">手机号</text>
  27. <view class="con-list">
  28. <input placeholder="请填写手机号" name="input" v-model="DriverViewInfo.driverPhone"></input>
  29. </view>
  30. </view>
  31. <view style='width:100%;border-bottom:1px solid #E8E9ED;position:relative;padding:10px;' class="flex">
  32. <button :class='codestatus&&!sendDisabled?"active":""' @click='getcode'
  33. class='getcode'>{{sendText}}</button>
  34. <view style='width:70%;position:relative;margin-left: 200px;'>
  35. <view class="con-list">
  36. <!-- style='width:70%;position:relative;margin-left: 200px;' -->
  37. <input v-model='verifyCode' placeholder="请输入验证码" type="text">
  38. </view>
  39. </view>
  40. </view>
  41. <view class="c-row b-b">
  42. <text class="tit">常驻城市</text>
  43. <view class="con-list">
  44. <input placeholder="请填写常驻城市" name="input"
  45. v-model="DriverViewInfo.residentCityProvincial"></input>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 车辆信息 -->
  51. <view class="information">
  52. <view class="c-row">
  53. <text class="tit" style="line-height: 36px;">货车信息</text>
  54. <view class="con-list">
  55. <image v-bind:src="opencar" class="open" opencarboolean @click="opencarclick"></image>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="informations" v-if="opencarboolean == true" v-for="(item , index) in driverCarInfoList"
  60. :Key="index">
  61. <view class="c-row ">
  62. <text class="tit">车辆 -{{index+1}}</text>
  63. <view class="con-list">
  64. <image src="../../static/img/jiaoyi/shanchu@2x.png" class="eliminate" @click="carDel(index)">
  65. </image>
  66. </view>
  67. </view>
  68. <view class="c-row b-b">
  69. <text class="tit">车牌号</text>
  70. <view class="con-list">
  71. <input placeholder="请填写车牌号" name="input" v-model="item.carNumber"></input>
  72. </view>
  73. </view>
  74. <view class="c-row b-b">
  75. <text class="tit">车型</text>
  76. <picker @change="ModelChange" :value="ModelIndex" :range="ModelType" class="con-list">
  77. <view class="picker " v-model="item.carModel">
  78. {{ModelIndex>-1?ModelType[ModelIndex]:'请选择车型'}}
  79. </view>
  80. </picker>
  81. <!-- </view> -->
  82. </view>
  83. <view class="c-row b-b">
  84. <text class="tit">不含车头车长(米)</text>
  85. <picker @change="carLongChange" :value="carLongIndex" :range="carLongType" class="con-list"
  86. v-if="carchength">
  87. <view class="picker" v-model="item.carLength">
  88. {{carLongIndex>-1?carLongType[carLongIndex]:'请选择车长'}}
  89. </view>
  90. </picker>
  91. <view v-else class="con-list">
  92. <input placeholder="请填写车长(米)" name="input" v-model="item.carLength"></input>
  93. </view>
  94. <button v-if="carchength" class='cu-btn bg-green shadow' @click="changeCarChength">填写</button>
  95. <button v-else class='cu-btn bg-green shadow' @click="changeCarChength">选择</button>
  96. </view>
  97. <view class="c-row b-b">
  98. <text class="tit">载重(吨)</text>
  99. <view class="con-list">
  100. <input placeholder="请填写载重(吨)" name="input" v-model="item.carLoad"></input>
  101. </view>
  102. </view>
  103. <view class="c-row ">
  104. <text class="tit">出厂年份</text>
  105. <view class="con-list">
  106. <view @click='yearchange'>{{item.yearManufacture == null?"请选择出厂年份":item.yearManufacture}}</view>
  107. <u-picker :params='params' @confirm='yearpicker($event,index)' v-model="show" mode="time"
  108. :start-year="startData" :end-year="endData">
  109. </u-picker>
  110. </view>
  111. </view>
  112. </view>
  113. <button class="btn" v-if="opencarboolean == true" @click="carAdd">
  114. <image src="../../static/img/jiaoyi/ic_fabu@3x.png" class="add" style="top: 8px;"></image>
  115. <texe>添加车辆</texe>
  116. </button>
  117. <!-- 账户信息 -->
  118. <view class="information">
  119. <view class="c-row">
  120. <text class="tit" style="line-height: 36px;">账户信息</text>
  121. <view class="con-list">
  122. <image v-bind:src="openuser" class="open" openuserboolean @click="openuserclick"></image>
  123. </view>
  124. </view>
  125. </view>
  126. <view class="informations" v-if="openuserboolean == true" v-for="(items , index) in driverPayeeInfoList"
  127. :Key="index">
  128. <!-- <view class="labels"> 账户 -?</view> -->
  129. <view class="c-row ">
  130. <text class="tit">账户 -{{index+1}}</text>
  131. <view class="con-list">
  132. <image src="../../static/img/jiaoyi/shanchu@2x.png" class="eliminate" @click="userDel(index)">
  133. </image>
  134. </view>
  135. </view>
  136. <view class="c-row b-b">
  137. <text class="tit">账户类型</text>
  138. <view class="con-list">
  139. <input placeholder="请填写账户类型" name="input" v-model="items.accountType"></input>
  140. </view>
  141. </view>
  142. <view class="c-row b-b">
  143. <text class="tit">银行卡照片(可选)</text>
  144. <view class="con-list">
  145. <!-- <input placeholder="请上传照片" name="input" v-model="items.payeeAddressUrl" @clisk="bankimg(items)"></input> -->
  146. <view v-if="bankimg == ''" @click="bankimgs(index)">请上传照片</view>
  147. <view v-if="bankimg != ''" @click="bankimgs(index)">
  148. <image v-bind:src="bankimg" style="width: 40px; height: 40px;"></image>
  149. </view>
  150. </view>
  151. </view>
  152. <view class="c-row b-b">
  153. <text class="tit">银行卡号</text>
  154. <view class="con-list">
  155. <input placeholder="请输入银行卡号" name="input" v-model="items.bankCard"></input>
  156. </view>
  157. </view>
  158. <view class="c-row b-b">
  159. <text class="tit">开户行</text>
  160. <view class="con-list">
  161. <input placeholder="请输入开户行" name="input" v-model="items.bankDeposit"></input>
  162. </view>
  163. </view>
  164. <view class="c-row b-b">
  165. <text class="tit">开户支行</text>
  166. <picker @change="bankChange" :value="bankIndex" :range="bankType" class="con-list">
  167. <view class="con-list">
  168. {{bankIndex>-1?bankType[bankIndex]:'请选择开户支行'}}
  169. </view>
  170. </picker>
  171. </view>
  172. <view class="c-row b-b">
  173. <text class="tit">收款人姓名</text>
  174. <view class="con-list">
  175. <input placeholder="请输入收款人姓名" name="input" v-model="items.payeeName"></input>
  176. </view>
  177. </view>
  178. <view class="c-row ">
  179. <text class="tit">收款人身份证号</text>
  180. <view class="con-list">
  181. <input placeholder="请输入收款人身份证号" name="input" v-model="items.payeeNumberCard"></input>
  182. </view>
  183. </view>
  184. </view>
  185. <button class="btn" v-if="openuserboolean == true" @click="userAdd()">
  186. <image src="../../static/img/jiaoyi/ic_fabu@3x.png" class="add" style="top: 8px;"></image>
  187. <text style="margin-top: -2px;">添加账户</text>
  188. </button>
  189. <view class="fujians" v-if="travels != ''" @click="travel">
  190. <view class="c-row b-b">
  191. <text class="picturebiaoti">行驶证</text>
  192. </view>
  193. <image v-bind:src="travels" class="picture"></image>
  194. </view>
  195. <view class="fujians" v-if="drives != ''" @click="drive">
  196. <view class="c-row b-b">
  197. <text class="picturebiaoti">驾驶证</text>
  198. </view>
  199. <image v-bind:src="drives" class="picture"></image>
  200. </view>
  201. <view class="fujians" v-if="operates != ''" @click="operate">
  202. <view class="c-row b-b">
  203. <text class="picturebiaoti">道路运营证</text>
  204. </view>
  205. <image v-bind:src="operates" class="picture"></image>
  206. </view>
  207. <view class="fujians" v-if="practices != ''" @click="practice">
  208. <view class="c-row b-b">
  209. <text class="picturebiaoti">从业资格证</text>
  210. </view>
  211. <image v-bind:src="practices" class="picture"></image>
  212. </view>
  213. <button class="btn btns" @click="commitEdit">修改</button>
  214. </view>
  215. </view>
  216. </template>
  217. <script>
  218. import {
  219. mapState
  220. } from 'vuex';
  221. export default {
  222. data() {
  223. return {
  224. goods: {},
  225. ModelIndex: '高栏',
  226. Model: '',
  227. ModelType: ["高栏", "集装箱", "自卸车"],
  228. carLong: '',
  229. carLongType: ['13', '9.6', '8.2', '8.7', '11.7', '12.5', '13.7', '15', '16', '17.5'],
  230. id: [],
  231. id1: "",
  232. id2: "",
  233. travels: "",
  234. drives: "",
  235. operates: "",
  236. practices: "",
  237. // bank1:"",
  238. // bank2:"",
  239. // bankid:[],
  240. sendText: '获取验证码',
  241. sendDisabled: false,
  242. sendText: '获取验证码',
  243. ModelIndex: '高栏',
  244. Model: '',
  245. ModelType: ["高栏", "集装箱", "自卸车"],
  246. carLong: '',
  247. carLongIndex: 0,
  248. carLongType: ['13', '9.6', '8.2', '8.7', '11.7', '12.5', '13.7', '15', '16', '17.5'],
  249. driverCarInfoList: [],
  250. driverPayeeInfoList: [],
  251. DriverViewInfo: {
  252. driverCarInfoList: [],
  253. driverPayeeInfoList: [],
  254. },
  255. params: {
  256. year: true,
  257. },
  258. verifyCode: "",
  259. codestatus: false,
  260. customerPhone: '',
  261. addressUrl: [],
  262. opencarboolean: false,
  263. openuserboolean: false,
  264. carchength: true,
  265. show: false,
  266. opencar: "../../static/img/authentication/down2@3x.png",
  267. openuser: "../../static/img/authentication/down2@3x.png",
  268. bankimg: "",
  269. bankImgs1: {},
  270. bankIndex: -1,
  271. bankType: [],
  272. year:[],
  273. }
  274. },
  275. computed: {
  276. ...mapState(['hasLogin', 'userInfo'])
  277. },
  278. computed:{
  279. yearchange() {
  280. this.show = true
  281. },
  282. startData(){
  283. var data = new Date()
  284. return data.getFullYear() - 30
  285. },
  286. endData(){
  287. var data = new Date()
  288. return data.getFullYear()
  289. }
  290. },
  291. onLoad(option) {
  292. this.getList(option.id)
  293. },
  294. methods: {
  295. yearpicker(e, index) {
  296. this.year[index] = e.year
  297. this.driverCarInfoList[index].yearManufacture = e.year
  298. },
  299. changeCarChength() {
  300. this.carchength = !this.carchength
  301. },
  302. carAdd() {
  303. this.driverCarInfoList.push({
  304. carNumber: '',
  305. carModel: "",
  306. carLength: "",
  307. carLoad: "",
  308. yearManufacture: "",
  309. })
  310. },
  311. userAdd() {
  312. this.driverPayeeInfoList.push({
  313. accountType: "",
  314. cardAddressUrl: "",
  315. bankCard: "",
  316. bankDeposit: "",
  317. bankDepositBranch: "",
  318. payeeName: "",
  319. payeeNumberCard: "",
  320. })
  321. },
  322. carDel(index) {
  323. if (this.driverCarInfoList.length > 1) {
  324. this.driverCarInfoList.splice(index, 1)
  325. }
  326. },
  327. userDel(index) {
  328. if (this.driverPayeeInfoList.length > 1) {
  329. this.driverPayeeInfoList.splice(index, 1)
  330. }
  331. },
  332. opencarclick() {
  333. if (this.opencarboolean == false) {
  334. this.opencarboolean = true;
  335. this.opencar = "../../static/img/authentication/up2%20(3).png"
  336. } else if (this.opencarboolean == true) {
  337. this.opencarboolean = false;
  338. this.opencar = "../../static/img/authentication/down2@3x.png"
  339. }
  340. },
  341. openuserclick() {
  342. if (this.openuserboolean == false) {
  343. this.openuserboolean = true;
  344. this.openuser = "../../static/img/authentication/up2%20(3).png"
  345. } else if (this.openuserboolean == true) {
  346. this.openuserboolean = false;
  347. this.openuser = "../../static/img/authentication/down2@3x.png"
  348. }
  349. },
  350. openfujianclick() {
  351. if (this.openfujianboolean == false) {
  352. this.openfujianboolean = true;
  353. this.openfujian = "../../static/img/authentication/up2%20(3).png"
  354. } else if (this.openfujianboolean == true) {
  355. this.openfujianboolean = false;
  356. this.openfujian = "../../static/img/authentication/down2@3x.png"
  357. }
  358. },
  359. bankChange(e) {
  360. this.bankIndex = e.detail.value
  361. this.Model = this.bankType[this.bankIndex];
  362. this.driverPayeeInfoList[index].bankDepositBranch = this.bankType[this.bankIndex];
  363. },
  364. getList(ids) {
  365. this.$api.doRequest('get', '/driverViewInfo/getDriver', {
  366. id: ids
  367. }, 'application/json;charset=UTF-8').then(res => {
  368. this.procurementPlanInfos = res.data.data
  369. this.DriverViewInfo = res.data.data
  370. this.driverCarInfoList = this.DriverViewInfo.driverCarInfoList
  371. this.driverPayeeInfoList = this.DriverViewInfo.driverPayeeInfoList
  372. this.addressUrl = this.DriverViewInfo.addressUrl.split(",")
  373. this.drivers = res.data.data
  374. if (this.drivers.cardAddressUrl != "") {
  375. this.id = this.drivers.cardAddressUrl.split(","),
  376. this.id1 = this.id[0]
  377. this.id2 = this.id[1]
  378. }
  379. if (this.drivers.addressUrl != "") {
  380. this.address = this.drivers.addressUrl.split(","),
  381. this.travels = this.address[0]
  382. this.drives = this.address[1]
  383. this.operates = this.address[2]
  384. this.practices = this.address[3]
  385. }
  386. })
  387. .catch(res => {
  388. if(res.errmsg){
  389. uni.showToast({
  390. title: res.errmsg,
  391. icon: 'none',
  392. duration: 2000
  393. })
  394. }
  395. else{
  396. uni.showToast({
  397. title: "系统异常,请联系管理员",
  398. icon: 'none',
  399. duration: 2000
  400. })
  401. }
  402. });
  403. },
  404. commitEdit() {
  405. console.log(this.addressUrl, "数组")
  406. this.DriverViewInfo.addressUrl = this.addressUrl.toString()
  407. console.log(this.DriverViewInfo.addressUrl, "字符串")
  408. this.DriverViewInfo.driverCarInfoList = this.driverCarInfoList
  409. this.DriverViewInfo.driverPayeeInfoList = this.driverPayeeInfoList
  410. this.DriverViewInfo.commonId = this.userInfo.id
  411. this.DriverViewInfo.cardAddressUrl = this.id.toString()
  412. this.DriverViewInfo.pcFlag = 0
  413. this.DriverViewInfo.compId = "2710b21efc1e4393930c5dc800010dc4"
  414. console.log(this.DriverViewInfo, "司机对象")
  415. this.$api.doRequest('post', '/driverViewInfo/api/editInfo', this.DriverViewInfo).then(res => {}).catch(
  416. res => {
  417. uni.showToast({
  418. title: res.data.message,
  419. icon: 'none',
  420. duration: 2000
  421. })
  422. })
  423. },
  424. bankimgs(items) {
  425. console.log(items)
  426. var that = this
  427. uni.chooseImage({
  428. success: function(res) {
  429. uni.uploadFile({
  430. url: 'https://www.zthymaoyi.com/upload/admin',
  431. filePath: res.tempFilePaths[0],
  432. name: 'file',
  433. success(res) {
  434. var data = res.data
  435. var strToObj = JSON.parse(data)
  436. // that.id[0] = strToObj.url
  437. that.bankimg = strToObj.url
  438. that.bankImgs1.bankImg = strToObj.url
  439. that.$api.doRequest('get', '/driverViewInfo/bankShibie', that
  440. .bankImgs1).then(res => {
  441. console.log(res)
  442. that.$set(that.driverPayeeInfoList[items], 'bankCard', res
  443. .data.data.bankNo)
  444. that.$set(that.driverPayeeInfoList[items], 'bankDeposit',
  445. res.data.data.bankName)
  446. that.bankType = res.data.data.bankNameZhihang
  447. console.log(that.ban)
  448. }).catch(res => {
  449. uni.showToast({
  450. title: res.data.message,
  451. icon: 'none',
  452. duration: 2000
  453. })
  454. })
  455. }
  456. })
  457. }
  458. })
  459. },
  460. idUp() {
  461. var that = this
  462. uni.chooseImage({
  463. success: function(res) {
  464. uni.uploadFile({
  465. url: 'https://www.zthymaoyi.com/upload/admin',
  466. filePath: res.tempFilePaths[0],
  467. name: 'file',
  468. success(res) {
  469. var data = res.data
  470. var strToObj = JSON.parse(data)
  471. that.id[0] = strToObj.url
  472. that.id1 = strToObj.url
  473. }
  474. })
  475. }
  476. })
  477. },
  478. idLow() {
  479. var that = this
  480. uni.chooseImage({
  481. success: function(res) {
  482. uni.uploadFile({
  483. url: 'https://www.zthymaoyi.com/upload/admin',
  484. filePath: res.tempFilePaths[0],
  485. name: 'file',
  486. success(res) {
  487. var data = res.data
  488. var strToObj = JSON.parse(data)
  489. that.id[1] = strToObj.url
  490. that.id2 = strToObj.url
  491. }
  492. })
  493. }
  494. })
  495. },
  496. travel() {
  497. var that = this
  498. uni.chooseImage({
  499. success: function(res) {
  500. uni.uploadFile({
  501. url: 'https://www.zthymaoyi.com/upload/admin',
  502. filePath: res.tempFilePaths[0],
  503. name: 'file',
  504. success(res) {
  505. var data = res.data
  506. var strToObj = JSON.parse(data)
  507. that.travels = strToObj.url
  508. that.addressUrl[0] = strToObj.url
  509. console.log(that.addressUrl)
  510. }
  511. })
  512. }
  513. })
  514. },
  515. drive(){
  516. var that = this
  517. uni.chooseImage({
  518. success: function(res) {
  519. uni.uploadFile({
  520. url: 'https://www.zthymaoyi.com/upload/admin',
  521. filePath: res.tempFilePaths[0],
  522. name: 'file',
  523. success(res) {
  524. var data = res.data
  525. var strToObj = JSON.parse(data)
  526. that.drives = strToObj.url
  527. that.addressUrl[1] = strToObj.url
  528. console.log(that.addressUrl)
  529. }
  530. })
  531. }
  532. })
  533. },
  534. operate(){
  535. var that = this
  536. uni.chooseImage({
  537. success: function(res) {
  538. uni.uploadFile({
  539. url: 'https://www.zthymaoyi.com/upload/admin',
  540. filePath: res.tempFilePaths[0],
  541. name: 'file',
  542. success(res) {
  543. var data = res.data
  544. var strToObj = JSON.parse(data)
  545. that.operates = strToObj.url
  546. that.addressUrl[2] = strToObj.url
  547. console.log(that.addressUrl)
  548. }
  549. })
  550. }
  551. })
  552. },
  553. practice(){
  554. var that = this
  555. uni.chooseImage({
  556. success: function(res) {
  557. uni.uploadFile({
  558. url: 'https://www.zthymaoyi.com/upload/admin',
  559. filePath: res.tempFilePaths[0],
  560. name: 'file',
  561. success(res) {
  562. var data = res.data
  563. var strToObj = JSON.parse(data)
  564. that.practices = strToObj.url
  565. that.addressUrl[3] = strToObj.url
  566. console.log(that.addressUrl)
  567. }
  568. })
  569. },
  570. })
  571. },
  572. getcode() {
  573. var that = this
  574. console.log(that.DriverViewInfo.driverPhone)
  575. if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(that.DriverViewInfo.driverPhone)) {
  576. this.$api.doRequest('get', '/commonUser/sendVerifyCode', {
  577. customerPhone: that.DriverViewInfo.driverPhone
  578. }).then(res => {
  579. if (res.data.code == 200) {
  580. that.sendDisabled = true
  581. let sec = 60
  582. let interval = setInterval(() => {
  583. sec--;
  584. that.sendText = sec + 's后重发'
  585. if (sec <= 0) {
  586. that.sendDisabled = false
  587. that.sendText = "获取验证码"
  588. clearInterval(interval)
  589. }
  590. }, 1000)
  591. } else {
  592. uni.showToast({
  593. title: res.data.message,
  594. icon: 'none',
  595. duration: 2000
  596. })
  597. }
  598. })
  599. .catch(res => {
  600. uni.showToast({
  601. title: res.data.message,
  602. icon: 'none',
  603. duration: 2000
  604. })
  605. });
  606. } else {
  607. uni.showToast({
  608. title: '请输入正确的手机号',
  609. icon: 'none',
  610. duration: 2000
  611. })
  612. }
  613. },
  614. ModelChange(e) {
  615. this.ModelIndex = e.detail.value
  616. this.Model = this.ModelType[this.ModelIndex];
  617. this.driverCarInfoList.carModel = this.ModelType[this.ModelIndex];
  618. },
  619. carLongChange(e) {
  620. this.carLongIndex = e.detail.value
  621. this.carLong = this.carLongType[this.carLongIndex];
  622. },
  623. }
  624. }
  625. </script>
  626. <style>
  627. .center {
  628. padding: 10px 20px;
  629. }
  630. .labels {
  631. font-size: 16px;
  632. font-weight: 400;
  633. }
  634. .c-row {
  635. display: -webkit-box;
  636. display: -webkit-flex;
  637. display: flex;
  638. -webkit-box-align: center;
  639. -webkit-align-items: center;
  640. align-items: center;
  641. padding: 20rpx 30rpx;
  642. position: relative;
  643. }
  644. .con-list {
  645. -webkit-box-flex: 1;
  646. -webkit-flex: 1;
  647. flex: 1;
  648. display: -webkit-box;
  649. display: -webkit-flex;
  650. display: flex;
  651. -webkit-box-orient: vertical;
  652. -webkit-box-direction: normal;
  653. -webkit-flex-direction: column;
  654. flex-direction: column;
  655. color: #303133;
  656. line-height: 40rpx;
  657. text-align: right;
  658. padding-right: 20rpx;
  659. font-size: 14px;
  660. }
  661. .getcode {
  662. font-size: 14px;
  663. position: absolute;
  664. top: 50%;
  665. transform: translateY(-50%);
  666. color: #AFB3BF;
  667. background: #F5F6F9;
  668. height: 30px;
  669. line-height: 30px;
  670. }
  671. .getcode.active {
  672. border: none;
  673. }
  674. .uni-navigator {
  675. display: inline-block;
  676. color: #22C572;
  677. }
  678. .getcode.active {
  679. background: #22C572;
  680. color: #fff;
  681. }
  682. .labels {
  683. font-size: 16px;
  684. font-weight: 400;
  685. }
  686. .c-row {
  687. display: -webkit-box;
  688. display: -webkit-flex;
  689. display: flex;
  690. -webkit-box-align: center;
  691. -webkit-align-items: center;
  692. align-items: center;
  693. padding: 20rpx 30rpx;
  694. position: relative;
  695. }
  696. .con-list {
  697. -webkit-box-flex: 1;
  698. -webkit-flex: 1;
  699. flex: 1;
  700. display: -webkit-box;
  701. display: -webkit-flex;
  702. display: flex;
  703. -webkit-box-orient: vertical;
  704. -webkit-box-direction: normal;
  705. -webkit-flex-direction: column;
  706. flex-direction: column;
  707. color: #303133;
  708. line-height: 40rpx;
  709. text-align: right;
  710. padding-right: 20rpx;
  711. font-size: 14px;
  712. }
  713. .verificationCode {
  714. margin-top: 20px;
  715. background: #F5F6F9;
  716. color: #AFB3BF;
  717. }
  718. .verificationCode:after {
  719. border: none;
  720. }
  721. .verificationCode.active {
  722. background: #22C572;
  723. color: #fff;
  724. }
  725. .getcode {
  726. font-size: 14px;
  727. position: absolute;
  728. /* right:0; */
  729. top: 50%;
  730. transform: translateY(-50%);
  731. color: #AFB3BF;
  732. background: #F5F6F9;
  733. height: 30px;
  734. line-height: 30px;
  735. }
  736. .getcode:after {
  737. border: none;
  738. }
  739. .getcode.active {
  740. background: #22C572;
  741. color: #fff;
  742. }
  743. .picture {
  744. width: 100%;
  745. height: 220px;
  746. text-align: center;
  747. margin-top: 10px;
  748. }
  749. .fujians {
  750. margin: 0 auto;
  751. background-color: #FFFFFF;
  752. margin-top: 30px;
  753. border-radius: 20px;
  754. padding: 10px 10px;
  755. }
  756. .btn {
  757. margin-top: 10px;
  758. background-color: #FFFFFF;
  759. border-radius: 25px;
  760. border: none;
  761. }
  762. .btns {
  763. background-color: #22C572;
  764. }
  765. .information {
  766. margin-top: 10px;
  767. width: 100%;
  768. height: 56px;
  769. background-color: #FFFFFF;
  770. border-radius: 16px;
  771. }
  772. .informations {
  773. margin-top: 10px;
  774. background-color: #FFFFFF;
  775. border-radius: 20px;
  776. }
  777. .personalcss {
  778. background-color: #FFFFFF;
  779. border-radius: 20px;
  780. margin-top: 10px;
  781. }
  782. .open {
  783. width: 30px;
  784. height: 20px;
  785. position: absolute;
  786. right: 20px;
  787. margin-top: -10px;
  788. }
  789. .add {
  790. width: 26px;
  791. height: 26px;
  792. /* background-image: url(../../static/img/jiaoyi/ic_fabu@3x.png); */
  793. }
  794. /* 清除 */
  795. .eliminate {
  796. width: 20px;
  797. height: 20px;
  798. float: right;
  799. }
  800. .bankImg {
  801. width: 20px;
  802. height: 20px;
  803. }
  804. </style>