index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  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. console.log("onShow")
  195. this.vincarActiveNum=1
  196. var wxdata = uni.getStorageSync("wxdata");
  197. if(wxdata.openid){
  198. this.openId=wxdata.openid
  199. if(this.openId){
  200. this.queryHistory()
  201. }
  202. }
  203. },
  204. methods: {
  205. vincarActiveFn(num){
  206. if(num==3){
  207. uni.navigateTo({
  208. url:'sgoodsList'
  209. })
  210. }else{
  211. this.vincarActiveNum=num
  212. }
  213. },
  214. goSgoods(){
  215. uni.navigateTo({
  216. url:'sgoodsList'
  217. })
  218. },
  219. tabFn(num){
  220. this.tabIndex=num
  221. },
  222. goCarModel(){
  223. uni.navigateTo({
  224. url:'carModel2'
  225. })
  226. },
  227. goCarModelType(type){
  228. uni.navigateTo({
  229. url:'carModel2?type='+type
  230. })
  231. },
  232. wy(){
  233. uni.chooseImage({
  234. count: 6, //默认9
  235. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  236. sourceType: ['album'], //从相册选择
  237. success: function (res) {
  238. console.log(JSON.stringify(res.tempFilePaths));
  239. }
  240. });
  241. },
  242. uniLogin(){
  243. var that=this;
  244. uni.login({
  245. provider: 'weixin',
  246. success: function (loginRes) {
  247. console.log(loginRes);
  248. that.getWxOpenID(loginRes)
  249. }
  250. });
  251. },
  252. getWxOpenID(e){
  253. var that=this;
  254. this.$http2('sys/getWxOpenID', {
  255. code:e.code,
  256. },'GET').then(res => {
  257. this.openId=res.data.openId;
  258. uni.setStorage({
  259. key: 'wxdata',
  260. data: res.data,
  261. success: function () {
  262. that.queryHistory()
  263. }
  264. });
  265. })
  266. },
  267. queryHistory(){
  268. this.historyvinLoding=false
  269. this.$http2('queryHistory', {
  270. },'POST').then(res => {
  271. this.historyList=res.data
  272. this.historyList.forEach(item=>{
  273. if(item.vin){
  274. if(!this.historyvin){
  275. this.historyvin=item.vin
  276. this.byItem=item
  277. }
  278. }
  279. })
  280. if(this.historyList.length>0){
  281. this.historyvin=this.historyList[0].vin
  282. }
  283. this.historyvinLoding=true
  284. var bb= this.iStatusBarHeight + 44 + 'px';
  285. var cc='520rpx'
  286. if(this.historyList.length==0){
  287. cc= '240rpx'
  288. }else
  289. if(this.historyList.length==1){
  290. cc= '352rpx'
  291. }else
  292. if(this.historyList.length==2){
  293. cc= '418rpx'
  294. }
  295. this.aaa= `calc(100vh - ${bb} - ${cc})`
  296. })
  297. },
  298. gocarDetail(){
  299. var e=this.byItem
  300. uni.navigateTo({
  301. url:'/pages/index/goodsList?nLevelID='+e.nLevelID+'&logo='+e.logo+'&value='+e.title+'&id='+e.groupID+'&isVin='+e.ifVin+'&vin='+e.vin
  302. })
  303. },
  304. gobyItem(e){
  305. var nLevelID=e.nLevelIDs.split(',')[0]
  306. uni.navigateTo({
  307. url:'/pages/index/goodsList?nLevelID='+nLevelID+'&logo='+e.carModelInfo.logo+'&value='+e.title+'&id='+e.ids+'&isVin=1&vin='+this.vinNum
  308. })
  309. },
  310. gohistory(){
  311. uni.navigateTo({
  312. url:'/pages/index/history'
  313. })
  314. },
  315. goSearch(){
  316. uni.navigateTo({
  317. url:'/pages/index/search'
  318. })
  319. },
  320. stBtn(){
  321. var that = this;
  322. console.log("识图识图识图识图")
  323. uni.authorize({
  324. scope: 'scope.camera',
  325. success() {
  326. console.log("chengg");
  327. uni.chooseImage({
  328. sourceType: ['album','camera'],
  329. count:1,
  330. success: (chooseImageRes) => {
  331. //console.log(chooseImageRes)
  332. const tempFilePaths = chooseImageRes.tempFilePaths;
  333. this.fileURl=tempFilePaths[0]
  334. uni.showLoading({ title: '加载中'});
  335. uni.uploadFile({
  336. url: that.$baseURL+'scanner?action=/vinByOpenApi/scanner', //仅为示例,非真实的接口地址
  337. filePath: tempFilePaths[0],
  338. name: 'photo',
  339. /* formData: {
  340. 'user': 'test'
  341. }, */
  342. success: (uploadFileRes) => {
  343. var data=JSON.parse(uploadFileRes.data);
  344. uni.hideLoading();
  345. if(data.code == 0){
  346. console.log(data.data)
  347. that.vinNum=data.data;
  348. that.queryCarModelGroupByVinAggregation()
  349. }else{
  350. uni.showToast({
  351. title: data.msg,
  352. duration: 3000,
  353. icon:'none',
  354. });
  355. }
  356. //console.log(JSON.parse(uploadFileRes.data).data );
  357. },fail(err) {
  358. uni.hideLoading();
  359. console.log(err)
  360. uni.showToast({
  361. title: '拉取失败',
  362. icon:'none',
  363. duration: 3000,
  364. });
  365. },
  366. complete(obj){
  367. uni.hideLoading();
  368. if(obj.statusCode!=200){
  369. uni.showToast({
  370. title: 'vin扫描失败,请重试',
  371. icon:'none',
  372. duration: 3000,
  373. });
  374. console.log("vin扫描失败,请重试")
  375. }
  376. }
  377. });
  378. },fail(err){
  379. console.log("上传失败")
  380. console.log(err)
  381. }
  382. });
  383. },fail(err) {
  384. uni.showToast({
  385. title: '授权失败',
  386. icon:'none',
  387. duration: 3000,
  388. });
  389. console.log("授权失败")
  390. uni.showModal({
  391. title: '是否重新授权识图功能',
  392. success(res) {
  393. if (res.confirm) {
  394. uni.openSetting({
  395. success() {
  396. console.log('开启权限成功');
  397. },
  398. fail() {
  399. console.log('开启权限失败');
  400. }
  401. });
  402. } else if (res.cancel) {
  403. console.log('拒绝开启开启权限');
  404. }
  405. }
  406. });
  407. }
  408. })
  409. },
  410. queryCarModelGroupByVinAggregation(){
  411. this.$http('matchingByOpen/queryCarModelGroupByVinAggregation', {
  412. vin: this.vinNum,type:2
  413. }, 'POST').then(res => {
  414. if(res.code!=1){
  415. this.moreVinList=res.data;
  416. if(this.moreVinList.length>1){
  417. this.ckCarShow=true;
  418. }else{
  419. this.gobyItem(this.moreVinList[0])
  420. }
  421. }
  422. else {
  423. uni.showToast({
  424. title: res.msg,
  425. duration: 3000,
  426. icon:'none',
  427. });
  428. }
  429. })
  430. },
  431. ckcarClose(){
  432. this.ckCarShow=false;
  433. }
  434. },
  435. onShareAppMessage(){
  436. }
  437. }
  438. </script>
  439. <style scoped>
  440. .contBox{
  441. padding: 0 24rpx;
  442. }
  443. .productBox{
  444. height: 520rpx;
  445. background: #FFFFFF;
  446. border-radius: 16rpx;
  447. padding: 30rpx;
  448. margin-top: 20rpx;
  449. }
  450. .productTitle{
  451. font-weight: 500;
  452. font-size: 28rpx;
  453. color: #1A1A1A;
  454. line-height: 40rpx;
  455. }
  456. .productLinBox{
  457. display: flex;/* justify-content: space-between; */
  458. }
  459. .productImg{
  460. width: 90rpx;height: 90rpx;
  461. }
  462. .productLine{
  463. text-align: center;
  464. padding-top: 24rpx;
  465. }
  466. .productTxt{
  467. text-align: center;
  468. font-size: 26rpx;
  469. color: #1A1A1A;
  470. padding-top: 2rpx;
  471. }
  472. .vincar{
  473. background: #FFFFFF;
  474. border-radius: 16rpx;
  475. padding: 24rpx 30rpx;
  476. }
  477. .vincarTab{
  478. display: flex;
  479. }
  480. .vincarTabLine{
  481. font-size: 26rpx;
  482. color: #333333;
  483. line-height: 37rpx;
  484. }
  485. .anVin{
  486. font-weight: 500;
  487. font-size: 28rpx;
  488. margin-right: 50rpx;
  489. }
  490. .vincarActive{
  491. color: #FF4F00;/* border-bottom: 4rpx solid #FF4F00; */
  492. }
  493. .vincarActiveHx{
  494. background: #FF4F00;
  495. height: 4rpx;
  496. border-radius: 4rpx;
  497. }
  498. .inputsBox{
  499. border-radius: 10rpx;
  500. border: 2rpx solid #FF4F00;
  501. padding: 8rpx;
  502. display: flex;justify-content: space-between;
  503. margin-top: 27rpx;
  504. }
  505. .inputsBtn{
  506. width: 108rpx;
  507. height: 58rpx;
  508. background: #FF4F00;
  509. border-radius: 6rpx;
  510. text-align: center;
  511. line-height: 58rpx;
  512. font-size: 26rpx;
  513. color: #FFFFFF;
  514. }
  515. .lanjt{
  516. width: 8rpx;height: 15rpx;
  517. margin-top: 20rpx;margin-left: 6rpx;
  518. }
  519. .historyLeft{
  520. display: flex;
  521. font-size: 24rpx;
  522. color: #999999;
  523. }
  524. .historyLeftNum{
  525. height: 50rpx;
  526. background: #FAFAFA;
  527. padding: 0 10rpx;line-height: 50rpx;
  528. }
  529. .historyLeftTxt{
  530. line-height: 50rpx;
  531. }
  532. .historyMore{
  533. line-height: 50rpx;color: #3E86F0;font-size: 24rpx;display: flex;
  534. }
  535. .historyBox{
  536. display: flex;justify-content: space-between;padding-top: 24rpx;
  537. }
  538. .swpBox{
  539. height: 400rpx;
  540. }
  541. .swiperTk{
  542. height: 400rpx;
  543. }
  544. .swiper-itemTk{
  545. padding-top: 20rpx;text-align: center;
  546. overflow: hidden;height: 360rpx;
  547. }
  548. .tkHdImg{
  549. width: 702rpx;height: 360rpx;
  550. border-radius: 16rpx;
  551. }
  552. .aaaaa{
  553. width: 500rpx;
  554. background-color: #1A1A1A;
  555. }
  556. .ckcarJtimg{
  557. width: 26rpx;height: 26rpx;margin-top: 4rpx;
  558. }
  559. .ckcarlineBox{
  560. padding:24rpx ;
  561. border-bottom: 1px solid #EEEEEE;
  562. }
  563. .ckcarLeft{
  564. font-weight: 400;line-height: 36rpx;
  565. color: #1A1A1A;font-size: 26rpx;
  566. }
  567. .ckcarBox{
  568. width: 100vw;height: 100vh;
  569. background:rgba(0, 0, 0, 0.4) ;
  570. position: fixed;top: 0;left: 0;
  571. }
  572. .ckcar{
  573. width: 750rpx;
  574. height: 772rpx;
  575. background: #FFFFFF;
  576. border-radius: 24rpx 24rpx 0rpx 0rpx;
  577. position: absolute;
  578. left: 0;
  579. bottom: 0;
  580. }
  581. .ckcarClose{
  582. width: 30rpx;height: 30rpx;
  583. }
  584. .ckcarTitle{
  585. font-weight: 500;font-size: 28rpx;
  586. color: #1A1A1A;
  587. line-height: 40rpx;
  588. }
  589. .ckcarTop{
  590. padding: 40rpx 26rpx 20rpx 24rpx;
  591. }
  592. .content{
  593. min-height: 100vh;background: #F4F5F7;
  594. }
  595. .top{
  596. width: 100%;height: 385rpx;
  597. background: url('http://dmsphoto.66km.com.cn/thFiles/DE1573A0-1C08-4243-8313-C0BA094406D0.png') no-repeat;
  598. background-size: 100% 100%;
  599. }
  600. .topNavBox{
  601. background: #FFFFFF;
  602. width: 750rpx;
  603. position: fixed;
  604. top: 0;
  605. left: 0;
  606. z-index: 111;
  607. color: #333333;
  608. }
  609. .searchInputBox{
  610. width: 550rpx;display: flex;
  611. height: 58rpx;
  612. background: #FFFFFF;
  613. border-radius: 16rpx;
  614. }
  615. .simg{
  616. width: 34rpx;height: 34rpx;margin-top: 13rpx;margin-left:30rpx;
  617. }
  618. .stimg{
  619. width: 44rpx;height: 44rpx;
  620. }
  621. .searchBox{
  622. display: flex;padding: 20rpx 24rpx;
  623. justify-content: space-between;
  624. padding-right: 0rpx;
  625. }
  626. .st{
  627. text-align: center;padding-left: 20rpx;padding-right: 24rpx;
  628. }
  629. .ssinput{
  630. font-size: 28rpx;font-weight: 400;padding-left: 24rpx;line-height: 58rpx;height: 58rpx;
  631. width: 450rpx;
  632. }
  633. .ip{
  634. color: #999999;
  635. }
  636. .shitu{
  637. font-weight: 400;
  638. color: #FFFFFF;font-size: 22rpx;
  639. }
  640. .historybox{
  641. padding: 0 18rpx; margin-top: -88rpx;
  642. }
  643. .history{
  644. background: #FFFFFF;
  645. border-radius: 16rpx;
  646. padding: 20rpx;padding-bottom: 0;
  647. }
  648. .jiantouimg{
  649. width: 26rpx;height: 26rpx;margin-top: 7rpx;
  650. }
  651. .historyTop{
  652. display: flex;justify-content: space-between;
  653. padding-bottom: 30rpx;
  654. }
  655. .historyTitle{
  656. font-weight: 500;font-size: 28rpx;
  657. color: #1A1A1A;line-height: 40rpx;
  658. }
  659. .historylinecarImg{
  660. width: 54rpx;
  661. height: 54rpx;
  662. }
  663. .historylinecar{
  664. font-weight: 400;font-size: 26rpx;
  665. color: #1A1A1A;
  666. line-height: 46rpx;width: 576rpx;
  667. }
  668. .historyLine{
  669. display: flex;justify-content: space-between;
  670. padding: 15rpx 0;border-top: 1rpx solid #EEEEEE;
  671. }
  672. .indexnav{
  673. height: 44px;
  674. line-height: 44px;
  675. text-align: center;
  676. font-size: 36rpx;
  677. /* color: #FFFFFF; */
  678. }
  679. .historyLogoBox{
  680. display: flex;align-items: center;
  681. }
  682. .bTabBox{
  683. width: 100vw;
  684. position: fixed;
  685. left: 0;
  686. bottom: 0;
  687. background: #FFFFFF;
  688. box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
  689. padding-bottom: constant(safe-area-inset-bottom);
  690. padding-bottom: env(safe-area-inset-bottom);
  691. display: flex;
  692. justify-content: space-around;
  693. }
  694. .btabLineImg{
  695. width: 42rpx;height: 42rpx;
  696. }
  697. .btabLineTxt{
  698. font-weight: 400;
  699. font-size: 22rpx;
  700. color: #1A1A1A;
  701. }
  702. .btabLine{
  703. padding-top: 21rpx;
  704. }
  705. .btabLineImg2{
  706. width: 140rpx;height: 140rpx;
  707. margin-top: -70rpx;
  708. }
  709. </style>