addCar.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. <template>
  2. <view class="content">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'我的车库'" :cj="3"></homenav>
  4. <!-- 填写车辆信息 -->
  5. <!-- <view class="carMessage">
  6. <view class="mesView">
  7. <view class="leftTitle"><span class="stars">*</span> 车牌号</view>
  8. <input class="plateNumber" placeholder-style="color:#999999" placeholder="请输入车牌号" disabled="true"
  9. @tap="plateShow=true,bb()" v-model.trim="plateNo" />
  10. <plate-input v-if="plateShow" :plate="plateNo" @export="setPlate" @close="plateShow=false" />
  11. </view>
  12. <view class="line"></view>
  13. <view class="mesView">
  14. <view class="leftTitle">VIN</view>
  15. <view class="vinInput selectColor" @click="aaa">
  16. <span v-if="vin">{{vin}}</span>
  17. <span v-else style="color:#999999">请输入VIN</span>
  18. </view>
  19. <view class="kmStr"></view>
  20. </view>
  21. <view class="line"></view>
  22. <view class="mesView" @click="goCarModel()">
  23. <view class="leftTitle"><span class="stars">*</span>车型</view>
  24. <view class="carModBtn noSelectColor" v-if="!carModelInfo.value">请选择车型</view>
  25. <view class="carModBtn selectColor carMod" v-else>{{carModelInfo.value}}</view>
  26. <image src="../../../static/img/big_rightArrow.png" class="big_rightArrow"></image>
  27. </view>
  28. <view class="line"></view>
  29. <view class="mesView" @click="bb">
  30. <view class="leftTitle"><span class="stars">*</span>行驶里程</view>
  31. <input class="mileageInput selectColor" type="number" v-model="mileage" placeholder="请输入"
  32. placeholder-style="color:#999999" />
  33. <view class="kmStr">km</view>
  34. </view>
  35. <view class="line"></view>
  36. <view class="mesView" @click="bb">
  37. <view class="leftTitle">注册登记时间</view>
  38. <picker class="timeBtn" @change="bindChange" mode="date" :end="currentdate" :value="time">
  39. <view class="uni-input selectColor" v-if="time">{{time}}</view>
  40. <view class="uni-input noSelectColor" v-else>请选择</view>
  41. </picker>
  42. <image src="../../../static/img/big_rightArrow.png" class="big_rightArrow"></image>
  43. </view>
  44. </view>
  45. -->
  46. <view class="newBox">
  47. <!-- 车辆款型 -->
  48. <view class="modelBox">
  49. <view class="mbTop">
  50. <view class="mbTopTxt1">车辆款型</view>
  51. <view class="mbTopTxt2">完善信息为你精准匹配服务</view>
  52. </view>
  53. <view class="mbCont">
  54. <image :src="carModelInfo.carModelInfo.logo" mode="" class="logo"></image>
  55. <view class="mbContBox">
  56. <view style="display: flex;justify-content: space-between;">
  57. <view class="brand">{{carModelInfo.carModelInfo.brand}}
  58. &nbsp; {{carModelInfo.carModelInfo.carModel}}
  59. </view>
  60. <view class="lineRgiht">
  61. <view class="lineRtxt">重新选择</view>
  62. <image src="../../../static/img2/jt1.png" mode="" class="jtIcon"></image>
  63. </view>
  64. </view>
  65. <view class="carMTxt">{{carModelInfo.value}}</view>
  66. </view>
  67. </view>
  68. </view>
  69. <!-- 车辆款型 -->
  70. <!-- 基信信息 -->
  71. <view class="modelBox" style="margin-top: 20rpx;">
  72. <view class="mbTop">
  73. <view class="mbTopTxt1">基本信息</view>
  74. </view>
  75. <view class="plateNumberMs">车牌号*</view>
  76. <view class="plateNumberBox" @tap="plateShow=true,bb()">
  77. <view class="sheng">{{plateNoArr.length?plateNoArr[0]:''}}</view>
  78. <view class="zhimu">{{plateNoArr.length?plateNoArr[1]:''}}</view>
  79. <view class="zhimu">{{plateNoArr.length?plateNoArr[2]:''}}</view>
  80. <view class="zhimu">{{plateNoArr.length?plateNoArr[3]:''}}</view>
  81. <view class="zhimu">{{plateNoArr.length?plateNoArr[4]:''}}</view>
  82. <view class="zhimu">{{plateNoArr.length?plateNoArr[5]:''}}</view>
  83. <view class="zhimu">{{plateNoArr.length?plateNoArr[6]:''}}</view>
  84. <view class="zhimu" v-if="plateNoArr.length==8">{{plateNoArr.length==8?plateNoArr[7]:''}}</view>
  85. <view class="xny" v-if="plateNoArr.length!=8">新能源</view>
  86. </view>
  87. <plate-input v-if="plateShow" :plate="plateNo" @export="setPlate" @close="plateShow=false" />
  88. <view class="jbLine">
  89. <view class="jbLineTitle">VIN</view>
  90. <view class="jbLineCont" @click="aaa">
  91. <span class="jbLineSpan" v-if="vin">{{vin}}</span>
  92. <span v-else style="color:#999999">请输入VIN</span>
  93. <!-- <input type="text" v-model="vin" class="jbLineInput" placeholder="请输入VIN"/> -->
  94. <image src="../../../static/img2/jt1.png" mode="" class="jtIcon2"></image>
  95. </view>
  96. </view>
  97. <view class="jbLine">
  98. <view class="jbLineTitle">当前里程</view>
  99. <view class="jbLineCont">
  100. <input type="number" v-model="mileage" class="jbLineInput" placeholder="请输入当前里程"/>
  101. <image src="../../../static/img2/jt1.png" mode="" class="jtIcon2"></image>
  102. </view>
  103. </view>
  104. <view class="jbLine">
  105. <view class="jbLineTitle">注册登记时间</view>
  106. <view class="jbLineCont">
  107. <picker class="timeBtn" @change="bindChange" mode="date" :end="currentdate" :value="time">
  108. <view class="uni-input selectColor" v-if="time">{{time}}</view>
  109. <view class="uni-input noSelectColor" v-else>请选择</view>
  110. </picker>
  111. <image src="../../../static/img2/jt1.png" mode="" class="jtIcon2"></image>
  112. </view>
  113. </view>
  114. <view class="jbMS">我们绝不会泄漏您的个人信息,仅用于适配商品</view>
  115. </view>
  116. <!-- 基信信息 -->
  117. </view>
  118. <view class="complete" @click="saveCar()">完成车辆</view>
  119. <!-- <view class="bottomView">
  120. <view class="saveCar" :style="{background:'#'+themeColor}" @click="saveCar()">保存</view>
  121. </view> -->
  122. <tki-float-keyboard ref="keyb" :mode="keyMode" :type="keyType"
  123. :title="keyTitle" @del="keyDel"
  124. @val="keyVal" @show="keyShow" @hide="keyHide"></tki-float-keyboard>
  125. </view>
  126. </template>
  127. <script>
  128. // 普通引入组件 https://ext.dcloud.net.cn/plugin?id=44
  129. import tkiFloatKeyboard from '@/components/tki-float-keyboard/tki-float-keyboard.vue'
  130. import plateInput from "@/components/uni-plate-input/uni-plate-input.vue"
  131. import homenav from "@/components/homenav/nav.vue"
  132. export default {
  133. components: {
  134. plateInput,tkiFloatKeyboard,homenav
  135. },
  136. data() {
  137. return {
  138. plateNo: '',
  139. plateShow: false,
  140. carModelInfo: '',
  141. time: '',
  142. mileage: '',
  143. carId: '',
  144. isEditCar: false,
  145. currentdate: '',
  146. plate_type: '',
  147. sbPlate: [],
  148. visible: false,
  149. defaultProps: {
  150. "label": "value",
  151. "value": "ids"
  152. },
  153. vin: '',
  154. type:'',
  155. themeColor:'',
  156. title: 'Hello',
  157. keyMode:'keyboard',
  158. keyTitle:'VIN',
  159. keyType:'1',
  160. iStatusBarHeight:'',
  161. plateNoArr:[],
  162. }
  163. },
  164. onLoad(opt) {
  165. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  166. var carModelInfo = uni.getStorageSync("carModelInfo");
  167. if (carModelInfo) {
  168. this.carModelInfo = carModelInfo;
  169. }
  170. //uni.removeStorageSync('carModelInfo');
  171. this.themeColor = uni.getStorageSync("themeColor");
  172. this.getNowFormatDate();
  173. console.log(opt);
  174. this.type=opt.type
  175. this.isEditCar = opt.isEditCar
  176. this.carId = opt.id
  177. if (this.isEditCar == 'true') {
  178. this.getEditData()
  179. uni.setNavigationBarTitle({
  180. title: '编辑爱车'
  181. })
  182. }
  183. },
  184. onShow() {
  185. /* var carModelInfo = uni.getStorageSync("carModelInfo");
  186. if (carModelInfo) {
  187. this.carModelInfo = carModelInfo;
  188. } */
  189. },
  190. methods: {
  191. keyDel(v){
  192. let d = this.vin
  193. this.vin = d.substring(0,d.length-1)
  194. },
  195. keyVal(v){
  196. console.log(v)
  197. if(this.vin==null){
  198. this.vin=''
  199. }
  200. this.vin=this.vin + v.toString()
  201. },
  202. keyShow(){
  203. },
  204. keyHide(){
  205. },
  206. bb(){
  207. this.$refs.keyb._keyHide() //隐藏键盘
  208. },
  209. aaa(){
  210. this.$refs.keyb._keyShow() //显示键盘
  211. },
  212. onConfirm(e) {
  213. console.log(e)
  214. this.carModelInfo = e.obj
  215. },
  216. onCancel() {
  217. this.visible = false
  218. },
  219. getNowFormatDate() {
  220. var date = new Date();
  221. var seperator1 = "-";
  222. var year = date.getFullYear();
  223. var month = date.getMonth() + 1;
  224. var day = date.getDate();
  225. if (month >= 1 && month <= 9) {
  226. month = "0" + month;
  227. }
  228. if (day >= 0 && day <= 9) {
  229. day = "0" + day;
  230. }
  231. var currentdate = year + seperator1 + month + seperator1 + day;
  232. this.currentdate = currentdate;
  233. },
  234. getEditData() {
  235. uni.showLoading({
  236. title: '加载中'
  237. })
  238. var carModelInfo = {
  239. carModelInfo: {
  240. }
  241. }
  242. this.$http('opencarInfoOwner/queryCarInfoDetail', {
  243. id: this.carId
  244. }, 'GET').then(res => {
  245. uni.hideLoading();
  246. carModelInfo.carModelInfo.logo = res.data.brandLogo;
  247. carModelInfo.carModelInfo.brand = res.data.brand;
  248. carModelInfo.carModelInfo.carSeries = res.data.series;
  249. carModelInfo.carModelInfo.displacement = res.data.displacement;
  250. carModelInfo.carModelInfo.transmissionType = res.data.transmissionType;
  251. carModelInfo.carModelInfo.productionYear = res.data.annualmoney;
  252. carModelInfo.carModelInfo.carModel = res.data.carModel;
  253. carModelInfo.carModelInfo.guidePrice = res.data.guidePrice;
  254. carModelInfo.carModelInfo.engineModel = res.data.engineType;
  255. carModelInfo.carModelInfo.nLevelID = res.data.nLevelID;
  256. carModelInfo.carModelInfo.salesName = res.data.saleName;
  257. // 展示时
  258. this.plateNo = res.data.plateNumber;
  259. this.plateNoArr=[ ...this.plateNo ];
  260. carModelInfo.value = res.data.carModel;
  261. if (res.data.buyDate) {
  262. this.time = res.data.buyDate.slice(0,10);
  263. }
  264. this.mileage = res.data.milage;
  265. this.carModelInfo = carModelInfo;
  266. this.vin = res.data.vIN
  267. console.log('this carModelInfo', this.carModelInfo);
  268. })
  269. },
  270. goCarModel() {
  271. this.bb()
  272. uni.navigateTo({
  273. url: 'carModel'
  274. })
  275. },
  276. setPlate(plate) {
  277. console.log(plate)
  278. if (plate.length >= 7) this.plateNo = plate;
  279. this.plateShow = false;
  280. if (plate.length == 7) {
  281. this.plate_type = 2
  282. } else {
  283. this.plate_type = 52
  284. }
  285. this.plateNoArr=[ ...plate ];
  286. console.log(this.plateNoArr)
  287. // this.queryCarmodelByPlateNumber()
  288. },
  289. queryCarmodelByPlateNumber() {
  290. uni.showLoading({
  291. title: '加载中'
  292. })
  293. this.$http('worldKeepCar/worldHome/queryCarmodelByPlateNumber', {
  294. license_plate: this.plateNo,
  295. plate_type: this.plate_type,
  296. }, 'GET').then(res => {
  297. uni.hideLoading();
  298. console.log(res);
  299. if (res.data) {
  300. this.vin = res.data.vin
  301. if (res.data.buyTime) {
  302. this.time = res.data.buyTime.slice(0, res.data.buyTime.length - 8);
  303. }
  304. }
  305. if (res.data.list && res.data.list.length > 0) {
  306. this.sbPlate = res.data.list
  307. //this.sbPlate=this.sbPlate.concat(this.sbPlate)
  308. if (this.sbPlate.length == 1) {
  309. //this.carModelInfo.value=res.data[0].value
  310. this.carModelInfo = res.data.list[0]
  311. } else {
  312. this.visible = true
  313. }
  314. }
  315. })
  316. },
  317. bindChange(e) {
  318. console.log(e);
  319. this.time = e.target.value
  320. },
  321. saveCar() {
  322. uni.showLoading({
  323. title: '保存中'
  324. })
  325. if (this.plateNo == '') {
  326. uni.showToast({
  327. title: '请填写车牌号',
  328. icon: 'none',
  329. duration: 3000
  330. });
  331. return false;
  332. }
  333. /* if(!this.mileage){
  334. uni.showToast({
  335. title: '请填写里程',
  336. icon: 'none',
  337. duration: 3000
  338. });
  339. return false;
  340. } */
  341. if(!this.carModelInfo.value){
  342. uni.showToast({
  343. title: '请选择车型',
  344. icon: 'none',
  345. duration: 3000
  346. });
  347. return false;
  348. }
  349. if (this.isEditCar == 'true') {
  350. this.updateTMemberCar()
  351. } else {
  352. this.addTMemberCar()
  353. }
  354. },
  355. addTMemberCar() {
  356. var cardata = {
  357. plateNumber: this.plateNo,
  358. milage: this.mileage?this.mileage:0,
  359. brand: "",
  360. displacement: "",
  361. series: "",
  362. annualmoney: "",
  363. carModel: "",
  364. saleName: "",
  365. transmissionType: "",
  366. model: "",
  367. nLevelID: "",
  368. engineType: "",
  369. brandLogo: "",
  370. buyDate: this.time,
  371. guidePrice: "",
  372. vIN: this.vin,
  373. };
  374. if(this.carModelInfo){
  375. cardata = {
  376. plateNumber: this.plateNo,
  377. milage: this.mileage?this.mileage:0,
  378. brand: this.carModelInfo.carModelInfo.brand,
  379. displacement: this.carModelInfo.carModelInfo.displacement,
  380. series: this.carModelInfo.carModelInfo.carSeries,
  381. annualmoney: this.carModelInfo.carModelInfo.productionYear,
  382. carModel: this.carModelInfo.value,
  383. saleName: this.carModelInfo.carModelInfo.salesName,
  384. transmissionType: this.carModelInfo.carModelInfo.transmissionType,
  385. model: this.carModelInfo.carModelInfo.carModel,
  386. nLevelID: this.carModelInfo.carModelInfo.nLevelID,
  387. engineType: this.carModelInfo.carModelInfo.engineModel,
  388. brandLogo: this.carModelInfo.carModelInfo.logo,
  389. buyDate: this.time,
  390. guidePrice: this.carModelInfo.carModelInfo.guidePrice,
  391. vIN: this.vin,
  392. }
  393. }
  394. this.$http('opencarInfoOwner/addCarOwner', cardata, 'POST').then(res => {
  395. uni.hideLoading();
  396. if (res.code == 0) {
  397. uni.showToast({
  398. title: '保存成功',
  399. icon: 'none',
  400. duration: 3000
  401. });
  402. uni.removeStorageSync('carModelInfo');
  403. if(this.type==1){
  404. uni.setStorage({
  405. key: 'indexaddcar',
  406. data: '1',
  407. success: function () {
  408. setTimeout(function() {
  409. uni.navigateBack({
  410. })
  411. }, 1000);
  412. }
  413. });
  414. }else{
  415. setTimeout(function() {
  416. uni.navigateBack({
  417. })
  418. }, 3000);
  419. }
  420. } else {
  421. uni.showToast({
  422. title: res.msg,
  423. icon: 'none',
  424. duration: 3000
  425. });
  426. }
  427. })
  428. },
  429. updateTMemberCar() {
  430. var cardata = {
  431. plateNumber: this.plateNo,
  432. milage: this.mileage,
  433. brand: "",
  434. displacement: "",
  435. series: "",
  436. annualmoney: "",
  437. carModel: "",
  438. saleName: "",
  439. transmissionType: "",
  440. model: "",
  441. nLevelID: "",
  442. engineType: "",
  443. brandLogo: "",
  444. buyDate: this.time,
  445. guidePrice: "",
  446. vIN: this.vin,
  447. id:this.carId,
  448. };
  449. if(this.carModelInfo){
  450. cardata = {
  451. plateNumber: this.plateNo,
  452. milage: this.mileage,
  453. brand: this.carModelInfo.carModelInfo.brand,
  454. displacement: this.carModelInfo.carModelInfo.displacement,
  455. series: this.carModelInfo.carModelInfo.carSeries,
  456. annualmoney: this.carModelInfo.carModelInfo.productionYear,
  457. carModel: this.carModelInfo.value,
  458. saleName: this.carModelInfo.carModelInfo.salesName,
  459. transmissionType: this.carModelInfo.carModelInfo.transmissionType,
  460. model: this.carModelInfo.carModelInfo.carModel,
  461. nLevelID: this.carModelInfo.carModelInfo.nLevelID,
  462. engineType: this.carModelInfo.carModelInfo.engineModel,
  463. brandLogo: this.carModelInfo.carModelInfo.logo,
  464. buyDate: this.time,
  465. guidePrice: this.carModelInfo.carModelInfo.guidePrice,
  466. vIN: this.vin,
  467. id:this.carId,
  468. }
  469. }
  470. this.$http('opencarInfoOwner/addCarOwner', cardata, 'POST').then(res => {
  471. uni.hideLoading();
  472. if (res.code == 0) {
  473. uni.showToast({
  474. title: '保存成功',
  475. icon: 'none',
  476. duration: 3000
  477. });
  478. uni.removeStorageSync('carModelInfo');
  479. setTimeout(function() {
  480. uni.navigateBack({
  481. })
  482. }, 3000);
  483. } else {
  484. uni.showToast({
  485. title: res.msg,
  486. icon: 'none',
  487. duration: 3000
  488. });
  489. }
  490. })
  491. },
  492. }
  493. }
  494. </script>
  495. <style>
  496. .content {
  497. min-height: 100vh;
  498. background: linear-gradient( 180deg, #FFF8E2 0%, #F4F4F4 100%);
  499. padding-top: 20rpx;
  500. }
  501. .logo{
  502. width: 125rpx;height: 125rpx;border-radius: 50%;
  503. }
  504. .newBox{
  505. padding: 24rpx;
  506. }
  507. .modelBox{
  508. background: #FFFFFF;border-radius: 20rpx;
  509. padding: 30rpx;
  510. }
  511. .mbTop{
  512. display: flex;line-height: 42rpx;
  513. }
  514. .mbTopTxt1{
  515. font-weight: 500;
  516. font-size: 30rpx;color: #090909;
  517. }
  518. .mbTopTxt2{
  519. font-weight: 400;color: #999999;
  520. font-size: 22rpx;padding-left: 25rpx;
  521. }
  522. .lineRgiht{
  523. display: flex;
  524. }
  525. .lineRtxt{
  526. font-weight: 400;line-height: 45rpx;
  527. font-size: 22rpx;
  528. color: #9A9A9A;
  529. padding-right: 10rpx;
  530. }
  531. .jtIcon{
  532. width: 10rpx;height: 20rpx;margin-top: 10rpx;
  533. }
  534. .brand{
  535. font-weight: 500;
  536. font-size: 32rpx;
  537. color: #090909;
  538. line-height: 45rpx;
  539. }
  540. .mbCont{
  541. display: flex;
  542. }
  543. .mbContBox{
  544. width: 480rpx;padding-left: 25rpx;
  545. }
  546. .mbCont{
  547. padding-top: 25rpx;
  548. }
  549. .carMTxt{
  550. font-weight: 400;
  551. font-size: 24rpx;
  552. color: #9E9E9E;
  553. line-height: 33rpx;
  554. padding-top: 6rpx;
  555. }
  556. .plateNumberMs{
  557. font-weight: 500;padding-top: 26rpx;
  558. font-size: 26rpx;
  559. color: #000000;
  560. }
  561. .plateNumberBox{
  562. display: flex;padding-top: 12rpx;
  563. padding-bottom: 20rpx;
  564. border-bottom: 1px solid #EEEEEE;
  565. }
  566. .sheng{
  567. width: 64rpx;
  568. height: 68rpx;
  569. background: #FACC2D;
  570. border-radius: 6rpx;
  571. font-size: 32rpx;
  572. color: #FFFFFF;
  573. text-align: center;
  574. line-height: 68rpx;
  575. margin-right: 6rpx;
  576. }
  577. .zhimu{
  578. width: 60rpx;
  579. height: 64rpx;
  580. border-radius: 6rpx;
  581. border: 2rpx solid #FACC2D;
  582. font-size: 32rpx;
  583. color: #090909;
  584. text-align: center;
  585. line-height: 68rpx;
  586. margin-right: 6rpx;
  587. }
  588. .xny{
  589. width: 68rpx;
  590. height: 64rpx;
  591. border-radius: 6rpx;
  592. border: 2rpx dashed #FACC2D;
  593. font-size: 20rpx;
  594. color: #FACC2D;
  595. text-align: center;
  596. line-height: 68rpx;
  597. }
  598. .jbLine{
  599. border-bottom: 1px solid #EEEEEE;
  600. padding: 12rpx 0;
  601. }
  602. .jtIcon2{
  603. width: 10rpx;height: 20rpx;margin-top: 8rpx;
  604. }
  605. .jbLineTitle{
  606. font-weight: 500;
  607. font-size: 26rpx;
  608. color: #000000;
  609. line-height: 37rpx;
  610. }
  611. .jbLineCont{
  612. display: flex;justify-content: space-between;
  613. }
  614. .jbLineInput{
  615. font-size: 24rpx;
  616. color: #3C3C3C;
  617. line-height: 34rpx;
  618. height: 34rpx;
  619. }
  620. .jbLineCont{
  621. font-size: 24rpx;
  622. color: #3C3C3C;
  623. line-height: 34rpx;
  624. }
  625. .jbMS{
  626. font-weight: 400;
  627. font-size: 24rpx;
  628. color: #9A9A9A;padding-top: 20rpx;
  629. }
  630. .complete{
  631. width: 661rpx;text-align: center;
  632. height: 86rpx;line-height: 86rpx;
  633. background: #FCD903;
  634. border-radius: 43rpx;
  635. font-size: 32rpx;
  636. color: #110B01;
  637. margin: 0 auto;
  638. margin-top: 50rpx;
  639. }
  640. .carMessage {
  641. margin: 0rpx 24rpx 40rpx;
  642. padding-top: 20rpx;
  643. height: 500rpx;
  644. background-color: #FFFFFF;
  645. border-radius: 10rpx;
  646. }
  647. .mesView {
  648. display: flex;
  649. align-items: center;
  650. width: 100%;
  651. height: 120rpx;
  652. background-color: #FFFFFF;
  653. }
  654. .leftTitle {
  655. margin: 28rpx;
  656. width: 180rpx;
  657. font-size: 28rpx;
  658. color: #666666;
  659. }
  660. .noSelectColor {
  661. color: #999999;
  662. }
  663. .selectColor {
  664. color: #333333;
  665. }
  666. .carMod {
  667. text-overflow: -o-ellipsis-lastline;
  668. overflow: hidden;
  669. text-overflow: ellipsis;
  670. display: -webkit-box;
  671. -webkit-line-clamp: 2;
  672. line-clamp: 2;
  673. -webkit-box-orient: vertical;
  674. }
  675. .big_rightArrow {
  676. margin-right: 28rpx;
  677. width: 14rpx;
  678. height: 23rpx;
  679. }
  680. .cityBtn {
  681. width: 65%;
  682. font-size: 28rpx;
  683. }
  684. .plateNumber {
  685. width: 55%;
  686. font-size: 28rpx;
  687. }
  688. .carModBtn {
  689. width: 65%;
  690. font-size: 28rpx;
  691. }
  692. .timeBtn {
  693. width: 65%;
  694. font-size: 28rpx;
  695. }
  696. .mileageInput {
  697. width: 20%;
  698. font-size: 28rpx;
  699. }
  700. .vinInput{
  701. width: 60%;
  702. font-size: 28rpx;
  703. }
  704. .kmStr {
  705. font-size: 28rpx;
  706. color: #333333;
  707. }
  708. .bottomView {
  709. background-color: #FFFFFF;
  710. width: 100%;
  711. height: 120rpx;
  712. position: fixed;
  713. bottom: 0rpx;
  714. padding-bottom: constant(safe-area-inset-bottom);
  715. padding-bottom: env(safe-area-inset-bottom);
  716. }
  717. .saveCar {
  718. background-color: #D53533;
  719. margin: 23rpx 30rpx;
  720. height: 74rpx;
  721. border-radius: 37rpx;
  722. color: #FFFFFF;
  723. font-size: 30rpx;
  724. font-weight: bold;
  725. text-align: center;
  726. line-height: 74rpx;
  727. }
  728. .line{
  729. margin: 1rpx 28rpx;
  730. background-color: #EEEEEE;
  731. height: 1rpx;
  732. }
  733. .stars{
  734. color: #FF2400;
  735. }
  736. </style>