index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997
  1. <template>
  2. <view class="content">
  3. <view class="indexTop">
  4. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  5. <view class="indexnav">首页</view>
  6. </view>
  7. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  8. <view style="height: 43px;"></view>
  9. <view class="topBox"></view>
  10. <view class="yuanhu"></view>
  11. <view class="shoptopbox2" v-if="!carInfo">
  12. <view class="carinfoBox2">
  13. <view class="carinfoBoxNocar" @click="addCar">
  14. <img src="../../static/timg/addcar.png" alt="" class="carinfonocarIcon">
  15. <view class="carinfoBoxNocarRight">
  16. <view class="carinfoBoxNocarRightTitle">添加我的爱车</view>
  17. <view class="carinfoBoxNocarRightMS">按照车型推荐合适的商品</view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="shoptopbox" v-if="carInfo">
  23. <view class="carinfoBox" >
  24. <view class="carinfoBoxTop">
  25. <img :src="carInfo.brandLogo" alt="" class="carLogo" v-if="carInfo.brandLogo">
  26. <img src="../../static/timg/nocar.png" alt="" class="carLogo" v-else>
  27. <view class="carinfoBoxTopCont">
  28. <view class="carinfoBoxTopContTop">
  29. <view class="carInfoplateNumber">{{carInfo.plateNumber}}</view>
  30. <view class="carTnfomilage" v-if="carInfo.milage">{{carInfo.milage}}km</view>
  31. </view>
  32. <view class="carInfocarModel" v-if="carInfo.carModel">{{carInfo.carModel}}</view>
  33. <view class="carInfocarModel" v-else>暂无</view>
  34. </view>
  35. <view class="carinfoBoxTopRight" @click="changeCar">
  36. <img src="../../static/timg/icon_change@2x.png" alt="" class="carinfoBoxTopRightIcon">
  37. <view class="huancheBtn">换车</view>
  38. </view>
  39. </view>
  40. <view class="carInfoBottom">
  41. <view class="carInfoBottomLine">
  42. <view class="carInfoBottomLineTitle">下次保养里程</view>
  43. <view class="carInfoBottomLineTxt" v-if="carInfo.nextCareMilage">{{carInfo.nextCareMilage}}</view>
  44. <view class="carInfoBottomLineTxt" v-else>暂无</view>
  45. </view>
  46. <view class="carInfoBottomLine">
  47. <view class="carInfoBottomLineTitle">下次保养日期</view>
  48. <view class="carInfoBottomLineTxt" v-if="carInfo.nextCareDate">{{carInfo.nextCareDate.slice(0,10)}}</view>
  49. <view class="carInfoBottomLineTxt" v-else>暂无</view>
  50. </view>
  51. <view class="carInfoBottomLine">
  52. <view class="carInfoBottomLineTitle">保养手册</view>
  53. <view class="carInfoBottomLineTxt" @click="information">点击查看</view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. <!-- 服务顾问 -->
  59. <view class="adviser" v-if="managerInfo" @click="goMUsers">
  60. <view class="adviserLeft">
  61. <img v-if="managerInfo.avatar" :src="managerInfo.avatar" alt="" class="advisertx">
  62. <img v-else src="../../static/timg/pic_def_ava@2x.png" alt="" class="advisertx">
  63. <view class="adviserNema">{{managerInfo.name}}</view>
  64. <view class="adviserms">服务顾问</view>
  65. </view>
  66. <img src="../../static/timg/icon_arrow_right.png" alt="" class="adviserJt">
  67. </view>
  68. <!-- 中间功能应用模块 -->
  69. <view class="modular" v-if="homeCardList.application.length>0">
  70. <view class="swiper-item">
  71. <view class="itemLine" @click="goRoter(item)" v-for="(item,index) in homeCardList.application">
  72. <view><img :src="item.icon" alt="" class="itemImg"></view>
  73. <view class="Menusline">{{item.name}}</view>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="advertisement" v-if="homeCardList.ad1.length>0">
  78. <swiper class="swiper2" circular :autoplay="false" :interval="interval"
  79. :duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  80. <swiper-item v-for="(item,index) in homeCardList.ad1">
  81. <view class="swiper-item2" @click="goRoter(item)">
  82. <image class="swiper-item2Img" :src="item.icon" mode=""></image>
  83. </view>
  84. </swiper-item>
  85. </swiper>
  86. </view>
  87. <view class="advertisement" v-if="homeCardList.ad2.length>0">
  88. <swiper class="swiper2" circular :autoplay="false" :interval="interval"
  89. :duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  90. <swiper-item v-for="(item,index) in homeCardList.ad2">
  91. <view class="swiper-item2" @click="goRoter(item)">
  92. <image class="swiper-item2Img" :src="item.icon" mode=""></image>
  93. </view>
  94. </swiper-item>
  95. </swiper>
  96. </view>
  97. <view class="advertisement" v-if="homeCardList.ad3.length>0">
  98. <swiper class="swiper2" circular :autoplay="false" :interval="interval"
  99. :duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  100. <swiper-item v-for="(item,index) in homeCardList.ad3">
  101. <view class="swiper-item2" @click="goRoter(item)">
  102. <image class="swiper-item2Img" :src="item.icon" mode=""></image>
  103. </view>
  104. </swiper-item>
  105. </swiper>
  106. </view>
  107. <!-- 热门活动 -->
  108. <view class="Hot">
  109. <view class="hotTop">
  110. <view class="hotLeft">
  111. <view class="hotSx"></view>
  112. <view class="hottitle">热门活动</view>
  113. </view>
  114. <view class="hotRight">
  115. <view class="hotMore">更多</view>
  116. <img src="../../static/timg/icon_arrow_right.png" alt="" class="hotMoreJt">
  117. </view>
  118. </view>
  119. <view class="hotLine" @click="goRoter('paint')">
  120. <view class="hotLineTop">
  121. <image class="hotLineTopImg" src="http://phone.66km.cn:8088/thFiles/C678448A-C874-4B42-9EAE-4F8F21D71D27.jpg" mode=""></image>
  122. <view class="hotlineTimebox">
  123. <view class="hotlinestate1">进行中</view>
  124. <view class="hotTime">2022.01.21-2022.02.14</view>
  125. </view>
  126. </view>
  127. <view class="hotName">博世 7月促【CX-200715003】</view>
  128. </view>
  129. <view class="hotLine">
  130. <view class="hotLineTop">
  131. <image class="hotLineTopImg" src="http://phone.66km.cn:8088/thFiles/C678448A-C874-4B42-9EAE-4F8F21D71D27.jpg" mode=""></image>
  132. <view class="hotlineTimebox">
  133. <view class="hotlinestate2">未开始</view>
  134. <view class="hotTime">2022.01.21-2022.02.14</view>
  135. </view>
  136. </view>
  137. <view class="hotName">博世 7月促【CX-200715003】</view>
  138. </view>
  139. </view>
  140. <!-- 热门商品 -->
  141. <view class="" v-if="homeCardList">
  142. <view class="Hot" v-if="homeCardList.openMGoods.showType==1">
  143. <view class="hotTop">
  144. <view class="hotLeft">
  145. <view class="hotSx"></view>
  146. <view class="hottitle">热门商品</view>
  147. </view>
  148. <view class="hotRight">
  149. <view class="hotMore">更多</view>
  150. <img src="../../static/timg/icon_arrow_right.png" alt="" class="hotMoreJt">
  151. </view>
  152. </view>
  153. <view class="hotGoodsLine" v-for="(item,index) in homeCardList.openMGoods.goodsList" @click="goGoods(item)">
  154. <view>
  155. <image :src="item.url" mode="" class="hotGoodsLineImg"></image>
  156. </view>
  157. <view class="hotGoodsLineRIght">
  158. <view class="goodsName">{{item.name}}</view>
  159. <view class="Sold">
  160. <view v-if="item.showLabel&&item.showLabel.indexOf('2')!=-1">
  161. 已售 {{item.saleQty}}
  162. </view>
  163. </view>
  164. <view class="goodsPrice">
  165. <view class="goodsPrice1">{{item.saleLabel}}</view>
  166. <view class="goodsPrice2">¥</view>
  167. <view class="goodsPrice3">{{item.salePrice}}</view>
  168. <view class="goodsPrice4" v-if="item.scribingPrice">¥{{item.scribingPrice}}</view>
  169. </view>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. <view style="height: 60rpx;"></view>
  175. <!-- 手机号授权 -->
  176. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  177. <view class="authorizCont" @click.stop="">
  178. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  179. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  180. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  181. </view>
  182. <view style="text-align: center;padding-top: 56rpx;">
  183. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  184. </view>
  185. </view>
  186. <!-- <view @getphonenumber="decryptPhoneNumber" >shopId:{{shopId}}</view>
  187. -->
  188. </view>
  189. </template>
  190. <script>
  191. export default {
  192. data() {
  193. return {
  194. shopId: '',
  195. url:'',
  196. wxOpenData:'',
  197. code:'',
  198. carInfo:'',
  199. homeCardList:'',
  200. authorizShow:false,
  201. miniAppName:'',
  202. iStatusBarHeight:'',
  203. managerInfo:'',
  204. }
  205. },
  206. onLoad() {
  207. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  208. var that=this;
  209. this.$common.getExtStoreId()
  210. var ext=this.$common.getExtStoreId();
  211. //console.log( String(Date.now()))
  212. this.shopId=ext.shopId;
  213. this.url=ext.url;
  214. // uni.setStorage({
  215. // key: 'extdata',
  216. // data: {
  217. // shopId:'E37BB296-5A08-4534-859D-B351BA611AF9',
  218. // },
  219. // success: function () {
  220. // that.uniLogin()
  221. // }
  222. // });
  223. //this.userInfo = uni.getStorageSync("userInfo");
  224. this.userInfo=this.$store.state.userInfo
  225. if(this.userInfo){
  226. //this.wxOpenData = uni.getStorageSync("wxOpenData");
  227. this.getCarList();
  228. this.queryHomeCardList()
  229. this.queryManagerInfo()
  230. }else{
  231. this.uniLogin()
  232. }
  233. },
  234. onShow() {
  235. var indexaddcar = uni.getStorageSync("indexaddcar")
  236. if(indexaddcar==1){
  237. uni.removeStorageSync('indexaddcar');
  238. this.getCarList();
  239. }else{
  240. this.carInfo=this.$store.state.carInfo
  241. }
  242. },
  243. methods: {
  244. addCar(){
  245. if(!this.userInfo){
  246. this.authorizShow=true;
  247. }else{
  248. uni.navigateTo({
  249. url:'../user/addCar/addCar?type=1'
  250. })
  251. }
  252. },
  253. information(){
  254. },
  255. changeCar(){
  256. uni.navigateTo({
  257. url:'../user/addCar/cailist'
  258. })
  259. },
  260. goMUsers(){
  261. if(!this.userInfo){
  262. this.authorizShow=true;
  263. }else{
  264. }
  265. },
  266. goGoods(item){
  267. if(!this.userInfo){
  268. this.authorizShow=true;
  269. }else{
  270. uni.navigateTo({
  271. url:'../shop/goodsDetail?id='+item.id
  272. })
  273. }
  274. },
  275. goRoter(item){
  276. console.log(item)
  277. if(!this.userInfo){
  278. this.authorizShow=true;
  279. }else{
  280. if(item.bizType==0){
  281. }else if(item.bizType==1){ //紧急救援
  282. uni.navigateTo({
  283. url:'rescue'
  284. })
  285. }else if(item.bizType==2){ //钣金喷漆
  286. uni.navigateTo({
  287. url:'paint'
  288. })
  289. }else if(item.bizType==3){ //保养
  290. uni.navigateTo({
  291. url:'maintain'
  292. })
  293. }else if(item.bizType==4){ //在线预约
  294. uni.navigateTo({
  295. url:'onlineBooking?naShopId='+item.naShopId
  296. })
  297. }else if(item.bizType==5){ //导航
  298. this.getShopinfo(5,item.reShopId)
  299. }else if(item.bizType==6){ //联系本店
  300. this.getShopinfo(6,item.orShopId)
  301. }else if(item.bizType==7){ //7门店列表
  302. uni.navigateTo({
  303. url:'shopList'
  304. })
  305. }else if(item.bizType==8){ //我的会员卡
  306. uni.navigateTo({
  307. url:'vipCard'
  308. })
  309. }else if(item.bizType==9){ //我的优惠券
  310. uni.navigateTo({
  311. url:'discountCard'
  312. })
  313. }else if(item.bizType==10){ //我的订单
  314. uni.navigateTo({
  315. url:'../user/myOrder/myOrder'
  316. })
  317. }else if(item.bizType==11){ //我的预约
  318. uni.navigateTo({
  319. url:'../user/myBespeak'
  320. })
  321. }else if(item.bizType==12){ //历史消费
  322. uni.navigateTo({
  323. url:'../user/historySpend'
  324. })
  325. }else if(item.bizType==12){ //历史消费
  326. uni.navigateTo({
  327. url:'../user/historySpend'
  328. })
  329. }else if(item.bizType==13){ //车检报告
  330. uni.navigateTo({
  331. url:'../user/checkReport'
  332. })
  333. }else if(item.bizType==14){ //指定商品分类
  334. uni.setStorage({
  335. key: 'shopcategoryID',
  336. data: item.bizId,
  337. success: function () {
  338. getApp().globalData.shopcategoryID=item.bizId;
  339. uni.switchTab({
  340. url:'../shop/shop?shopcategoryID='+ item.bizId
  341. })
  342. }
  343. });
  344. }else if(item.bizType==15){ //商品详情
  345. uni.navigateTo({
  346. url:'../shop/goodsDetail?id=CD2D70DC-706C-4441-9864-33BD19457CAE'
  347. })
  348. }
  349. // uni.navigateTo({
  350. // url:url
  351. // })
  352. }
  353. },
  354. decryptPhoneNumber: function(e) {
  355. console.log(e);
  356. this.code=e.detail.code
  357. this.wxPhoneLogin()
  358. this.authorizShow=false;
  359. },
  360. wxgologin(){
  361. var that=this;
  362. uni.getUserProfile({
  363. lang:'zh_CN',
  364. desc:'登录',
  365. success:(res)=>{
  366. console.log(res);
  367. that.wxdata=res;
  368. uni.setStorage({
  369. key: 'wxdata',
  370. data: res,
  371. success: function () {
  372. that.uniLogin()
  373. }
  374. });
  375. },
  376. fail:(res)=>{
  377. console.log(res)
  378. }
  379. });
  380. },
  381. uniLogin(){
  382. var that=this;
  383. uni.login({
  384. provider: 'weixin',
  385. success: function (loginRes) {
  386. console.log(loginRes);
  387. that.getWxOpenID(loginRes)
  388. }
  389. });
  390. },
  391. getWxOpenID(e){
  392. var that=this;
  393. uni.showLoading({
  394. title: '加载中'
  395. })
  396. this.$http('miniApp2/sys/getWxOpenID', {
  397. code:e.code,
  398. unionId:'EEADACCD-8A19-499D-8AD7-6975D2C93243'
  399. },'GET').then(res => {
  400. this.wxOpenData=res.data;
  401. that.queryHomeCardList()
  402. //that.wxPhoneLogin()
  403. this.$store.commit('mutationswxOpenData', that.wxOpenData)
  404. uni.setStorage({
  405. key: 'wxOpenData',
  406. data: that.wxOpenData,
  407. success: function () {
  408. // that.uniLogin()
  409. }
  410. });
  411. if(this.wxOpenData.loginInfo){
  412. this.$store.commit('mutationsuserInfo', that.wxOpenData.loginInfo.openUser)
  413. this.userInfo=that.wxOpenData.loginInfo.openUser
  414. that.queryManagerInfo()
  415. uni.setStorage({
  416. key: 'userInfo',
  417. data: that.wxOpenData.loginInfo.openUser,
  418. success: function () {
  419. that.getCarList()
  420. }
  421. });
  422. }else{
  423. this.authorizShow=true;
  424. }
  425. })
  426. },
  427. wxPhoneLogin(){
  428. var that=this;
  429. this.$http('miniApp2/sys/wxPhoneLogin', {
  430. appId:'wx33053a645546ec31',
  431. unionId:'EEADACCD-8A19-499D-8AD7-6975D2C93243',
  432. code:this.code,
  433. openId:this.wxOpenData.openid
  434. },'POST').then(res => {
  435. var data = res.data;
  436. if(data.loginInfo){
  437. this.userInfo=data.loginInfo.openUser;
  438. this.$store.commit('mutationsuserInfo', this.userInfo);
  439. this.$store.commit('mutationswxOpenData', data.loginInfo)
  440. uni.setStorage({
  441. key: 'userInfo',
  442. data: data.loginInfo.openUser,
  443. success: function () {
  444. that.getCarList()
  445. that.queryHomeCardList()
  446. that.queryManagerInfo()
  447. }
  448. });
  449. }
  450. })
  451. },
  452. getCarList(){
  453. this.$http('opencarOwnerHome/queryCarInfoList', {
  454. },'GET').then(res => {
  455. if(res.code==401){
  456. this.uniLogin()
  457. }else{
  458. this.carInfo=res.data[0]
  459. this.$store.commit('mutationscarInfo', this.carInfo)
  460. }
  461. })
  462. },
  463. queryManagerInfo(){
  464. console.log("11")
  465. this.$http('openHome/queryManagerInfo', {
  466. },'GET').then(res => {
  467. this.managerInfo=res.data
  468. })
  469. },
  470. queryHomeCardList(){
  471. //console.log(this.wxOpenData)
  472. this.$http('openHome/queryHomeCardList', {
  473. unionId:'EEADACCD-8A19-499D-8AD7-6975D2C93243'
  474. },'GET').then(res => {
  475. uni.hideLoading();
  476. this.homeCardList=res.data
  477. })
  478. },
  479. getShopinfo(num,shopId){
  480. var that=this;
  481. uni.showLoading({
  482. title: '加载中'
  483. })
  484. if(!shopId){
  485. shopId=''
  486. }
  487. this.$http('openmy/getShopinfo', {
  488. shopId:shopId
  489. },'GET').then(res => {
  490. uni.hideLoading();
  491. var res=res.data
  492. if(num==5){
  493. uni.openLocation({
  494. latitude:Number(res.lat),
  495. longitude:Number(res.lng),
  496. name: res.shopName,
  497. address: res.address,
  498. success: function() {
  499. console.log('success');
  500. },
  501. fail(err) {
  502. console.log(err)
  503. }
  504. });
  505. }else{
  506. uni.makePhoneCall({
  507. phoneNumber: res.contactorPhone
  508. });
  509. }
  510. })
  511. }
  512. }
  513. }
  514. </script>
  515. <style scoped>
  516. .indexTop{
  517. background: #D53533;
  518. width: 750rpx;
  519. position: fixed;
  520. top: 0;
  521. left: 0;
  522. z-index: 11;
  523. }
  524. .indexnav{
  525. height: 44px;
  526. line-height: 44px;
  527. text-align: center;
  528. font-size: 36rpx;
  529. color: #FFFFFF;
  530. }
  531. .authorizBox{
  532. width: 100vw;
  533. height: 100vh;
  534. background: rgba(0, 0, 0, 0.5);
  535. position: fixed;
  536. top: 0;
  537. left: 0;
  538. }
  539. .authorizCont{
  540. margin-top: 30vh;
  541. width: 564rpx;
  542. height: 408rpx;
  543. background: #FFFFFF;
  544. border-radius: 24rpx;
  545. margin-left: 93rpx;
  546. position: relative;
  547. }
  548. .authorizCloseImg{
  549. width: 62rpx;
  550. height: 62rpx;
  551. }
  552. .sqLogoBox{
  553. width: 180rpx;
  554. height: 180rpx;
  555. background: #FFFFFF;
  556. border-radius: 90rpx;
  557. text-align: center;
  558. position: absolute;
  559. top: -50rpx;
  560. left: 192rpx;
  561. }
  562. .authorizName{
  563. color: #333333;
  564. line-height: 42rpx;
  565. font-size: 30rpx;
  566. text-align: center;
  567. padding-top: 58rpx;
  568. }
  569. .authorizMs{
  570. color: #999999;
  571. line-height: 36rpx;
  572. font-size: 26rpx;
  573. width: 452rpx;
  574. padding-top: 24rpx;
  575. text-align: center;
  576. margin-left: 56rpx;
  577. }
  578. .authorizContbutton{
  579. width: 422rpx;
  580. height: 88rpx;
  581. background: #D53533;
  582. border-radius: 44rpx;
  583. line-height: 88rpx;
  584. text-align: center;
  585. font-size:30rpx;
  586. color: #FFFFFF;
  587. margin-top: 62rpx;
  588. margin-left:71rpx;
  589. }
  590. .content{
  591. min-height: 100vh;
  592. background: #F4F5F7;
  593. }
  594. .topBox{
  595. width: 750rpx;
  596. height: 150rpx;
  597. background: #D53533;
  598. }
  599. .yuanhu{
  600. width: 750rpx;
  601. height: 50rpx;
  602. background: #D53533;
  603. border-radius: 0 0 100% 100%;
  604. }
  605. .carinfoBox{
  606. width: 702rpx;
  607. height: 250rpx;
  608. background: #FFFFFF;
  609. border-radius: 10rpx;
  610. margin-left: 24rpx;
  611. overflow: hidden;
  612. }
  613. .carinfoBox2{
  614. width: 702rpx;
  615. height: 180rpx;
  616. background: #FFFFFF;
  617. border-radius: 10rpx;
  618. margin-left: 24rpx;
  619. overflow: hidden;
  620. }
  621. .carinfoBox2{
  622. }
  623. .carinfoBox .carLogo{
  624. width: 72rpx;height: 72rpx;
  625. }
  626. .carinfoBoxTop{
  627. display: flex;
  628. justify-content: space-between;
  629. padding-top: 29rpx;
  630. padding-left: 24rpx;
  631. padding-right: 20rpx;
  632. padding-bottom: 24rpx;
  633. border: 1px solid #EEEEEE;
  634. }
  635. .carinfoBoxTopCont{
  636. width: 454rpx;
  637. }
  638. .carinfoBoxTopContTop{
  639. display: flex;
  640. }
  641. .carInfoplateNumber{
  642. font-weight: 500;
  643. color: #3C3C3C;
  644. font-size: 30rpx;
  645. line-height: 42rpx;
  646. padding-right: 16rpx;
  647. }
  648. .carTnfomilage{
  649. color: #F19D01;
  650. font-size: 22rpx;
  651. padding: 0rpx 10rpx;
  652. border-radius: 4rpx;
  653. border: 1px solid #F19D01;
  654. height: 32rpx;
  655. line-height: 34rpx;
  656. margin-top: 2rpx;
  657. margin-left: 2rpx;
  658. }
  659. .carInfocarModel{
  660. width: 454rpx;
  661. color: #666666;
  662. font-size: 26rpx;
  663. white-space: nowrap;
  664. overflow: hidden;
  665. text-overflow: ellipsis;
  666. }
  667. .carinfoBoxTopRight{
  668. display: flex;padding-top: 25rpx;
  669. }
  670. .carinfoBoxTopRightIcon{
  671. width: 29rpx;
  672. height: 31rpx;
  673. }
  674. .huancheBtn{
  675. color: #666666; font-size: 26rpx;line-height: 31rpx;
  676. padding-left: 10rpx;
  677. }
  678. .carInfoBottom{
  679. display: flex;
  680. justify-content: space-around;
  681. }
  682. .carInfoBottomLineTitle{
  683. color: #999999;font-size: 24rpx;
  684. text-align: center;
  685. padding-top: 24rpx;
  686. }
  687. .carInfoBottomLineTxt{
  688. color: #3C3C3C;
  689. font-size: 26rpx;
  690. padding-top: 5rpx;
  691. text-align: center;
  692. }
  693. .carinfonocarIcon{
  694. width: 72rpx;
  695. height: 72rpx;
  696. }
  697. .carinfoBoxNocar{
  698. display: flex;
  699. padding-top: 50rpx;
  700. padding-left: 20rpx;
  701. }
  702. .carinfoBoxNocarRightTitle{
  703. font-weight: 500;
  704. color: #3C3C3C;
  705. font-size: 30rpx;
  706. }
  707. .carinfoBoxNocarRightMS{
  708. color: #666666;
  709. font-size: 26rpx;
  710. }
  711. .carinfoBoxNocarRight{
  712. padding-left: 24rpx;
  713. }
  714. .shoptopbox{
  715. margin-top: -170rpx;
  716. }
  717. .shoptopbox2{
  718. margin-top: -170rpx;
  719. }
  720. .adviser{
  721. width: 662rpx;
  722. margin-left: 24rpx;
  723. background: #FFFFFF;
  724. border-radius: 10px;
  725. display: flex;
  726. justify-content: space-between;
  727. padding: 18rpx 20rpx;
  728. margin-top: 20rpx;
  729. }
  730. .adviserLeft{
  731. display: flex;
  732. }
  733. .advisertx{
  734. width: 62rpx;height: 62rpx;
  735. }
  736. .adviserNema{
  737. color: #333333;font-size: 30rpx;
  738. line-height: 62rpx;padding-left: 24rpx;
  739. }
  740. .adviserms{
  741. width: 118rpx;
  742. height: 36rpx;
  743. border-radius: 4rpx;
  744. border: 1px solid #D53533;
  745. line-height: 36rpx;
  746. text-align: center;
  747. margin-top: 12rpx;
  748. margin-left: 20rpx;
  749. color: #D53533;
  750. font-size: 24rpx;
  751. }
  752. .adviserJt{
  753. width: 12rpx;
  754. height: 20rpx;
  755. margin-top: 16rpx;
  756. }
  757. .modular{
  758. width: 702rpx;
  759. /* height: 313rpx; */
  760. background: #FFFFFF;
  761. border-radius: 10px;
  762. margin-top: 20rpx;
  763. margin-left: 24rpx;
  764. padding-bottom: 40rpx;
  765. }
  766. .swiper-item{
  767. display: flex;
  768. flex-wrap: wrap;
  769. }
  770. .itemImg{
  771. width: 46rpx;
  772. height: 46rpx;
  773. }
  774. .Menusline{
  775. font-size: 24rpx;
  776. color: #333333;
  777. }
  778. .itemLine{
  779. width: 20%;
  780. text-align: center;
  781. padding-top: 40rpx;
  782. }
  783. .advertisement{
  784. width: 702rpx;
  785. height: 280rpx;
  786. margin-top: 20rpx;
  787. margin-left: 24rpx;
  788. border-radius: 20rpx;
  789. }
  790. .swiper-item2{
  791. width: 702rpx;
  792. height: 280px;
  793. }
  794. .swiper-item2Img{
  795. width: 702rpx;
  796. height: 280rpx;
  797. }
  798. .hotMoreJt{
  799. width: 12rpx;
  800. height: 20rpx;
  801. margin-top: 6rpx;
  802. }
  803. .Hot{
  804. width: 702rpx;
  805. margin-top: 20rpx;
  806. margin-left: 24rpx;
  807. }
  808. .hotTop{
  809. display: flex;
  810. justify-content: space-between;
  811. padding: 6rpx 0;
  812. }
  813. .hotSx{
  814. width: 8rpx;
  815. height: 30rpx;
  816. background: #FF0000;
  817. border-radius: 5rpx;
  818. }
  819. .hotLeft{
  820. display: flex;
  821. }
  822. .hottitle{
  823. font-weight: 500;
  824. color: #333333;
  825. font-size: 30rpx;
  826. line-height: 30rpx;
  827. margin-left: 16rpx;
  828. }
  829. .hotRight{
  830. display: flex;
  831. }
  832. .hotMore{
  833. line-height: 30rpx;color: #666666;font-size: 24rpx;
  834. margin-right: 16rpx;
  835. }
  836. .hotLineTopImg{
  837. width: 702rpx;
  838. height: 280rpx;
  839. }
  840. .hotLineTop{
  841. position: relative;
  842. height: 280rpx;
  843. }
  844. .hotLine{
  845. margin-top: 20rpx;
  846. border-radius: 10rpx;
  847. background: #FFFFFF;
  848. overflow: hidden;
  849. }
  850. .hotlinestate1{
  851. width: 102rpx;
  852. height: 44rpx;
  853. background:#FBBF00 ;
  854. line-height: 44rpx;
  855. font-weight: 500;
  856. color: #333333;
  857. font-size: 24rpx;
  858. text-align: center;
  859. }
  860. .hotlinestate2{
  861. width: 102rpx;
  862. height: 44rpx;
  863. background:#FF0000 ;
  864. line-height: 44rpx;
  865. font-weight: 500;
  866. color: #FFFFFF;
  867. font-size: 24rpx;
  868. text-align: center;
  869. }
  870. .hotlineTimebox{
  871. position: absolute;
  872. left: 0;
  873. bottom: 0;
  874. background: rgba(0, 0, 0, 0.5);
  875. display: flex;
  876. }
  877. .hotTime{
  878. font-weight: 400;
  879. color: #FFFFFF;
  880. font-size: 24rpx;
  881. line-height: 44rpx;
  882. padding: 0 20rpx;
  883. }
  884. .hotName{
  885. padding: 24rpx 20rpx;
  886. color: #333333;
  887. line-height: 40rpx;
  888. font-size: 28rpx;
  889. }
  890. .hotGoodsLine{
  891. margin-top: 20rpx;
  892. padding: 20rpx;
  893. background: #FFFFFF;
  894. border-radius: 16rpx;
  895. display: flex;
  896. }
  897. .hotGoodsLineImg{
  898. width: 208rpx;
  899. height: 194rpx;
  900. border-radius: 16rpx;
  901. border: 1px solid #EEEEEE;
  902. }
  903. .goodsName{
  904. font-size: 28rpx;
  905. font-family: PingFangSC-Regular, PingFang SC;
  906. font-weight: 400;
  907. color: #333333;
  908. line-height: 40rpx;
  909. text-overflow: -o-ellipsis-lastline;
  910. overflow: hidden;
  911. text-overflow: ellipsis;
  912. display: -webkit-box;
  913. -webkit-line-clamp: 2;
  914. line-clamp: 2;
  915. -webkit-box-orient: vertical;
  916. }
  917. .hotGoodsLineRIght{
  918. padding-left: 24rpx;
  919. }
  920. .goodsPrice{
  921. display: flex;
  922. padding-top: 10rpx;
  923. }
  924. .goodsPrice1{
  925. font-size: 24rpx;
  926. font-weight: 400;
  927. color: #FF0000;
  928. padding-top: 5rpx;
  929. }
  930. .goodsPrice2{
  931. font-size: 22rpx;
  932. font-weight: 400;
  933. color: #FF0000;
  934. padding-top: 10rpx;
  935. }
  936. .goodsPrice3{
  937. font-size: 32rpx;
  938. font-weight: 500;
  939. color: #FF0000;
  940. }
  941. .goodsPrice4{
  942. font-size: 24rpx;
  943. font-weight: 400;
  944. color: #999999;
  945. padding-top: 8rpx;
  946. padding-left: 10rpx;
  947. text-decoration:line-through;
  948. }
  949. .Sold{
  950. font-weight: 400;
  951. color: #999999;
  952. font-size: 24rpx;
  953. padding-top: 8rpx;
  954. }
  955. </style>