index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. <template>
  2. <view class="content">
  3. <!-- <view class="top">
  4. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  5. <view style="height: 43px;"></view>
  6. <view class="searchBox">
  7. <view class="searchInputBox" @click="goSearch">
  8. <image src="../../static/img/icon_search.png" mode="" class="simg"></image>
  9. <input type="text" placeholder="请输入车辆品牌、车系或VIN码" placeholder-class="ip" class="ssinput">
  10. </view>
  11. <view class="st" @click="stBtn">
  12. <image src="../../static/img/icon_shitu.png" mode="" class="stimg"></image>
  13. <view class="shitu">识图</view>
  14. </view>
  15. </view>
  16. </view> -->
  17. <!-- 历史查询 -->
  18. <!-- <view class="historybox ">
  19. <view class="history">
  20. <view class="historyTop" @click="gohistory">
  21. <view class="historyTitle">历史查询</view>
  22. <image src="../../static/img/icon_arrow.png" mode="" class="jiantouimg"></image>
  23. </view>
  24. <view class="historyLine" v-for="(item,index) in historyList" v-if="index<3" @click="gocarDetail(item)">
  25. <view class="historyLogoBox">
  26. <image :src="item.logo" mode="" class="historylinecarImg"></image>
  27. </view>
  28. <view class="historylinecar">{{item.title}}</view>
  29. </view>
  30. </view>
  31. </view> -->
  32. <!-- <view :style="{height: aaa}" class="aaaaa"></view> -->
  33. <!-- <view @click="wy">asdfasdfasdfas</view> -->
  34. <!-- <carModel ref="carModelView" :iStatusBarHeight="iStatusBarHeight" :svHeight="aaa"></carModel> -->
  35. <!-- 选择车型 -->
  36. <!-- <view class="ckcarBox" v-if="ckCarShow" >
  37. <view class="ckcar" @click.stop="">
  38. <view class="ckcarTop flex">
  39. <view class="ckcarTitle">请选择车型</view>
  40. <image src="../../static/img/icon_quxiao.png" mode="" class="ckcarClose" @click="ckcarClose"></image>
  41. </view>
  42. <view class="ckcarlineBox" v-for="(item,index) in moreVinList" @click="gobyItem(item)">
  43. <view class="ckcarline flex">
  44. <view class="ckcarLeft">{{item.title}}</view>
  45. <image src="../../static/img/icon_arrow.png" mode="" class="ckcarJtimg"></image>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. -->
  51. <view class="viewBox" v-if="tabIndex==1">
  52. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  53. <view style="height: 43px;"></view>
  54. <view class="topNavBox">
  55. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  56. <view class="indexnav">VZK火花塞</view>
  57. </view>
  58. <!-- 轮播-->
  59. <view class="swpBox">
  60. <swiper class="swiperTk" circular :autoplay="true" :interval="interval"
  61. :duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" :indicator-active-color="'#'+themeColor">
  62. <swiper-item >
  63. <view class="swiper-itemTk" >
  64. <image class="tkHdImg" src="http://dmsphoto.66km.com.cn/thFiles/5153BA97-454B-4A26-A580-ABFF1F0128D8.png" mode="widthFix"></image>
  65. </view>
  66. </swiper-item>
  67. <!-- <swiper-item >
  68. <view class="swiper-itemTk" >
  69. <image class="tkHdImg" src="http://dmsphoto.66km.com.cn/thFiles/37B94D9D-5D8A-4754-9BBF-5715C1B5F665.jpg" mode="widthFix"></image>
  70. </view>
  71. </swiper-item> -->
  72. </swiper>
  73. </view>
  74. <view class="contBox">
  75. <view class="vincar">
  76. <view class="vincarTab">
  77. <view class="vincarTabLine anVin " :class="{vincarActive:vincarActiveNum==1}" @click="vincarActiveFn(1)">按VIN
  78. <view v-if="vincarActiveNum==1" class="vincarActiveHx"></view>
  79. </view>
  80. <view class="vincarTabLine" style="margin-right: 50rpx;" @click="goCarModel">按车型
  81. </view>
  82. <view class="vincarTabLine" :class="{vincarActive:vincarActiveNum==3}" @click="vincarActiveFn(3)">按商品
  83. </view>
  84. </view>
  85. <view class="inputsBox" v-if="vincarActiveNum==1">
  86. <view class="searchInputBox" @click="goSearch">
  87. <image src="../../static/img/icon_search.png" mode="" class="simg"></image>
  88. <input type="text" placeholder="请输入车辆品牌、车系或VIN码" placeholder-class="ip" class="ssinput">
  89. </view>
  90. <view class="inputsBtn">查询</view>
  91. </view>
  92. <view class="inputsBox" v-if="vincarActiveNum==3">
  93. <view class="searchInputBox" @click="goSgoods">
  94. <image src="../../static/img/icon_search.png" mode="" class="simg"></image>
  95. <input type="text" placeholder="请输入品牌" placeholder-class="ip" class="ssinput">
  96. </view>
  97. <view class="inputsBtn">查询</view>
  98. </view>
  99. <view class="historyBox" v-if="vincarActiveNum==1">
  100. <view class="historyLeft" >
  101. <view class="historyLeftTxt">历史查询:</view>
  102. <view v-if="historyvinLoding">
  103. <view class="historyLeftNum" @click="gocarDetail" v-if="historyvin">{{historyvin}} </view>
  104. <view class="historyLeftNum" v-else>暂无</view>
  105. </view>
  106. </view>
  107. <view class="historyMore" @click="gohistory">更多
  108. <image src="../../static/img/lanjt.png" mode="" class="lanjt"></image>
  109. </view>
  110. </view>
  111. </view>
  112. <view class="productBox" v-if="vincarActiveNum==1">
  113. <view class="productTitle">产品列表</view>
  114. <view class="productLinBox">
  115. <view class="productLine" @click="goCarModelType(1)">
  116. <image class="productImg" src="/static/img/dhxq.png" mode=""></image>
  117. <view class="productTxt" >点火线圈</view>
  118. </view>
  119. <view style="margin-left: 100rpx;" class="productLine" @click="goCarModelType(2)">
  120. <image class="productImg" src="/static/img/hhs.png" mode=""></image>
  121. <view class="productTxt" >火花塞</view>
  122. </view>
  123. <!-- <view class="productLine" @click="goCarModelType(3)">
  124. <image class="productImg" src="/static/img/sg.png" mode=""></image>
  125. <view class="productTxt" >三冠</view>
  126. </view>
  127. <view class="productLine" @click="goCarModelType(4)">
  128. <image class="productImg" src="/static/img/wsk.png" mode=""></image>
  129. <view class="productTxt" >威斯康</view>
  130. </view> -->
  131. </view>
  132. </view>
  133. </view>
  134. </view>
  135. <user v-if="tabIndex==2" :iStatusBarHeight="iStatusBarHeight"></user>
  136. <view class="bTabBox">
  137. <view class="btabLine" @click="tabFn(1)">
  138. <image class="btabLineImg" v-if="tabIndex==1" src="/static/img/index1.png" mode=""></image>
  139. <image class="btabLineImg" v-if="tabIndex==2" src="/static/img/index2.png" mode=""></image>
  140. <view class="btabLineTxt">首页</view>
  141. </view>
  142. <view class="btabLine">
  143. <image @click="stBtn" class="btabLineImg2" src="/static/img/vin.png" mode=""></image>
  144. </view>
  145. <view class="btabLine" @click="tabFn(2)">
  146. <image class="btabLineImg" v-if="tabIndex==2" src="/static/img/user1.png" mode=""></image>
  147. <image class="btabLineImg" v-if="tabIndex==1" src="/static/img/user2.png" mode=""></image>
  148. <view class="btabLineTxt">我的</view>
  149. </view>
  150. </view>
  151. </view>
  152. </template>
  153. <script>
  154. import carModel from './carModel.vue'
  155. import user from './user.vue'
  156. export default {
  157. components: {
  158. carModel, //注册子组件
  159. user
  160. },
  161. //props:['iStatusBarHeight',],
  162. data() {
  163. return {
  164. fileURl: '',
  165. ckCarShow:false,
  166. vinNum:'',
  167. moreVinList:[],
  168. historyList:[],
  169. iStatusBarHeight:'',
  170. openId:'',
  171. aaa:'',
  172. duration:500,
  173. interval:3000,
  174. historyvin:'',
  175. tabIndex:1,
  176. byItem:'',
  177. historyvinLoding:false,
  178. vincarActiveNum:1,
  179. }
  180. },
  181. onLoad() {
  182. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  183. //console.log(this.iStatusBarHeight)
  184. var that=this;
  185. this.uniLogin()
  186. /* setTimeout(function(){
  187. that.$refs.carModelView.getdata();
  188. },500) */
  189. var bb= this.iStatusBarHeight + 44 + 'px';
  190. var cc= '520rpx'
  191. this.aaa= `calc(100vh - ${bb} - ${cc})`
  192. },
  193. onShow() {
  194. this.vincarActiveNum=1
  195. if(this.openId){
  196. this.queryHistory()
  197. }
  198. },
  199. methods: {
  200. vincarActiveFn(num){
  201. if(num==3){
  202. uni.navigateTo({
  203. url:'sgoodsList'
  204. })
  205. }else{
  206. this.vincarActiveNum=num
  207. }
  208. },
  209. goSgoods(){
  210. uni.navigateTo({
  211. url:'sgoodsList'
  212. })
  213. },
  214. tabFn(num){
  215. this.tabIndex=num
  216. },
  217. goCarModel(){
  218. uni.navigateTo({
  219. url:'carModel2'
  220. })
  221. },
  222. goCarModelType(type){
  223. uni.navigateTo({
  224. url:'carModel2?type='+type
  225. })
  226. },
  227. wy(){
  228. uni.chooseImage({
  229. count: 6, //默认9
  230. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  231. sourceType: ['album'], //从相册选择
  232. success: function (res) {
  233. console.log(JSON.stringify(res.tempFilePaths));
  234. }
  235. });
  236. },
  237. uniLogin(){
  238. var that=this;
  239. uni.login({
  240. provider: 'weixin',
  241. success: function (loginRes) {
  242. console.log(loginRes);
  243. that.getWxOpenID(loginRes)
  244. }
  245. });
  246. },
  247. getWxOpenID(e){
  248. var that=this;
  249. this.$http2('sys/getWxOpenID', {
  250. code:e.code,
  251. },'GET').then(res => {
  252. this.openId=res.data.openId;
  253. uni.setStorage({
  254. key: 'wxdata',
  255. data: res.data,
  256. success: function () {
  257. that.queryHistory()
  258. }
  259. });
  260. })
  261. },
  262. queryHistory(){
  263. this.historyvinLoding=false
  264. this.$http2('queryHistory', {
  265. },'POST').then(res => {
  266. this.historyList=res.data
  267. this.historyList.forEach(item=>{
  268. if(item.vin){
  269. if(!this.historyvin){
  270. this.historyvin=item.vin
  271. this.byItem=item
  272. }
  273. }
  274. })
  275. this.historyvinLoding=true
  276. var bb= this.iStatusBarHeight + 44 + 'px';
  277. var cc='520rpx'
  278. if(this.historyList.length==0){
  279. cc= '240rpx'
  280. }else
  281. if(this.historyList.length==1){
  282. cc= '352rpx'
  283. }else
  284. if(this.historyList.length==2){
  285. cc= '418rpx'
  286. }
  287. this.aaa= `calc(100vh - ${bb} - ${cc})`
  288. })
  289. },
  290. gocarDetail(){
  291. var e=this.byItem
  292. uni.navigateTo({
  293. url:'/pages/index/goodsList?nLevelID='+e.nLevelID+'&logo='+e.logo+'&value='+e.title+'&id='+e.groupID+'&isVin='+e.ifVin+'&vin='+e.vin
  294. })
  295. },
  296. gobyItem(e){
  297. var nLevelID=e.nLevelIDs.split(',')[0]
  298. uni.navigateTo({
  299. url:'/pages/index/goodsList?nLevelID='+nLevelID+'&logo='+e.carModelInfo.logo+'&value='+e.title+'&id='+e.ids+'&isVin=1&vin='+this.vinNum
  300. })
  301. },
  302. gohistory(){
  303. uni.navigateTo({
  304. url:'/pages/index/history'
  305. })
  306. },
  307. goSearch(){
  308. uni.navigateTo({
  309. url:'/pages/index/search'
  310. })
  311. },
  312. stBtn(){
  313. var that = this;
  314. console.log("识图识图识图识图")
  315. uni.authorize({
  316. scope: 'scope.camera',
  317. success() {
  318. console.log("chengg");
  319. uni.chooseImage({
  320. sourceType: ['album','camera'],
  321. count:1,
  322. success: (chooseImageRes) => {
  323. //console.log(chooseImageRes)
  324. const tempFilePaths = chooseImageRes.tempFilePaths;
  325. this.fileURl=tempFilePaths[0]
  326. uni.showLoading({ title: '加载中'});
  327. uni.uploadFile({
  328. url: that.$baseURL+'scanner?action=/vinByOpenApi/scanner', //仅为示例,非真实的接口地址
  329. filePath: tempFilePaths[0],
  330. name: 'photo',
  331. /* formData: {
  332. 'user': 'test'
  333. }, */
  334. success: (uploadFileRes) => {
  335. var data=JSON.parse(uploadFileRes.data);
  336. uni.hideLoading();
  337. if(data.code == 0){
  338. console.log(data.data)
  339. that.vinNum=data.data;
  340. that.queryCarModelGroupByVinAggregation()
  341. }else{
  342. uni.showToast({
  343. title: data.msg,
  344. duration: 3000,
  345. icon:'none',
  346. });
  347. }
  348. //console.log(JSON.parse(uploadFileRes.data).data );
  349. },fail(err) {
  350. uni.hideLoading();
  351. console.log(err)
  352. uni.showToast({
  353. title: '拉取失败',
  354. icon:'none',
  355. duration: 3000,
  356. });
  357. },
  358. complete(obj){
  359. uni.hideLoading();
  360. if(obj.statusCode!=200){
  361. uni.showToast({
  362. title: 'vin扫描失败,请重试',
  363. icon:'none',
  364. duration: 3000,
  365. });
  366. console.log("vin扫描失败,请重试")
  367. }
  368. }
  369. });
  370. },fail(err){
  371. console.log("上传失败")
  372. console.log(err)
  373. }
  374. });
  375. },fail(err) {
  376. uni.showToast({
  377. title: '授权失败',
  378. icon:'none',
  379. duration: 3000,
  380. });
  381. console.log("授权失败")
  382. uni.showModal({
  383. title: '是否重新授权识图功能',
  384. success(res) {
  385. if (res.confirm) {
  386. uni.openSetting({
  387. success() {
  388. console.log('开启权限成功');
  389. },
  390. fail() {
  391. console.log('开启权限失败');
  392. }
  393. });
  394. } else if (res.cancel) {
  395. console.log('拒绝开启开启权限');
  396. }
  397. }
  398. });
  399. }
  400. })
  401. },
  402. queryCarModelGroupByVinAggregation(){
  403. this.$http('matchingByOpen/queryCarModelGroupByVinAggregation', {
  404. vin: this.vinNum,type:2
  405. }, 'POST').then(res => {
  406. if(res.code!=1){
  407. this.moreVinList=res.data;
  408. if(this.moreVinList.length>1){
  409. this.ckCarShow=true;
  410. }else{
  411. this.gobyItem(this.moreVinList[0])
  412. }
  413. }
  414. else {
  415. uni.showToast({
  416. title: res.msg,
  417. duration: 3000,
  418. icon:'none',
  419. });
  420. }
  421. })
  422. },
  423. ckcarClose(){
  424. this.ckCarShow=false;
  425. }
  426. },
  427. onShareAppMessage(){
  428. }
  429. }
  430. </script>
  431. <style scoped>
  432. .contBox{
  433. padding: 0 24rpx;
  434. }
  435. .productBox{
  436. height: 520rpx;
  437. background: #FFFFFF;
  438. border-radius: 16rpx;
  439. padding: 30rpx;
  440. margin-top: 20rpx;
  441. }
  442. .productTitle{
  443. font-weight: 500;
  444. font-size: 28rpx;
  445. color: #1A1A1A;
  446. line-height: 40rpx;
  447. }
  448. .productLinBox{
  449. display: flex;/* justify-content: space-between; */
  450. }
  451. .productImg{
  452. width: 90rpx;height: 90rpx;
  453. }
  454. .productLine{
  455. text-align: center;
  456. padding-top: 24rpx;
  457. }
  458. .productTxt{
  459. text-align: center;
  460. font-size: 26rpx;
  461. color: #1A1A1A;
  462. padding-top: 2rpx;
  463. }
  464. .vincar{
  465. background: #FFFFFF;
  466. border-radius: 16rpx;
  467. padding: 24rpx 30rpx;
  468. }
  469. .vincarTab{
  470. display: flex;
  471. }
  472. .vincarTabLine{
  473. font-size: 26rpx;
  474. color: #333333;
  475. line-height: 37rpx;
  476. }
  477. .anVin{
  478. font-weight: 500;
  479. font-size: 28rpx;
  480. margin-right: 50rpx;
  481. }
  482. .vincarActive{
  483. color: #FF4F00;/* border-bottom: 4rpx solid #FF4F00; */
  484. }
  485. .vincarActiveHx{
  486. background: #FF4F00;
  487. height: 4rpx;
  488. border-radius: 4rpx;
  489. }
  490. .inputsBox{
  491. border-radius: 10rpx;
  492. border: 2rpx solid #FF4F00;
  493. padding: 8rpx;
  494. display: flex;justify-content: space-between;
  495. margin-top: 27rpx;
  496. }
  497. .inputsBtn{
  498. width: 108rpx;
  499. height: 58rpx;
  500. background: #FF4F00;
  501. border-radius: 6rpx;
  502. text-align: center;
  503. line-height: 58rpx;
  504. font-size: 26rpx;
  505. color: #FFFFFF;
  506. }
  507. .lanjt{
  508. width: 8rpx;height: 15rpx;
  509. margin-top: 20rpx;margin-left: 6rpx;
  510. }
  511. .historyLeft{
  512. display: flex;
  513. font-size: 24rpx;
  514. color: #999999;
  515. }
  516. .historyLeftNum{
  517. height: 50rpx;
  518. background: #FAFAFA;
  519. padding: 0 10rpx;line-height: 50rpx;
  520. }
  521. .historyLeftTxt{
  522. line-height: 50rpx;
  523. }
  524. .historyMore{
  525. line-height: 50rpx;color: #3E86F0;font-size: 24rpx;display: flex;
  526. }
  527. .historyBox{
  528. display: flex;justify-content: space-between;padding-top: 24rpx;
  529. }
  530. .swpBox{
  531. height: 400rpx;
  532. }
  533. .swiperTk{
  534. height: 400rpx;
  535. }
  536. .swiper-itemTk{
  537. padding-top: 20rpx;text-align: center;
  538. overflow: hidden;height: 360rpx;
  539. }
  540. .tkHdImg{
  541. width: 702rpx;height: 360rpx;
  542. border-radius: 16rpx;
  543. }
  544. .aaaaa{
  545. width: 500rpx;
  546. background-color: #1A1A1A;
  547. }
  548. .ckcarJtimg{
  549. width: 26rpx;height: 26rpx;margin-top: 4rpx;
  550. }
  551. .ckcarlineBox{
  552. padding:24rpx ;
  553. border-bottom: 1px solid #EEEEEE;
  554. }
  555. .ckcarLeft{
  556. font-weight: 400;line-height: 36rpx;
  557. color: #1A1A1A;font-size: 26rpx;
  558. }
  559. .ckcarBox{
  560. width: 100vw;height: 100vh;
  561. background:rgba(0, 0, 0, 0.4) ;
  562. position: fixed;top: 0;left: 0;
  563. }
  564. .ckcar{
  565. width: 750rpx;
  566. height: 772rpx;
  567. background: #FFFFFF;
  568. border-radius: 24rpx 24rpx 0rpx 0rpx;
  569. position: absolute;
  570. left: 0;
  571. bottom: 0;
  572. }
  573. .ckcarClose{
  574. width: 30rpx;height: 30rpx;
  575. }
  576. .ckcarTitle{
  577. font-weight: 500;font-size: 28rpx;
  578. color: #1A1A1A;
  579. line-height: 40rpx;
  580. }
  581. .ckcarTop{
  582. padding: 40rpx 26rpx 20rpx 24rpx;
  583. }
  584. .content{
  585. min-height: 100vh;background: #F4F5F7;
  586. }
  587. .top{
  588. width: 100%;height: 385rpx;
  589. background: url('http://dmsphoto.66km.com.cn/thFiles/DE1573A0-1C08-4243-8313-C0BA094406D0.png') no-repeat;
  590. background-size: 100% 100%;
  591. }
  592. .topNavBox{
  593. background: #FFFFFF;
  594. width: 750rpx;
  595. position: fixed;
  596. top: 0;
  597. left: 0;
  598. z-index: 111;
  599. color: #333333;
  600. }
  601. .searchInputBox{
  602. width: 550rpx;display: flex;
  603. height: 58rpx;
  604. background: #FFFFFF;
  605. border-radius: 16rpx;
  606. }
  607. .simg{
  608. width: 34rpx;height: 34rpx;margin-top: 13rpx;margin-left:30rpx;
  609. }
  610. .stimg{
  611. width: 44rpx;height: 44rpx;
  612. }
  613. .searchBox{
  614. display: flex;padding: 20rpx 24rpx;
  615. justify-content: space-between;
  616. padding-right: 0rpx;
  617. }
  618. .st{
  619. text-align: center;padding-left: 20rpx;padding-right: 24rpx;
  620. }
  621. .ssinput{
  622. font-size: 28rpx;font-weight: 400;padding-left: 24rpx;line-height: 58rpx;height: 58rpx;
  623. width: 450rpx;
  624. }
  625. .ip{
  626. color: #999999;
  627. }
  628. .shitu{
  629. font-weight: 400;
  630. color: #FFFFFF;font-size: 22rpx;
  631. }
  632. .historybox{
  633. padding: 0 18rpx; margin-top: -88rpx;
  634. }
  635. .history{
  636. background: #FFFFFF;
  637. border-radius: 16rpx;
  638. padding: 20rpx;padding-bottom: 0;
  639. }
  640. .jiantouimg{
  641. width: 26rpx;height: 26rpx;margin-top: 7rpx;
  642. }
  643. .historyTop{
  644. display: flex;justify-content: space-between;
  645. padding-bottom: 30rpx;
  646. }
  647. .historyTitle{
  648. font-weight: 500;font-size: 28rpx;
  649. color: #1A1A1A;line-height: 40rpx;
  650. }
  651. .historylinecarImg{
  652. width: 54rpx;
  653. height: 54rpx;
  654. }
  655. .historylinecar{
  656. font-weight: 400;font-size: 26rpx;
  657. color: #1A1A1A;
  658. line-height: 46rpx;width: 576rpx;
  659. }
  660. .historyLine{
  661. display: flex;justify-content: space-between;
  662. padding: 15rpx 0;border-top: 1rpx solid #EEEEEE;
  663. }
  664. .indexnav{
  665. height: 44px;
  666. line-height: 44px;
  667. text-align: center;
  668. font-size: 36rpx;
  669. /* color: #FFFFFF; */
  670. }
  671. .historyLogoBox{
  672. display: flex;align-items: center;
  673. }
  674. .bTabBox{
  675. width: 100vw;
  676. position: fixed;
  677. left: 0;
  678. bottom: 0;
  679. background: #FFFFFF;
  680. box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
  681. padding-bottom: constant(safe-area-inset-bottom);
  682. padding-bottom: env(safe-area-inset-bottom);
  683. display: flex;
  684. justify-content: space-around;
  685. }
  686. .btabLineImg{
  687. width: 42rpx;height: 42rpx;
  688. }
  689. .btabLineTxt{
  690. font-weight: 400;
  691. font-size: 22rpx;
  692. color: #1A1A1A;
  693. }
  694. .btabLine{
  695. padding-top: 21rpx;
  696. }
  697. .btabLineImg2{
  698. width: 140rpx;height: 140rpx;
  699. margin-top: -70rpx;
  700. }
  701. </style>