carModel.vue 20 KB

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