addCar.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. <template>
  2. <view class="content">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :bgColor="bgColor" :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?carModelInfo.carModelInfo.brand:''}}
  58. &nbsp;{{carModelInfo.carModelInfo.carModel?carModelInfo.carModelInfo.carModel:''}}
  59. </view>
  60. <view class="lineRgiht" @click="goModel">
  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?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. bgColor:'#FFF8E2'
  163. }
  164. },
  165. onLoad(opt) {
  166. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  167. var carModelInfo = uni.getStorageSync("carModelInfo");
  168. if (carModelInfo) {
  169. this.carModelInfo = carModelInfo;
  170. }
  171. //uni.removeStorageSync('carModelInfo');
  172. this.themeColor = uni.getStorageSync("themeColor");
  173. this.getNowFormatDate();
  174. console.log(opt);
  175. this.type=opt.type
  176. this.isEditCar = opt.isEditCar
  177. this.carId = opt.id
  178. if (this.isEditCar == 'true') {
  179. this.getEditData()
  180. uni.setNavigationBarTitle({
  181. title: '编辑爱车'
  182. })
  183. /* uni.setNavigationBarColor({
  184. frontColor: "#000000",
  185. backgroundColor: '#FFF8E2'
  186. }) */
  187. }
  188. },
  189. onShow() {
  190. /* var carModelInfo = uni.getStorageSync("carModelInfo");
  191. if (carModelInfo) {
  192. this.carModelInfo = carModelInfo;
  193. } */
  194. },
  195. methods: {
  196. goModel(){
  197. uni.navigateTo({
  198. url:'carModel'
  199. })
  200. },
  201. keyDel(v){
  202. let d = this.vin
  203. this.vin = d.substring(0,d.length-1)
  204. },
  205. keyVal(v){
  206. console.log(v)
  207. if(this.vin==null){
  208. this.vin=''
  209. }
  210. this.vin=this.vin + v.toString()
  211. },
  212. keyShow(){
  213. },
  214. keyHide(){
  215. },
  216. bb(){
  217. this.$refs.keyb._keyHide() //隐藏键盘
  218. },
  219. aaa(){
  220. this.$refs.keyb._keyShow() //显示键盘
  221. },
  222. onConfirm(e) {
  223. console.log(e)
  224. this.carModelInfo = e.obj
  225. },
  226. onCancel() {
  227. this.visible = false
  228. },
  229. getNowFormatDate() {
  230. var date = new Date();
  231. var seperator1 = "-";
  232. var year = date.getFullYear();
  233. var month = date.getMonth() + 1;
  234. var day = date.getDate();
  235. if (month >= 1 && month <= 9) {
  236. month = "0" + month;
  237. }
  238. if (day >= 0 && day <= 9) {
  239. day = "0" + day;
  240. }
  241. var currentdate = year + seperator1 + month + seperator1 + day;
  242. this.currentdate = currentdate;
  243. },
  244. getEditData() {
  245. uni.showLoading({
  246. title: '加载中'
  247. })
  248. var carModelInfo = {
  249. carModelInfo: {
  250. }
  251. }
  252. this.$http('opencarInfoOwner/queryCarInfoDetail', {
  253. id: this.carId
  254. }, 'GET').then(res => {
  255. uni.hideLoading();
  256. carModelInfo.carModelInfo.logo = res.data.brandLogo;
  257. carModelInfo.carModelInfo.brand = res.data.brand;
  258. carModelInfo.carModelInfo.carSeries = res.data.series;
  259. carModelInfo.carModelInfo.displacement = res.data.displacement;
  260. carModelInfo.carModelInfo.transmissionType = res.data.transmissionType;
  261. carModelInfo.carModelInfo.productionYear = res.data.annualmoney;
  262. carModelInfo.carModelInfo.carModel = res.data.carModel;
  263. carModelInfo.carModelInfo.guidePrice = res.data.guidePrice;
  264. carModelInfo.carModelInfo.engineModel = res.data.engineType;
  265. carModelInfo.carModelInfo.nLevelID = res.data.nLevelID;
  266. carModelInfo.carModelInfo.salesName = res.data.saleName;
  267. // 展示时
  268. this.plateNo = res.data.plateNumber;
  269. this.plateNoArr=[ ...this.plateNo ];
  270. carModelInfo.value = res.data.carModel;
  271. if (res.data.buyDate) {
  272. this.time = res.data.buyDate.slice(0,10);
  273. }
  274. this.mileage = res.data.milage;
  275. this.carModelInfo = carModelInfo;
  276. this.vin = res.data.vIN
  277. console.log('this carModelInfo', this.carModelInfo);
  278. })
  279. },
  280. goCarModel() {
  281. this.bb()
  282. uni.navigateTo({
  283. url: 'carModel'
  284. })
  285. },
  286. setPlate(plate) {
  287. console.log(plate)
  288. if (plate.length >= 7) this.plateNo = plate;
  289. this.plateShow = false;
  290. if (plate.length == 7) {
  291. this.plate_type = 2
  292. } else {
  293. this.plate_type = 52
  294. }
  295. this.plateNoArr=[ ...plate ];
  296. console.log(this.plateNoArr)
  297. // this.queryCarmodelByPlateNumber()
  298. },
  299. queryCarmodelByPlateNumber() {
  300. uni.showLoading({
  301. title: '加载中'
  302. })
  303. this.$http('worldKeepCar/worldHome/queryCarmodelByPlateNumber', {
  304. license_plate: this.plateNo,
  305. plate_type: this.plate_type,
  306. }, 'GET').then(res => {
  307. uni.hideLoading();
  308. console.log(res);
  309. if (res.data) {
  310. this.vin = res.data.vin
  311. if (res.data.buyTime) {
  312. this.time = res.data.buyTime.slice(0, res.data.buyTime.length - 8);
  313. }
  314. }
  315. if (res.data.list && res.data.list.length > 0) {
  316. this.sbPlate = res.data.list
  317. //this.sbPlate=this.sbPlate.concat(this.sbPlate)
  318. if (this.sbPlate.length == 1) {
  319. //this.carModelInfo.value=res.data[0].value
  320. this.carModelInfo = res.data.list[0]
  321. } else {
  322. this.visible = true
  323. }
  324. }
  325. })
  326. },
  327. bindChange(e) {
  328. console.log(e);
  329. this.time = e.target.value
  330. },
  331. saveCar() {
  332. uni.showLoading({
  333. title: '保存中'
  334. })
  335. if (this.plateNo == '') {
  336. uni.showToast({
  337. title: '请填写车牌号',
  338. icon: 'none',
  339. duration: 3000
  340. });
  341. return false;
  342. }
  343. /* if(!this.mileage){
  344. uni.showToast({
  345. title: '请填写里程',
  346. icon: 'none',
  347. duration: 3000
  348. });
  349. return false;
  350. } */
  351. if(!this.carModelInfo.value){
  352. uni.showToast({
  353. title: '请选择车型',
  354. icon: 'none',
  355. duration: 3000
  356. });
  357. return false;
  358. }
  359. if (this.isEditCar == 'true') {
  360. this.updateTMemberCar()
  361. } else {
  362. this.addTMemberCar()
  363. }
  364. },
  365. addTMemberCar() {
  366. var cardata = {
  367. plateNumber: this.plateNo,
  368. milage: this.mileage?this.mileage:0,
  369. brand: "",
  370. displacement: "",
  371. series: "",
  372. annualmoney: "",
  373. carModel: "",
  374. saleName: "",
  375. transmissionType: "",
  376. model: "",
  377. nLevelID: "",
  378. engineType: "",
  379. brandLogo: "",
  380. buyDate: this.time,
  381. guidePrice: "",
  382. vIN: this.vin,
  383. };
  384. if(this.carModelInfo){
  385. cardata = {
  386. plateNumber: this.plateNo,
  387. milage: this.mileage?this.mileage:0,
  388. brand: this.carModelInfo.carModelInfo.brand,
  389. displacement: this.carModelInfo.carModelInfo.displacement,
  390. series: this.carModelInfo.carModelInfo.carSeries,
  391. annualmoney: this.carModelInfo.carModelInfo.productionYear,
  392. carModel: this.carModelInfo.value,
  393. saleName: this.carModelInfo.carModelInfo.salesName,
  394. transmissionType: this.carModelInfo.carModelInfo.transmissionType,
  395. model: this.carModelInfo.carModelInfo.carModel,
  396. nLevelID: this.carModelInfo.carModelInfo.nLevelID,
  397. engineType: this.carModelInfo.carModelInfo.engineModel,
  398. brandLogo: this.carModelInfo.carModelInfo.logo,
  399. buyDate: this.time,
  400. guidePrice: this.carModelInfo.carModelInfo.guidePrice,
  401. vIN: this.vin,
  402. }
  403. }
  404. this.$http('opencarInfoOwner/addCarOwner', cardata, 'POST').then(res => {
  405. uni.hideLoading();
  406. if (res.code == 0) {
  407. uni.showToast({
  408. title: '保存成功',
  409. icon: 'none',
  410. duration: 3000
  411. });
  412. uni.removeStorageSync('carModelInfo');
  413. if(this.type==1){
  414. uni.setStorage({
  415. key: 'indexaddcar',
  416. data: '1',
  417. success: function () {
  418. setTimeout(function() {
  419. uni.navigateBack({
  420. })
  421. }, 1000);
  422. }
  423. });
  424. }else{
  425. setTimeout(function() {
  426. uni.navigateBack({
  427. })
  428. }, 3000);
  429. }
  430. } else {
  431. uni.showToast({
  432. title: res.msg,
  433. icon: 'none',
  434. duration: 3000
  435. });
  436. }
  437. })
  438. },
  439. updateTMemberCar() {
  440. var cardata = {
  441. plateNumber: this.plateNo,
  442. milage: this.mileage,
  443. brand: "",
  444. displacement: "",
  445. series: "",
  446. annualmoney: "",
  447. carModel: "",
  448. saleName: "",
  449. transmissionType: "",
  450. model: "",
  451. nLevelID: "",
  452. engineType: "",
  453. brandLogo: "",
  454. buyDate: this.time,
  455. guidePrice: "",
  456. vIN: this.vin,
  457. id:this.carId,
  458. };
  459. if(this.carModelInfo){
  460. cardata = {
  461. plateNumber: this.plateNo,
  462. milage: this.mileage,
  463. brand: this.carModelInfo.carModelInfo.brand,
  464. displacement: this.carModelInfo.carModelInfo.displacement,
  465. series: this.carModelInfo.carModelInfo.carSeries,
  466. annualmoney: this.carModelInfo.carModelInfo.productionYear,
  467. carModel: this.carModelInfo.value,
  468. saleName: this.carModelInfo.carModelInfo.salesName,
  469. transmissionType: this.carModelInfo.carModelInfo.transmissionType,
  470. model: this.carModelInfo.carModelInfo.carModel,
  471. nLevelID: this.carModelInfo.carModelInfo.nLevelID,
  472. engineType: this.carModelInfo.carModelInfo.engineModel,
  473. brandLogo: this.carModelInfo.carModelInfo.logo,
  474. buyDate: this.time,
  475. guidePrice: this.carModelInfo.carModelInfo.guidePrice,
  476. vIN: this.vin,
  477. id:this.carId,
  478. }
  479. }
  480. this.$http('opencarInfoOwner/addCarOwner', cardata, 'POST').then(res => {
  481. uni.hideLoading();
  482. if (res.code == 0) {
  483. uni.showToast({
  484. title: '保存成功',
  485. icon: 'none',
  486. duration: 3000
  487. });
  488. uni.removeStorageSync('carModelInfo');
  489. setTimeout(function() {
  490. uni.navigateBack({
  491. })
  492. }, 3000);
  493. } else {
  494. uni.showToast({
  495. title: res.msg,
  496. icon: 'none',
  497. duration: 3000
  498. });
  499. }
  500. })
  501. },
  502. }
  503. }
  504. </script>
  505. <style>
  506. .content {
  507. min-height: 100vh;
  508. background: linear-gradient( 180deg, #FFF8E2 0%, #F4F4F4 100%);
  509. padding-top: 20rpx;
  510. }
  511. .logo{
  512. width: 120rpx;height: 120rpx;border-radius: 50%;
  513. }
  514. .newBox{
  515. padding: 24rpx;
  516. }
  517. .modelBox{
  518. background: #FFFFFF;border-radius: 20rpx;
  519. padding: 30rpx;
  520. }
  521. .mbTop{
  522. display: flex;line-height: 42rpx;
  523. }
  524. .mbTopTxt1{
  525. font-weight: 500;
  526. font-size: 30rpx;color: #090909;
  527. }
  528. .mbTopTxt2{
  529. font-weight: 400;color: #999999;
  530. font-size: 22rpx;padding-left: 25rpx;
  531. }
  532. .lineRgiht{
  533. display: flex;
  534. }
  535. .lineRtxt{
  536. font-weight: 400;line-height: 45rpx;
  537. font-size: 22rpx;
  538. color: #9A9A9A;
  539. padding-right: 10rpx;
  540. }
  541. .jtIcon{
  542. width: 10rpx;height: 20rpx;margin-top: 15rpx;
  543. }
  544. .brand{
  545. font-weight: 500;
  546. font-size: 32rpx;
  547. color: #090909;
  548. line-height: 45rpx;
  549. width: 350rpx;
  550. overflow: hidden;
  551. text-overflow: ellipsis;
  552. display: -webkit-box;
  553. -webkit-line-clamp: 2;
  554. -webkit-box-orient: vertical;
  555. }
  556. .mbCont{
  557. display: flex;
  558. }
  559. .mbContBox{
  560. width: 480rpx;padding-left: 25rpx;
  561. }
  562. .mbCont{
  563. padding-top: 25rpx;
  564. }
  565. .carMTxt{
  566. font-weight: 400;
  567. font-size: 24rpx;
  568. color: #9E9E9E;
  569. line-height: 33rpx;
  570. padding-top: 6rpx;
  571. }
  572. .plateNumberMs{
  573. font-weight: 500;padding-top: 26rpx;
  574. font-size: 26rpx;
  575. color: #000000;
  576. }
  577. .plateNumberBox{
  578. display: flex;padding-top: 12rpx;
  579. padding-bottom: 20rpx;
  580. border-bottom: 1px solid #EEEEEE;
  581. }
  582. .sheng{
  583. width: 64rpx;
  584. height: 68rpx;
  585. background: #FACC2D;
  586. border-radius: 6rpx;
  587. font-size: 32rpx;
  588. color: #FFFFFF;
  589. text-align: center;
  590. line-height: 68rpx;
  591. margin-right: 6rpx;
  592. }
  593. .zhimu{
  594. width: 60rpx;
  595. height: 64rpx;
  596. border-radius: 6rpx;
  597. border: 2rpx solid #FACC2D;
  598. font-size: 32rpx;
  599. color: #090909;
  600. text-align: center;
  601. line-height: 68rpx;
  602. margin-right: 6rpx;
  603. }
  604. .xny{
  605. width: 68rpx;
  606. height: 64rpx;
  607. border-radius: 6rpx;
  608. border: 2rpx dashed #FACC2D;
  609. font-size: 20rpx;
  610. color: #FACC2D;
  611. text-align: center;
  612. line-height: 68rpx;
  613. }
  614. .jbLine{
  615. border-bottom: 1px solid #EEEEEE;
  616. padding: 16rpx 0;
  617. }
  618. .jtIcon2{
  619. width: 10rpx;height: 20rpx;margin-top: 8rpx;
  620. }
  621. .jbLineTitle{
  622. font-weight: 500;
  623. font-size: 26rpx;
  624. color: #000000;
  625. line-height: 37rpx;
  626. }
  627. .jbLineCont{
  628. display: flex;justify-content: space-between;
  629. }
  630. .jbLineInput{
  631. font-size: 24rpx;
  632. color: #3C3C3C;
  633. line-height: 34rpx;
  634. height: 34rpx;
  635. }
  636. .jbLineCont{
  637. font-size: 24rpx;
  638. color: #3C3C3C;
  639. line-height: 34rpx;
  640. }
  641. .jbMS{
  642. font-weight: 400;
  643. font-size: 24rpx;
  644. color: #9A9A9A;padding-top: 30rpx;
  645. }
  646. .complete{
  647. width: 661rpx;text-align: center;
  648. height: 86rpx;line-height: 86rpx;
  649. background: #FCD903;
  650. border-radius: 43rpx;
  651. font-size: 32rpx;
  652. color: #110B01;
  653. margin: 0 auto;
  654. margin-top: 50rpx;
  655. }
  656. .carMessage {
  657. margin: 0rpx 24rpx 40rpx;
  658. padding-top: 20rpx;
  659. height: 500rpx;
  660. background-color: #FFFFFF;
  661. border-radius: 10rpx;
  662. }
  663. .mesView {
  664. display: flex;
  665. align-items: center;
  666. width: 100%;
  667. height: 120rpx;
  668. background-color: #FFFFFF;
  669. }
  670. .leftTitle {
  671. margin: 28rpx;
  672. width: 180rpx;
  673. font-size: 28rpx;
  674. color: #666666;
  675. }
  676. .noSelectColor {
  677. color: #999999;
  678. font-size: 24rpx;
  679. }
  680. .selectColor {
  681. color: #333333;
  682. }
  683. .carMod {
  684. text-overflow: -o-ellipsis-lastline;
  685. overflow: hidden;
  686. text-overflow: ellipsis;
  687. display: -webkit-box;
  688. -webkit-line-clamp: 2;
  689. line-clamp: 2;
  690. -webkit-box-orient: vertical;
  691. }
  692. .big_rightArrow {
  693. margin-right: 28rpx;
  694. width: 14rpx;
  695. height: 23rpx;
  696. }
  697. .cityBtn {
  698. width: 65%;
  699. font-size: 28rpx;
  700. }
  701. .plateNumber {
  702. width: 55%;
  703. font-size: 28rpx;
  704. }
  705. .carModBtn {
  706. width: 65%;
  707. font-size: 28rpx;
  708. }
  709. .timeBtn {
  710. width: 65%;
  711. font-size: 28rpx;
  712. }
  713. .mileageInput {
  714. width: 20%;
  715. font-size: 28rpx;
  716. }
  717. .vinInput{
  718. width: 60%;
  719. font-size: 28rpx;
  720. }
  721. .kmStr {
  722. font-size: 28rpx;
  723. color: #333333;
  724. }
  725. .bottomView {
  726. background-color: #FFFFFF;
  727. width: 100%;
  728. height: 120rpx;
  729. position: fixed;
  730. bottom: 0rpx;
  731. padding-bottom: constant(safe-area-inset-bottom);
  732. padding-bottom: env(safe-area-inset-bottom);
  733. }
  734. .saveCar {
  735. background-color: #EC0F0A;
  736. margin: 23rpx 30rpx;
  737. height: 74rpx;
  738. border-radius: 37rpx;
  739. color: #FFFFFF;
  740. font-size: 30rpx;
  741. font-weight: bold;
  742. text-align: center;
  743. line-height: 74rpx;
  744. }
  745. .line{
  746. margin: 1rpx 28rpx;
  747. background-color: #EEEEEE;
  748. height: 1rpx;
  749. }
  750. .stars{
  751. color: #FF2400;
  752. }
  753. </style>