carModel.vue 20 KB

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