index.vue 20 KB

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