index2.vue 18 KB

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