entry.vue 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363
  1. <template>
  2. <view class="page">
  3. <public-module></public-module>
  4. <service-widget @btnClick="btn_click"></service-widget>
  5. <!-- <view class="inputPrompt mb-2">
  6. 请尽量与上年度保单保持一致!
  7. </view> -->
  8. <view class="banner mb-3" v-if="insuranceType==1">
  9. <image src="/static/image/car-insure/carban.png" mode=""></image>
  10. </view>
  11. <view class="carinfo">
  12. <view class="title dis a-c j-s mb-3">
  13. <text>车辆信息</text>
  14. <view class="rounded dis a-c j-c">
  15. <view class="left dis a-c j-c" :class="insuranceType==1? 'active':''" @click="insuranceType=1">
  16. <text>车牌号</text>
  17. </view>
  18. <view class="center"></view>
  19. <view class="right dis a-c j-c" :class="insuranceType==2? 'active':''" @click="insuranceType=2">
  20. <text>行驶证</text>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="carinput" v-show="insuranceType==1">
  25. <view class="top dis a-c j-s mb-3">
  26. <text>车牌号码</text>
  27. <u-switch v-model="checked" active-color="#0052FF" inactive-color="#eee" size='30'
  28. @change="switchChange"></u-switch>
  29. </view>
  30. <view class="btn dis a-c j-s">
  31. <view class="so-plate-word dis a-c j-c" data-index="0" :class="currentInputIndex==0?'actives':''"
  32. @tap="inputSwitch">
  33. <text>{{LicenseInputValue[0]}}</text>
  34. </view>
  35. <view class="so-plate-word dis a-c j-c" data-index="1" :class="currentInputIndex==1?'actives':''"
  36. @tap="inputSwitch">
  37. <text>{{LicenseInputValue[1]}}</text>
  38. </view>
  39. <view class="so-plate-dot"></view>
  40. <view class="so-plate-word dis a-c j-c" data-index="2" :class="currentInputIndex==2?'actives':''"
  41. @tap="inputSwitch">
  42. <text>{{LicenseInputValue[2]}}</text>
  43. </view>
  44. <view class="so-plate-word dis a-c j-c" data-index="3" :class="currentInputIndex==3?'actives':''"
  45. @tap="inputSwitch">
  46. <text>{{LicenseInputValue[3]}}</text>
  47. </view>
  48. <view class="so-plate-word dis a-c j-c" data-index="4" :class="currentInputIndex==4?'actives':''"
  49. @tap="inputSwitch">
  50. <text>{{LicenseInputValue[4]}}</text>
  51. </view>
  52. <view class="so-plate-word dis a-c j-c" data-index="5" :class="currentInputIndex==5?'actives':''"
  53. @tap="inputSwitch">
  54. <text>{{LicenseInputValue[5]}}</text>
  55. </view>
  56. <view class="so-plate-word dis a-c j-c" data-index="6" :class="currentInputIndex==6?'actives':''"
  57. @tap="inputSwitch">
  58. <text>{{LicenseInputValue[6]}}</text>
  59. </view>
  60. <view class="so-plate-word dis a-c j-c" data-index="7" :class="currentInputIndex==7?'newactives':''"
  61. @tap="inputSwitch">
  62. <text v-if="LicenseInputValue[7]">{{LicenseInputValue[7]}}</text>
  63. <view v-else class="newEnergy dis f-c a-c j-c">
  64. <image src="/static/image/car-insure/leaf.png" mode="">
  65. </image>
  66. <text>新能源</text>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view v-show="insuranceType==2" class="OCRcar">
  72. <view class="title dis j-s a-c">
  73. <view class="dis a-c">
  74. <text>行驶证识别</text>
  75. <view class="switch-container ml-2" @tap="toggleSwitch" v-if="carbackImg">
  76. <view class="switch-track">
  77. <view class="switch-thumb dis a-c j-c" :class="{ thumbactive: !isActive }"></view>
  78. <view class="switch-thumb1 dis a-c j-c" :class="{ thumbactive1: isActive }">主页</view>
  79. <view class="switch-thumb2 dis a-c j-c" :class="{ thumbactive1: !isActive }">副本</view>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="manualSwitch dis a-c j-s" @click="carSwitching=!carSwitching">
  84. <image
  85. :src="carSwitching?'../../static/image/car-insure/manualInput.png':'../../static/image/car-insure/captureRecognition.png'"
  86. mode=""></image>
  87. <text>{{carSwitching?'手动输入':'拍照识别'}}</text>
  88. </view>
  89. </view>
  90. <view class="ocr mt-2">
  91. <view class="" v-show="carSwitching">
  92. <image v-show="!carfrontImg" @tap="ocrIdentify" src="/static/image/car-insure/carbg.png" mode=""
  93. style="width: 100%;height: 198px;">
  94. </image>
  95. <view v-if="carfrontImg" class="movable-view dis f-c a-c">
  96. <movable-area>
  97. <movable-view direction="all" :out-of-bounds="true" :scale="true" :damping="30"
  98. :friction="10">
  99. <image v-if="isActive" :src="carfrontImg" mode="widthFix"
  100. :style="{width:'100%',height:'100%',transform:`rotate(-${cardeg}deg)`}">
  101. </image>
  102. <image v-else :src="carbackImg" mode="widthFix"
  103. :style="{width:'100%',height:'100%',transform:`rotate(-${cardeg}deg)`}">
  104. </image>
  105. </movable-view>
  106. </movable-area>
  107. <view class="operate-img dis j-s a-c">
  108. <view class="dis a-c" @tap="rotatefront('cardeg')">
  109. <image src="/static/image/car-insure/rotate1.png" mode=""></image>
  110. 左转
  111. </view>
  112. <view class="dis a-c" @tap="ocrIdentify('carInfo')">
  113. <image src="/static/image/car-insure/upload.png" mode=""></image>
  114. 上传
  115. </view>
  116. <view class="dis a-c" @tap="rotateback('cardeg')">
  117. <image src="/static/image/car-insure/rotate2.png" mode=""></image>
  118. 右转
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. <view v-show="!carSwitching || carfrontImg">
  124. <CarInfoForm :carInfo="carInfo" ref="carForm" :upperCaseType="upperCaseType"
  125. :toChooseVehicleType="toChooseVehicleType" :toChooseVin="toChooseVin"
  126. :dictionaryConfirm="dictionaryConfirm" :Dateconfirm="Dateconfirm"
  127. :natureOfVehicleUseoptions="natureOfVehicleUseoptions"
  128. :energyTypeoptions="energyTypeoptions"
  129. :trafficManagementVehicleTypeoptions="trafficManagementVehicleTypeoptions"
  130. :vehicleTypeoptions="vehicleTypeoptions"
  131. :businessVehicleUseoptions="businessVehicleUseoptions"
  132. :outOfBusinessVehicleUseoptions="outOfBusinessVehicleUseoptions" :carInfos="carInfo1"
  133. :errorType="errorType" />
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. <view class="fixed dis a-c j-c">
  139. <u-button type="warning" class="fiexdbtn" shape="circle" @click="toNext">立即投保</u-button>
  140. </view>
  141. <u-popup v-model="carModelLookupModal" mode="bottom" border-radius="10" height="1300">
  142. <view class="ZJcheckboxGroup dis f-c">
  143. <view class="title dis a-c j-c">
  144. <text>车辆型号</text>
  145. </view>
  146. <scroll-view scroll-y="true" class="scolcentent">
  147. <view class="noDataIndicator dis f-c a-c mt-4" v-if="carTypeVINList.length<0">
  148. <image src="../../static/image/car-insure/noDataIndicator.png" mode=""></image>
  149. <text>搜索不出内容,请点击下一步选择品牌型号,再进行报价!</text>
  150. </view>
  151. <view class="row mt-2" v-for="(item,index) in carTypeVINList" :key="index"
  152. :class="isFocusedIndex==index?'carTypeColor':''" @tap="carTypeClick(index,item)">
  153. <view class="row_header dis a-c j-s">
  154. <view class="left">{{item.modelName }}</view>
  155. <view class="right">¥{{item.replacementValue}}</view>
  156. </view>
  157. <view class="row_body dis f-c">
  158. <view class="dis j-s">
  159. <view style="margin-right: 5px;">车系:{{item.series}}</view>
  160. <view>{{item.remark}}</view>
  161. <view style="margin-left: auto;">({{item.ratedPassengerCapacity}}座)</view>
  162. </view>
  163. <view class="dis j-s">
  164. <view>年款:<text style="color: #2432ff;">{{item.marketYear}}</text></view>
  165. <view>排量:<text style="color: #2432ff;">{{item.displacement}}</text></view>
  166. <view>功率:<text style="color: #2432ff;">{{item.powerScale}}</text></view>
  167. </view>
  168. </view>
  169. </view>
  170. </scroll-view>
  171. <view class="operateBtn dis j-s a-c mb-1">
  172. <view class="confirm dis a-c j-c" @click="carModelLookupSubmit()">
  173. 确定
  174. </view>
  175. <view class="confirm dis a-c j-c" v-if="carTypeVINList.length<0" @click="carModelLookupNext()">
  176. 下一步
  177. </view>
  178. </view>
  179. </view>
  180. </u-popup>
  181. <u-popup v-model="brandModelLookupModal" mode="bottom" border-radius="10" height="1300">
  182. <view class="ZJcheckboxGroup dis f-c">
  183. <view class="title dis a-c j-c">
  184. <text>品牌型号</text>
  185. </view>
  186. <view class="">
  187. <u-input v-model="marketYear" type="select" :border="true" :select-open="marketYearShow"
  188. @click="marketYearShow = true" :custom-style="{textAlign:'center'}"
  189. placeholder-style="color:#808080" placeholder="选择年款"
  190. style="float: right;width: 100px;margin: 10px;" />
  191. </view>
  192. <scroll-view scroll-y="true" class="scolcentent">
  193. <view class="noDataIndicator dis f-c a-c" v-if="brandModelList && brandModelList.length==0">
  194. <image src="../../static/image/car-insure/noDataIndicator.png" mode=""></image>
  195. <text>搜索不出内容,请点击选择品牌型号,再进行报价!</text>
  196. </view>
  197. <view class="row mt-2" v-for="(item,index) in brandModelList" :key="index"
  198. :class="brandModelIndex==index?'carTypeColor':''" @tap="brandModelClick(index,item)">
  199. <view class="row_header dis a-c j-s">
  200. <view class="left">{{item.modelName }}</view>
  201. <view class="right">¥{{item.replacementValue}}</view>
  202. </view>
  203. <view class="row_body dis f-c">
  204. <view class="dis j-s">
  205. <view style="margin-right: 5px;">车系:{{item.series}}</view>
  206. <view>{{item.remark}}</view>
  207. <view style="margin-left: auto;">({{item.ratedPassengerCapacity}}座)</view>
  208. </view>
  209. <view class="dis j-s">
  210. <view>年款:<text style="color: #2432ff;">{{item.marketYear}}</text></view>
  211. <view>排量:<text style="color: #2432ff;">{{item.displacement}}</text></view>
  212. <view>功率:<text style="color: #2432ff;">{{item.powerScale}}</text></view>
  213. </view>
  214. </view>
  215. </view>
  216. </scroll-view>
  217. <view class="operateBtn dis j-s a-c mb-1">
  218. <view class="confirm dis a-c j-c" @click="brandModelLookupSubmit()">
  219. 确定
  220. </view>
  221. </view>
  222. </view>
  223. </u-popup>
  224. <OCRComponent :showModal='OCRShow' @closePopup="closePopup" :tabslist="tabslist" @tabschange="OCRtabschange"
  225. :tabsCurrent="tabsCurrent" :checkType='checkType' @carCallback="carCallback">
  226. </OCRComponent>
  227. <u-keyboard ref="uKeyboard" mode="car" :keyboardType="keyboardType" v-model="keyboardShow"
  228. @change="keyboardchange" @backspace="backspacesss" @confirm="backsconfirm"></u-keyboard>
  229. <u-picker v-model="marketYearShow" mode="time" :params="params1" @confirm="marketYearDateconfirm"></u-picker>
  230. <u-toast ref="uToast" />
  231. </view>
  232. </template>
  233. <script>
  234. import {
  235. nextTick
  236. } from 'process';
  237. import OCRComponent from '@/components/modules/carInsure/OCRComponent/OCRComponent.vue'; //引用图片信息检查插件
  238. import CarInfoForm from '@/components/common/commonFormItem/CarInfoForm.vue';
  239. var dateTime = new Date();
  240. let Year = dateTime.getFullYear();
  241. let Month = Number(dateTime.getMonth() + 1);
  242. export default {
  243. components: {
  244. OCRComponent,
  245. CarInfoForm
  246. },
  247. data() {
  248. return {
  249. //品牌弹窗
  250. params1: {
  251. year: true, //年
  252. month: false, //月
  253. day: false, //日
  254. hour: false, //时
  255. minute: false, //分
  256. second: false, //秒
  257. },
  258. marketYearShow: false,
  259. marketYear: "", //年款查询条件
  260. brandModelIndex: "99",
  261. brandModelList: null,
  262. brandModelListIndex: {},
  263. brandModelLookupModal: false,
  264. //车型弹窗
  265. isFocusedIndex: "99",
  266. carTypeVINList: [],
  267. carTypeVINListIndex: {},
  268. carModelLookupModal: false,
  269. model: {
  270. name: '',
  271. sex: '',
  272. likeFruit: '',
  273. intro: '',
  274. payType: '支付宝',
  275. agreement: false,
  276. region: '',
  277. goodsType: '2',
  278. phone: '',
  279. code: '',
  280. password: '',
  281. rePassword: '',
  282. remember: false,
  283. photo: ''
  284. },
  285. errorType: ['border-bottom', 'toast'],
  286. isActive: true,
  287. vehicleType: false, //车型查询调用标识
  288. keyboardType: false, //键盘中/英切换标识
  289. endYear: Year,
  290. endMonth: Month,
  291. params: {
  292. year: true, //年
  293. month: true, //月
  294. day: true, //日
  295. hour: false, //时
  296. minute: false, //分
  297. second: false, //秒
  298. },
  299. //影像信息
  300. carSwitching: true, //true识别 false录入
  301. keyboardShow: false,
  302. insuranceType: 2,
  303. checked: true,
  304. LicenseInputValue: ['晋', 'A', '', '', '', '', '', ''],
  305. currentInputIndex: 0,
  306. carInfoPositiveList: [], //车辆
  307. ownerInfoPositiveList: [], //车主
  308. policyHolderInfoPositiveList: [], //投保人
  309. insuredPersonInfoPositiveList: [], //被保人
  310. ownerInfo: {
  311. name: "",
  312. identifyType: "01",
  313. identifyNumber: "",
  314. addr: "",
  315. gender: "", //性别
  316. email: "", //邮箱
  317. mobile: "",
  318. identifyValidDate: "", //有效期起期
  319. identifyValidEndDate: "", //有效期止期
  320. age: "", //年龄
  321. },
  322. policyHolderInfo: {
  323. name: "",
  324. identifyType: "01",
  325. identifyNumber: "",
  326. addr: "",
  327. gender: "", //性别
  328. email: "",
  329. mobile: "",
  330. identifyValidDate: "", //有效期起期
  331. identifyValidEndDate: "", //有效期止期
  332. age: "", //年龄
  333. },
  334. insuredPersonInfo: {
  335. name: "",
  336. identifyType: "01",
  337. identifyNumber: "",
  338. addr: "",
  339. gender: "", //性别
  340. email: "",
  341. mobile: "",
  342. identifyValidDate: "", //有效期起期
  343. identifyValidEndDate: "", //有效期止期
  344. age: "", //年龄
  345. },
  346. //车辆信息
  347. carInfo: {
  348. licenseNo: "", //车牌号
  349. brandName: "", //车辆品牌型号
  350. vinNo: "", //车架号
  351. engineNo: "", //发动机号
  352. modelCode: "", //车型编码
  353. seatCount: "", //核定载客量 核定载人数
  354. purchasePrice: "", //新车购置价最低,行业实际价值,协商价值
  355. carBrand: "", //车型品牌
  356. ciCarName: "", //行业车型名称
  357. ciModelCode: "", //行业车型编码
  358. completeKerbMass: "", //整备质量
  359. exhaustScale: "", //排量
  360. factory: "", //工厂名称
  361. factoryid: "", //工厂编码
  362. frameNo: "", //车架号
  363. licenseTypeCode: "02", //号牌种类
  364. vehicleclass: "", //车辆类型
  365. familyName: "", //车型
  366. modelcname: "", //车型名称
  367. powertypecode: "", //燃料类型编码
  368. vehicleweight: "", //总质量
  369. limitLoad: "", //核定载质量
  370. caryear: "", //年款
  371. cimodelclass: "A0", //车辆种类客车A0 货车H0
  372. cartype: "K33", //车辆类型
  373. powertype: "汽油", //燃料类型
  374. energyType: "0", //能源种类
  375. enginedesc: "", //排量
  376. powerScale: "", //功率
  377. registerDate: "", //注册日期
  378. issueDate: "", //发证日期
  379. transferFlag: false, //过户标志
  380. transferFlagBi: false, //商业过户标志
  381. transferDate: "", //过户日期
  382. loanStatus: 0, //贷款标志
  383. firstBeneMan: "", //第一受益人
  384. noLicenseFlag: false, //是否新车
  385. carnature: "02", //使用性质 家庭自用8A 非营业企业8B 非营业党政机关,事业团体8C 非营业货车8D
  386. property: "1", //所属性质 1个人 2企业 3个人
  387. outOfInsurance: false, //脱保
  388. usedCar: false, //二手车
  389. vehicleUse: "05" //车辆用途
  390. },
  391. carInfo1: {
  392. carnature: "非营业",
  393. energyType: "燃油",
  394. vehicleUse: "家庭自用",
  395. cartype: "轿车",
  396. cimodelclass: "客车",
  397. },
  398. registerDateShow: false, //注册日期
  399. issueDateShow: false, //发证日期
  400. transferDateShow: false, //转移登记日期
  401. carnatureShow: false, //使用性质
  402. energyTypeShow: false, //能源种类
  403. vehicleUseShow: false, //车辆用途
  404. cartypeShow: false, //车辆类型
  405. cimodelclassShow: false, //车辆种类
  406. /* 数据字典 */
  407. natureOfVehicleUseoptions: [],
  408. vehicleTypeoptions: [],
  409. trafficManagementVehicleTypeoptions: [],
  410. energyTypeoptions: [],
  411. businessVehicleUseoptions: [],
  412. outOfBusinessVehicleUseoptions: [],
  413. /* 数据字典 */
  414. tabslist: [{
  415. name: '行驶证识别'
  416. }, ],
  417. OCRShow: false,
  418. tabsCurrent: 0,
  419. checkType: "carInfo", //组件类型
  420. carfrontImg: null, //展示图片
  421. carbackImg: null, //展示图片
  422. cardeg: 0, //旋转角度
  423. word: "word",
  424. }
  425. },
  426. async onLoad() {
  427. this.$http.get('/sysMenuRecord/add?type=1&menuType=1')
  428. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  429. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  430. this.getDicType("natureOfVehicleUse"); //车辆性质
  431. this.getDicType("vehicleType"); //车辆种类
  432. this.getDicType("trafficManagementVehicleType"); //车辆类型
  433. this.getDicType("energyType"); //能源种类
  434. if (this.checked) {
  435. this.LicenseInputValue.forEach((val, index) => {
  436. if (index < 7) {
  437. this.$set(this.LicenseInputValue, index, "*");
  438. }
  439. })
  440. let valueList = this.LicenseInputValue;
  441. const str = valueList.join("")
  442. this.carInfo.licenseNo = str;
  443. } else {
  444. this.LicenseInputValue.forEach((val, index) => {
  445. this.$set(this.LicenseInputValue, index, "");
  446. })
  447. this.carInfo.licenseNo = "";
  448. }
  449. },
  450. onShow() {
  451. let historyInfo = uni.getStorageSync('historyInfo');
  452. if (historyInfo) {
  453. this.carInfo = historyInfo.carInfo;
  454. this.ownerInfo = historyInfo.ownerInfo;
  455. this.policyHolderInfo = historyInfo.policyHolderInfo;
  456. this.insuredPersonInfo = historyInfo.insuredPersonInfo;
  457. this.carInfoPositiveList = historyInfo.carInfoPositiveList;
  458. this.ownerInfoPositiveList = historyInfo.ownerInfoPositiveList;
  459. this.policyHolderInfoPositiveList = historyInfo.policyHolderInfoPositiveList;
  460. this.insuredPersonInfoPositiveList = historyInfo.insuredPersonInfoPositiveList;
  461. }
  462. },
  463. watch: {
  464. currentInputIndex(newVal) {
  465. switch (newVal) {
  466. case 0:
  467. this.keyboardType = false;
  468. break;
  469. default:
  470. this.keyboardType = true;
  471. }
  472. },
  473. "carInfo.energyType": {
  474. handler(val) {
  475. if (val) {
  476. this.carInfo1.energyType = this.dictionaryMatching(this.energyTypeoptions,
  477. this
  478. .carInfo
  479. .energyType);
  480. }
  481. },
  482. deep: true
  483. },
  484. "carInfo.cartype": {
  485. handler(val) {
  486. if (val) {
  487. this.carInfo1.cartype = this.dictionaryMatching(this.trafficManagementVehicleTypeoptions,
  488. this
  489. .carInfo
  490. .cartype);
  491. }
  492. },
  493. deep: true
  494. },
  495. },
  496. methods: {
  497. btn_click() {
  498. uni.navigateTo({
  499. url: '/pages/chat/chat'
  500. })
  501. },
  502. toggleSwitch() {
  503. this.isActive = !this.isActive;
  504. },
  505. rotatefront(int) {
  506. this[int] = this[int] == 270 ? 0 : this[int] + 90;
  507. },
  508. rotateback(int) {
  509. this[int] = this[int] == 0 ? 270 : this[int] - 90;
  510. },
  511. dictionaryConfirm(e, name) {
  512. if (name == 'carnature') {
  513. this.carInfo1['vehicleUse'] = "";
  514. this.carInfo['vehicleUse'] = "";
  515. }
  516. this.carInfo[name] = e[0].value;
  517. this.carInfo1[name] = e[0].label;
  518. },
  519. async getDicType(type) {
  520. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  521. if (res.code == 200) {
  522. this[type + 'options'] = res.data.ddList;
  523. // if (type == "trafficManagementVehicleType") {
  524. // this.carInfo1.cartype = this.dictionaryMatching(this.trafficManagementVehicleTypeoptions, this
  525. // .carInfo
  526. // .cartype)
  527. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  528. // this
  529. // .carInfo
  530. // .cimodelclass)
  531. // }
  532. }
  533. },
  534. //字典name匹配
  535. dictionaryMatching(list, value) {
  536. let obj = list.find(val => val.dictValue == value);
  537. return obj.dictTag;
  538. },
  539. //OC识别返回信息
  540. async carCallback(obj) {
  541. this.carfrontImg = obj.frontImg;
  542. this.carbackImg = obj.backImg;
  543. this.carInfoPositiveList = obj.ImgList;
  544. Object.assign(this.carInfo, obj.Info);
  545. this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  546. this
  547. .carInfo
  548. .cimodelclass)
  549. this.carInfo1.cartype = this.dictionaryMatching(this.trafficManagementVehicleTypeoptions,
  550. this
  551. .carInfo
  552. .cartype);
  553. this.carInfo1.carnature = this.carInfo.carnature ? this.dictionaryMatching(this
  554. .natureOfVehicleUseoptions,
  555. this
  556. .carInfo
  557. .carnature) : "";
  558. if (this.carInfo.carnature && this.carInfo.vehicleUse) {
  559. this.carInfo1.vehicleUse = this.carInfo.carnature == '02' ? this.dictionaryMatching(this
  560. .outOfBusinessVehicleUseoptions,
  561. this
  562. .carInfo
  563. .vehicleUse) : this.dictionaryMatching(this
  564. .BusinessVehicleUseoptions,
  565. this
  566. .carInfo
  567. .vehicleUse);
  568. } else {
  569. this.carInfo1.vehicleUse = "";
  570. }
  571. this.OCRShow = false;
  572. this.carModelLookupModal = true;
  573. let res = await this.$http.get('/order/carModel/vinSearch?frameNo=' + this.carInfo.frameNo);
  574. this.carTypeVINList = res.data;
  575. },
  576. upperCaseType(type) {
  577. this.carInfo[type] = this.carInfo[type].toUpperCase();
  578. if (type == 'frameNo') {
  579. this.carInfo.vinNo = this.carInfo.frameNo.trim();
  580. }
  581. },
  582. //
  583. transferFlagchange(status) {
  584. if (status) {
  585. this.carInfo.transferDate = this.carInfo.issueDate;
  586. } else {
  587. this.carInfo.transferDate = ""
  588. }
  589. },
  590. Dateconfirm(e, obj, param) {
  591. this[obj][param] = e.year + '-' + e.month + '-' + e.day;
  592. },
  593. //下一步
  594. toNext() {
  595. switch (this.insuranceType) {
  596. case 1:
  597. if (!this.carInfo.licenseNo && !this.islicense(this.carInfo.licenseNo)) {
  598. return uni.showToast({
  599. icon: "none",
  600. title: '请填写正确的车牌号码',
  601. duration: 1500
  602. });
  603. }
  604. let params = {
  605. carInfo: this
  606. .carInfo,
  607. ownerInfo: this
  608. .ownerInfo,
  609. policyHolderInfo: this
  610. .policyHolderInfo,
  611. insuredPersonInfo: this
  612. .insuredPersonInfo,
  613. carInfoPositiveList: this
  614. .carInfoPositiveList, //车辆
  615. ownerInfoPositiveList: this
  616. .ownerInfoPositiveList, //车主
  617. policyHolderInfoPositiveList: this
  618. .policyHolderInfoPositiveList, //投保人
  619. insuredPersonInfoPositiveList: this
  620. .insuredPersonInfoPositiveList, //被保人
  621. }
  622. this.navigate({
  623. url: "/pages/carInsure/Information?licenseNo=" + encodeURIComponent(this.carInfo
  624. .licenseNo) + '&historyInfo=' + `${JSON.stringify(params)}`
  625. }, "navigateTo", true)
  626. break;
  627. case 2:
  628. if (!this.carInfo.licenseNo && !this.carfrontImg) {
  629. return uni.showToast({
  630. icon: "none",
  631. title: '请上传资料或录入信息后再投保',
  632. duration: 1500
  633. });
  634. }
  635. if (this.carInfo.licenseNo.length == '8' && this.carInfo1.energyType == "燃油") {
  636. return uni.showToast({
  637. icon: "none",
  638. title: '能源类型错误,修改后再投保',
  639. duration: 1500
  640. });
  641. }
  642. this.$refs.carForm.validate(valid => {
  643. if (valid) {
  644. if (this.vehicleType) {
  645. this.navigate({
  646. url: '/pages/carInsure/Information',
  647. success: (res) => {
  648. res.eventChannel.emit(
  649. "acceptData", {
  650. carInfo: this
  651. .carInfo,
  652. ownerInfo: this
  653. .ownerInfo,
  654. policyHolderInfo: this
  655. .policyHolderInfo,
  656. insuredPersonInfo: this
  657. .insuredPersonInfo,
  658. carInfoPositiveList: this
  659. .carInfoPositiveList, //车辆
  660. ownerInfoPositiveList: this
  661. .ownerInfoPositiveList, //车主
  662. policyHolderInfoPositiveList: this
  663. .policyHolderInfoPositiveList, //投保人
  664. insuredPersonInfoPositiveList: this
  665. .insuredPersonInfoPositiveList, //被保人
  666. })
  667. }
  668. }, "navigateTo", true);
  669. } else {
  670. this.$refs.uToast.show({
  671. title: '检测到未精准校验车型,即将跳转到车型界面选择,请等待。。。',
  672. type: 'warning',
  673. icon: false,
  674. })
  675. setTimeout(() => {
  676. this.navigate({
  677. url: '/pages/carInsure/carType?frameNo=' +
  678. encodeURIComponent(this.carInfo
  679. .frameNo) +
  680. '&vehicleType=true'
  681. }, "navigateTo", true);
  682. }, 2000)
  683. }
  684. }
  685. });
  686. break;
  687. default:
  688. }
  689. // this.navigate({
  690. // url: '/pages/carInsure/Information',
  691. // })
  692. },
  693. switchChange(value) {
  694. if (value) {
  695. this.LicenseInputValue.forEach((val, index) => {
  696. if (index < 7) {
  697. this.$set(this.LicenseInputValue, index, "*");
  698. }
  699. })
  700. let valueList = this.LicenseInputValue;
  701. const str = valueList.join("")
  702. this.carInfo.licenseNo = str;
  703. } else {
  704. this.LicenseInputValue.forEach((val, index) => {
  705. this.$set(this.LicenseInputValue, index, "");
  706. })
  707. this.carInfo.licenseNo = "";
  708. }
  709. },
  710. // 通过车架号获取车型
  711. toChooseVin(cctype) {
  712. if (cctype == '' || cctype == null) {
  713. return uni.showToast({
  714. icon: 'none',
  715. title: '请输入车架号',
  716. duration: 1500
  717. });
  718. } else {
  719. if (!this.isFrameno(cctype.trim())) {
  720. return uni.showToast({
  721. title: '请输入正确的车辆识别码',
  722. icon: "none"
  723. });
  724. }
  725. this.getCarModel(cctype);
  726. }
  727. },
  728. //车型查询
  729. async getCarModel(cctype) {
  730. this.carModelLookupModal = true;
  731. let res = await this.$http.get('/order/carModel/vinSearch?frameNo=' + cctype);
  732. this.carTypeVINList = res.data;
  733. },
  734. //品牌型号查询
  735. async getBrandModel(cctype, marketYear) {
  736. this.brandModelLookupModal = true;
  737. let cctypeName = cctype.replace(/[^u4e00-u9fa5|,]+/ig, ''); //去掉中文
  738. let res = await this.$http.post('/order/zhongMeiApi/modelsQuery', {
  739. modelName: cctypeName,
  740. marketYear: marketYear
  741. });
  742. this.brandModelList = res.data;
  743. },
  744. carTypeClick(index, item) {
  745. this.isFocusedIndex = index;
  746. this.carTypeVINListIndex = item;
  747. },
  748. //车型赋值
  749. carModelLookupSubmit() {
  750. if (this.isFocusedIndex !== "99") {
  751. this.carInfo.brandName = this.carTypeVINListIndex.brandCN; //车型
  752. this.carInfo.modelcname = this.carTypeVINListIndex.modelName; //车型
  753. this.carInfo.caryear = this.carTypeVINListIndex.marketYear; //年款
  754. this.carInfo.seatCount = this.carTypeVINListIndex.ratedPassengerCapacity; //座位数
  755. this.carInfo.purchasePrice = this.carTypeVINListIndex.replacementValue; //价格
  756. this.carInfo.modelCode = this.carTypeVINListIndex.modelCode; //车辆型号编码
  757. this.carInfo.familyName = this.carTypeVINListIndex.series; //系列
  758. this.carInfo.enginedesc = this.carTypeVINListIndex.displacement; //排量
  759. this.carInfo.energyType = this.carTypeVINListIndex.fuelTypeCode; //燃油种类
  760. this.carInfo.powerScale = this.carTypeVINListIndex.powerScale; //功率
  761. this.carModelLookupModal = false;
  762. this.vehicleType = true;
  763. } else {
  764. return uni.showToast({
  765. title: '未选择车型',
  766. icon: "none"
  767. });
  768. }
  769. },
  770. carModelLookupNext() {
  771. this.carModelLookupModal = false;
  772. this.getBrandModel(this.carInfo.modelcname);
  773. },
  774. //品牌
  775. brandModelClick(index, item) {
  776. this.brandModelIndex = index;
  777. this.brandModelListIndex = item;
  778. },
  779. //品牌型号赋值
  780. brandModelLookupSubmit() {
  781. if (this.brandModelIndex !== "99") {
  782. this.carInfo.brandName = this.brandModelListIndex.brandCN; //车型
  783. this.carInfo.modelcname = this.brandModelListIndex.modelName; //车型
  784. this.carInfo.caryear = this.brandModelListIndex.marketYear; //年款
  785. this.carInfo.seatCount = this.brandModelListIndex.ratedPassengerCapacity; //座位数
  786. this.carInfo.purchasePrice = this.brandModelListIndex.replacementValue; //价格
  787. this.carInfo.modelCode = this.brandModelListIndex.modelCode; //车辆型号编码
  788. this.carInfo.familyName = this.brandModelListIndex.series; //系列
  789. this.carInfo.enginedesc = this.brandModelListIndex.displacement; //排量
  790. this.carInfo.energyType = this.brandModelListIndex.fuelTypeCode; //燃油种类
  791. this.carInfo.powerScale = this.brandModelListIndex.powerScale; //功率
  792. this.brandModelLookupModal = false;
  793. this.vehicleType = true;
  794. } else {
  795. return uni.showToast({
  796. title: '未选择车型',
  797. icon: "none"
  798. });
  799. }
  800. },
  801. marketYearDateconfirm(e) {
  802. this.marketYear = e.year;
  803. this.getBrandModel(this.carInfo.modelcname, this.marketYear);
  804. },
  805. //跳转选择车辆类型页面
  806. async toChooseVehicleType(cctype) {
  807. if (cctype == '' || cctype == null) {
  808. uni.showToast({
  809. icon: 'none',
  810. title: '请输入车型名称',
  811. duration: 1500
  812. });
  813. } else {
  814. this.getBrandModel(cctype);
  815. }
  816. },
  817. //验证车牌号
  818. islicense(val) {
  819. let mPattern = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4,5}[A-Z0-9挂学警港澳]{1}$/;
  820. return mPattern.test(val);
  821. },
  822. //验证车架号
  823. isFrameno(str) {
  824. let mPattern = /^([0-9A-Z]){17}$/;
  825. return mPattern.test(str);
  826. },
  827. //OCR识别
  828. ocrIdentify() {
  829. this.OCRShow = !this.OCRShow;
  830. },
  831. closePopup() {
  832. this.OCRShow = false;
  833. },
  834. OCRtabschange(e) {
  835. this.tabsCurrent = e;
  836. },
  837. keyboardchange(val) {
  838. this.$set(this.LicenseInputValue, this.currentInputIndex, val);
  839. if (this.currentInputIndex < 7) {
  840. this.currentInputIndex++;
  841. }
  842. },
  843. backsconfirm() {
  844. let valueList = this.LicenseInputValue;
  845. const str = valueList.join("")
  846. this.carInfo.licenseNo = str;
  847. },
  848. //键盘退格键
  849. backspacesss() {
  850. this.$set(this.LicenseInputValue, this.currentInputIndex, '')
  851. if (this.currentInputIndex != 0) this.currentInputIndex--
  852. },
  853. inputSwitch(e) {
  854. const {
  855. index
  856. } = e.currentTarget.dataset;
  857. this.currentInputIndex = parseInt(index);
  858. this.keyboardShow = true;
  859. console.log(this.currentInputIndex);
  860. },
  861. }
  862. }
  863. </script>
  864. <style lang="scss" scoped>
  865. .search {
  866. background: linear-gradient(270deg, #FF9A47 0%, #FF5600 100%);
  867. border-radius: 2px;
  868. color: #fff;
  869. font-size: 22rpx;
  870. padding: 1px 6px;
  871. }
  872. /deep/ {
  873. .u-form-item {
  874. padding: 2px 0;
  875. }
  876. .u-form-item .uni-input-placeholder {
  877. color: grey !important;
  878. }
  879. .u-form-item__border-bottom--error[data-v-5e7216f1]:after {
  880. border-color: #D42426;
  881. }
  882. .u-border-bottom:after {
  883. border-bottom-width: 2px;
  884. }
  885. }
  886. .uni-forms-item .uni-input-input {
  887. text-align: end;
  888. }
  889. ::v-deep .uni-forms-item {
  890. border-bottom: 1px solid #f2f2f2;
  891. }
  892. ::v-deep .uni-forms-item:last-child {
  893. border: none;
  894. }
  895. page {
  896. height: 100vh;
  897. background: #F8FAFE;
  898. }
  899. .page {
  900. padding: 16px 16px 50px 16px;
  901. }
  902. .banner {
  903. width: 100%;
  904. height: 202px;
  905. image {
  906. width: 100%;
  907. height: 100%;
  908. }
  909. }
  910. .carinfo {
  911. width: 100%;
  912. height: auto;
  913. >.title {
  914. padding: 10px;
  915. border-bottom: 1px solid #f2f2f2;
  916. >text {
  917. font-weight: bold;
  918. font-size: 15px;
  919. }
  920. .rounded {
  921. width: 120px;
  922. height: 28px;
  923. background: #0052FF;
  924. border-radius: 15px;
  925. padding: 1px;
  926. box-sizing: border-box;
  927. position: relative;
  928. .left {
  929. width: 50%;
  930. height: 100%;
  931. background-color: white;
  932. border-top-left-radius: 15px;
  933. border-bottom-left-radius: 15px;
  934. font-size: 24rpx;
  935. color: #0052FF;
  936. }
  937. .right {
  938. width: 50%;
  939. height: 100%;
  940. background-color: #fff;
  941. border-top-right-radius: 15px;
  942. border-bottom-right-radius: 15px;
  943. font-size: 24rpx;
  944. color: #0052FF;
  945. }
  946. .center {
  947. width: 8px;
  948. height: 100%;
  949. background-color: white;
  950. position: absolute;
  951. border-left: 1px solid #0052FF;
  952. border-right: 1px solid #0052FF;
  953. top: 50%;
  954. left: 50%;
  955. transform: translate(-50%, -50%) skewX(-10deg);
  956. }
  957. .active {
  958. background-color: #0052FF;
  959. color: #fff;
  960. }
  961. }
  962. }
  963. .carinput {
  964. width: 100%;
  965. height: auto;
  966. background: #FFFFFF;
  967. box-shadow: 0px 4px 10px 0px #DAE3F4;
  968. border-radius: 12px;
  969. padding: 10px;
  970. .top {
  971. font-weight: bold;
  972. font-size: 15px;
  973. }
  974. .so-plate-word {
  975. width: 40px;
  976. height: 40px;
  977. background-color: #f8f8fa;
  978. border-radius: 5px;
  979. margin: 0 4px;
  980. box-sizing: border-box;
  981. text {
  982. font-size: 18px;
  983. font-weight: bold;
  984. }
  985. .newEnergy {
  986. image {
  987. width: 12px;
  988. height: 12px;
  989. }
  990. text {
  991. font-size: 16rpx;
  992. color: #0eb78e;
  993. }
  994. }
  995. }
  996. .so-plate-dot {
  997. width: 15upx;
  998. height: 15upx;
  999. background: #ccc;
  1000. border-radius: 50%;
  1001. margin: 0 5upx
  1002. }
  1003. .actives {
  1004. border: 1px solid #0052FF;
  1005. background-color: rgba(0, 82, 255, 0.1);
  1006. }
  1007. .newactives {
  1008. border: 1px solid #0eb78e;
  1009. background-color: rgba(14, 183, 142, 0.1);
  1010. }
  1011. }
  1012. .OCRcar {
  1013. width: 100%;
  1014. height: auto;
  1015. //手动自动切换阳寿
  1016. .manualSwitch {
  1017. border-radius: 4px;
  1018. border: 1px solid #FF5600;
  1019. padding: 2px 5px;
  1020. image {
  1021. width: 18px;
  1022. height: 18px;
  1023. margin-right: 5px;
  1024. }
  1025. text {
  1026. font-weight: bold;
  1027. }
  1028. }
  1029. .title {
  1030. color: #FF5600;
  1031. text:nth-child(1) {
  1032. font-size: 15px;
  1033. font-weight: bold;
  1034. color: #232832;
  1035. }
  1036. }
  1037. .ocr {
  1038. width: 100%;
  1039. height: auto;
  1040. background-color: white;
  1041. box-shadow: 0px 4px 10px 0px #DAE3F4;
  1042. border-radius: 12px;
  1043. .content {
  1044. padding: 0 15px;
  1045. }
  1046. .movable-view {
  1047. .operate-img {
  1048. width: 90%;
  1049. height: 38px;
  1050. background-color: #F9F9F9;
  1051. border-radius: 8px;
  1052. padding: 10px 25px;
  1053. margin-top: 10px;
  1054. >view:nth-child(2) {
  1055. background-color: rgba(0, 82, 255, 0.06);
  1056. border-radius: 4px 4px 4px 4px;
  1057. border: 1px solid #0052FF;
  1058. color: #0052FF;
  1059. padding: 3px 5px;
  1060. }
  1061. >view {
  1062. font-size: 14px;
  1063. }
  1064. image {
  1065. width: 22px;
  1066. height: 22px;
  1067. margin-right: 5px;
  1068. }
  1069. }
  1070. }
  1071. }
  1072. .content {
  1073. width: 100%;
  1074. height: auto;
  1075. background-color: white;
  1076. box-shadow: 0px 4px 10px 0px #DAE3F4;
  1077. border-radius: 12px;
  1078. .input-align-right {
  1079. padding: 20px;
  1080. }
  1081. }
  1082. }
  1083. }
  1084. .fixed {
  1085. width: 100%;
  1086. height: 80px;
  1087. padding: 10px;
  1088. position: fixed;
  1089. bottom: 0;
  1090. left: 0;
  1091. right: 0;
  1092. background: white;
  1093. z-index: 9;
  1094. border-top: 1px solid #f2f2f2;
  1095. .fiexdbtn {
  1096. width: 50%;
  1097. background: linear-gradient(to bottom, #FFF9F5, #FCD4C0, #F8A67D);
  1098. color: #FF5600;
  1099. font-weight: bold;
  1100. font-size: 18px;
  1101. border: 1px solid #F8A67D;
  1102. }
  1103. }
  1104. movable-area {
  1105. height: 220px;
  1106. width: 100%;
  1107. border-top-left-radius: 12px;
  1108. border-top-right-radius: 12px;
  1109. background-color: #D8D8D8;
  1110. overflow: hidden;
  1111. }
  1112. movable-view {
  1113. display: flex;
  1114. align-items: center;
  1115. justify-content: center;
  1116. height: 100%;
  1117. width: 100%;
  1118. }
  1119. .switch-container {
  1120. width: 80px;
  1121. height: 30px;
  1122. background-color: #E6EEFF;
  1123. border-radius: 15px;
  1124. position: relative;
  1125. cursor: pointer;
  1126. }
  1127. .switch-track {
  1128. width: 100%;
  1129. height: 100%;
  1130. background-color: #E6EEFF;
  1131. border-radius: 4px;
  1132. position: relative;
  1133. transition: background-color 0.3s ease;
  1134. }
  1135. .switch-thumb {
  1136. width: 40px;
  1137. height: 26px;
  1138. background-color: #0052FF;
  1139. border-radius: 4px;
  1140. position: absolute;
  1141. top: 2px;
  1142. left: 2px;
  1143. transition: transform 0.3s ease;
  1144. font-size: 13px;
  1145. color: #fff;
  1146. }
  1147. .switch-thumb1 {
  1148. width: 40px;
  1149. height: 26px;
  1150. position: absolute;
  1151. top: 2px;
  1152. left: 2px;
  1153. font-size: 12px;
  1154. color: rgba(0, 82, 255, 0.8);
  1155. }
  1156. .switch-thumb2 {
  1157. width: 40px;
  1158. height: 26px;
  1159. position: absolute;
  1160. top: 2px;
  1161. right: 2px;
  1162. font-size: 12px;
  1163. color: rgba(0, 82, 255, 0.8);
  1164. }
  1165. .thumbactive {
  1166. background-color: #0052FF;
  1167. transform: translateX(35px);
  1168. }
  1169. .thumbactive1 {
  1170. color: #fff;
  1171. }
  1172. .ZJcheckboxGroup {
  1173. padding: 0 10px;
  1174. .title {
  1175. font-size: 14px;
  1176. color: #232832;
  1177. font-weight: bold;
  1178. padding: 10px;
  1179. border-bottom: 1px solid #f2f2f2;
  1180. }
  1181. .scolcentent {
  1182. max-height: 480px;
  1183. padding-bottom: 40px;
  1184. .row {
  1185. width: 100%;
  1186. height: auto;
  1187. background: #F9FBFE;
  1188. box-shadow: 0px 2px 5px 0px #DAE3F4;
  1189. border-radius: 6px;
  1190. padding: 0 10px;
  1191. margin-bottom: 10px;
  1192. .row_header {
  1193. width: 100%;
  1194. font-size: 28upx;
  1195. border-bottom: 1upx solid #EEEEEE;
  1196. padding: 5px 0;
  1197. font-weight: bold;
  1198. }
  1199. .row_body {
  1200. width: 100%;
  1201. padding: 10px 0;
  1202. view {
  1203. font-weight: bold;
  1204. font-size: 12px;
  1205. }
  1206. }
  1207. }
  1208. .carTypeColor {
  1209. border: 1px solid #0052FF;
  1210. }
  1211. .row .row_header .left {
  1212. flex: 5;
  1213. overflow: hidden;
  1214. text-overflow: ellipsis;
  1215. white-space: nowrap;
  1216. color: #333;
  1217. }
  1218. .row .row_header .right {
  1219. flex: 2;
  1220. color: #FF5600;
  1221. text-align: right;
  1222. }
  1223. .row .row .row_body view>view {
  1224. margin: 0 5px;
  1225. }
  1226. }
  1227. .noDataIndicator {
  1228. width: 70%;
  1229. margin: auto;
  1230. text-align: center;
  1231. image {
  1232. width: 180px;
  1233. height: 180px;
  1234. }
  1235. text {
  1236. color: #0052FF;
  1237. font-size: 14px;
  1238. }
  1239. }
  1240. .operateBtn {
  1241. position: absolute;
  1242. bottom: 0;
  1243. left: 0;
  1244. right: 0;
  1245. font-weight: bold;
  1246. font-size: 16px;
  1247. .confirm {
  1248. width: 45%;
  1249. height: 46px;
  1250. color: #fff;
  1251. margin: auto;
  1252. background: #0052FF;
  1253. border-radius: 25px;
  1254. }
  1255. }
  1256. }
  1257. .inputPrompt {
  1258. height: 30px;
  1259. background: linear-gradient(90deg, #FFE3DF 0%, #FBE9E7 100%);
  1260. border-radius: 2px;
  1261. color: #FF1717;
  1262. font-size: 15px;
  1263. text-align: center;
  1264. line-height: 30px;
  1265. }
  1266. </style>