carModel.vue 20 KB

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