shopDetail.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200
  1. <template>
  2. <view class="cont">
  3. <view v-if="shopdata">
  4. <view class="top" >
  5. <swiper class="swiper" :circular="true"
  6. :indicator-dots="true" indicator-active-color="#FF4F00"
  7. v-if="shopImg.length>0"
  8. >
  9. <swiper-item v-for="(item,index) in shopImg">
  10. <view class="swiper-item">
  11. <image :src="item" mode="widthFix" class="swpImg"></image>
  12. </view>
  13. </swiper-item>
  14. </swiper>
  15. <image src="../../static/img/750500.png" mode="" class="swpImg" v-else></image>
  16. <!-- <view class="Member" @click="deleteMember" v-if="shopdata.isAttention">取消关注</view>
  17. <view class="Member" @click="Member" v-if="!shopdata.isAttention">关注</view> -->
  18. </view>
  19. <!-- 店铺主体 -->
  20. <view class="shopMain">
  21. <view class="shopName">{{shopdata.shopName}}</view>
  22. <view class="pingfenBox" @click="goAppraise(shopdata.shopId)">
  23. <view class="fenshuBox" v-if="shopdata.shopScore"><span class="fenshuNum">{{shopdata.shopScore}}</span> <span class="fenshuTxt">分</span></view>
  24. <view class="fenshuBox" v-if="!shopdata.shopScore"> <span class="fenshuTxt2">暂无评分</span></view>
  25. <view class="shuxian"></view>
  26. <span class="cishu">服务次数 {{shopdata.sheetSum}}</span>
  27. <view class="shuxian"></view>
  28. <span class="cishu">评价数 {{shopdata.evaluateSum}}</span>
  29. <image src="../../static/img/jt.png" mode="" class="pingfenImg"></image>
  30. </view>
  31. <!-- 是否营业 -->
  32. <view class="business">
  33. <view class="businessTitle">营业时间:</view>
  34. <view class="businessTitme"> <span v-if="shopdata.startTime">{{shopdata.startTime}}</span> -- <span v-if="shopdata.endTime">{{shopdata.endTime}}</span> </view>
  35. </view>
  36. <!-- 品牌 -->
  37. <view class="brandsBox">
  38. <view class="brandsLine" v-if="shopdata.levelName">{{shopdata.levelName}}</view>
  39. <view v-for="(item,index) in brandsList" class="brandsLine2">{{item}}</view>
  40. </view>
  41. </view>
  42. <!-- 地图 -->
  43. <view class="mapBox">
  44. <view class="mapLeft">
  45. <view class="dingwBox"><image src="../../static/img/icon_zuob.png" mode="" class="mapdwImg"></image>
  46. <view class="distance" v-if="shopdata.distance&&shopdata.distance!= '0.00'">距离 {{shopdata.distance}}km</view>
  47. <view class="distance" v-else>距离 --km</view>
  48. </view>
  49. <view class="mapaddress">{{shopdata.provinceName}}{{shopdata.cityName}}{{shopdata.areaName}}
  50. <span v-if="shopdata.address">{{shopdata.address}}</span>
  51. </view>
  52. </view>
  53. <view class="shopsx"></view>
  54. <view class="shopRightBox" @click="map">
  55. <view> <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image> </view>
  56. <view class="shopRihgtTxt">地图</view>
  57. </view>
  58. <view class="shopsx"></view>
  59. <view class="shopRightBox" @click="call">
  60. <view> <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg"></image> </view>
  61. <view class="shopRihgtTxt">电话</view>
  62. </view>
  63. </view>
  64. <!-- 车型里程 -->
  65. <!-- <view class="Cartop">
  66. <view class="CartopLeft">
  67. <image :src="maintainCarData.brandLogo" mode="" class="CarbrandLogo" @click="carEdit"></image>
  68. <view class="carName" @click="carEdit">
  69. <span v-if="maintainCarData.brand"> {{maintainCarData.brand}}</span>
  70. <span v-if="maintainCarData.series">-{{maintainCarData.series}}</span>
  71. <span v-if="!maintainCarData.brand">添加我的爱车</span>
  72. </view>
  73. <image src="../../static/img/icon_edit.png" mode="" class="CartopEdit" @click="carEdit"></image>
  74. </view>
  75. <view class="CartopRight">
  76. <input type="text" v-model="maintainCarData.milage" @confirm="getData" value="" placeholder="请输入当前里程" class="CartopInput" placeholder-style="color:#999999;"/>
  77. <view>
  78. <image src="../../static/img/icon_edit.png" mode="" class="CartopEdit" @click="milageEdit"></image>
  79. </view>
  80. </view>
  81. </view> -->
  82. <!-- 车型里程 -->
  83. <!-- 保养 -->
  84. <!-- <view class="main" style="margin-top: 20rpx;">
  85. <view class="mainLeft">
  86. <scroll-view scroll-y="true" class="mainscrollView">
  87. <view class="mainLeftLine" v-for="(item,index) in mealData" :class="{lineLeftActive:leftIndex==index}"
  88. @click="leftClick(item,index)">
  89. <span>{{item.name}}</span>
  90. <view class="lineNum" v-show="item.num!=0">{{item.num}}</view>
  91. </view>
  92. </scroll-view>
  93. </view>
  94. <view class="mainRight">
  95. <scroll-view scroll-y="true" class="mainscrollView">
  96. <view v-show="!mealData[leftIndex].listPackage||mealData[leftIndex].listPackage.length==0">
  97. <view class="nodataBox">
  98. <image src="../../static/img/nodata.png" mode="widthFix" class="nodataImg"></image>
  99. <view class="noTxt">暂无数据</view>
  100. </view>
  101. </view>
  102. <view class="mainRightLine" v-for="(item,index) in mealData[leftIndex].listPackage">
  103. <view class="contTop">
  104. <view class="contTopLeft">
  105. <view class="listPackgeName"> {{item.name}} </view>
  106. <view class="listPackgeMs">10000公里(或6个月)/次 | 机油参考用量4L</view>
  107. </view>
  108. <view class="contTopRight" @click="listcheck(item)">
  109. <image src="../../static/img/login_icon_checked.png" mode="" class="imgPrivacy" v-show="item.planItem"></image>
  110. <image src="../../static/img/login_icon_uncheck.png" mode="" class="imgPrivacy" v-show="!item.planItem"></image>
  111. </view>
  112. </view>
  113. <view class="contZk">
  114. <view class="contZkMain" v-show="item.planItem">
  115. <view v-for="(vf,findex) in item.listGoodsAll">
  116. <view class="goodsItemLIne" v-for="(v,i) in vf" v-if="i==0" @click="goGoods(v)">
  117. <image :src="v.picUrl" mode="" class="goodsImg" v-if="v.picUrl"></image>
  118. <image src="../../static/img/noimg.png" mode="" class="goodsImg sm" v-else></image>
  119. <view class="goodsCont">
  120. <view class="goodsContTop">
  121. <view class="goodsItemName">{{v.showName}}</view>
  122. <view class="replace" @click.stop="replace(vf,index,findex,i)" v-if="vf.length>1">更换</view>
  123. </view>
  124. <view class="goodsCOntBOttom">
  125. <view class="salePrice">¥{{v.salePrice}}</view>
  126. <view class="as">
  127. <view class="asa" @click.stop="reduce(v)">-</view>
  128. <view class="asNum">{{v.qty}}</view>
  129. <view class="asa" @click.stop="plus(v)">+</view>
  130. </view>
  131. </view>
  132. </view>
  133. </view>
  134. </view>
  135. <view class="goodsItemLIne" v-for="(v,i) in item.listItem">
  136. <image :src="v.picUrl" mode="" class="goodsImg" v-if="v.picUrl"></image>
  137. <image src="../../static/img/noimg.png" mode="" class="goodsImg sm" v-else></image>
  138. <view class="goodsCont">
  139. <view class="goodsContTop">
  140. <view class="goodsItemName">{{v.showName}}</view>
  141. </view>
  142. <view class="goodsCOntBOttom">
  143. <view class="salePrice">¥{{v.salePrice}}</view>
  144. <view class="itemNum">x1</view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. </scroll-view>
  152. </view>
  153. </view> -->
  154. <!-- 保养 -->
  155. <!-- 底部 -->
  156. <!-- <view class="bottom">
  157. <view class="bottomLeft">
  158. <view class="caidan" @click="caidanClick">
  159. <image src="../../static/img/caidan.png" mode="" class="caidanImg"></image>
  160. <view class="total" v-show="total>0">{{total}}</view>
  161. </view>
  162. <view>
  163. <view class="heji"> <span class="heji1">合计</span> <span class="hejiNum">¥{{totalhj}}</span> </view>
  164. <view class="hejiMs">商品¥{{goodsTotal}}+工时费¥{{salePriceTotal}}</view>
  165. </view>
  166. </view>
  167. <view class="settlement" @click="settlement">去结算</view>
  168. </view> -->
  169. <!-- <view class="caidanTk" v-show="qingdanShow" @click="qingdanShow=false">
  170. <view class="tkCont" @click.stop="">
  171. <view class="caidanTkTop" >
  172. <view class="tkTopTitle">清单</view>
  173. <view class="topTopright">
  174. <view class="empty" @click.stop="empty">清空</view>
  175. <view class="close" @click="qingdanShow=false">X</view>
  176. </view>
  177. </view>
  178. <view class="tkMain">
  179. <scroll-view scroll-y="true" class="tkMainSv">
  180. <view class="qingdanLine" v-for="(item,index) in orderData">
  181. <view class="mainTitle">{{item.name}}</view>
  182. <view class="goodsItem" v-for="(v,i) in item.listGoodsAll">
  183. <view>
  184. <image :src="v.picUrl" mode="" class="goodsImg" v-if="v.picUrl"></image>
  185. <image src="../../static/img/noimg.png" mode="" class="goodsImg " v-else></image>
  186. </view>
  187. <view class="goodsItemRight" >
  188. <view class="goodsItemName">{{v.goodsName}}</view>
  189. <view class="goodsItemBottom">
  190. <view class="goodssalePrice">¥{{v.salePrice}}</view>
  191. <view class="goodsNum">x{{v.qty}}</view>
  192. </view>
  193. </view>
  194. </view>
  195. <view class="goodsItem" v-for="(v,i) in item.listItem">
  196. <view>
  197. <image :src="v.picUrl" mode="" class="goodsImg" v-if="v.picUrl"></image>
  198. <image src="../../static/img/noimg.png" mode="" class="goodsImg " v-else></image>
  199. </view>
  200. <view class="goodsItemRight" >
  201. <view class="goodsItemName">{{v.itemName}}</view>
  202. <view class="goodsItemBottom">
  203. <view class="goodssalePrice">¥{{v.salePrice}}</view>
  204. <view class="goodsNum">x{{v.qty}}</view>
  205. </view>
  206. </view>
  207. </view>
  208. </view>
  209. </scroll-view>
  210. </view>
  211. </view>
  212. </view> -->
  213. </view>
  214. </view>
  215. </template>
  216. <script>
  217. export default {
  218. data() {
  219. return {
  220. shopId:'',
  221. location:'',
  222. shopdata:'',
  223. shopImg:[],
  224. indicatorcolor:'rgba(255, 79, 0)',
  225. brandsList:[],
  226. maintainCarData:'',
  227. mealData:'',
  228. leftIndex:0,
  229. total:0,
  230. qingdanShow:false,
  231. totalhj:0,
  232. goodsTotal:0,
  233. salePriceTotal:0,
  234. orderData:[],
  235. replaceIndex1:'',
  236. replaceIndex2:'',
  237. }
  238. },
  239. onShow() {
  240. /* var maintainCarData2=uni.getStorageSync("maintainCarData");
  241. if(this.maintainCarData.id!=maintainCarData2.id){
  242. this.maintainCarData=maintainCarData2;
  243. if(this.maintainCarData.milage==0){
  244. this.maintainCarData.milage='';
  245. }
  246. this.getData();
  247. }
  248. var replaceData=uni.getStorageSync("replaceData");
  249. if(replaceData){
  250. replaceData.qty=1;
  251. console.log(replaceData)
  252. this.mealData[this.leftIndex].listPackage[this.replaceIndex1].listGoodsAll[this.replaceIndex2].unshift(replaceData)
  253. console.log(this.mealData[this.leftIndex].listPackage[this.replaceIndex1].listGoodsAll[this.replaceIndex2])
  254. this.mealData[this.leftIndex].listPackage[this.replaceIndex1].listGoodsAll[this.replaceIndex2]=this.unique(this.mealData[this.leftIndex].listPackage[this.replaceIndex1].listGoodsAll[this.replaceIndex2])
  255. this.$forceUpdate()
  256. } */
  257. },
  258. onLoad(opt) {
  259. this.$common.isUserId()
  260. this.shopId=opt.id;
  261. this.location=uni.getStorageSync("location");
  262. this.maintainCarData=uni.getStorageSync("maintainCarData");
  263. this.getData();
  264. /* this.addBMemberShopFootprint();
  265. this.getmainData() */
  266. },
  267. methods: {
  268. goGoods(item){
  269. uni.navigateTo({
  270. url:'../goods/goodsDetail?goodsId='+item.mGoodsID+'&type=1'+'&typeIndex=2&maintain=1'
  271. })
  272. },
  273. unique(arr1) {
  274. const res = new Map();
  275. return arr1.filter((a) => !res.has(a.goodsID) && res.set(a.goodsID, 1))
  276. },
  277. goAppraise(shopId){
  278. console.log(shopId);
  279. uni.navigateTo({
  280. url:'shopAppraise?shopId=' + shopId
  281. })
  282. },
  283. getmainData(){
  284. uni.showLoading({ });
  285. this.$http('miniApp/packageMiniAppController/queryPackageList', {
  286. mileage:this.maintainCarData.milage,
  287. liyangId:this.maintainCarData.nLevelID,
  288. shopId:this.shopId
  289. },'GET').then(res => {
  290. uni.hideLoading();
  291. this.mealData=res.data;
  292. this.calculation();
  293. })
  294. },
  295. carEdit(){
  296. uni.navigateTo({
  297. url:'../car/cailist?type=2'
  298. })
  299. },
  300. milageEdit(){
  301. this.maintainCarData.milage=''
  302. },
  303. map(){
  304. console.log("打开地图")
  305. var that=this;
  306. if(!that.shopdata.lat||!that.shopdata.lng){
  307. uni.showToast({
  308. title: '该店铺未设置定位',
  309. icon:'none',
  310. duration: 3000
  311. });
  312. }else{
  313. uni.openLocation({
  314. latitude:Number(that.shopdata.lat) ,
  315. longitude:Number( that.shopdata.lng),
  316. name:that.shopdata.shopName,
  317. address:that.shopdata.address,
  318. success: function () {
  319. console.log('success');
  320. },
  321. fail(err) {
  322. console.log(err)
  323. }
  324. });
  325. }
  326. },
  327. call(){
  328. uni.makePhoneCall({
  329. phoneNumber: this.shopdata.mobilePhone
  330. });
  331. },
  332. getData(){
  333. uni.showLoading({ });
  334. this.shopImg=[];
  335. this.$http('worldKeepCar/worldHome/queryKeepCarShopDetail', {
  336. id:this.shopId,
  337. lat:this.location.lat,
  338. lng:this.location.lng,
  339. },'GET').then(res => {
  340. uni.hideLoading();
  341. this.shopdata=res.data;
  342. if(this.shopdata.photoPath){
  343. this.shopImg.push(this.shopdata.photoPath)
  344. }
  345. this.shopImg=this.shopImg.concat(this.shopdata.imgList)
  346. console.log(this.shopImg)
  347. if(this.shopdata.brands){
  348. this.brandsList=this.shopdata.brands.split(',');
  349. }
  350. uni.setNavigationBarTitle({
  351. title: res.data.shopName
  352. })
  353. })
  354. },
  355. addBMemberShopFootprint(){
  356. this.$http('miniAppShopInfoController/addBMemberShopFootprint', {
  357. shopId:this.shopId
  358. },'POST').then(res => {
  359. })
  360. },
  361. Member(){
  362. uni.showLoading({ });
  363. this.$http('miniAppShopInfoController/addBMemberShop', {
  364. shopID:this.shopId,
  365. },'POST').then(res => {
  366. uni.hideLoading();
  367. if(res.code==0){
  368. uni.showToast({
  369. title: '关注成功',
  370. icon:'none',
  371. duration: 3000
  372. });
  373. this.shopdata.isAttention=1
  374. }else{
  375. uni.showToast({
  376. title: res.msg,
  377. icon:'none',
  378. duration: 3000
  379. });
  380. }
  381. })
  382. },
  383. deleteMember(){
  384. uni.showLoading({ });
  385. this.$http('miniAppMyBMemberCar/deleteBMemberShop', {
  386. shopId:this.shopId,
  387. },'POST').then(res => {
  388. uni.hideLoading();
  389. if(res.code==0){
  390. uni.showToast({
  391. title: '取消成功',
  392. icon:'none',
  393. duration: 3000
  394. });
  395. this.shopdata.isAttention=0
  396. }else{
  397. uni.showToast({
  398. title: res.msg,
  399. icon:'none',
  400. duration: 3000
  401. });
  402. }
  403. })
  404. },
  405. settlement(){
  406. console.log(this.orderData)
  407. var that=this;
  408. if(this.orderData.length>0){
  409. uni.setStorage({
  410. key: 'cfshopInfo',
  411. data: that.shopdata,
  412. success: function () {
  413. uni.removeStorageSync('couponData');
  414. uni.navigateTo({
  415. url:'../module/confirmOrder?orderData='+JSON.stringify(that.orderData)+'&currentMileage='+that.maintainCarData.milage+'&type=2'
  416. })
  417. }
  418. });
  419. }
  420. },
  421. replace(v,index,i,replaceIndex){
  422. console.log(v)
  423. v.forEach((item,vindex)=>{
  424. if(replaceIndex==vindex){
  425. item.showr=false
  426. }else{
  427. item.showr=true
  428. }
  429. })
  430. uni.removeStorageSync('replaceData');
  431. this.replaceIndex1=index;
  432. this.replaceIndex2=i;
  433. uni.setStorage({
  434. key: 'replaceDataList',
  435. data: v,
  436. success: function () {
  437. uni.navigateTo({
  438. url:'../module/replaceGoods'
  439. })
  440. }
  441. });
  442. },
  443. caidanClick(){
  444. this.qingdanShow=!this.qingdanShow
  445. },
  446. leftClick(item,index){
  447. this.leftIndex=index
  448. },
  449. listcheck(item){
  450. item.planItem=!item.planItem;
  451. //var
  452. this.calculation();
  453. if(item.planItem){
  454. /* this.orderData.push(item) */
  455. }
  456. },
  457. empty(){
  458. var that=this;
  459. uni.showModal({
  460. title: '提示',
  461. content: '确定要清空清单吗',
  462. success: function (res) {
  463. if (res.confirm) {
  464. that.orderData=[];
  465. that.mealData.forEach(item=>{
  466. item.num=0;
  467. if(item.listPackage){
  468. item.listPackage.forEach(v=>{
  469. v.planItem=false
  470. })
  471. }
  472. })
  473. that.calculation();
  474. that.qingdanShow=false;
  475. }
  476. }
  477. });
  478. },
  479. calculation(){
  480. this.total=0;
  481. this.totalhj=0;
  482. this.goodsTotal=0;
  483. this.salePriceTotal=0;
  484. this.orderData=[]
  485. this.mealData.forEach(v=>{
  486. v.num=0;
  487. if(v.listPackage){
  488. v.listPackage.forEach(i=>{
  489. if(i.planItem){
  490. var obj={
  491. listGoodsAll:[],
  492. listItem:'',
  493. }
  494. if(i.listGoodsAll.length>0){
  495. i.listGoodsAll.forEach((goods,goodsIndex)=>{
  496. /* goods.forEach(sp=>{
  497. this.goodsTotal=Number(this.goodsTotal)
  498. this.goodsTotal+=sp.salePrice*sp.qty
  499. this.goodsTotal=this.goodsTotal.toFixed(2)
  500. })
  501. */
  502. this.goodsTotal=Number(this.goodsTotal)
  503. this.goodsTotal+=goods[0].salePrice*goods[0].qty
  504. this.goodsTotal=this.goodsTotal.toFixed(2)
  505. obj.listGoodsAll.push(goods[0])
  506. })
  507. }
  508. if(i.listItem.length>0){
  509. obj.listItem=i.listItem
  510. }
  511. this.orderData.push(obj)
  512. v.num++;
  513. this.total++;
  514. i.listItem.forEach(xm=>{
  515. xm.qty=1;
  516. this.salePriceTotal=Number(this.salePriceTotal)
  517. this.salePriceTotal+=xm.salePrice
  518. this.salePriceTotal=this.salePriceTotal.toFixed(2)
  519. })
  520. //this.totalhj
  521. }
  522. })
  523. }
  524. //if(v.listPackage)
  525. })
  526. this.totalhj=Number(this.goodsTotal)+Number(this.salePriceTotal)
  527. this.totalhj=this.totalhj.toFixed(2)
  528. console.log(this.orderData)
  529. },
  530. reduce(v){
  531. if(v.qty>1){
  532. v.qty--;
  533. this.calculation()
  534. }
  535. },
  536. plus(v){
  537. v.qty++;
  538. this.calculation()
  539. },
  540. }
  541. }
  542. </script>
  543. <style scoped>
  544. .cont{
  545. min-height: 100vh;
  546. background:#F4F5F7 ;
  547. }
  548. /deep/.uni-swiper-wrapper .uni-swiper-dots {
  549. bottom: 60rpx;
  550. }
  551. .swiper-item{
  552. width: 100vw;
  553. height: 500rpx;
  554. }
  555. .swiper{
  556. width: 100vw;
  557. height: 500rpx;
  558. }
  559. .swpImg{
  560. width: 100vw;
  561. height: 500rpx;
  562. }
  563. .top{
  564. position: relative;
  565. }
  566. .Member{
  567. width: 140rpx;
  568. height: 42rpx;
  569. line-height: 42rpx;
  570. text-align: center;
  571. color: #FFFFFF;
  572. font-size: 24rpx;
  573. background: rgba(0,0,0,0.4);
  574. border-radius: 21rpx;
  575. position: absolute;
  576. bottom: 60rpx;
  577. right: 32rpx;
  578. }
  579. .shopMain{
  580. width: 702rpx;
  581. /* height: 368rpx; */
  582. background: #FFFFFF;
  583. border-radius: 10rpx;
  584. margin-left: 24rpx;
  585. margin-top: -50rpx;
  586. z-index: 111;
  587. position: relative;
  588. }
  589. .shopName{
  590. padding-top: 30rpx;
  591. padding-left: 20rpx;
  592. color: #333333;
  593. font-size: 32rpx;
  594. font-weight: 600;
  595. }
  596. .pingfenBox{
  597. width: 559rpx;
  598. height: 62rpx;
  599. background: rgba(255, 79, 0, 0.08);
  600. border-radius: 0px 15rpx 14rpx 0px;
  601. margin-top: 10rpx;
  602. }
  603. .pingfenImg{
  604. width: 14rpx;
  605. height: 26rpx;
  606. margin-right: 30rpx;
  607. margin-top: 20rpx;
  608. }
  609. .fenshuNum{
  610. font-size: 38rpx;
  611. font-weight: 600;
  612. color: #FF4F00;
  613. }
  614. .pingfenBox{
  615. display: flex;
  616. line-height: 62rpx;
  617. justify-content: space-between;
  618. }
  619. .fenshuTxt{
  620. font-size: 26rpx;
  621. font-weight: 600;
  622. color: #FF4F00;
  623. padding-left: 5rpx;
  624. padding-top: 2rpx;
  625. }
  626. .fenshuTxt2{
  627. font-size: 26rpx;
  628. color: #FF4F00;
  629. padding-left: 5rpx;
  630. }
  631. .cishu{
  632. font-size: 24rpx;
  633. color: #666666;
  634. }
  635. .shuxian{
  636. width: 2px;
  637. height: 30rpx;
  638. background:#E9E8E8;
  639. margin-top: 16rpx;
  640. }
  641. .fenshuBox{
  642. padding-left: 20rpx;
  643. }
  644. .business{
  645. display: flex;font-size: 26rpx;
  646. padding-left: 20rpx;padding-top: 20rpx;
  647. color: #999999;
  648. }
  649. .businessTitme{
  650. color: #666666;
  651. }
  652. .brandsBox{
  653. display: flex;
  654. padding: 20rpx;
  655. font-size: 24rpx;
  656. flex-wrap: wrap;
  657. }
  658. .brandsLine{
  659. height: 34rpx;
  660. background: linear-gradient(138deg, #FF630F 0%, #FF450F 100%);
  661. border-radius: 4rpx;
  662. line-height: 34rpx;
  663. padding: 0 8rpx;
  664. color: #FFFFFF;
  665. margin-right: 14rpx;
  666. margin-bottom: 15rpx;
  667. }
  668. .brandsLine2{
  669. border-radius: 4rpx;
  670. line-height: 30rpx;
  671. padding: 0 8rpx;
  672. color: #FF5800;
  673. height: 30rpx;
  674. border:1px solid #FF5800;
  675. margin-right: 14rpx;
  676. margin-bottom: 15rpx;
  677. }
  678. .mapBox{
  679. width: 702rpx;
  680. height: 150rpx;
  681. background: url('http://phone.66km.cn:8088/thFiles/184C909A-0A58-4E60-92F1-4AF80BF071F1.png') no-repeat;
  682. background-size: 100% 100;
  683. display: flex;
  684. margin-left: 24rpx;
  685. margin-top: 20rpx;
  686. }
  687. .mapdwImg{
  688. width: 22rpx;
  689. height: 30rpx;
  690. }
  691. .dingwBox{
  692. display: flex;
  693. }
  694. .mapLeft{
  695. padding-top: 30rpx;
  696. padding-left: 20rpx;
  697. font-size: 24rpx;
  698. width: 450rpx;
  699. }
  700. .distance{
  701. padding-left: 16rpx;
  702. color: #3C3C3C;
  703. font-weight: 600;
  704. }
  705. .mapaddress{
  706. color: #999999;padding-top: 15rpx;
  707. }
  708. .shopsx{
  709. width: 1px;
  710. height: 61rpx;
  711. background: #EEEEEE;
  712. margin-top: 30rpx;
  713. margin-left: 28rpx;
  714. }
  715. .shopRihgtTxt{
  716. color: #999999;font-size: 22rpx;
  717. }
  718. .shopRightBox{
  719. padding-top: 30rpx;
  720. padding-left: 28rpx;
  721. }
  722. .shopRightImg{
  723. width: 52rpx;height: 38rpx;
  724. }
  725. .Cartop{
  726. background: #FFFFFF;
  727. display: flex;
  728. justify-content: space-between;
  729. padding: 30rpx 25rpx;
  730. font-size: 28rpx;
  731. width: 654rpx;
  732. margin-top: 20rpx;
  733. margin-left: 24rpx;
  734. }
  735. .CarbrandLogo{
  736. width: 42rpx;
  737. height: 42rpx;
  738. }
  739. .CartopLeft{
  740. display: flex;
  741. width: 500rpx;
  742. }
  743. .carName{
  744. padding-left: 10rpx;
  745. color: #3C3C3C;
  746. padding-top: 2rpx;
  747. }
  748. .CartopEdit{
  749. width: 30rpx;
  750. height: 30rpx;
  751. padding-top: 3px;
  752. padding-left: 12rpx;
  753. padding-right: 5px;
  754. padding-bottom: 5px;
  755. }
  756. .CartopRight{
  757. display: flex;
  758. }
  759. .CartopInput{
  760. font-size: 28rpx;
  761. text-align: right;
  762. padding-top: 3rpx;
  763. }
  764. .caidanTk{
  765. height: calc(100vh - 120rpx);
  766. width: 100vw;
  767. background: rgba(0,0,0,0.6);
  768. position:fixed;
  769. left: 0;
  770. top: 0;
  771. z-index: 111;
  772. }
  773. .tkCont{
  774. height: 60vh;
  775. margin-top: calc(40vh - 120rpx);
  776. }
  777. .caidanTkTop{
  778. width: 750rpx;
  779. height: 90rpx;
  780. background: #FFFFFF;
  781. border-radius: 24rpx 24rpx 0px 0px;
  782. }
  783. .caidanTkTop{
  784. display: flex;justify-content: space-between;
  785. }
  786. .topTopright{
  787. display: flex;
  788. padding-top: 29rpx;
  789. }
  790. .tkTopTitle{
  791. line-height: 90rpx;
  792. font-size: 30rpx;
  793. font-weight: 600;
  794. color: #3C3C3C;
  795. padding-left: 24rpx;
  796. }
  797. .empty{
  798. width: 86rpx;
  799. height: 42rpx;
  800. background: #EEEEEE;
  801. border-radius: 21rpx;
  802. text-align: center;
  803. color: #666666;
  804. font-size: 24rpx;
  805. line-height: 42rpx;
  806. }
  807. .close{
  808. color: #999999;
  809. font-size: 30rpx;
  810. padding-right: 30rpx;
  811. padding-left: 24rpx;
  812. }
  813. .tkMain{
  814. background: #F0F0F0;
  815. height: calc(60vh - 90rpx);
  816. }
  817. .tkMainSv{
  818. padding: 0 24rpx;
  819. width: 702rpx;
  820. height: calc(60vh - 90rpx);
  821. }
  822. .goodsItemRight{
  823. width: 520rpx;
  824. padding-left: 20rpx;
  825. display: flex;
  826. flex-direction:column;
  827. justify-content: space-between;
  828. }
  829. .goodsItemBottom{
  830. display: flex;
  831. justify-content: space-between;
  832. }
  833. .goodssalePrice{
  834. font-size: 32rpx;font-weight: 500;color: #FF4F00;
  835. }
  836. .goodsNum{
  837. font-size: 24rpx;font-weight: 400;color: #999999;
  838. }
  839. .top{
  840. /* background: #FF4F00; */
  841. display: flex;
  842. justify-content: space-between;
  843. /* padding: 30rpx 25rpx; */
  844. font-size: 28rpx;
  845. color: #FFFFFF;
  846. }
  847. .goodsItem{
  848. display: flex;
  849. padding: 15rpx 0;
  850. }
  851. .qingdanLine{
  852. background: #FFFFFF;
  853. margin-top: 20rpx;
  854. padding: 24rpx 20rpx;
  855. border-radius: 10rpx;
  856. }
  857. .brandLogo{
  858. width: 42rpx;
  859. height: 42rpx;
  860. }
  861. .topLeft{
  862. display: flex;
  863. }
  864. .carName{
  865. padding-left: 10rpx;
  866. width: 280rpx;
  867. }
  868. .topEdit{
  869. width: 22rpx;
  870. height: 22rpx;
  871. padding-top: 5px;
  872. padding-left: 10rpx;
  873. }
  874. .topRight{
  875. display: flex;
  876. }
  877. .topInput{
  878. font-size: 28rpx;
  879. color: #FFFFFF;
  880. text-align: right;
  881. padding-top: 3rpx;
  882. }
  883. .maintainrecommend{
  884. padding: 30rpx 24rpx;
  885. display: flex;
  886. justify-content: space-between;
  887. border-bottom: 2rpx solid #EEEEEE;
  888. }
  889. .recommendTxt{
  890. color: #3C3C3C;
  891. font-size: 30rpx;
  892. font-weight: 600;
  893. }
  894. .manual{
  895. width: 119rpx;
  896. height: 40rpx;
  897. border-radius: 20rpx;
  898. border: 2rpx solid #F19D01;
  899. text-align: center;
  900. line-height: 40rpx;
  901. font-size: 22rpx;
  902. color: #F19D01;
  903. }
  904. .bottom{
  905. position: fixed;
  906. left: 0;
  907. bottom: 0;
  908. width: 100vw;
  909. height: 120rpx;
  910. background: #FFFFFF;
  911. box-shadow: 0px -2px 20px 0px rgba(153, 153, 153, 0.2);
  912. }
  913. .main{
  914. display: flex;
  915. height: calc(100vh - 410rpx);
  916. }
  917. .mainscrollView{
  918. height: calc(100vh - 410rpx);
  919. }
  920. /* #ifdef MP-WEIXIN */
  921. .main{
  922. display: flex;
  923. height: calc(100vh - 310rpx);
  924. }
  925. .mainscrollView{
  926. height: calc(100vh - 310rpx);
  927. }
  928. /* #endif */
  929. .mainLeft{
  930. width: 146rpx;
  931. background: #F5F5F5;
  932. }
  933. .mainRight{
  934. width: 604rpx;background: #FFFFFF;
  935. }
  936. .mainLeftLine{
  937. color: #3C3C3C;
  938. padding: 30rpx 20rpx;
  939. font-size: 24rpx;
  940. text-align: center;
  941. position: relative;
  942. }
  943. .lineNum{
  944. position: absolute;
  945. background: #FF270A;
  946. width: 40rpx;
  947. height: 26rpx;
  948. text-align: center;
  949. line-height: 26rpx;
  950. font-size: 20rpx;
  951. color: #FFFFFF;
  952. border-radius: 13rpx;
  953. top: 10rpx;
  954. right: 10rpx;
  955. }
  956. .lineLeftActive{
  957. background: #FFFFFF;
  958. }
  959. .nock{
  960. width: 22rpx;
  961. height: 22rpx;
  962. border-radius: 50%;
  963. border:2px solid #AEAEAE;
  964. margin-top: 2rpx;
  965. margin-right: 10rpx;
  966. }
  967. .imgPrivacy{
  968. width: 28rpx;
  969. height: 28rpx;
  970. margin-top: 2rpx;
  971. margin-right: 10rpx;
  972. }
  973. .mainRightLine{
  974. padding: 20rpx 20rpx 0 20rpx;
  975. background: #FFFFFF;
  976. }
  977. .contTop{
  978. display: flex;
  979. justify-content: space-between;
  980. }
  981. .listPackgeName{
  982. font-size: 26rpx;
  983. font-family: PingFangSC-Regular, PingFang SC;
  984. font-weight: 600;
  985. color: #3C3C3C;
  986. }
  987. .listPackgeMs{
  988. font-size: 22rpx;
  989. font-family: PingFangSC-Regular, PingFang SC;
  990. font-weight: 400;
  991. color: #999999;
  992. padding-top: 5rpx;
  993. }
  994. .contZk{
  995. border-bottom: 1px solid #EEEEEE;
  996. padding-bottom: 20rpx;
  997. }
  998. .goodsImg{
  999. width: 120rpx;
  1000. height: 120rpx;
  1001. border-radius: 11rpx;
  1002. }
  1003. .goodsItemLIne{
  1004. display: flex;
  1005. padding-top: 20rpx;
  1006. padding-bottom: 20rpx;
  1007. }
  1008. .goodsCont{
  1009. display: flex;
  1010. flex-direction:column;
  1011. justify-content: space-between;
  1012. padding-left: 20rpx;
  1013. }
  1014. .goodsContTop{
  1015. display: flex;
  1016. justify-content: space-between;
  1017. width: 400rpx;
  1018. }
  1019. .goodsItemName{
  1020. font-size: 26rpx;
  1021. font-weight: 400;
  1022. color: #3C3C3C;
  1023. width: 300rpx;
  1024. }
  1025. .salePrice{
  1026. font-size: 32rpx;
  1027. font-weight: 500;
  1028. color: #FF4F00;
  1029. }
  1030. .replace{
  1031. width: 75rpx;
  1032. height: 37rpx;
  1033. border-radius: 19rpx;
  1034. border: 2rpx solid #B9B9B9;
  1035. text-align: center;
  1036. line-height: 35rpx;
  1037. color: #707070;
  1038. font-size: 22rpx;
  1039. }
  1040. .contZkMain{
  1041. padding-top: 20rpx;
  1042. }
  1043. .asa{
  1044. width: 44rpx;
  1045. height: 44rpx;
  1046. line-height: 44rpx;
  1047. text-align: center;
  1048. background: #F4F5F7;
  1049. font-size: 30rpx;
  1050. }
  1051. .goodsCOntBOttom{
  1052. display: flex;
  1053. justify-content: space-between;
  1054. }
  1055. .as{
  1056. display: flex;
  1057. }
  1058. .goodsPrice{
  1059. display: flex;justify-content: space-between;
  1060. padding-top: 10rpx;
  1061. }
  1062. .goodsPriceNum{
  1063. color: #F8F8F8;
  1064. font-size: 28rpx;
  1065. }
  1066. .asNum{
  1067. font-size: 24rpx;color: #333333;
  1068. padding: 0 18rpx;
  1069. line-height: 44rpx;
  1070. background: #F4F5F7;
  1071. margin-left: 1px;
  1072. margin-right: 1px;
  1073. }
  1074. .itemNum{
  1075. font-size: 24rpx;
  1076. font-weight: 400;
  1077. color: #999999;
  1078. }
  1079. .bottom{
  1080. display: flex;
  1081. justify-content: space-between;
  1082. }
  1083. .caidanImg{
  1084. width: 50rpx;
  1085. height: 50rpx;
  1086. }
  1087. .bottomLeft{
  1088. display: flex;
  1089. }
  1090. .caidan{
  1091. padding-left: 33rpx;
  1092. padding-top: 35rpx;
  1093. padding-right: 33rpx;
  1094. position: relative;
  1095. }
  1096. .total{
  1097. position: absolute;
  1098. width: 40rpx;
  1099. height: 26rpx;
  1100. background: #FF270A;
  1101. line-height: 26rpx;
  1102. text-align: center;
  1103. color: #FFFFFF;
  1104. font-size: 20rpx;
  1105. top: 25rpx;
  1106. right: 15rpx;
  1107. border-radius: 13rpx;
  1108. }
  1109. .heji1{
  1110. font-size: 24rpx;
  1111. font-weight: 500;
  1112. color: #666666;
  1113. }
  1114. .hejiNum{
  1115. font-size: 32rpx;
  1116. font-family: PingFangSC-Medium, PingFang SC;
  1117. font-weight: 500;
  1118. color: #FF4F00;
  1119. }
  1120. .hejiMs{
  1121. font-size: 24rpx;
  1122. padding-top: 5rpx;
  1123. color: #999999;
  1124. }
  1125. .heji{
  1126. padding-top: 23rpx;
  1127. }
  1128. .settlement{
  1129. width: 203rpx;
  1130. height: 74rpx;
  1131. background: #FF4F00;
  1132. border-radius: 37rpx;
  1133. text-align: center;
  1134. line-height: 74rpx;
  1135. font-size: 30rpx;
  1136. font-family: PingFangSC-Medium, PingFang SC;
  1137. font-weight: 500;
  1138. color: #FEFFFE;
  1139. margin-top: 23rpx;
  1140. margin-right: 32rpx;
  1141. }
  1142. .nodataImg{
  1143. width: 400rpx;
  1144. padding-top: 100rpx;
  1145. }
  1146. .noTxt{
  1147. font-size: 36rpx;
  1148. color: #999999;
  1149. padding-top: 50rpx;
  1150. }
  1151. .nodataBox{
  1152. text-align: center;
  1153. }
  1154. </style>