editVehicle.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  1. <!-- 管理车辆 -->
  2. <template>
  3. <view class="content">
  4. <view class="flex s-row container">
  5. <view class="flex row">
  6. <view class="left left-text">车牌号</view>
  7. <view class="right flex">
  8. <input class="car-uumber" v-model='dataDetails.carNumber' @click.stop="handleShowKeyboard(index)"
  9. :disabled="true" placeholder="输入车牌号" name="input" @focus='focus()' @blur='blur()'></input>
  10. </view>
  11. </view>
  12. <view class="flex row">
  13. <view class="left-text">车牌颜色</view>
  14. <view class="color" @click="selectNoColor">{{dataDetails.carNumberColour}}</view>
  15. <view>></view>
  16. <u-picker :show="carColor" :columns="colorColumns" :closeOnClickOverlay='true' @close='colorClose'
  17. @cancel='colorClose' @confirm='confirmColor'></u-picker>
  18. </view>
  19. <view class="flex row">
  20. <view class="left-text">车型</view>
  21. <view class="color" @click="selectCarModel">{{dataDetails.carType}}</view>
  22. <view>></view>
  23. <u-picker :show="carModel" :columns="carModelColumns" :closeOnClickOverlay='true' @close='carModelClose'
  24. @cancel='carModelClose' @change="changeCarModel" @confirm='confirmCarModel($event)'></u-picker>
  25. </view>
  26. <view class="flex row">
  27. <view class="left-text">车辆所属车主</view>
  28. <u--input placeholder="输入车主姓名" inputAlign='left' border="none" v-model="dataDetails.owner">
  29. </u--input>
  30. </view>
  31. <view class="flex row">
  32. <view class="left-text">总质量(千克)</view>
  33. <u--input placeholder="输入总质量" inputAlign='left' border="none" v-model="dataDetails.carTotalWeight">
  34. </u--input>
  35. </view>
  36. <view class="flex row">
  37. <view class="left-text">核定载质量(千克)</view>
  38. <u--input placeholder="输入核定载质量" inputAlign='left' border="none" v-model="dataDetails.carApprovedWeight">
  39. </u--input>
  40. </view>
  41. <view class="flex row noborder">
  42. <view class="left-text">外廓尺寸</view>
  43. </view>
  44. <view class="flex row noborder input-ckg">
  45. <view class="input-positon">
  46. <u--input class="input" placeholder="长" inputAlign='left' border="none"
  47. v-model="dataDetails.carLong">
  48. </u--input>
  49. <view class="position-right">
  50. mm
  51. </view>
  52. </view>
  53. <view class="star">*</view>
  54. <view class="input-positon">
  55. <u--input placeholder="宽" inputAlign='left' border="none" v-model="dataDetails.carWidth">
  56. </u--input>
  57. <view class="position-right">
  58. mm
  59. </view>
  60. </view>
  61. <view class="star">*</view>
  62. <view class="input-positon">
  63. <u--input placeholder="高" inputAlign='left' border="none" v-model="dataDetails.carHeight">
  64. </u--input>
  65. <view class="position-right">
  66. mm
  67. </view>
  68. </view>
  69. </view>
  70. <view class="flex row noborder s-row">
  71. <view class="left-text" style="width: 100%;">人车合影(车头车牌号可见)</view>
  72. <u-upload class="uview-upload" :fileList="fileList1" @afterRead="afterRead($event)"
  73. @delete="deletePic" name="1" multiple :maxCount="1"></u-upload>
  74. <!-- <image class="preview" :src="item.addressUrl" mode="aspectFit"
  75. style="width:710rpx:height:710rpx;margin: 20rpx;"> -->
  76. <!-- <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  77. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  78. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload> -->
  79. </view>
  80. <view class="level1-title">证件信息</view>
  81. <view class="title">道路运输证</view>
  82. <view @click="uploadImg(8)" class="picture picture8" v-if="!dataDetails.operationCertificate">
  83. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  84. <view class="text">上传道路运输证</view>
  85. </view>
  86. <view v-if="dataDetails.operationCertificate" @click.stop="uploadImg(1)" class="preview-card-img picture">
  87. <view @click.stop="delCard(1)">
  88. <image class='del-card' src="@/static/images/common/quxiao@2x.png">
  89. </image>
  90. </view>
  91. <image class="" :src="dataDetails.operationCertificate" mode="aspectFit"></image>
  92. </view>
  93. <view class="flex row">
  94. <view class="left-text">道路运输证号</view>
  95. <u--input placeholder="输入道路运输证号" inputAlign='right' border="none"
  96. v-model="dataDetails.operationCertificateNumber">
  97. </u--input>
  98. </view>
  99. <view class="flex row flex-space-between">
  100. <view class="left-text">道路运输证有效期</view>
  101. <view class="" @click="selectValidityPeriod(4)">
  102. {{dataDetails.operationCertificateValidityDate?dataDetails.operationCertificateValidityDate:'选择有效期>'}}
  103. </view>
  104. </view>
  105. <view v-if="sign == '挂车'">
  106. <view class="title">挂车道路运输证</view>
  107. <view @click="uploadImg(9)" class="picture picture9" v-if="!dataDetails.trailerOperationCertificate">
  108. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  109. <view class="text">上传挂车道路运输证</view>
  110. </view>
  111. <view v-if="dataDetails.trailerOperationCertificate" @click.stop="uploadImg(1)"
  112. class="preview-card-img picture">
  113. <view @click.stop="delCard(1)">
  114. <image class='del-card' src="@/static/images/common/quxiao@2x.png">
  115. </image>
  116. </view>
  117. <image class="" :src="dataDetails.trailerOperationCertificate" mode="aspectFit"></image>
  118. </view>
  119. </view>
  120. <view class="flex row" v-if="sign == '挂车'">
  121. <view class="left-text">挂车道路运输证号</view>
  122. <u--input placeholder="输入挂车道路运输证号" inputAlign='right' border="none"
  123. v-model="dataDetails.trailerOperationCertificateNumber">
  124. </u--input>
  125. </view>
  126. <view class="flex row flex-space-between" v-if="sign == '挂车'">
  127. <view class="left-text">挂车道路运输证有效期</view>
  128. <view class="" @click="selectValidityPeriod(5)">
  129. {{dataDetails.trailerOperationCertificateValidityDate?dataDetails.trailerOperationCertificateValidityDate:'选择有效期>'}}
  130. </view>
  131. </view>
  132. <view class="title">上传行驶证主页</view>
  133. <view @click="uploadImg(3)" class="picture picture3" v-if="!dataDetails.drivingLicenseHomePage">
  134. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  135. <view class="text">上传行驶证主页</view>
  136. </view>
  137. <view v-if="dataDetails.drivingLicenseHomePage" @click.stop="uploadImg(1)" class="preview-card-img picture">
  138. <view @click.stop="delCard(1)">
  139. <image class='del-card' src="@/static/images/common/quxiao@2x.png">
  140. </image>
  141. </view>
  142. <image class="" :src="dataDetails.drivingLicenseHomePage" mode="aspectFit"></image>
  143. </view>
  144. <view class="title">上传行驶证副页</view>
  145. <view @click="uploadImg(4)" class="picture picture4" v-if="!dataDetails.drivingLicenseBackPage">
  146. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  147. <view class="text">上传行驶证副页</view>
  148. </view>
  149. <view v-if="dataDetails.drivingLicenseBackPage" @click.stop="uploadImg(1)" class="preview-card-img picture">
  150. <view @click.stop="delCard(1)">
  151. <image class='del-card' src="@/static/images/common/quxiao@2x.png">
  152. </image>
  153. </view>
  154. <image class="" :src="dataDetails.drivingLicenseBackPage" mode="aspectFit"></image>
  155. </view>
  156. <view class="flex row flex-space-between">
  157. <view class="left-text">行驶证档案编号</view>
  158. <u--input placeholder="输入行驶证档案编号" inputAlign='right' border="none"
  159. v-model="dataDetails.drivingLicenseNumber">
  160. </u--input>
  161. </view>
  162. <view class="flex row flex-space-between">
  163. <view class="left-text">行驶证有效期</view>
  164. <view class="" @click="selectValidityPeriod(1)">
  165. {{dataDetails.drivingLicenseValidityDate?dataDetails.drivingLicenseValidityDate:'选择有效截止日期>'}}
  166. </view>
  167. </view>
  168. <view class="" v-if="sign == '挂车'">
  169. <view class="title">挂车行驶证主页</view>
  170. <view @click="uploadImg(5)" class="picture picture5" v-if="!dataDetails.trailerLicenseHomePage">
  171. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  172. <view class="text">上传挂车行驶证主页</view>
  173. </view>
  174. <view v-if="dataDetails.trailerLicenseHomePage" @click.stop="uploadImg(1)"
  175. class="preview-card-img picture">
  176. <view @click.stop="delCard(1)">
  177. <image class='del-card' src="@/static/images/common/quxiao@2x.png">
  178. </image>
  179. </view>
  180. <image class="" :src="dataDetails.trailerLicenseHomePage" mode="aspectFit"></image>
  181. </view>
  182. </view>
  183. <view v-if="sign == '挂车'">
  184. <view class="title">挂车行驶证副页</view>
  185. <view @click="uploadImg(6)" class="picture picture6" v-if="!dataDetails.trailerLicenseBackPage">
  186. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  187. <view class="text">上传挂车行驶证副页</view>
  188. </view>
  189. <view v-if="dataDetails.trailerLicenseBackPage" @click.stop="uploadImg(1)"
  190. class="preview-card-img picture">
  191. <view @click.stop="delCard(1)">
  192. <image class='del-card' src="@/static/images/common/quxiao@2x.png">
  193. </image>
  194. </view>
  195. <image class="" :src="dataDetails.trailerLicenseBackPage" mode="aspectFit"></image>
  196. </view>
  197. </view>
  198. <view class="flex row">
  199. <view class="left-text">挂车行驶证档案编号</view>
  200. <u--input placeholder="输入挂车行驶证档案编号" inputAlign='right' border="none"
  201. v-model="dataDetails.trailerLicenseNumber">
  202. </u--input>
  203. </view>
  204. <view class="flex row flex-space-between" v-if="sign == '挂车'">
  205. <view class="left-text">挂车行驶证有效期</view>
  206. <view class="" @click="selectValidityPeriod(2)">
  207. {{dataDetails.trailerLicenseValidityDate?dataDetails.trailerLicenseValidityDate:'选择有效截止日期>'}}
  208. </view>
  209. </view>
  210. </view>
  211. <view class="submit-btn" @click="submit">提交</view>
  212. <master-keyboard ref="keyboard" keyboardtype="car" :show="keyShow" :randomNumber="true" :newCar="false"
  213. :defaultValue="carNumber" @keyboardClick="handleClick"></master-keyboard>
  214. <u-toast ref="uToast"></u-toast>
  215. <u-action-sheet :actions="$helper.imgTypeList" :title="$helper.imgType" :show="isShowimgType"
  216. @select="imgTypeSelect" :closeOnClickOverlay="true" :closeOnClickAction="true" @close="isShowimgType=false">
  217. </u-action-sheet>
  218. <u-picker :show="isShowValidity" ref="uPicker" :columns="validityPeriod" @confirm="confirmValidityPeriod"
  219. :closeOnClickOverlay='true' @close='isShowValidity=false' @cancel='isShowValidity=false'>
  220. </u-picker>
  221. </view>
  222. </template>
  223. <script>
  224. import uploadImage from '@/components/ossutil/uploadFile.js';
  225. import keyboard from "@/components/master-keyboard/master-keyboard.vue";
  226. var _this;
  227. export default {
  228. data() {
  229. return {
  230. index:'',
  231. keyShow: false,
  232. carNumber: '',
  233. dataDetails: {},
  234. carModelColumns: [
  235. ['挂车', '非挂车'],
  236. ['高栏', '集装箱', '自卸车']
  237. ],
  238. carModelColumnData: [
  239. ['高栏', '集装箱', '自卸车'],
  240. ['重型仓栏']
  241. ],
  242. colorColumns: [
  243. ['黄色', '蓝色']
  244. ],
  245. carColor: false,
  246. carModel: false,
  247. fileList1:[],
  248. sign: "挂车",
  249. ValidityPeriodType: "",
  250. validityPeriod: [],
  251. isShowValidity: false,
  252. uploadType: '',
  253. isShowimgType: false,
  254. };
  255. },
  256. onLoad(options) {
  257. _this = this;
  258. console.log(options)
  259. this.dataDetails = options
  260. if(this.dataDetails.carType.indexOf("挂车") != -1){
  261. this.sign = "挂车"
  262. }else{
  263. this.sign = "非挂车"
  264. }
  265. this.fileList1 = [{
  266. url:options.addressUrl
  267. }]
  268. this.validityPeriod = this.$helper.makeValidityPeriod()
  269. },
  270. methods: {
  271. delCard(type) {
  272. switch (type) {
  273. case 1:
  274. _this.dataDetails.driverLicenseHomePage = ""
  275. break;
  276. case 2:
  277. _this.dataDetails.driverLicenseBackPage = ""
  278. break;
  279. case 3:
  280. _this.dataDetails.drivingLicenseHomePage = ""
  281. break;
  282. case 4:
  283. _this.dataDetails.drivingLicenseBackPage = ""
  284. break;
  285. case 5:
  286. _this.dataDetails.trailerLicenseHomePage = ""
  287. break;
  288. case 6:
  289. _this.dataDetails.trailerLicenseBackPage = ""
  290. break;
  291. case 7:
  292. _this.dataDetails.qualificationCertificate = ""
  293. break;
  294. case 8:
  295. _this.dataDetails.operationCertificate = ""
  296. break;
  297. case 9:
  298. _this.dataDetails.trailerOperationCertificate = ""
  299. break;
  300. }
  301. },
  302. uploadImg(type) {
  303. this.uploadType = type
  304. this.isShowimgType = true
  305. },
  306. selectValidityPeriod(type) {
  307. this.ValidityPeriodType = type
  308. this.isShowValidity = true
  309. },
  310. // 上传图片
  311. imgTypeSelect(val) {
  312. console.log(val)
  313. console.log(this.uploadType)
  314. if (val.name == '相册') {
  315. uni.chooseImage({
  316. count: 1,
  317. sourceType: this.$helper.chooseImage.sourceType,
  318. success: function(res) {
  319. console.log(JSON.stringify(res.tempFilePaths));
  320. uploadImage("images", res.tempFilePaths[0], 'appData/',
  321. result => {
  322. // 上传成功回调函数
  323. console.log('图片地址-----', result)
  324. switch (_this.uploadType) {
  325. case 1:
  326. _this.dataDetails.driverLicenseHomePage = result
  327. break;
  328. case 2:
  329. _this.dataDetails.driverLicenseBackPage = result
  330. break;
  331. case 3:
  332. _this.dataDetails.drivingLicenseHomePage = result
  333. break;
  334. case 4:
  335. _this.dataDetails.drivingLicenseBackPage = result
  336. break;
  337. case 5:
  338. _this.dataDetails.trailerLicenseHomePage = result
  339. break;
  340. case 6:
  341. _this.dataDetails.trailerLicenseBackPage = result
  342. break;
  343. case 7:
  344. _this.dataDetails.qualificationCertificate = result
  345. break;
  346. case 8:
  347. _this.dataDetails.operationCertificate = result
  348. break;
  349. case 9:
  350. _this.dataDetails.trailerOperationCertificate = result
  351. break;
  352. }
  353. _this.$forceUpdate()
  354. }
  355. )
  356. }
  357. });
  358. } else {
  359. }
  360. },
  361. confirmValidityPeriod(e) {
  362. console.log('confirm', e)
  363. switch (this.ValidityPeriodType) {
  364. case 0:
  365. this.dataDetails.driverLicenseValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
  366. break
  367. case 1:
  368. this.dataDetails.drivingLicenseValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
  369. break
  370. case 2:
  371. this.dataDetails.trailerLicenseValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
  372. break
  373. case 3:
  374. this.dataDetails.qualificationCertificateValidityDate = e.value[0] + '-' + e.value[1] + '-' + e
  375. .value[2]
  376. break
  377. case 4:
  378. this.dataDetails.operationCertificateValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[
  379. 2]
  380. break
  381. case 5:
  382. this.dataDetails.trailerOperationCertificateValidityDate = e.value[0] + '-' + e.value[1] + '-' + e
  383. .value[2]
  384. break
  385. }
  386. this.isShowValidity = false
  387. },
  388. focus(e){
  389. console.log('11111')
  390. console.log(e)
  391. },
  392. blur(e){
  393. console.log(e)
  394. },
  395. // 车型切换
  396. changeCarModel(e) {
  397. const {
  398. columnIndex,
  399. index,
  400. // 微信小程序无法将picker实例传出来,只能通过ref操作
  401. picker = this.$refs.carTypePicker
  402. } = e
  403. if (columnIndex === 0) {
  404. // 模拟网络请求
  405. picker.setColumnValues(1, this.carModelColumnData[index])
  406. }
  407. },
  408. // 删除图片
  409. deletePic(event) {
  410. this[`fileList${event.name}`].splice(event.index, 1)
  411. },
  412. // 新增图片
  413. async afterRead(event) {
  414. // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
  415. let lists = [].concat(event.file)
  416. let fileListLen = this[`fileList${event.name}`].length
  417. lists.map((item) => {
  418. this[`fileList${event.name}`].push({
  419. ...item,
  420. status: 'uploading',
  421. message: '上传中'
  422. })
  423. })
  424. for (let i = 0; i < lists.length; i++) {
  425. const result = await this.uploadFilePromise(lists[i].url)
  426. let item = this[`fileList${event.name}`][fileListLen]
  427. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  428. status: 'success',
  429. message: '',
  430. url: result
  431. }))
  432. fileListLen++
  433. }
  434. },
  435. uploadFilePromise(url) {
  436. uploadImage(url, 'appData/',
  437. result => {
  438. // 上传成功回调函数
  439. console.log('图片地址', result)
  440. this.dataDetails.addressUrl += result
  441. }
  442. )
  443. },
  444. //车牌号弹出键盘
  445. handleShowKeyboard(index) {
  446. if (this.dataDetails.carNumber == '') {
  447. this.carNumber = ''
  448. } else {
  449. this.carNumber = this.dataDetails.carNumber
  450. }
  451. if (this.$refs.keyboard.open) {
  452. this.$refs.keyboard.open(false) //true 键盘显示 false 键盘隐藏
  453. } else {
  454. this.$refs.keyboard[0].open(false)
  455. }
  456. this.index = index
  457. if (this.$refs.keyboard.open) {
  458. this.$refs.keyboard.open(true) //true 键盘显示 false 键盘隐藏
  459. } else {
  460. this.$refs.keyboard[0].open(true)
  461. }
  462. },
  463. //车牌号弹出键盘
  464. handleClick(e) {
  465. this.carNumber = e.value
  466. this.dataDetails.carNumber = e.value //键盘输入值
  467. },
  468. confirmColor(val) {
  469. this.dataDetails.carNumberColour = val.value[0]
  470. this.carColor = false
  471. },
  472. colorClose() {
  473. this.carColor = false
  474. },
  475. selectNoColor() {
  476. this.carColor = true
  477. },
  478. confirmCarModel(val) {
  479. this.dataDetails.carType = val.value[0] + ' ' + val.value[1]
  480. this.carModel = false
  481. },
  482. carModelClose() {
  483. this.carModel = false
  484. },
  485. selectCarModel() {
  486. this.carModel = true
  487. },
  488. selectNoColor() {
  489. this.carColor = true
  490. },
  491. unloadGroupPhoto() {
  492. uni.chooseImage({
  493. count: 1,
  494. success: function(res) {
  495. console.log(JSON.stringify(res.tempFilePaths));
  496. uploadImage(res.tempFilePaths[0], 'appData/',
  497. result => {
  498. // 上传成功
  499. console.log('图片地址', result)
  500. }
  501. )
  502. }
  503. });
  504. },
  505. submit() {
  506. this.$request.baseRequest('post', '/driverCarInfo/api/editInfo', this.dataDetails).then(res => {
  507. if (res.code == '200') {
  508. this.$refs.uToast.show({
  509. type: 'success',
  510. message: "提交成功!",
  511. complete() {
  512. // uni.navigateBack({
  513. // delta: 1
  514. // });
  515. uni.$u.route('/pages/mine/manageVehicles/index');
  516. }
  517. })
  518. // this.$refs.uToast.show({
  519. // ...params
  520. // })
  521. // uni.$u.route('/pages/mine/manageVehicles/index');
  522. }else{
  523. uni.$u.toast(res.message);
  524. }
  525. })
  526. .catch(res => {
  527. uni.$u.toast(res.message);
  528. });
  529. },
  530. },
  531. }
  532. </script>
  533. <style lang="scss" scoped>
  534. .container {
  535. margin: 20rpx;
  536. background: white;
  537. padding: 0 20rpx;
  538. border-radius: 20rpx;
  539. padding-bottom: 200rpx;
  540. .left-text {
  541. // background: red;
  542. width: 290rpx;
  543. color: #333333;
  544. display: flex;
  545. align-items: center;
  546. }
  547. .row {
  548. border-bottom: 1px solid #EEEEEE;
  549. padding-bottom: 28rpx;
  550. margin-top: 26rpx;
  551. .ch-style {}
  552. }
  553. .row-ch {
  554. padding-right: 250rpx;
  555. box-sizing: border-box;
  556. }
  557. .row {
  558. border-bottom: 1px solid #EEEEEE;
  559. padding-bottom: 28rpx;
  560. margin-top: 26rpx;
  561. }
  562. .left-text {
  563. // background: red;
  564. width: 320rpx;
  565. color: #333333;
  566. display: flex;
  567. align-items: center;
  568. }
  569. .picture {
  570. position: relative;
  571. width: 100%;
  572. height: 440rpx;
  573. display: flex;
  574. justify-content: center;
  575. flex-direction: column;
  576. align-items: center;
  577. .text {
  578. margin-top: 20rpx;
  579. }
  580. }
  581. .picture1 {
  582. background: url(../../../static/images/mine/jzz.png);
  583. background-size: 100% 100%;
  584. }
  585. .picture2 {
  586. background: url(../../../static/images/mine/jzf.png);
  587. background-size: 100% 100%;
  588. }
  589. .picture3 {
  590. background: url(../../../static/images/mine/xsz.png);
  591. background-size: 100% 100%;
  592. }
  593. .picture4 {
  594. background: url(../../../static/images/mine/xsf.png);
  595. background-size: 100% 100%;
  596. }
  597. .picture5 {
  598. background: url(../../../static/images/mine/gcxsz.png);
  599. background-size: 100% 100%;
  600. }
  601. .picture6 {
  602. background: url(../../../static/images/mine/gcxsf.png);
  603. background-size: 100% 100%;
  604. }
  605. .picture7 {
  606. background: url(../../../static/images/mine/cy.png);
  607. background-size: 100% 100%;
  608. }
  609. .picture8 {
  610. background: url(../../../static/images/mine/cy.png);
  611. background-size: 100% 100%;
  612. }
  613. .picture9 {
  614. background: url(../../../static/images/mine/cy.png);
  615. background-size: 100% 100%;
  616. }
  617. .xj-image {
  618. width: 100rpx;
  619. height: 100rpx;
  620. }
  621. .title {
  622. color: #999999;
  623. margin: 20rpx 0;
  624. }
  625. }
  626. .input-ckg {
  627. height: 86rpx;
  628. margin-top: 0 !important;
  629. padding-bottom: 0 !important;
  630. .u-input {
  631. height: 100%;
  632. background: #F7F8FA;
  633. padding-left: 10rpx !important;
  634. padding-right: 85rpx !important;
  635. }
  636. .star {
  637. display: flex;
  638. align-items: center;
  639. margin: 0 10rpx;
  640. }
  641. .input-positon {
  642. position: relative;
  643. }
  644. .position-right {
  645. position: absolute;
  646. right: 20rpx;
  647. top: 0;
  648. width: 60rpx;
  649. height: 50rpx;
  650. bottom: 0;
  651. margin: auto;
  652. }
  653. }
  654. .picture {
  655. margin-top: 20rpx;
  656. background: #F5F6FA;
  657. width: 212rpx;
  658. height: 212rpx;
  659. border-radius: 10rpx;
  660. display: flex;
  661. flex-direction: column;
  662. justify-content: center;
  663. align-items: center;
  664. color: #6A7282;
  665. }
  666. .submit-btn {
  667. position: fixed;
  668. bottom: 40rpx;
  669. width: 90%;
  670. background: #2772FB;
  671. color: white;
  672. text-align: center;
  673. margin-left: 5%;
  674. padding: 30rpx 0;
  675. border-radius: 50rpx;
  676. }
  677. .del-card {
  678. position: absolute;
  679. top: -10rpx;
  680. right: -6rpx;
  681. width: 80rpx;
  682. height: 80rpx;
  683. z-index: 9;
  684. }
  685. </style>