carModel.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  1. <template>
  2. <view class="box">
  3. <!-- 自定义头部 -->
  4. <view class="zdyNav">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNavCont">
  7. <view class="zdyNavContLeft">
  8. <image src="../../../static/img/baiheiback.png" mode="" class="baiheibackImg" @click="gofhj"></image>
  9. <!-- <image src="../../static/img/chahao.png" mode="" class="gaunbiIMg" @click="goback"></image> -->
  10. </view>
  11. <view class="zdyNavContTitle">自主选车</view>
  12. <view class="zdyNavContRight"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view>
  17. <!-- <view class="tab">
  18. <view class="tabLine" :class="{activeTab:tabIndex==1}" @click="tabIndex=1">手动选车</view>
  19. <view class="tabLine" :class="{activeTab:tabIndex==2}" @click="tabIndex=2">VIN识别</view>
  20. </view> -->
  21. <view class="tab1 " v-if="tabIndex==1">
  22. <scroll-view class="scroll-view" :scroll-into-view="toView" scroll-y="true" >
  23. <view class="brand-select">
  24. <template v-for="item in carModelList">
  25. <view :id="item['首字母']" v-if="item['首字母']!='热门'">
  26. <view class="brand-select-title" :id="item['首字母']+'-model'">
  27. <h5 :class="{'brand-select-titleselect':item['首字母']==toView}">{{item['首字母']}}</h5>
  28. </view>
  29. <view class="brand-select-wrapper">
  30. <a class="brand-select-item" v-for="item2 in item['品牌列表']" @click="selectBrand(item2)" :id="item2.brand">
  31. <img :src="item2.logo" class="brand-select-item-icon">
  32. <span>{{item2.brand||item2.name}}</span>
  33. </a>
  34. </view>
  35. </view>
  36. <view :id="'rm'" v-if="item['首字母']=='热门'">
  37. <view class="brand-select-title" :id="item['首字母']+'-model'">
  38. <h5 :class="{'brand-select-titleselect':item['首字母']==toView}">{{item['首字母']}}</h5>
  39. </view>
  40. <view class="brand-select-wrapper">
  41. <a class="brand-select-item" v-for="item2 in item['品牌列表']" @click="selectBrand(item2)" :id="item2.brand">
  42. <img :src="item2.logo" class="brand-select-item-icon">
  43. <span>{{item2.brand||item2.name}}</span>
  44. </a>
  45. </view>
  46. </view>
  47. </template>
  48. </view>
  49. </scroll-view >
  50. <div class="fast-navigation">
  51. <a class="fast-navigation-sel" :class="{'select':item['首字母']==toView}" v-for="item in carModelList" @tap="bindToView(item)">{{item['首字母']}}</a>
  52. </div>
  53. </view>
  54. <uni-popup ref="popup" type="right" :mask-click="true">
  55. <view class="popup-content" >
  56. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  57. <view style="height: 44px;"></view>
  58. <h3 class="carModel-nav-title cell-logo">
  59. <img :src="selectedCarBrand.logo" class="carModel-nav-title-img">
  60. <span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }}</span>
  61. </h3>
  62. <scroll-view class="brandList" scroll-y="true">
  63. <view v-for="item in carSeriesList" :key="item.manufactor" >
  64. <h3 class="cell-item-title">{{ item.manufactor }}</h3>
  65. <span v-for="item2 in item.carSeries" :key="item2" :title="item2" class="span-cell" @click="selectCarFactory(item.manufactor,item2)" >{{item2}}</span>
  66. </view>
  67. </scroll-view>
  68. </view>
  69. </uni-popup>
  70. <!-- 排量 -->
  71. <view class="displacementListBox" v-show="displacementListShow">
  72. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  73. <view style="height: 44px;"></view>
  74. <h3 class="carModel-nav-title">
  75. <img :src="selectedCarBrand.logo" class="carModel-nav-title-img" @click="$emit('changeStep', 1)">
  76. <span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }} {{ carSeries }}</span>
  77. </h3>
  78. <scroll-view scroll-y="true" class="brandList">
  79. <view @click="selectDisplacement(item)" v-for="item in displacementList" class="displacementListLine" >
  80. {{item}}
  81. </view>
  82. </scroll-view>
  83. </view>
  84. <!-- 离合器 -->
  85. <view class="carGroupListBox" v-show="carGroupListShow">
  86. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  87. <view style="height: 44px;"></view>
  88. <h3 class="carModel-nav-title">
  89. <img :src="selectedCarBrand.logo" class="carModel-nav-title-img" @click="$emit('changeStep', 1)">
  90. <span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }} {{ carSeries }}{{displacement}}</span>
  91. </h3>
  92. <scroll-view scroll-y="true" class="brandList">
  93. <view @click="goAddCar(item)" v-for="item in carGroupList" class="displacementListLine" >
  94. {{item.title}}
  95. </view>
  96. </scroll-view>
  97. </view>
  98. <!-- 离合器 -->
  99. <view class="tab2" v-if="tabIndex==2">
  100. <view class="vinboxone" v-if="vinboxoneShow">
  101. <view class="smvin">请扫描VIN</view>
  102. <view class="smvin2">扫描时请保持环境光线充足不要反光</view>
  103. <view class="sltp">
  104. <!-- <image src="../../static/img/vin.png" mode="" class="sltpImg" ></image> --><!-- v-if="!vinImg" -->
  105. <!-- <image :src="vinImg" mode="widthFix" class="vinImg" v-if="vinImg"></image> -->
  106. </view>
  107. <view class="vinSc" @click="scVinIMg">上传图片</view>
  108. </view>
  109. <view class="vinboxTwo" v-if="vinboxtwoShow">
  110. <view class="vinboxTwoTopFh" @click="vinboxtwoShow=false"> 返回扫描 </view>
  111. <view class="vinboxTwoTopVIn">车辆识别代码:{{vin}}</view>
  112. <view class="vinCxNum"> 共{{vinSbList.length}}条查询结果</view>
  113. <view class="vinXzBox">
  114. <!-- <view class="vinXzLine">
  115. <view class="vinXzLineCx">品牌+车系+排量+变速器描述</view>
  116. <image src="../../static/img/icon_checked.png" mode="" class="loginLogo"></image>
  117. </view> -->
  118. <view class="vinXzLine" v-for="(vinItem,vIndex) in vinSbList" @click="ckVin(vinItem,vIndex)">
  119. <view class="vinXzLineCx">{{vinItem.title}}</view>
  120. <view class="vinXzLineyk" v-if="vinIndex!=vIndex"></view>
  121. <!-- <image src="../../static/img/icon_checked.png" mode="" v-if="vinIndex==vIndex" class="loginLogo"></image> -->
  122. </view>
  123. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  124. </view>
  125. </view>
  126. <view class="vinboxTwoBottom" v-if="vinboxtwoShow" :style="{bottom:iStatusBarHeight+'px'}">
  127. <view class="shoudonng" @click="shoudong">都不是,手动选车</view>
  128. <view class="qrcx" @click="qrcx">确认车型</view>
  129. </view>
  130. </view>
  131. </view>
  132. </template>
  133. <script>
  134. export default {
  135. components: {
  136. },
  137. data() {
  138. return {
  139. carList:'',
  140. tabIndex:1,
  141. carModelList:'',
  142. toView:'',
  143. type:'right',
  144. brand:'',
  145. carSeriesList:'',
  146. selectedCarBrand:'',
  147. manufactor:'',
  148. carSeries:'',
  149. displacementList:'',
  150. displacementListShow:false,
  151. selectedCarSeries:'',
  152. displacement:'',
  153. carGroupList:'',
  154. carGroupListShow:false,
  155. type:'',
  156. delId:'',
  157. vinImg:'',
  158. file:'',
  159. vin:'',
  160. vinboxoneShow:true,
  161. vinboxtwoShow:false,
  162. addNum:'',
  163. iStatusBarHeight:'',
  164. popupShow:false,
  165. vinSbList:[],
  166. vinIndex:0,
  167. vincarModelInfo:'',
  168. }
  169. },
  170. onLoad(opt) {
  171. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  172. if(opt.type==2){
  173. this.type=2
  174. }
  175. if(opt.add){
  176. this.addNum=opt.add
  177. }
  178. this.delId=opt.delId;
  179. this.queryCarModelGroupPackage();
  180. },
  181. methods: {
  182. ckVin(vinItem,vIndex){
  183. this.vinIndex=vIndex;
  184. this.vincarModelInfo=vinItem
  185. },
  186. qrcx(){
  187. this.goAddCar(this.vincarModelInfo)
  188. },
  189. shoudong(){
  190. this.vinboxtwoShow=false;
  191. this.tabIndex=1;
  192. },
  193. goback(){
  194. uni.navigateBack({
  195. delta:1
  196. })
  197. },
  198. gofhj(){
  199. if(this.carGroupListShow){
  200. this.carGroupListShow=false
  201. }else if(this.displacementListShow){
  202. this.displacementListShow=false
  203. }else if(this.popupShow){
  204. this.popupShow=false
  205. this.$refs.popup.close()
  206. }else{
  207. uni.navigateBack({
  208. delta:1
  209. })
  210. }
  211. },
  212. scVinIMg(){
  213. var that = this;
  214. uni.chooseImage({
  215. sourceType: ['album','camera'],
  216. count:1,
  217. success: (chooseImageRes) => {
  218. const tempFilePaths = chooseImageRes.tempFilePaths;
  219. that.file=tempFilePaths[0]
  220. uni.uploadFile({
  221. url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
  222. filePath: tempFilePaths[0],
  223. name: 'file',
  224. formData: {
  225. 'user': 'test'
  226. },
  227. success: (uploadFileRes) => {
  228. console.log(JSON.parse(uploadFileRes.data).data );
  229. //that.imgArr=that.imgArr.concat(JSON.parse(uploadFileRes.data).data) ;
  230. that.vinImg=JSON.parse(uploadFileRes.data).data[0];
  231. that.vinScanner()
  232. }
  233. });
  234. /* that.$http('accompany/SuperCheckSheet/uploadFile', tempFilePaths[0], 'POST').then(res => {
  235. }) */
  236. }
  237. });
  238. },
  239. vinScanner(){
  240. uni.showLoading({
  241. title:'正在识别中'
  242. });
  243. /*
  244. this.$http('miniAppMyBMemberCar/vinScanner', {
  245. photo:this.file,
  246. },'POST').then(res => {
  247. uni.hideLoading();
  248. //this.carGroupList=res.data.carGroupList
  249. }) */
  250. var that=this;
  251. uni.uploadFile({
  252. url: that.$request.baseUrl+'miniAppMyBMemberCar/vinScanner',
  253. filePath: that.file,
  254. name: 'photo',
  255. formData: {
  256. 'user': 'test'
  257. },
  258. success: (uploadFileRes) => {
  259. uni.hideLoading();
  260. console.log(JSON.parse(uploadFileRes.data) );
  261. if(JSON.parse(uploadFileRes.data).code==0){
  262. that.vin = JSON.parse(uploadFileRes.data).data;
  263. that.queryCarModelGroupByVin()
  264. }else{
  265. uni.showToast({
  266. title: JSON.parse(uploadFileRes.data).msg,
  267. icon: 'none',
  268. duration: 2000,
  269. });
  270. }
  271. }
  272. });
  273. },
  274. queryCarModelGroupByVin(){
  275. uni.showLoading({ });
  276. this.$http('miniAppMyBMemberCar/queryCarModelGroupByVin', {
  277. vin:this.vin,
  278. },'GET').then(res => {
  279. uni.hideLoading();
  280. if(res.code!=0){
  281. uni.showToast({
  282. title: res.msg,
  283. icon: 'none',
  284. duration: 2000,
  285. });
  286. }else{
  287. this.vinboxtwoShow=true
  288. this.vinSbList=res.data;
  289. this.vincarModelInfo=this.vinSbList[0]
  290. }
  291. })
  292. },
  293. goAddCar(item){
  294. console.log(item)
  295. var carModelInfo=item;
  296. var that=this;
  297. uni.setStorage({
  298. key: 'carModelInfo',
  299. data: carModelInfo,
  300. success: function () {
  301. uni.navigateBack({
  302. delta:1
  303. })
  304. }
  305. });
  306. },
  307. selectBrand(item){
  308. console.log(item)
  309. this.selectedCarBrand=item;
  310. this.$refs.popup.open("right")
  311. this.popupShow=true;
  312. this.brand=item.brand
  313. this.getbrand()
  314. },
  315. selectCarFactory(manufactor,item){
  316. this.manufactor=manufactor;
  317. this.carSeries=item;
  318. //this.selectedCarSeries=item
  319. this.displacementListShow=true;
  320. this.getdisplacementList()
  321. },
  322. selectDisplacement(item){
  323. this.displacement=item;
  324. this.carGroupListShow=true;
  325. this.getmodelList();
  326. },
  327. getmodelList(){
  328. uni.showLoading({
  329. title: '加载中'
  330. })
  331. this.$http('opencarInfoOwner/queryCarModelGroupPackage', {
  332. brand:this.brand,
  333. manufactor:this.manufactor,
  334. carSeries:this.carSeries,
  335. displacement:this.displacement
  336. },'POST').then(res => {
  337. uni.hideLoading();
  338. this.carGroupList=res.data.carGroupList
  339. })
  340. },
  341. getdisplacementList(){
  342. uni.showLoading({
  343. title: '加载中'
  344. })
  345. this.$http('opencarInfoOwner/queryCarModelGroupPackage', {
  346. brand:this.brand,
  347. manufactor:this.manufactor,
  348. carSeries:this.carSeries
  349. },'POST').then(res => {
  350. uni.hideLoading();
  351. this.displacementList=res.data.displacementList
  352. })
  353. },
  354. queryCarModelGroupPackage(){
  355. uni.showLoading({
  356. title: '加载中'
  357. })
  358. this.$http('opencarInfoOwner/queryCarModelGroupPackage', {
  359. },'POST').then(res => {
  360. uni.hideLoading();
  361. this.carModelList=res.data.brands
  362. })
  363. },
  364. bindToView(item){
  365. console.log(item)
  366. if(item['首字母']=='热门'){
  367. this.toView ='rm'
  368. }else{
  369. this.toView = item['首字母']
  370. }
  371. console.log(this.toView)
  372. //this.scrollTop = 0
  373. },
  374. /* login(){
  375. uni.navigateTo({
  376. url:'../login/login'
  377. })
  378. } */
  379. close(){
  380. this.$refs.popup.close()
  381. },
  382. getbrand(){
  383. uni.showLoading({
  384. title: '加载中'
  385. })
  386. this.$http('opencarInfoOwner/queryCarModelGroupPackage', {
  387. brand:this.brand
  388. },'POST').then(res => {
  389. uni.hideLoading();
  390. this.carSeriesList=res.data.carSeriesList
  391. })
  392. }
  393. }
  394. }
  395. </script>
  396. <style scoped lang="scss">
  397. .box{
  398. min-height: 100vh;
  399. background:#F4F5F7 ;
  400. }
  401. .vinboxTwoTopFh{
  402. font-size: 26rpx;
  403. padding: 30rpx 24rpx;
  404. color: #3F90F7;
  405. }
  406. .vinboxTwoBottom{
  407. width: 750rpx;
  408. height: 120rpx;
  409. background: #FFFFFF;
  410. box-shadow: 0px -2px 20px 0px rgba(153, 153, 153, 0.2);
  411. position: absolute;
  412. left: 0;
  413. bottom: 0;
  414. display: flex;
  415. justify-content: space-around;
  416. }
  417. .shoudonng{
  418. width: 336rpx;
  419. height: 74rpx;
  420. border-radius: 37rpx;
  421. border: 1px solid #FF4F00;
  422. line-height: 74rpx;
  423. text-align: center;
  424. font-size: 30rpx;
  425. color: #FF4F00;
  426. margin-top: 23rpx;
  427. }
  428. .qrcx{
  429. width: 336rpx;
  430. height: 74rpx;
  431. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  432. border-radius: 37rpx;
  433. line-height: 74rpx;
  434. text-align: center;
  435. font-size: 30rpx;
  436. color: #FFFFFF;
  437. margin-top: 23rpx;
  438. }
  439. .vinXzBox{
  440. padding-bottom: 120rpx;
  441. }
  442. .loginLogo{
  443. width: 28rpx;
  444. height: 28rpx;
  445. }
  446. .vinXzLineyk{
  447. width: 24rpx;
  448. height: 24rpx;
  449. border: 2rpx solid #999999;
  450. border-radius: 50%;
  451. }
  452. .vinXzLine{
  453. padding: 30rpx 24rpx;
  454. display: flex;
  455. justify-content: space-between;
  456. color: #3C3C3C;
  457. font-size: 28rpx;
  458. line-height: 28rpx;
  459. border-bottom: 1px solid #DDDDDD;
  460. }
  461. .vinboxTwoTopVIn{
  462. font-size: 28rpx;
  463. color: #666666;
  464. padding-left: 24rpx;
  465. padding-bottom: 30rpx;
  466. }
  467. .zdyNav{
  468. width: 100vw;
  469. background: #FFFFFF;
  470. position: fixed;
  471. top: 0;
  472. left: 0;
  473. z-index: 1111111;
  474. }
  475. .zdyNavCont{
  476. height: 44px;
  477. font-size: 28rpx;
  478. // font-weight: bold;
  479. display: flex;
  480. justify-content: space-between;
  481. line-height: 44px;
  482. }
  483. .vinCxNum{
  484. background: #F4F5F7;
  485. font-size: 26rpx;
  486. padding: 18rpx 24rpx;
  487. color: #999999;
  488. }
  489. .baiheibackImg{
  490. width: 70px;
  491. height: 44px;
  492. }
  493. .gaunbiIMg{
  494. width: 20px;
  495. height: 20px;
  496. padding: 12px;
  497. }
  498. .zdyNavContLeft{
  499. }
  500. .zdyNavContTitle{
  501. color: #000000;
  502. font-size: 30rpx;
  503. font-weight: bold;
  504. }
  505. .zdyNavContRight{
  506. width: 100px;
  507. }
  508. .smvin{
  509. color: #3C3C3C;
  510. font-size: 30rpx;
  511. }
  512. .smvin2{
  513. color: #999999;
  514. font-size: 26rpx;
  515. }
  516. .tab2{
  517. padding: 30rpx 24rpx;
  518. min-height: calc(100vh - 150rpx - 44px);
  519. background: #FFFFFF;
  520. position: relative;
  521. }
  522. .vinboxTwo{
  523. position: absolute;
  524. top: 0;
  525. left: 0;
  526. width: 750rpx;
  527. min-height: calc(100vh - 150rpx - 44px);
  528. background: #FFFFFF;
  529. }
  530. .sltpImg{
  531. width: 704rpx;
  532. height: 353rpx;
  533. }
  534. .vinImg{
  535. width: 704rpx;
  536. }
  537. .sltp{
  538. padding-top: 20rpx;
  539. }
  540. .vinSc{
  541. width: 690rpx;
  542. height: 74rpx;
  543. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  544. border-radius: 37rpx;
  545. text-align: center;
  546. line-height: 74rpx;
  547. color: #FFFFFF;
  548. font-size: 30rpx;
  549. margin-top: 70rpx;
  550. }
  551. .nodataImg{
  552. width: 400rpx;
  553. padding-top: 100rpx;
  554. }
  555. .noTxt{
  556. font-size: 36rpx;
  557. color: #999999;
  558. padding-top: 50rpx;
  559. }
  560. .nodataBox{
  561. text-align: center;
  562. }
  563. .addBtn{
  564. width: 690rpx;
  565. height: 74rpx;
  566. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  567. border-radius: 37rpx;
  568. line-height: 74rpx;
  569. text-align: center;
  570. color: #FFFFFF;
  571. font-size: 30rpx;
  572. position: fixed;
  573. bottom: 23rpx;
  574. left: 30rpx;
  575. }
  576. .carlistBox{
  577. padding-bottom: 120rpx;
  578. }
  579. .tab{
  580. background: #FFFFFF;
  581. display: flex;
  582. justify-content: space-around;
  583. line-height: 93rpx;
  584. color: #3C3C3C;
  585. font-size: 30rpx;
  586. border-bottom: 1px solid #F4F5F7;
  587. }
  588. .activeTab{
  589. color: #FF4F00;text-decoration: underline
  590. }
  591. /* .brand-select-title{
  592. height: 80px;
  593. background:rgba(247,247,247,1);
  594. position: relative;
  595. } */
  596. .brand-select{
  597. .brand-select-title{
  598. height: 80rpx;
  599. background:rgba(247,247,247,1);
  600. position: relative;
  601. h5{
  602. position: absolute;
  603. height:40rpx;
  604. font-size:28rpx;
  605. font-weight:500;
  606. color:rgba(102,102,102,1);
  607. line-height:40rpx;
  608. top: 20rpx;
  609. left: 30rpx;
  610. }
  611. }
  612. .brand-select-wrapper{
  613. display: flex;
  614. flex-wrap: wrap;
  615. background:rgba(255,255,255,1);
  616. width: 100vw;
  617. .brand-select-item{
  618. display: block;
  619. width: 80rpx;
  620. height: 100rpx;
  621. padding: 30rpx;
  622. img{
  623. display: inline-block;
  624. margin-left: 10rpx;
  625. width: 60rpx;
  626. height: 60rpx;
  627. }
  628. span{
  629. display: inline-block;
  630. text-align: center;
  631. height:33rpx;
  632. width: 90rpx;
  633. font-size:24rpx;
  634. font-weight:400;
  635. color:rgba(51,51,51,1);
  636. line-height:33rpx;
  637. }
  638. }
  639. }
  640. }
  641. .fast-navigation{
  642. position: fixed;
  643. text-align: center;
  644. right: 16rpx;
  645. top: 360rpx;
  646. width: 23rpx;
  647. font-size:24rpx;
  648. font-weight:500;
  649. line-height:35rpx;
  650. color: rgb(153, 153, 153);
  651. a{
  652. display: block;
  653. }
  654. .select{
  655. color: #FF4F00;
  656. }
  657. }
  658. .scroll-view{
  659. height: calc(100vh - 93rpx);
  660. }
  661. .popup-height {
  662. width: 200px;
  663. }
  664. .popup-content{
  665. width: 590rpx;
  666. background: #FFFFFF;
  667. height: 100vh;
  668. }
  669. .carModel-nav-title{
  670. height:100rpx;
  671. background: linear-gradient(134deg, #FF8635 0%, #FF4828 100%);
  672. line-height: 100rpx;
  673. display: flex;
  674. z-index: 500;
  675. &.cell-logo{
  676. position: sticky;
  677. top: 0;
  678. background: linear-gradient(134deg, #FF8635 0%, #FF4828 100%);
  679. }
  680. .carModel-nav-title-box{
  681. width: 100%;
  682. display: flex;
  683. }
  684. .carModel-nav-title-img{
  685. margin: 20rpx;
  686. width: 60rpx;
  687. height: 60rpx;
  688. }
  689. .carModel-nav-title-msg{
  690. font-size:30rpx;
  691. font-weight:400;
  692. color:rgba(255,255,255,1);
  693. display: block;
  694. padding-right: 20rpx;
  695. }
  696. }
  697. .cell-item-title{
  698. height:60rpx;
  699. background:rgba(250,250,250,1);
  700. font-size:28rpx;
  701. font-weight:400;
  702. color:rgba(102,102,102,1);
  703. line-height:60rpx;
  704. padding-left: 26rpx;
  705. }
  706. .span-cell{
  707. position: relative;
  708. display: -webkit-box;
  709. display: -webkit-flex;
  710. display: flex;
  711. box-sizing: border-box;
  712. width: 100%;
  713. padding: 6rpx 30rpx;
  714. overflow: hidden;
  715. color: #323233;
  716. font-size: 3.73333vw;
  717. line-height: 82rpx;
  718. height: 82rpx;
  719. background-color: #fff;
  720. border-bottom: 1px solid #ebedf0;
  721. }
  722. .carModel-nav-title{
  723. height:100rpx;
  724. background: linear-gradient(134deg, #FF8635 0%, #FF4828 100%);
  725. line-height: 100rpx;
  726. display: flex;
  727. z-index: 500;
  728. &.cell-logo{
  729. position: sticky;
  730. top: 0;
  731. background: linear-gradient(134deg, #FF8635 0%, #FF4828 100%);
  732. }
  733. .carModel-nav-title-box{
  734. width: 100%;
  735. display: flex;
  736. }
  737. .carModel-nav-title-img{
  738. margin: 20rpx;
  739. width: 60rpx;
  740. height: 60rpx;
  741. }
  742. .carModel-nav-title-msg{
  743. font-size:30rpx;
  744. font-weight:400;
  745. color:rgba(255,255,255,1);
  746. display: block;
  747. padding-right: 20px;
  748. }
  749. }
  750. .displacementListLine{
  751. min-height: 50rpx;
  752. padding: 20rpx 20rpx 20rpx 30rpx;
  753. font-size:28rpx;
  754. font-weight:600;
  755. color:rgba(51,51,51,1);
  756. line-height:50rpx;
  757. border-top: 2rpx solid rgb(238, 238, 238);
  758. background-color: rgb(255, 255, 255);
  759. }
  760. .displacementListBox{
  761. position: fixed;
  762. top: 0;
  763. left: 0;
  764. width: 100vw;
  765. height: 100vh;
  766. background:#F4F5F7 ;
  767. z-index: 11111;
  768. /* #ifdef H5 */
  769. top:44px;
  770. /* #endif */
  771. }
  772. .carGroupListBox{
  773. position: fixed;
  774. top: 0;
  775. left: 0;
  776. width: 100vw;
  777. height: 100vh;
  778. background:#F4F5F7 ;
  779. z-index: 11111;
  780. /* #ifdef H5 */
  781. top:44px;
  782. /* #endif */
  783. }
  784. .brandList{
  785. height: calc(100vh - 250rpx);
  786. }
  787. .brand-select-titleselect{
  788. color: #FF4F00 !important;
  789. }
  790. </style>