index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821
  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. }
  465. </script>
  466. <style scoped>
  467. .contBox{
  468. padding: 0 24rpx;
  469. }
  470. .productBox{
  471. height: 520rpx;
  472. background: #FFFFFF;
  473. border-radius: 16rpx;
  474. padding: 30rpx;
  475. margin-top: 20rpx;
  476. }
  477. .productTitle{
  478. font-weight: 500;
  479. font-size: 28rpx;
  480. color: #1A1A1A;
  481. line-height: 40rpx;
  482. }
  483. .productLinBox{
  484. display: flex;/* justify-content: space-between; */
  485. }
  486. .productImg{
  487. width: 90rpx;height: 90rpx;
  488. }
  489. .productLine{
  490. text-align: center;
  491. padding-top: 24rpx;
  492. }
  493. .productTxt{
  494. text-align: center;
  495. font-size: 26rpx;
  496. color: #1A1A1A;
  497. padding-top: 2rpx;
  498. }
  499. .vincar{
  500. background: #FFFFFF;
  501. border-radius: 16rpx;
  502. padding: 24rpx 30rpx;
  503. }
  504. .vincarTab{
  505. display: flex;
  506. }
  507. .vincarTabLine{
  508. font-size: 26rpx;
  509. color: #333333;
  510. line-height: 37rpx;
  511. }
  512. .anVin{
  513. font-weight: 500;
  514. font-size: 28rpx;
  515. margin-right: 50rpx;
  516. }
  517. .vincarActive{
  518. color: #FF4F00;/* border-bottom: 4rpx solid #FF4F00; */
  519. }
  520. .vincarActiveHx{
  521. background: #FF4F00;
  522. height: 4rpx;
  523. border-radius: 4rpx;
  524. }
  525. .inputsBox{
  526. border-radius: 10rpx;
  527. border: 2rpx solid #FF4F00;
  528. padding: 8rpx;
  529. display: flex;justify-content: space-between;
  530. margin-top: 27rpx;
  531. }
  532. .inputsBtn{
  533. width: 108rpx;
  534. height: 58rpx;
  535. background: #FF4F00;
  536. border-radius: 6rpx;
  537. text-align: center;
  538. line-height: 58rpx;
  539. font-size: 26rpx;
  540. color: #FFFFFF;
  541. }
  542. .lanjt{
  543. width: 8rpx;height: 15rpx;
  544. margin-top: 20rpx;margin-left: 6rpx;
  545. }
  546. .historyLeft{
  547. display: flex;
  548. font-size: 24rpx;
  549. color: #999999;
  550. }
  551. .historyLeftNum{
  552. height: 50rpx;
  553. background: #FAFAFA;
  554. padding: 0 10rpx;line-height: 50rpx;
  555. }
  556. .historyLeftTxt{
  557. line-height: 50rpx;
  558. }
  559. .historyMore{
  560. line-height: 50rpx;color: #3E86F0;font-size: 24rpx;display: flex;
  561. }
  562. .historyBox{
  563. display: flex;justify-content: space-between;padding-top: 24rpx;
  564. }
  565. .swpBox{
  566. height: 400rpx;
  567. }
  568. .swiperTk{
  569. height: 400rpx;
  570. }
  571. .swiper-itemTk{
  572. padding-top: 20rpx;text-align: center;
  573. overflow: hidden;height: 360rpx;
  574. }
  575. .tkHdImg{
  576. width: 702rpx;height: 360rpx;
  577. border-radius: 16rpx;
  578. }
  579. .aaaaa{
  580. width: 500rpx;
  581. background-color: #1A1A1A;
  582. }
  583. .ckcarJtimg{
  584. width: 26rpx;height: 26rpx;margin-top: 4rpx;
  585. }
  586. .ckcarlineBox{
  587. padding:24rpx ;
  588. border-bottom: 1px solid #EEEEEE;
  589. }
  590. .ckcarLeft{
  591. font-weight: 400;line-height: 36rpx;
  592. color: #1A1A1A;font-size: 26rpx;
  593. }
  594. .ckcarBox{
  595. width: 100vw;height: 100vh;
  596. background:rgba(0, 0, 0, 0.4) ;
  597. position: fixed;top: 0;left: 0;
  598. }
  599. .ckcar{
  600. width: 750rpx;
  601. height: 772rpx;
  602. background: #FFFFFF;
  603. border-radius: 24rpx 24rpx 0rpx 0rpx;
  604. position: absolute;
  605. left: 0;
  606. bottom: 0;
  607. }
  608. .ckcarClose{
  609. width: 30rpx;height: 30rpx;
  610. }
  611. .ckcarTitle{
  612. font-weight: 500;font-size: 28rpx;
  613. color: #1A1A1A;
  614. line-height: 40rpx;
  615. }
  616. .ckcarTop{
  617. padding: 40rpx 26rpx 20rpx 24rpx;
  618. }
  619. .content{
  620. min-height: 100vh;background: #F4F5F7;
  621. }
  622. .top{
  623. width: 100%;height: 385rpx;
  624. background: url('http://dmsphoto.66km.com.cn/thFiles/DE1573A0-1C08-4243-8313-C0BA094406D0.png') no-repeat;
  625. background-size: 100% 100%;
  626. }
  627. .topNavBox{
  628. background: #FFFFFF;
  629. width: 750rpx;
  630. position: fixed;
  631. top: 0;
  632. left: 0;
  633. z-index: 111;
  634. color: #333333;
  635. }
  636. .searchInputBox{
  637. width: 550rpx;display: flex;
  638. height: 58rpx;
  639. background: #FFFFFF;
  640. border-radius: 16rpx;
  641. }
  642. .simg{
  643. width: 34rpx;height: 34rpx;margin-top: 13rpx;margin-left:30rpx;
  644. }
  645. .stimg{
  646. width: 44rpx;height: 44rpx;
  647. }
  648. .searchBox{
  649. display: flex;padding: 20rpx 24rpx;
  650. justify-content: space-between;
  651. padding-right: 0rpx;
  652. }
  653. .st{
  654. text-align: center;padding-left: 20rpx;padding-right: 24rpx;
  655. }
  656. .ssinput{
  657. font-size: 28rpx;font-weight: 400;padding-left: 24rpx;line-height: 58rpx;height: 58rpx;
  658. width: 450rpx;
  659. }
  660. .ip{
  661. color: #999999;
  662. }
  663. .shitu{
  664. font-weight: 400;
  665. color: #FFFFFF;font-size: 22rpx;
  666. }
  667. .historybox{
  668. padding: 0 18rpx; margin-top: -88rpx;
  669. }
  670. .history{
  671. background: #FFFFFF;
  672. border-radius: 16rpx;
  673. padding: 20rpx;padding-bottom: 0;
  674. }
  675. .jiantouimg{
  676. width: 26rpx;height: 26rpx;margin-top: 7rpx;
  677. }
  678. .historyTop{
  679. display: flex;justify-content: space-between;
  680. padding-bottom: 30rpx;
  681. }
  682. .historyTitle{
  683. font-weight: 500;font-size: 28rpx;
  684. color: #1A1A1A;line-height: 40rpx;
  685. }
  686. .historylinecarImg{
  687. width: 54rpx;
  688. height: 54rpx;
  689. }
  690. .historylinecar{
  691. font-weight: 400;font-size: 26rpx;
  692. color: #1A1A1A;
  693. line-height: 46rpx;width: 576rpx;
  694. }
  695. .historyLine{
  696. display: flex;justify-content: space-between;
  697. padding: 15rpx 0;border-top: 1rpx solid #EEEEEE;
  698. }
  699. .indexnav{
  700. height: 44px;
  701. line-height: 44px;
  702. text-align: center;
  703. font-size: 36rpx;
  704. /* color: #FFFFFF; */
  705. }
  706. .historyLogoBox{
  707. display: flex;align-items: center;
  708. }
  709. .bTabBox{
  710. width: 100vw;
  711. position: fixed;
  712. left: 0;
  713. bottom: 0;
  714. background: #FFFFFF;
  715. box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
  716. padding-bottom: constant(safe-area-inset-bottom);
  717. padding-bottom: env(safe-area-inset-bottom);
  718. display: flex;
  719. justify-content: space-around;
  720. }
  721. .btabLineImg{
  722. width: 42rpx;height: 42rpx;
  723. }
  724. .btabLineTxt{
  725. font-weight: 400;
  726. font-size: 22rpx;
  727. color: #1A1A1A;
  728. }
  729. .btabLine{
  730. padding-top: 21rpx;
  731. }
  732. .btabLineImg2{
  733. width: 140rpx;height: 140rpx;
  734. margin-top: -70rpx;
  735. }
  736. .ckcarJtimg{
  737. width: 26rpx;height: 26rpx;margin-top: 4rpx;
  738. }
  739. .ckcarlineBox{
  740. padding:24rpx ;
  741. border-bottom: 1px solid #EEEEEE;
  742. }
  743. .ckcarLeft{
  744. font-weight: 400;line-height: 36rpx;
  745. color: #1A1A1A;font-size: 26rpx;
  746. }
  747. .ckcarBox{
  748. width: 100vw;height: 100vh;
  749. background:rgba(0, 0, 0, 0.4) ;
  750. position: fixed;top: 0;left: 0;
  751. }
  752. .ckcar{
  753. width: 750rpx;
  754. height: 772rpx;
  755. background: #FFFFFF;
  756. border-radius: 24rpx 24rpx 0rpx 0rpx;
  757. position: absolute;
  758. left: 0;
  759. bottom: 0;
  760. }
  761. .ckcarClose{
  762. width: 30rpx;height: 30rpx;
  763. }
  764. .ckcarTitle{
  765. font-weight: 500;font-size: 28rpx;
  766. color: #1A1A1A;
  767. line-height: 40rpx;
  768. }
  769. .ckcarTop{
  770. padding: 40rpx 26rpx 20rpx 24rpx;
  771. }
  772. </style>