index.vue 17 KB

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