addcar.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <template>
  2. <view class="check">
  3. <view class="cbox" @click="keyHide">
  4. <view class="chtop flexc">
  5. <view class="line"></view>
  6. <view>车辆信息</view>
  7. </view>
  8. <view class="chmain">
  9. <uni-forms ref="form" :model="datainfo" :rules="rules">
  10. <view class="upbox" @click="getaddImage">
  11. <image :src="baseUrl+datainfo.front" class="img" v-if="datainfo.front"></image>
  12. <image :src="cmico" class="addimg"></image>
  13. <view>扫描行驶证自动填写</view>
  14. </view>
  15. <view class="tips mb22 mt5 cof4">请上传行驶证正面</view>
  16. <view class="carcode">
  17. <view class="tit mb16 lh18"><text class="cof4">*</text>车牌号码</view>
  18. <view class="carinput-input">
  19. <view class="carinput-input-i" :class="{'input-active':carIndex == i}" @tap.stop="inputKey" :data-index="i" v-for="(v,i) in carInput" :key="i" v-if="i < 2">
  20. {{carInput[i].val}}
  21. </view>
  22. <!-- 塞个点 -->
  23. <view class="cir"></view>
  24. <view class="carinput-input-i" :class="{'input-active':carIndex == i}" @tap.stop="inputKey" :data-index="i" v-for="(v,i) in carInput" :key="i" v-if="i < 7&&i>1">
  25. {{carInput[i].val}}
  26. </view>
  27. <view class="carinput-input-i " :class="{'input-active':carIndex == 7}" @tap.stop="inputKey" data-index="7">
  28. <block v-if="carInput[7].val">{{carInput[7].val}}</block>
  29. <view v-else class="newtit flexccc">
  30. <image :src="addnew"></image>
  31. 新能源
  32. </view>
  33. <!-- {{carInput[7].val?carInput[7].val:'+新能源'}} -->
  34. </view>
  35. </view>
  36. </view>
  37. <!-- <uni-forms-item label="车牌号" name="plateNumber">
  38. <view class="flexc">
  39. <uni-easyinput :disabled="isdisabled" v-model="datainfo.plateNumber" :inputBorder='false' placeholder="请输入车牌号" />
  40. <view class="rimg"><image :src="rimg"></image></view>
  41. </view>
  42. </uni-forms-item> -->
  43. <uni-forms-item label="手机号码" required name="residentPhone">
  44. <view class="flexc" >
  45. <uni-easyinput :disabled="isdisabled" v-model="datainfo.residentPhone" :inputBorder='false' placeholder="请输入手机号" />
  46. <view class="rimg"><image :src="rimg"></image></view>
  47. </view>
  48. </uni-forms-item>
  49. <block v-if="zhanfalg">
  50. <uni-forms-item label="居住门户" name="houseId">
  51. <w-select
  52. style="margin-left: 20rpx;"
  53. v-model="datainfo.houseId"
  54. :list='fwlist'
  55. valueName='dictLabel'
  56. keyName="dictValue"
  57. :chosevalue="datainfo.detailedAddress"
  58. :filterable='filterable'
  59. @change='getchange'
  60. >
  61. </w-select>
  62. </uni-forms-item>
  63. <uni-forms-item label="品牌车型" name="vehicleBrand">
  64. <view class="flexc">
  65. <uni-easyinput :disabled="isdisabled" v-model="datainfo.vehicleBrand" :inputBorder='false' placeholder="请输入品牌车型" />
  66. <view class="rimg"><image :src="rimg"></image></view>
  67. </view>
  68. </uni-forms-item>
  69. <uni-forms-item label="车辆类型" name="vehicleType">
  70. <view class="flexc" @click.stop="">
  71. <uni-easyinput :disabled="isdisabled" v-model="datainfo.vehicleType" :inputBorder='false' placeholder="请输入车辆类型" />
  72. <view class="rimg"><image :src="rimg"></image></view>
  73. </view>
  74. </uni-forms-item>
  75. <uni-forms-item label="车辆颜色" name="vehicleColour">
  76. <view class="flexc">
  77. <uni-easyinput :disabled="isdisabled" v-model="datainfo.vehicleColour" :inputBorder='false' placeholder="请输入车辆颜色" />
  78. <view class="rimg"><image :src="rimg"></image></view>
  79. </view>
  80. </uni-forms-item>
  81. <uni-forms-item label="发动机编号" name="engineNumber">
  82. <view class="flexc">
  83. <uni-easyinput :disabled="isdisabled" v-model="datainfo.engineNumber" :inputBorder='false' placeholder="请输入发动机编号" />
  84. <view class="rimg"><image :src="rimg"></image></view>
  85. </view>
  86. </uni-forms-item>
  87. <uni-forms-item label="车辆识别代号" name="identificationNumber">
  88. <view class="flexc">
  89. <uni-easyinput :disabled="isdisabled" v-model="datainfo.identificationNumber" :inputBorder='false' placeholder="请输入车辆识别代号" />
  90. <view class="rimg"><image :src="rimg"></image></view>
  91. </view>
  92. </uni-forms-item>
  93. <uni-forms-item label="注册日期" name="registrationDate">
  94. <view class="flexc">
  95. <uni-datetime-picker :disabled="isdisabled" :class="datainfo.registrationDate?'co27':'coa'" type="date" placeholder="请选择注册日期" :border="false" :hide-second='true' v-model="datainfo.registrationDate" />
  96. <view class="rimg"><image :src="rimg"></image></view>
  97. </view>
  98. </uni-forms-item>
  99. <uni-forms-item label="发证日期" name="issueDate">
  100. <view class="flexc">
  101. <uni-datetime-picker :disabled="isdisabled" :class="datainfo.issueDate?'co27':'coa'" type="date" placeholder="请选择发证日期" :border="false" :hide-second='true' v-model="datainfo.issueDate" />
  102. <view class="rimg"><image :src="rimg"></image></view>
  103. </view>
  104. </uni-forms-item>
  105. </block>
  106. <view class="zhanbox flexcc" @click="zhanfalg=!zhanfalg">
  107. {{zhanfalg?"折叠信息":'展开信息'}}<image :class="!zhanfalg?'act':''" :src="upimg"></image>
  108. </view>
  109. </uni-forms>
  110. <view class="rhbtn mt30" @click="getEditFn" v-if="isdisabled">修改</view>
  111. <view class="rhbtn mt30" @click="getSubmit" v-else>确定</view>
  112. <!-- <view class="rhbtn mt30" @click="getNext">确定添加</view> -->
  113. </view>
  114. </view>
  115. <tki-float-keyboard ref="keybd" :mode="'car'" :type="keyType" :title="'车牌键盘'" @del="keyCbDel" @val="keyCbVal" @hide="keyCbHide"></tki-float-keyboard>
  116. <loading></loading>
  117. </view>
  118. </template>
  119. <script>
  120. import config from '@/config'
  121. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  122. import {uploadIdentify,selectValueKey,selectDictValue} from '@/utils/common.js'
  123. import wSelect from "@/people/components/w-select/w-select.vue"
  124. import {houseInfolistNoPage,houseInfoList} from "@/api/work/work.js"
  125. import {carPut,carAdd,carDet} from "@/api/work/car.js"
  126. import {getDictionaryFn} from "@/api/system/user.js"
  127. import {getvehicleLicense} from "@/api/system/card.js"
  128. import tkiFloatKeyboard from "@/work/components/tki-float-keyboard/tki-float-keyboard.vue";
  129. export default{
  130. components:{wSelect,tkiFloatKeyboard},
  131. data(){
  132. return{
  133. rimg: require('@/work/static/house/rimg.png'),
  134. cmico:require('@/work/static/house/cmico.png'),
  135. upimg:require('@/work/static/house/up.png'),
  136. addnew:require('@/work/static/house/add.png'),
  137. carIndex: -1,
  138. carInput: [
  139. { type: 2, val: "皖" },
  140. { type: 4, val: "A" },
  141. { type: 1, val: "" },
  142. { type: 1, val: "" },
  143. { type: 1, val: "" },
  144. { type: 1, val: "" },
  145. { type: 3, val: "" },
  146. { type: 1, val: "" }
  147. ],
  148. keyType: 0,
  149. isPower: false, // 新能源
  150. rimg: require('@/mine/static/house/rimg.png'),
  151. cmico:require('@/mine/static/house/cmico.png'),
  152. upimg:require('@/mine/static/house/up.png'),
  153. addnew:require('@/mine/static/house/add.png'),
  154. baseUrl:config.baseUrl,
  155. datainfo:{
  156. // "carId":"",//业主车辆主键
  157. "houseId":"",//房屋信息id
  158. "detailedAddress":"",//房屋的门牌号
  159. // "userId":"",//用户id
  160. "residentId":"",//居住人员表id
  161. // "userName":"",//业主姓名
  162. "residentPhone":"",//业主手机号
  163. "plateNumber":"",//车牌号码
  164. "vehicleBrand":"",//车辆车型
  165. "vehicleType":"",//车辆类型
  166. "engineNumber":"",//发动机编号
  167. "identificationNumber":"",//车辆识别代号
  168. "registrationDate":"",//注册日期
  169. "issueDate":"",//发证日期
  170. },
  171. // vehicleEnergy 车辆能源类型 燃油 新能源
  172. zhanfalg:true,
  173. syqxidx:'',
  174. filterable:true,
  175. chooseValue:'',
  176. fwlist:[],
  177. isdisabled:false,
  178. rules:{
  179. houseId: {rules: [{required: true,errorMessage: '请选择居住门户' }]},
  180. detailedAddress: {rules: [{required: true,errorMessage: '请输入居住地址' }]},
  181. residentPhone: {rules: [{required: true,errorMessage: '请输入手机号'}, {pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,errorMessage:'请输入正确的手机号码'}]},
  182. },
  183. cllx:"",
  184. cllxidx:0,
  185. cllxList:[],
  186. id:'',
  187. isdisabled:false,
  188. ptype:'add',
  189. userId:this.$store.state.user.userId,
  190. phonenumber:this.$store.state.user.phonenumber,
  191. houseId:'',
  192. pfrom:'',
  193. }
  194. },
  195. onLoad: function(e) {
  196. if(e.id){
  197. this.id=e.id;
  198. this.ptype="edit";
  199. // this.isdisabled=true;
  200. this.getDetail()
  201. }
  202. if(e.houseId){
  203. this.houseId=e.houseId;
  204. this.pfrom="house";
  205. }
  206. this.init()
  207. },
  208. methods:{
  209. checkPermi, checkRole,
  210. kaType(data, list) {
  211. return selectDictValue(list, data);
  212. },
  213. getEditFn(){
  214. this.isdisabled=false;
  215. },
  216. getchange(e){
  217. this.datainfo.houseId=e.value;
  218. this.datainfo.detailedAddress=e.label;
  219. },
  220. statusFormats(data, list,type) {
  221. var aite=selectValueKey(list, data);
  222. if(type=='cllx'){
  223. this.cllxidx=aite.key;
  224. }
  225. return aite.actions;
  226. },
  227. init(){
  228. // 自己的房屋
  229. if(this.pfrom=='house'){
  230. var params={
  231. houseId:this.houseId
  232. }
  233. houseInfoList(params).then(res=>{
  234. if(res.code==200){
  235. this.fwlist= res.rows.map(v => {
  236. return {
  237. dictLabel: v.detailedAddress,
  238. dictValue: v.houseId,
  239. location: v.location
  240. }
  241. })
  242. this.datainfo.houseId=this.houseId;
  243. this.datainfo.detailedAddress=this.kaType(this.houseId,this.fwlist)
  244. }
  245. })
  246. }else{
  247. houseInfolistNoPage().then(res=>{
  248. if(res.code==200){
  249. this.fwlist= res.data.map(v => {
  250. return {
  251. dictLabel: v.detailedAddress,
  252. dictValue: v.houseId,
  253. location: v.location
  254. }
  255. })
  256. }
  257. })
  258. }
  259. // // 车辆类型
  260. // getDictionaryFn('cartype').then(res=>{
  261. // if(res.code==200){
  262. // this.cllxList = res.data.map(v => {
  263. // return {
  264. // dictLabel: v.dictLabel,
  265. // dictValue: v.dictValue
  266. // }
  267. // })
  268. // }
  269. // })
  270. },
  271. bindDateChange(e){
  272. var val=e.detail.value;
  273. this.datainfo.vehicleBrand=this.cllxList[val].dictValue;
  274. this.cllx=this.cllxList[val].dictLabel;
  275. },
  276. getDetail(){
  277. carDet(this.id).then(res=>{
  278. if(res.code==200){
  279. this.datainfo=res.data;
  280. if(res.data.plateNumber){
  281. this.toCarCode(res.data.plateNumber)
  282. if(res.data.vehicleEnergy=='新能源'){
  283. this.isPower=true;
  284. }
  285. }
  286. }
  287. })
  288. },
  289. getSubmit(){
  290. var num=this.toBind()
  291. if(num=='-1'){
  292. this.$toast('请输入完整的车牌号')
  293. return
  294. }
  295. this.$refs.form.validate().then(res => {
  296. var params=JSON.parse(JSON.stringify(this.datainfo))
  297. if(this.ptype=='add'){
  298. carAdd(params).then(res=>{
  299. if(res.code==200){
  300. this.$toast("新增成功")
  301. setTimeout(function(){
  302. uni.$emit("carlist")
  303. uni.navigateBack({
  304. delta:1
  305. })
  306. },1500)
  307. }
  308. })
  309. }else{
  310. carPut(params).then(res=>{
  311. if(res.code==200){
  312. this.$toast("修改成功")
  313. setTimeout(function(){
  314. uni.$emit("carlist")
  315. uni.navigateBack({
  316. delta:1
  317. })
  318. },1500)
  319. }
  320. })
  321. }
  322. })
  323. },
  324. getaddImage(e){
  325. let that = this;
  326. let file =[],count=9
  327. uni.chooseImage({
  328. count: 1,
  329. success:function(res){
  330. let img= res.tempFilePaths;
  331. if(img.length + file.length > count){
  332. uni.showToast({
  333. title: '最多上传'+count+'张图片',
  334. icon: 'none',
  335. duration: 2000
  336. })
  337. }else{
  338. let imglen = res.tempFilePaths.length;
  339. var fuwufile = [];
  340. uploadIdentify('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
  341. var resurl=rs[0];
  342. // if(e=='front'){
  343. // that.datainfo.front=resurl.fileName;
  344. // }else{
  345. // that.datainfo.back=resurl.fileName;
  346. // }
  347. if(rs&&rs.length>0){
  348. var obj={
  349. url:resurl.urlOnline
  350. }
  351. that.getOcrIdCard(obj)
  352. }
  353. })
  354. }
  355. }
  356. });
  357. },
  358. getOcrIdCard(obj){
  359. var params={
  360. image:obj.url,
  361. }
  362. getvehicleLicense(params).then(res=>{
  363. if(res.code==200){
  364. var datainfo=res.data;
  365. this.datainfo.vehicleBrand=datainfo.vehicleBrand;
  366. this.datainfo.vehicleType=datainfo.vehicleType;
  367. this.datainfo.engineNumber=datainfo.engineNumber;
  368. this.datainfo.identificationNumber=datainfo.identificationNumber;
  369. var zcrq=datainfo.registrationDate;
  370. var fzrq=datainfo.issueDate;
  371. this.datainfo.registrationDate=`${zcrq.slice(0, 4)}-${zcrq.slice(4, 6)}-${zcrq.slice(6, 8)}`;
  372. this.datainfo.issueDate=`${fzrq.slice(0, 4)}-${fzrq.slice(4, 6)}-${fzrq.slice(6, 8)}`;
  373. this.datainfo.plateNumber=datainfo.plateNumber;
  374. this.toCarCode(datainfo.plateNumber)
  375. }
  376. })
  377. },
  378. // 车牌
  379. // 判定是否为空
  380. empty(v) {
  381. let tp = typeof v,
  382. rt = false;
  383. if (tp == "number" && String(v) == "") {
  384. rt = true
  385. } else if (tp == "undefined") {
  386. rt = true
  387. } else if (tp == "object") {
  388. if (JSON.stringify(v) == "{}" || JSON.stringify(v) == "[]" || v == null) rt = true
  389. } else if (tp == "string") {
  390. if (v == "" || v == "undefined" || v == "null" || v == "{}" || v == "[]") rt = true
  391. } else if (tp == "function") {
  392. rt = false
  393. }
  394. return rt
  395. },
  396. inputKey(e) {
  397. let that = this;
  398. let data = e.currentTarget.dataset;
  399. that.carIndex = data.index;
  400. if (data.index >= 7) {
  401. that.isPower=true;
  402. that.carIndex = 7;
  403. // if (!that.isPower) {
  404. // return false;
  405. // } else {
  406. // that.carIndex = 7;
  407. // }
  408. } else {
  409. that.carIndex = data.index;
  410. }
  411. that.upKeyType();
  412. that.keyShow();
  413. },
  414. keyCbVal(e) {
  415. let that = this;
  416. let index = Number(that.carIndex);
  417. if (index >= 0 && index < 6) {
  418. that.carInput[index].val = e;
  419. that.carIndex = index + 1;
  420. } else if (index == 6) {
  421. that.carInput[index].val = e;
  422. if (that.isPower) {
  423. // 新能源
  424. that.carIndex = 7;
  425. } else {
  426. // 不是新能源出输入结束
  427. that.keyHide();
  428. that.carIndex = -2;
  429. console.log('非新能源车输入完毕')
  430. }
  431. } else if (index == 7) {
  432. // 新能源车输入完毕
  433. that.carInput[index].val = e;
  434. that.keyHide();
  435. that.carIndex = -3;
  436. console.log('新能源车输入完毕')
  437. }
  438. that.upKeyType();
  439. },
  440. keyCbDel(e) {
  441. let index = this.carIndex;
  442. console.log(index,1)
  443. if (index > 0) {
  444. if (!this.empty(this.carInput[index].val)) {
  445. this.carInput[index].val = "";
  446. this.carIndex = index;
  447. } else {
  448. this.carInput[index - 1].val = "";
  449. this.carIndex = index - 1;
  450. }
  451. if(index==7){
  452. var obj={ type: 1, val: "" }
  453. this.carInput.splice(index,1,obj)
  454. this.isPower=false;
  455. }
  456. console.log(this.carInput)
  457. }
  458. this.upKeyType();
  459. },
  460. upKeyType() {
  461. if (!this.empty(this.carInput[this.carIndex])) {
  462. this.keyType = this.carInput[this.carIndex].type;
  463. }
  464. },
  465. keyShow() {
  466. this.$refs.keybd._keyShow();
  467. },
  468. keyHide() {
  469. this.$refs.keybd._keyHide();
  470. },
  471. keyCbHide() {
  472. if (this.carIndex != -3 || this.carIndex != -2) {
  473. this.carIndex = -1;
  474. }
  475. },
  476. powerChange(e) {
  477. let that = this
  478. let i = that.checkCar().i
  479. if (e.detail.value.length > 0) {
  480. that.isPower = true;
  481. if (i == -1) {
  482. that.carIndex = 7;
  483. } else {
  484. that.carIndex = i;
  485. }
  486. that.keyShow();
  487. } else {
  488. that.isPower = false;
  489. that.carInput[7].val = "";
  490. if (that.carIndex == 7) {
  491. that.keyHide();
  492. that.carIndex = -2;
  493. }
  494. }
  495. that.upKeyType();
  496. },
  497. checkCar() {
  498. // 检查车牌是否输入完成
  499. let that = this;
  500. let i = 7;
  501. let rt = { i: -1, isempty: false, val: "" };
  502. if (that.isPower) {
  503. i = 8;
  504. }
  505. for (let index = 0; index < i; index++) {
  506. const obj = that.carInput[index];
  507. if (this.empty(String(obj.val))) {
  508. rt.i = index;
  509. rt.isempty = true;
  510. rt.val = "";
  511. break;
  512. }
  513. rt.val += that.carInput[index].val;
  514. }
  515. return rt;
  516. },
  517. toBind() {
  518. let that = this
  519. let ck = that.checkCar();
  520. if (ck.i == -1 && !ck.isempty) {
  521. this.datainfo.plateNumber=ck.val;
  522. if(this.isPower){
  523. this.datainfo.vehicleEnergy='新能源'
  524. }else{
  525. this.datainfo.vehicleEnergy='燃油车'
  526. }
  527. return ck.val
  528. } else {
  529. // 显示键盘输入
  530. // that.keyShow();
  531. // that.carIndex = ck.i;
  532. // that.keyType = that.carInput[ck.i].type;
  533. return '-1'
  534. }
  535. },
  536. //分解车牌
  537. toCarCode(code){
  538. var list=JSON.parse(JSON.stringify(this.carInput))
  539. var newArr=[]
  540. if(code){
  541. newArr=code.split('')
  542. }
  543. list.forEach((ite,idx)=>{
  544. ite.val=newArr[idx]
  545. })
  546. if(newArr.length==8){
  547. this.isPower=true;
  548. }
  549. this.carInput=JSON.parse(JSON.stringify(list))
  550. }
  551. }
  552. }
  553. </script>
  554. <style>
  555. page{background: #F3F3F0;}
  556. </style>
  557. <style lang="scss" scoped>
  558. // 车牌
  559. .carinput {margin-top: 74rpx;display: flex;flex-direction: column;padding-left: 40rpx;padding-right: 40rpx}
  560. .carinput-input{display: flex;justify-content: center;padding-bottom: 40rpx;border-bottom: 2rpx solid #CDCDCD;align-items: center;
  561. .input-active {color: #0256FD;border: 2rpx solid #0256FD;}
  562. .cir{width: 14rpx;height: 14rpx;background: #8D8D8D;border-radius: 50%;margin-right: 18rpx;}
  563. }
  564. .carinput-input-i{width: 62rpx;height: 88rpx;background: #F5F4F7;border-radius: 10rpx;font-weight: bold;font-size: 30rpx;color: #272727;margin-right: 18rpx;text-align: center;box-sizing: border-box;display: flex;flex-direction: column;align-items: center;justify-content: center;
  565. .newtit{
  566. font-weight: bold;font-size: 16rpx;color: #0256FD;
  567. image{width: 28rpx;height: 28rpx;margin-bottom: 4rpx;}
  568. }
  569. }
  570. .check /deep/ .uni-date-editor--x__disabled{opacity: 1;}
  571. .carinput-input-i:nth-last-child(1) {margin-right: 0}
  572. .check /deep/ .uni-forms-item__label .is-required{width: auto;}
  573. .coa /deep/ .uni-date__x-input{text-align: right;color: #AAAAAA;}
  574. .check /deep/ .select-wrap{border: none;width: 100%;}
  575. .check /deep/ .uni-forms-item{min-height: 106rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:10rpx 0;}
  576. .check /deep/ .uni-forms-item__label{font-weight: bold;font-size: 26rpx;color: #222327;flex: 0 0 auto;width: auto !important;}
  577. .check /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 26rpx;color: #222327;}
  578. .check /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 26rpx;}
  579. .check /deep/ .uni-easyinput__placeholder-class{font-size: 26rpx;color: #AAAAAA;}
  580. .check /deep/ .uni-input-input{font-size: 26rpx;}
  581. .check /deep/ .uni-textarea-textarea{font-size: 26rpx;}
  582. .check /deep/ .uni-forms-item__label text{width: 110rpx;text-align-last: justify;}
  583. .check /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
  584. .check{min-height: 100vh;padding: 20rpx 24rpx 28rpx;box-sizing: border-box;display: flex;box-sizing: border-box;}
  585. .cbox{background: #FFFFFF;border-radius: 20rpx;flex: 1;padding-bottom: 76rpx;
  586. .chtop{padding-top: 32rpx;margin-bottom: 22rpx;
  587. .line{width: 14rpx;height: 48rpx;background: #0256FD;border-radius:0 12rpx 12rpx 0;margin-right: 18rpx;}
  588. view{font-weight: bold;font-size: 32rpx;color: #272727;}
  589. }
  590. .chmain{
  591. padding: 0 24rpx;
  592. .upbox{height: 224rpx;background: #EFF4FF;border-radius: 20rpx;display: flex;align-items: center;justify-content: center;flex-direction: column;overflow: auto;
  593. .img{width: 100%;height: 100%;}
  594. .addimg{width: 90rpx;height: 90rpx;margin-bottom: 8rpx;}
  595. view{font-weight: bold;font-size: 26rpx;color: #4C6686;}
  596. }
  597. .carcode{
  598. .tit{font-weight: bold;font-size: 26rpx;color: #272727;}
  599. }
  600. }
  601. .rimg{width: 16rpx;height: 28rpx;flex: 0 0 auto;margin-left: 20rpx;
  602. image{width: 100%;height: 100%;}
  603. }
  604. .zhanbox{font-weight: 500;font-size: 24rpx;color: #AAAAAA;padding: 16rpx 0;margin-top: 20rpx;
  605. image{width: 20rpx;height: 12rpx;margin-left: 18rpx;transition: all 0.3s;
  606. &.act{transform: rotate(-180deg);}
  607. }
  608. }
  609. }
  610. .tips{font-weight: bold;color: #272727;font-size: 26rpx;margin-left: 8rpx;}
  611. </style>