index.vue 21 KB

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