addCar.vue 21 KB

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