carModel.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704
  1. <template>
  2. <view class="carbox">
  3. <view class="carSs">
  4. <view class="carssBox">
  5. <img src="../../static/img/icon_search.png" alt="" class="carSsImg">
  6. <input type="text" placeholder="请输入车型品牌或车系名称" class="carssInput" @input="carNameInput" v-model="carName" @confirm="getcarsslist">
  7. </view>
  8. </view>
  9. <view style="height: 220rpx;"></view>
  10. <view class="tab1 ">
  11. <scroll-view class="scroll-view" :scroll-into-view="toView" scroll-y="true" >
  12. <view class="brand-select">
  13. <template v-for="item in carModelList">
  14. <view :id="item['首字母']" v-if="item['首字母']!='热'">
  15. <view class="brand-select-title" :id="item['首字母']+'-model'">
  16. <h5 :class="{'brand-select-titleselect':item['首字母']==toView}">{{item['首字母']}}</h5>
  17. </view>
  18. <view class="brand-select-wrapper">
  19. <a class="brand-select-item" v-for="item2 in item['品牌列表']" @click="selectBrand(item2)" :id="item2.brand">
  20. <img :src="item2.logo" class="brand-select-item-icon">
  21. <span>{{item2.brand||item2.name}}</span>
  22. </a>
  23. </view>
  24. </view>
  25. <view :id="'rm'" v-if="item['首字母']=='热'">
  26. <view class="brand-select-title" :id="item['首字母']+'-model'">
  27. <h5 :class="{'brand-select-titleselect':toView=='rm'}">{{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. </template>
  37. </view>
  38. </scroll-view >
  39. <div class="fast-navigation">
  40. <a class="fast-navigation-sel" v-if="item['首字母']=='热'" :class="{'select':toView=='rm'}" v-for="item in carModelList" @tap="bindToView(item)">热</a>
  41. <a class="fast-navigation-sel" v-if="item['首字母']!=='热'" :class="{'select':item['首字母']==toView}" v-for="item in carModelList" @tap="bindToView(item)">{{item['首字母']}}</a>
  42. </div>
  43. </view>
  44. <uni-popup ref="popup" type="right" :mask-click="true" @change="popupc">
  45. <view class="popup-content" >
  46. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  47. <view style="height: 44px;"></view>
  48. <view style="height: 122rpx;"></view>
  49. <h3 class="carModel-nav-title " style="padding-top: 4rpx;">
  50. <view class="carModel-nav-title—left">
  51. <img :src="selectedCarBrand.logo" class="carModel-nav-title-img">
  52. <span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }}</span>
  53. </view>
  54. </h3>
  55. <scroll-view class="brandList" scroll-y="true">
  56. <view v-for="item in carSeriesList" :key="item.manufactor" >
  57. <h3 class="cell-item-title">{{ item.manufactor }}</h3>
  58. <span v-for="item2 in item.carSeries" :key="item2" :title="item2" class="span-cell" @click="selectCarFactory(item.manufactor,item2)" >{{item2}}</span>
  59. </view>
  60. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  61. <view class="status_bar" style="height: 50px;"></view>
  62. </scroll-view>
  63. </view>
  64. </uni-popup>
  65. <!-- 排量 -->
  66. <view class="displacementListBox" v-show="displacementListShow">
  67. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  68. <!-- <view style="height: 44px;"></view> -->
  69. <h3 class="carModel-nav-title">
  70. <view class="carModel-nav-title—left">
  71. <img :src="selectedCarBrand.logo" class="carModel-nav-title-img" @click="$emit('changeStep', 1)">
  72. <span class="carModel-nav-title-msg carModel-nav-title-msg1">{{ selectedCarBrand.brand }} {{ carSeries }}</span>
  73. </view>
  74. <view class="carBack" @click="carBack(1)">上一步</view>
  75. </h3>
  76. <scroll-view scroll-y="true" class="brandList">
  77. <view @click="selectDisplacement(item)" v-for="item in displacementList" class="displacementListLine" >
  78. {{item}}
  79. </view>
  80. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  81. <view class="status_bar" style="height: 50px;"></view>
  82. </scroll-view>
  83. </view>
  84. <!-- 排量 -->
  85. <!-- 离合器 -->
  86. <view class="carGroupListBox" v-show="carGroupListShow">
  87. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  88. <!-- <view style="height: 44px;"></view> -->
  89. <h3 class="carModel-nav-title">
  90. <view class="carModel-nav-title—left">
  91. <img :src="selectedCarBrand.logo" class="carModel-nav-title-img" @click="$emit('changeStep', 1)">
  92. <span class="carModel-nav-title-msg carModel-nav-title-msg1">{{ selectedCarBrand.brand }} {{ carSeries }}{{displacement}}</span>
  93. </view>
  94. <view class="carBack" @click="carBack(2)">上一步</view>
  95. </h3>
  96. <scroll-view scroll-y="true" class="brandList">
  97. <view @click="goList(item)" v-for="item in carGroupList" class="displacementListLine" >
  98. {{item.title}}
  99. </view>
  100. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  101. <view class="status_bar" style="height: 50px;"></view>
  102. </scroll-view>
  103. </view>
  104. <!-- 离合器 -->
  105. <!-- 搜索的 -->
  106. <view class="carssListBox" v-show="carssListShow" @click="carssListShow=false">
  107. <view class="carssListBoxCont" >
  108. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  109. <h3 class="carModel-nav-title">
  110. <view class="carModel-nav-title—left">
  111. <span class="carModel-nav-title-msg" style="padding-left: 24rpx;">{{carName}}</span>
  112. </view>
  113. <!-- <view class="carBack" @click="secondShow=false">上一步</view> -->
  114. </h3>
  115. <scroll-view scroll-y="true" class="brandList">
  116. <view @click.stop="ssitem(item)" v-for="item in carsslist" class="carsslineTxt" >
  117. {{item.title}}
  118. </view>
  119. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  120. <view class="status_bar" style="height: 50px;"></view>
  121. </scroll-view>
  122. </view>
  123. </view>
  124. <view class="carssListBox2" v-show="secondShow" @click.stop="secondShow=false">
  125. <view class="carssListBoxCont">
  126. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  127. <h3 class="carModel-nav-title">
  128. <view class="carModel-nav-title—left">
  129. <span class="carModel-nav-title-msg" style="padding-left: 24rpx;">{{ssname1}}</span>
  130. </view>
  131. <view class="carBack" @click="secondShow=false">上一步</view>
  132. </h3>
  133. <scroll-view scroll-y="true" class="brandList">
  134. <view @click.stop="seconditem(item)" v-for="item in secondlist" class="carsslineTxt" >
  135. {{item.title}}
  136. </view>
  137. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  138. <view class="status_bar" style="height: 50px;"></view>
  139. </scroll-view>
  140. </view>
  141. </view>
  142. <view class="carssListBox2" v-show="ssdisplacementListShow" @click.stop="ssdisplacementListShow=false">
  143. <view class="carssListBoxCont">
  144. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  145. <h3 class="carModel-nav-title">
  146. <view class="carModel-nav-title—left">
  147. <span class="carModel-nav-title-msg " style="padding-left: 24rpx;">{{ssname2}}</span>
  148. </view>
  149. <view class="carBack" @click="ssdisplacementListShow=false">上一步</view>
  150. </h3>
  151. <scroll-view scroll-y="true" class="brandList">
  152. <view @click="golistnew(item)" v-for="item in ssdisplacementList" class="carsslineTxt" >
  153. {{item.displacement}}
  154. </view>
  155. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  156. <view class="status_bar" style="height: 50px;"></view>
  157. </scroll-view>
  158. </view>
  159. </view>
  160. <!-- 搜索的 -->
  161. </view>
  162. </template>
  163. <script>
  164. export default {
  165. data() {
  166. return {
  167. carModelList:'',
  168. toView:'',
  169. type:'right',
  170. iStatusBarHeight:'',
  171. selectedCarBrand:'',
  172. brand:'',
  173. carSeriesList:'',
  174. manufactor:'',
  175. carSeries:'',
  176. displacementList:'',
  177. displacementListShow:false,
  178. selectedCarSeries:'',
  179. displacement:'',
  180. carGroupList:'',
  181. carGroupListShow:false,
  182. carsslist:[],
  183. carName:'',
  184. carssListShow:false,
  185. secondShow:false,
  186. secondlist:'',
  187. carItem:'',
  188. ssdisplacementListShow:false,
  189. ssdisplacementList:'',
  190. ssname1:'',
  191. ssname2:'',
  192. }
  193. },
  194. onLoad() {
  195. console.log("?")
  196. },
  197. methods: {
  198. popupc(e){
  199. console.log(e)
  200. if(!e.show){
  201. this.displacementListShow=false;
  202. this.carGroupListShow=false;
  203. }
  204. },
  205. carBack(num){
  206. if(num==2){
  207. this.carGroupListShow=false;
  208. }
  209. if(num==1){
  210. this.displacementListShow=false;
  211. }
  212. },
  213. getcarsslist(){
  214. this.secondShow=false;
  215. this.ssdisplacementListShow=false;
  216. uni.showLoading({ title: '加载中'});
  217. this.$http('matchingByOpen/queryCarModelGroupIiPackage', {
  218. name:this.carName
  219. }, 'POST').then(res => {
  220. uni.hideLoading();
  221. this.carssListShow=true;
  222. this.carsslist=res.data
  223. // this.carModelList=res.data.brands
  224. })
  225. },
  226. ssitem(item){
  227. this.carItem=item;
  228. uni.showLoading({ title: '加载中'});
  229. if(item.type==1){
  230. var params={
  231. type:item.type,
  232. manufactor:item.manufactor,
  233. }
  234. this.$http('matchingByOpen/queryCarModelGroupIiPackageSecond', params, 'POST').then(res => {
  235. this.secondlist=res.data;
  236. this.secondShow=true;
  237. uni.hideLoading();
  238. })
  239. }else if(item.type==2){
  240. var params={
  241. type:item.type,
  242. manufactor:item.manufactor,
  243. brand:item.brand,
  244. carSeries:item.carSeries
  245. }
  246. this.$http('matchingByOpen/queryCarModelGroupIiPackageSecond', params, 'POST').then(res => {
  247. this.secondlist=res.data;
  248. this.secondShow=true;
  249. uni.hideLoading();
  250. })
  251. }else{
  252. if(item.displacementList.length==1){
  253. uni.navigateTo({
  254. url:'list?type=2&id='+item.displacementList[0].id
  255. })
  256. }else{
  257. this.ssdisplacementList=item.displacementList;
  258. this.ssdisplacementListShow=true;
  259. this.ssname2=item.title;
  260. }
  261. }
  262. this.ssname1=item.title
  263. },
  264. seconditem(item){
  265. if(item.displacementList.length==1){
  266. uni.navigateTo({
  267. url:'list?type=2&id='+item.displacementList[0].id
  268. })
  269. }
  270. else{
  271. this.ssdisplacementList=item.displacementList;
  272. this.ssdisplacementListShow=true;
  273. this.ssname2=item.title
  274. }
  275. // this.$refs.popup.open("right2")
  276. //this.popupShow=true;
  277. },
  278. carNameInput(){
  279. //console.log(this.carName)
  280. if(this.carName==''){
  281. this.carssListShow=false;
  282. this.secondShow=false;
  283. this.ssdisplacementListShow=false;
  284. }
  285. },
  286. getdata(){
  287. uni.showLoading({ title: '加载中'});
  288. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  289. this.$http('matchingByOpen/queryCarModelGroupPackage', {
  290. }, 'POST').then(res => {
  291. this.carModelList=res.data.brands
  292. uni.hideLoading();
  293. })
  294. },
  295. selectBrand(item){
  296. console.log(item)
  297. this.selectedCarBrand=item;
  298. this.$refs.popup.open("right")
  299. this.popupShow=true;
  300. this.brand=item.brand
  301. this.getbrand()
  302. },
  303. getbrand(){
  304. uni.showLoading({ title: '加载中'});
  305. this.$http('matchingByOpen/queryCarModelGroupPackage', {
  306. brand:this.brand
  307. },'POST').then(res => {
  308. uni.hideLoading();
  309. this.carSeriesList=res.data.carSeriesList
  310. })
  311. },
  312. selectCarFactory(manufactor,item){
  313. this.manufactor=manufactor;
  314. this.carSeries=item;
  315. //this.selectedCarSeries=item
  316. this.displacementListShow=true;
  317. this.getdisplacementList()
  318. },
  319. getdisplacementList(){
  320. uni.showLoading({ title: '加载中'});
  321. this.$http('matchingByOpen/queryCarModelGroupPackage', {
  322. brand:this.brand,
  323. manufactor:this.manufactor,
  324. carSeries:this.carSeries
  325. },'POST').then(res => {
  326. uni.hideLoading();
  327. this.displacementList=res.data.displacementList
  328. })
  329. },
  330. selectDisplacement(item){
  331. this.displacement=item;
  332. this.carGroupListShow=true;
  333. this.getmodelList();
  334. },
  335. getmodelList(){
  336. uni.showLoading({ title: '加载中'});
  337. this.$http('matchingByOpen/queryCarModelGroupPackage', {
  338. brand:this.brand,
  339. manufactor:this.manufactor,
  340. carSeries:this.carSeries,
  341. displacement:this.displacement
  342. },'post').then(res => {
  343. uni.hideLoading();
  344. this.carGroupList=res.data.carGroupList
  345. })
  346. },
  347. goList(item){
  348. console.log(item)
  349. this.$store.commit('mutationslistId', item.id)
  350. uni.navigateTo({
  351. url:'list?name='+item.value+'&nLevelID='+item.carModelInfo.nLevelID+'&id='+item.id
  352. })
  353. },
  354. golistnew(item){
  355. uni.navigateTo({
  356. url:'list?type=2&id='+item.id
  357. })
  358. },
  359. bindToView(item){
  360. console.log(item)
  361. if(item['首字母']=='热'){
  362. this.toView ='rm'
  363. }else{
  364. this.toView = item['首字母']
  365. }
  366. console.log(this.toView)
  367. },
  368. close(){
  369. this.$refs.popup.close()
  370. },
  371. }
  372. }
  373. </script>
  374. <style scoped lang="scss">
  375. .carModel-nav-title—left{
  376. display: flex;
  377. }
  378. .carModel-nav-title{
  379. display: flex;
  380. justify-content: space-between;
  381. }
  382. .carBack{
  383. line-height: 100rpx;
  384. font-size: 30rpx;
  385. font-family: PingFangSC-Medium, PingFang SC;
  386. font-weight: 500;
  387. color: #FFFFFF;
  388. padding-right: 24rpx;
  389. }
  390. .carSs{
  391. width: 750rpx;
  392. height: 96rpx;
  393. background: #FFFFFF;
  394. padding-top: 24rpx;
  395. position: fixed;
  396. z-index: 999;
  397. left: 0;
  398. top:90rpx;
  399. /* top: calc(44px + 96rpx); */
  400. }
  401. .carssBox{
  402. width: 702rpx;
  403. height: 72rpx;
  404. background: #F4F5F7;
  405. border-radius: 36rpx;
  406. margin: 0 auto;
  407. }
  408. .carSsImg{
  409. width: 40rpx;
  410. height: 40rpx;
  411. margin-top: 16rpx;
  412. margin-left: 20rpx;
  413. }
  414. .carssInput{
  415. line-height:72rpx;
  416. font-size: 28rpx;
  417. height:72rpx;
  418. padding-left: 16rpx;
  419. width: 600rpx;
  420. }
  421. .carssBox{
  422. display: flex;
  423. }
  424. .brand-select{
  425. .brand-select-title{
  426. height: 80rpx;
  427. background:rgba(247,247,247,1);
  428. position: relative;
  429. h5{
  430. position: absolute;
  431. height:40rpx;
  432. font-size:28rpx;
  433. font-weight:500;
  434. color:rgba(102,102,102,1);
  435. line-height:40rpx;
  436. top: 20rpx;
  437. left: 30rpx;
  438. }
  439. }
  440. .brand-select-wrapper{
  441. display: flex;
  442. flex-wrap: wrap;
  443. background:rgba(255,255,255,1);
  444. width: 100vw;
  445. .brand-select-item{
  446. display: block;
  447. width: 80rpx;
  448. height: 100rpx;
  449. padding: 30rpx;
  450. img{
  451. display: inline-block;
  452. margin-left: 10rpx;
  453. width: 60rpx;
  454. height: 60rpx;
  455. }
  456. span{
  457. display: inline-block;
  458. text-align: center;
  459. height:33rpx;
  460. width: 90rpx;
  461. font-size:24rpx;
  462. font-weight:400;
  463. color:rgba(51,51,51,1);
  464. line-height:33rpx;
  465. }
  466. }
  467. }
  468. }
  469. .fast-navigation{
  470. position: fixed;
  471. text-align: center;
  472. right: 16rpx;
  473. top: 360rpx;
  474. width: 23rpx;
  475. font-size:26rpx;
  476. font-weight:500;
  477. line-height:35rpx;
  478. color: rgb(153, 153, 153);
  479. a{
  480. display: block;
  481. padding-top: 5rpx;
  482. }
  483. .select{
  484. color: #FF4F00;
  485. }
  486. }
  487. .scroll-view{
  488. height: calc(100vh - 120rpx);
  489. }
  490. .brand-select{
  491. padding-bottom: 100rpx;
  492. }
  493. .popup-height {
  494. width: 200px;
  495. }
  496. .popup-content{
  497. width: 80vw;
  498. background: #FFFFFF;
  499. height: 100vh;
  500. }
  501. .carModel-nav-title{
  502. height:100rpx;
  503. background: linear-gradient(110deg, #48B9F9 0%, #3F90F7 100%);
  504. line-height: 100rpx;
  505. display: flex;
  506. z-index: 500;
  507. &.cell-logo{
  508. position: sticky;
  509. top: 0;
  510. background: linear-gradient(110deg, #48B9F9 0%, #3F90F7 100%);
  511. }
  512. .carModel-nav-title-box{
  513. width: 100%;
  514. display: flex;
  515. }
  516. .carModel-nav-title-img{
  517. margin: 20rpx;
  518. width: 60rpx;
  519. height: 60rpx;
  520. }
  521. .carModel-nav-title-msg{
  522. font-size:30rpx;
  523. font-weight:400;
  524. color:rgba(255,255,255,1);
  525. display: block;
  526. padding-right: 20rpx;
  527. width: 400rpx;
  528. overflow: hidden;
  529. text-overflow: ellipsis;
  530. white-space: nowrap;
  531. }
  532. .carModel-nav-title-msg1{
  533. width: 300rpx;
  534. }
  535. }
  536. .cell-item-title{
  537. height:60rpx;
  538. background:rgba(250,250,250,1);
  539. font-size:28rpx;
  540. font-weight:400;
  541. color:rgba(102,102,102,1);
  542. line-height:60rpx;
  543. padding-left: 26rpx;
  544. }
  545. .span-cell{
  546. position: relative;
  547. display: -webkit-box;
  548. display: -webkit-flex;
  549. display: flex;
  550. box-sizing: border-box;
  551. width: 100%;
  552. padding: 6rpx 30rpx;
  553. overflow: hidden;
  554. color: #323233;
  555. font-size: 3.73333vw;
  556. line-height: 82rpx;
  557. height: 82rpx;
  558. background-color: #fff;
  559. border-bottom: 1px solid #ebedf0;
  560. }
  561. .carModel-nav-title{
  562. height:100rpx;
  563. background: linear-gradient(110deg, #48B9F9 0%, #3F90F7 100%);
  564. line-height: 100rpx;
  565. display: flex;
  566. z-index: 500;
  567. &.cell-logo{
  568. position: sticky;
  569. top: 0;
  570. background: linear-gradient(110deg, #48B9F9 0%, #3F90F7 100%);
  571. }
  572. .carModel-nav-title-box{
  573. width: 100%;
  574. display: flex;
  575. }
  576. .carModel-nav-title-img{
  577. margin: 20rpx;
  578. width: 60rpx;
  579. height: 60rpx;
  580. }
  581. .carModel-nav-title-msg{
  582. font-size:30rpx;
  583. font-weight:400;
  584. color:rgba(255,255,255,1);
  585. display: block;
  586. padding-right: 20px;
  587. }
  588. }
  589. .carbox{
  590. height: calc(100vh - 120rpx);
  591. }
  592. .brandList{
  593. height: calc(100vh - 310rpx);
  594. /* padding-bottom:var(--status-bar-height); */
  595. }
  596. .displacementListLine{
  597. min-height: 50rpx;
  598. padding: 20rpx 20rpx 20rpx 30rpx;
  599. font-size:28rpx;
  600. font-weight:600;
  601. color:rgba(51,51,51,1);
  602. line-height:50rpx;
  603. border-top: 2rpx solid rgb(238, 238, 238);
  604. background-color: rgb(255, 255, 255);
  605. }
  606. .carsslineTxt{
  607. // height: 98rpx;
  608. background: #FFFFFF;
  609. line-height:50rpx;
  610. color: #333333;
  611. font-size: 28rpx;
  612. padding: 0 24rpx;
  613. border-bottom: 1px solid #EEEEEE;
  614. padding: 20rpx 20rpx 20rpx 30rpx;
  615. }
  616. .displacementListBox{
  617. position: fixed;
  618. top: 97rpx;
  619. left: 20vw;
  620. width: 80vw;
  621. height: 100vh;
  622. background:#F4F5F7 ;
  623. z-index: 11111;
  624. /* #ifdef H5 */
  625. top:calc(210rpx);
  626. /* #endif */
  627. }
  628. .carGroupListBox{
  629. position: fixed;
  630. top: 0;
  631. left: 20vw;
  632. width: 80vw;
  633. height: 100vh;
  634. background:#F4F5F7 ;
  635. z-index: 11111;
  636. top: 210rpx;
  637. /* #ifdef H5 */
  638. /* top:calc(44px + 220rpx); */
  639. /* #endif */
  640. }
  641. .carssListBox{
  642. position: fixed;
  643. top: 0;
  644. left: 0;
  645. width: 200vw;
  646. height: 100vh;
  647. background: rgba(0,0,0,0.5) ;
  648. z-index: 11111;
  649. /* #ifdef H5 */
  650. top:calc( 210rpx);
  651. /* #endif */
  652. }
  653. .carssListBoxCont{
  654. background: #FFFFFF;width: 80vw;margin-left: 20vw;height: 100vh;
  655. }
  656. .carssListBox2{
  657. position: fixed;
  658. top: 0;
  659. left: 0;
  660. width: 100vw;
  661. height: 100vh;
  662. background: rgba(0,0,0,0) ;
  663. z-index: 11112;
  664. top:calc(210rpx);
  665. }
  666. .brand-select-titleselect{
  667. color: #FF4F00 !important;
  668. }
  669. </style>