discountCardDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <template>
  2. <view class="box">
  3. <view style="width: 750rpx;height: 172rpx;" class="boxtop" :style="{background:'#'+themeColor}"></view>
  4. <view class="detailBg">
  5. <view class="detailTop">
  6. <view class="leftB" v-if="detail.discountType==1">
  7. <view class="use">¥<span class="use2">{{detail.actMoney}}</span></view>
  8. <view class="tiaojian">{{detail.whereMoney!==0?'满'+detail.whereMoney+'元可用':'满任意金额可用'}}</view>
  9. </view>
  10. <view v-if="detail.discountType!=1" class="leftB" style="display: flex;align-items: center;justify-content: center;">
  11. <image src="http://dmsphoto.66km.com.cn/thFiles/5340A784-FEE2-43FA-8ED1-C509FADFDBED.png"
  12. mode="" style="width: 77rpx;height:48rpx;"></image>
  13. </view>
  14. <view class="centerB">
  15. <view class="name">
  16. <span class="djq" v-if="detail.discountType==1">代金券</span>
  17. <span class="djq" v-if="detail.discountType==2">商品券</span>
  18. <span class="djq" v-if="detail.discountType==3">服务券</span>
  19. <span>{{detail.actName}}</span>
  20. </view>
  21. <view class="time" v-if="detail.startTime">
  22. 有效期:{{detail.startTime.slice(0,10)}}至{{detail.endTime.slice(0,10)}}</view>
  23. <view class="time" v-else>有效期:领取后{{detail.endOffsetDays}}天</view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="comtentBox">
  28. <view style="margin-bottom: 30rpx;">
  29. <view style="display: flex;justify-content: space-between;">
  30. <view class="titleBox">
  31. <image src="../../static/img/icon_youhui_red.png" mode="" class="redPoint"></image>
  32. <view class="title">适用门店</view>
  33. </view>
  34. <view v-if="detail.shopList.length" @click="spShopS" style="color: #666666;font-size: 24rpx;line-height: 24rpx;display: flex;">
  35. {{detail.shopList.length}}家门店通用
  36. <image src="../../static/img/little_rightArrow.png" mode="" style="width: 24rpx;height: 24rpx;"></image>
  37. </view>
  38. </view>
  39. <view v-if="detail.shopList.length">
  40. <view class="shopline" >
  41. <view class="newdistance" v-if="detail.shopList[0].distance&&detail.shopList[0].distance!= '0.00'">
  42. <image src="../../static/img2/dh.png" mode="" class="dhImg"></image>
  43. <view style="padding-top: 6rpx;"><span >{{detail.shopList[0].distance}}km</span></view>
  44. </view>
  45. <view class="shoplineLeft">
  46. <image :src="detail.shopList[0].doorImg1" mode="" class="shopImg" v-if="detail.shopList[0].doorImg1"></image>
  47. <image :src="detail.shopList[0].doorImg2" mode="" class="shopImg" v-else-if="detail.shopList[0].doorImg2"></image>
  48. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  49. </view>
  50. <view class="shopright">
  51. <view style="width: 410rpx;">
  52. <view class="shopTop">
  53. <view class="shopName">{{detail.shopList[0].shopName}}</view>
  54. </view>
  55. </view>
  56. <view class="shopTime">营业时间:<span v-if="detail.shopList[0].startTime">{{detail.shopList[0].startTime}}</span> - <span
  57. v-if="detail.shopList[0].endTime">{{detail.shopList[0].endTime}}</span> </view>
  58. <view class="shopBottomLeft">
  59. <span class="shopaddress"
  60. v-if="detail.shopList[0].address">{{detail.shopList[0].provinceName}}{{detail.shopList[0].cityName}}{{detail.shopList[0].areaName}}{{detail.shopList[0].address}}</span>
  61. <!-- <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span> -->
  62. </view>
  63. <view class="shopdhBox">
  64. <view class="shopcall" @click.stop="goMap(detail.shopList[0])">
  65. <image class="shopcallIcon" src="../../static/img2/dhjt.png" mode=""></image>
  66. <view class="shopcallTxt">导航</view>
  67. </view>
  68. <view class="shopcall" @click.stop="makePhoneCall(detail.shopList[0].contactorPhone)">
  69. <image class="shopcallIcon" src="../../static/img2/call.png" mode=""></image>
  70. <view class="shopcallTxt">电话</view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. <view>
  78. <view class="titleBox">
  79. <image src="../../static/img/icon_youhui_red.png" mode="" class="redPoint"></image>
  80. <view class="title">使用说明</view>
  81. </view>
  82. <view style="font-size: 20rpx;" v-if="detail.couContent" v-html="detail.couContent"></view>
  83. <view v-else class="content">暂无</view>
  84. </view>
  85. </view>
  86. <view class="comtentBox" v-if="detail.usedState==1">
  87. <view class="titleBox">
  88. <image src="../../static/img/icon_youhui_red.png" mode="" class="redPoint"></image>
  89. <view class="title">使用记录</view>
  90. </view>
  91. <view class="couponCodeBox">
  92. <view class="couponCodeYd"></view>
  93. <view class="ouponCode">{{detail.couponCode}}</view>
  94. <view class="couponCodeUse">已使用</view>
  95. </view>
  96. <view class="couponCodeLine">
  97. <view class="couponCodeLeft">核销时间:</view>
  98. <view class="couponCodeLineRight">{{detail.usedTime}}</view>
  99. </view>
  100. <view class="couponCodeLine">
  101. <view class="couponCodeLeft">核销门店:</view>
  102. <view class="couponCodeLineRight">{{detail.usedShopName}}</view>
  103. </view>
  104. </view>
  105. <view style="height: 120rpx;"></view>
  106. <view class="useBox" v-if="detail.state==0">
  107. <view class="useBtn" @click="hxHide">去使用</view>
  108. </view>
  109. <!-- 核销码 -->
  110. <view class="authorizBox" v-if="hxShow" @click="hxclose">
  111. <view class="hxBox" @click.stop="">
  112. <view class="chBox">
  113. <img src="../../static/timg/chahao.png" alt="" class="chahaoImg" @click="hxclose"/>
  114. </view>
  115. <view class="hxName">{{detail.actName}}</view>
  116. <view class="hxTime" v-if="detail.startTime">
  117. 有效期:{{detail.startTime.slice(0,10)}}至{{detail.endTime.slice(0,10)}}</view>
  118. <view class="hxTime" v-else>有效期:领取后{{detail.endOffsetDays}}天</view>
  119. <view style="display: flex;justify-content: center;padding-top:50rpx;">
  120. <tki-qrcode cid="qrcode1" ref="qrcode" :val="detail.couponCode" :size="400" :unit="unit"
  121. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  122. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  123. </view>
  124. <view class="couponCode">{{detail.couponCode}}</view>
  125. <view class="couponCodeTs">请到店出示券码即可开始服务</view>
  126. </view>
  127. </view>
  128. <!-- 适用门店 -->
  129. <view class="authorizBox" v-if="spShopShow" @click="spShopHide">
  130. <view class="syShopBox" @click.stop="">
  131. <view class="chBox2">
  132. <view class="syShopTitle">适用门店</view>
  133. <img src="../../static/timg/chahao.png" alt="" class="chahaoImg" @click="spShopHide"/>
  134. </view>
  135. <view class="spShopLineBox">
  136. <view class="spShopLine" v-for="(item,index) in detail.shopNames.split(',')">{{item}}</view>
  137. </view>
  138. </view>
  139. </view>
  140. <!-- 手机号授权 -->
  141. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  142. <view class="authorizCont" @click.stop="">
  143. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  144. <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  145. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  146. </view>
  147. <view style="text-align: center;padding-top: 56rpx;">
  148. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  149. </view>
  150. </view>
  151. </view>
  152. </template>
  153. <script>
  154. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  155. export default {
  156. components: {
  157. tkiQrcode,
  158. },
  159. data() {
  160. return {
  161. id: '',
  162. detail: {},
  163. themeColor:'',
  164. type:'',
  165. userInfo:'',
  166. ext:'',
  167. wxOpenData:'',
  168. authorizShow:false,
  169. onval: true, // val值变化时自动重新生成二维码
  170. loadMake: true, // 组件加载完成后自动生成二维码
  171. val: '二维码', // 要生成的二维码值
  172. unit: 'upx', // 单位
  173. background: '#b4e9e2', // 背景色
  174. foreground: '#309286', // 前景色
  175. pdground: '#262637', // 角标色
  176. icon: '', // 二维码图标
  177. iconsize: 40, // 二维码图标大小
  178. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  179. src: '', // 二维码生成后的图片地址或base64
  180. hxShow:false,
  181. spShopShow:false,
  182. }
  183. },
  184. onLoad(opt) {
  185. this.themeColor = uni.getStorageSync("themeColor");
  186. this.id = opt.id;
  187. this.type=opt.type;
  188. this.userInfo=this.$store.state.userInfo;
  189. this.ext=this.$common.getExtStoreId();
  190. if(this.userInfo){
  191. if (this.id) {
  192. this.getData();
  193. }
  194. }else{
  195. this.$common.automaticlogin().then(val => {
  196. this.userInfo=this.$store.state.userInfo;
  197. this.wxOpenData=this.$store.state.wxOpenData;
  198. this.themeColor = uni.getStorageSync("themeColor");
  199. if (this.id) {
  200. this.getData();
  201. }
  202. if(!this.userInfo){
  203. this.authorizShow=true
  204. }
  205. })
  206. }
  207. //this.getData();
  208. },
  209. methods: {
  210. spShopHide(){
  211. this.spShopShow=false;
  212. },
  213. spShopS(){
  214. this.spShopShow=true;
  215. },
  216. hxHide(){
  217. this.hxShow=true;
  218. },
  219. hxclose(){
  220. this.hxShow=false;
  221. },
  222. getData() {
  223. uni.showLoading({
  224. title: '加载中'
  225. });
  226. if(this.type==2){
  227. var url='opencoupon/detailsCouponDetails';
  228. var params={
  229. id: this.id,
  230. custId:this.$store.state.wxOpenData.loginInfo.customerInfo.id
  231. }
  232. }else{
  233. var url='opencoupon/detailsCoupon'
  234. var params={
  235. id: this.id,
  236. }
  237. }
  238. this.$http(url, params, 'GET').then(res => {
  239. uni.hideLoading();
  240. if(res.data.couContent){
  241. res.data.couContent=res.data.couContent.replaceAll('font-size:15px', 'font-size:12px');
  242. res.data.couContent=res.data.couContent.replaceAll('font-size: 15px', 'font-size:12px');
  243. res.data.couContent=res.data.couContent.replaceAll('font-size:14px', 'font-size:12px');
  244. }
  245. this.detail = res.data;
  246. })
  247. },
  248. }
  249. }
  250. </script>
  251. <style scoped>
  252. .djq{
  253. background: linear-gradient(128deg, #FFE4C5 0%, #FDC692 100%);
  254. border-radius: 4rpx;
  255. height: 34rpx;
  256. width: 76rpx;
  257. line-height: 34rpx;
  258. text-align: center;
  259. color: #2B2219;
  260. font-size: 20rpx;
  261. margin-top: 4rpx;
  262. margin-right: 10rpx;
  263. }
  264. .titleBox span{
  265. font-size: 12px;
  266. }
  267. .centerB{
  268. padding-top: 10rpx;
  269. }
  270. .syShopBox{
  271. background: #FFFFFF;
  272. border-radius: 32rpx 32rpx 0rpx 0rpx;
  273. width: 750rpx;
  274. height: 80vh;
  275. margin-top: 20vh;
  276. }
  277. .spShopLineBox{
  278. height: calc(80vh - 90rpx);
  279. overflow-y: scroll;
  280. }
  281. .spShopLine{
  282. color: #333333;font-size: 26rpx;
  283. padding: 26rpx 30rpx;
  284. border-bottom: 1px solid #EEEEEE;
  285. }
  286. .chBox2{
  287. display: flex;justify-content: space-between;
  288. padding-left: 30rpx;
  289. padding-top: 30rpx;
  290. padding-right: 24rpx;
  291. padding-bottom: 10rpx;
  292. }
  293. .syShopTitle{
  294. font-weight: 500;
  295. color: #333333;
  296. font-size: 30rpx;
  297. line-height: 42rpx;
  298. }
  299. .hxBox{
  300. width: 750rpx;
  301. height: 70vh;
  302. margin-top: 30vh;
  303. background: #FFFFFF;
  304. border-radius: 32rpx 32rpx 0rpx 0rpx;
  305. }
  306. .couponCode{
  307. font-weight: 500;
  308. color: #333333;
  309. font-size: 30rpx;
  310. padding-top: 40rpx;
  311. text-align: center;
  312. }
  313. .couponCodeTs{
  314. color: #666666;font-size: 24rpx;
  315. text-align: center;padding-top: 10rpx;
  316. }
  317. .hxName{
  318. font-weight: 500;
  319. color: #333333;
  320. line-height: 42rpx;
  321. font-size: 30rpx;
  322. text-align: center;
  323. padding-top: 26rpx;
  324. }
  325. .hxTime{
  326. color: #3C3C3C;font-size: 24rpx; text-align: center;padding-top: 16rpx;
  327. padding-bottom: 50rpx;
  328. border-bottom: 1px dashed #C3C3C3;
  329. }
  330. .chahaoImg{
  331. width: 36rpx;height: 36rpx;
  332. }
  333. .chBox{
  334. text-align: right;
  335. padding-top: 33rpx;
  336. padding-right: 24rpx;
  337. }
  338. .couponCodeBox{
  339. display: flex;
  340. padding-top: 15rpx;
  341. }
  342. .useBox{
  343. height: 120rpx;
  344. width: 750rpx;
  345. position: fixed;
  346. left: 0;
  347. bottom: 0;
  348. background: #FFFFFF;
  349. box-shadow: 0rpx -2rpx 10rpx 0rpx rgba(153,153,153,0.2);
  350. }
  351. .useBtn{
  352. width: 690rpx;
  353. height: 74rpx;
  354. background: #EC0F0A;
  355. border-radius: 37rpx;
  356. font-weight: 500;
  357. color: #FFFFFF;
  358. font-size: 30rpx;
  359. text-align: center;
  360. line-height: 74rpx;
  361. margin-top: 23rpx;
  362. margin-left: 30rpx;
  363. }
  364. .couponCodeYd{
  365. width: 10rpx;
  366. height: 10rpx;
  367. background: #EC0F0A;
  368. border-radius: 50%;
  369. margin-top: 10rpx;
  370. margin-right: 12rpx;
  371. }
  372. .ouponCode{
  373. color: #666666;
  374. line-height: 33rpx;
  375. font-size: 24rpx;
  376. text-decoration: line-through;
  377. }
  378. .couponCodeUse{
  379. width: 86rpx;
  380. height: 32rpx;
  381. border-radius: 4rpx;
  382. border: 1rpx solid #DDDDDD;
  383. color: #999999;
  384. line-height: 32rpx;
  385. text-align: center;
  386. font-size: 22rpx;
  387. margin-left: 12rpx;
  388. }
  389. .couponCodeLine{
  390. padding-left: 20rpx;display: flex;
  391. color: #999999;font-size: 24rpx;
  392. line-height: 33rpx;padding-top: 8rpx;
  393. }
  394. .boxtop{
  395. background: #EC0F0A;
  396. }
  397. .box {
  398. min-height: 100vh;
  399. background: #F4F5F7;
  400. }
  401. .detailBg {
  402. margin: -100rpx 24rpx 0rpx;
  403. background-color: #FFFFFF;
  404. border-radius: 10rpx;
  405. padding: 40rpx 20rpx;
  406. }
  407. .detailTop {
  408. display: flex;
  409. justify-content: flex-start;
  410. }
  411. .use {
  412. text-align: center;
  413. font-size: 26rpx;
  414. color: #EC0F0A;
  415. }
  416. .use2 {
  417. font-size: 40rpx;
  418. font-weight: 500;
  419. color: #EC0F0A;
  420. line-height: 56rpx;
  421. }
  422. .used {
  423. font-size: 26rpx;
  424. color: #666666;
  425. }
  426. .used2 {
  427. font-size: 40rpx;
  428. font-weight: 500;
  429. color: #666666;
  430. line-height: 56rpx;
  431. }
  432. .tiaojian {
  433. font-size: 24rpx;
  434. color: #666666;
  435. }
  436. .name {
  437. line-height: 42rpx;
  438. font-size: 30rpx;
  439. display: flex;
  440. font-weight: 500;
  441. color: #333333;
  442. }
  443. .time {
  444. font-size: 24rpx;
  445. color: #666666;
  446. }
  447. .leftB {
  448. margin-right: 15rpx;
  449. }
  450. .comtentBox {
  451. margin: 20rpx 24rpx;
  452. background-color: #FFFFFF;
  453. border-radius: 10rpx;
  454. padding: 20rpx;
  455. }
  456. .titleBox {
  457. display: flex;
  458. align-items: center;
  459. }
  460. .redPoint {
  461. width: 18rpx;
  462. height: 18rpx;
  463. margin-right: 10rpx;
  464. }
  465. .title {
  466. font-size: 30rpx;
  467. color: #333333;
  468. font-weight: bold;
  469. }
  470. .content {
  471. font-size: 26rpx;
  472. color: #666666;
  473. margin-top: 16rpx;
  474. margin-left: 28rpx;
  475. }
  476. .authorizBox{
  477. width: 100vw;
  478. height: 100vh;
  479. background: rgba(0, 0, 0, 0.5);
  480. position: fixed;
  481. top: 0;
  482. left: 0;
  483. }
  484. .authorizCont{
  485. margin-top: 30vh;
  486. width: 564rpx;
  487. height: 408rpx;
  488. background: #FFFFFF;
  489. border-radius: 24rpx;
  490. margin-left: 93rpx;
  491. position: relative;
  492. }
  493. .authorizCloseImg{
  494. width: 62rpx;
  495. height: 62rpx;
  496. }
  497. .sqLogoBox{
  498. width: 180rpx;
  499. height: 180rpx;
  500. background: #FFFFFF;
  501. border-radius: 90rpx;
  502. text-align: center;
  503. position: absolute;
  504. top: -50rpx;
  505. left: 192rpx;
  506. }
  507. .authorizName{
  508. color: #333333;
  509. line-height: 42rpx;
  510. font-size: 30rpx;
  511. text-align: center;
  512. padding-top: 58rpx;
  513. }
  514. .authorizMs{
  515. color: #999999;
  516. line-height: 36rpx;
  517. font-size: 26rpx;
  518. width: 452rpx;
  519. padding-top: 24rpx;
  520. text-align: center;
  521. margin-left: 56rpx;
  522. }
  523. .authorizContbutton{
  524. width: 422rpx;
  525. height: 88rpx;
  526. background: #EC0F0A;
  527. border-radius: 44rpx;
  528. line-height: 88rpx;
  529. text-align: center;
  530. font-size:30rpx;
  531. color: #FFFFFF;
  532. margin-top: 62rpx;
  533. margin-left:71rpx;
  534. }
  535. .shopBoxpt{
  536. margin-top: 20rpx;
  537. }
  538. button::after{
  539. border: none;
  540. }
  541. button{
  542. position: relative;
  543. display: block;
  544. margin-left: 0;
  545. margin-right: 0;
  546. padding-left: 0px;
  547. padding-right: 0px;
  548. box-sizing: border-box;
  549. // font-size: 18px;
  550. text-align: center;
  551. text-decoration: none;
  552. // line-height: 1;
  553. line-height: 1.35;
  554. // border-radius: 5px;
  555. -webkit-tap-highlight-color: transparent;
  556. overflow: hidden;
  557. color: #000000;
  558. background-color: #fff;
  559. height: 100%;
  560. }
  561. .shopline {
  562. margin: 20rpx 24rpx 20rpx;
  563. /* padding: 20rpx; */
  564. background-color: #FFFFFF;
  565. border-radius: 10rpx;
  566. position: relative;
  567. display: flex;
  568. }
  569. .newdistance{
  570. position: absolute;top: 22rpx;right: 18rpx;
  571. text-align: center;
  572. font-size: 22rpx;
  573. color: #666666;
  574. }
  575. .shopbox {
  576. padding: 0 16rpx;
  577. }
  578. .shopImg {
  579. width: 146rpx;
  580. height: 146rpx;
  581. border-radius: 10rpx;
  582. }
  583. .shopCallImg {
  584. width: 38rpx;
  585. height: 46rpx;
  586. }
  587. .shopTop {
  588. display: flex;
  589. justify-content: space-between;
  590. width: 510rpx;
  591. }
  592. .shopright {
  593. padding-left: 20rpx;
  594. }
  595. .shopName {
  596. width: 450rpx;
  597. white-space: nowrap;
  598. overflow: hidden;
  599. text-overflow: ellipsis;
  600. }
  601. .shopScore1 {
  602. font-size: 36rpx;
  603. font-weight: bold;
  604. color: #FF4F00;
  605. height: 50rpx;
  606. line-height: 50rpx;
  607. }
  608. .shopScore11 {
  609. font-size: 22rpx;
  610. color: #FF4F00;
  611. margin-right: 14rpx;
  612. }
  613. .shopScore2 {
  614. font-size: 22rpx;
  615. color: #666666;
  616. margin-right: 14rpx;
  617. padding: 8rpx 0;
  618. }
  619. .shopScore3 {
  620. font-size: 22rpx;
  621. color: #333333;
  622. padding-left: 20rpx;
  623. }
  624. .shopaddress {
  625. width: 400rpx;
  626. /* 隐藏文字显示 ...不换行 */
  627. overflow: hidden;
  628. text-overflow: ellipsis;
  629. white-space: nowrap;
  630. color: #999999;
  631. }
  632. .shopCont {
  633. padding-left: 22rpx;
  634. width: 520rpx;
  635. }
  636. .shopName {
  637. font-size: 32rpx;
  638. font-weight: bold;
  639. color: #222222;
  640. line-height: 40rpx;
  641. width: 450rpx;
  642. white-space: nowrap;
  643. overflow: hidden;
  644. text-overflow: ellipsis;
  645. }
  646. .shopTime {
  647. color: #666666;
  648. font-size: 26rpx;
  649. padding-top: 4rpx;
  650. }
  651. .addressBox {
  652. color: #666666;
  653. font-size: 22rpx;
  654. }
  655. .shopaddress {
  656. width: 400rpx;
  657. /* 隐藏文字显示 ...不换行 */
  658. overflow: hidden;
  659. text-overflow: ellipsis;
  660. white-space: nowrap;
  661. color: #999999;
  662. }
  663. .shopBottomLeft {
  664. font-size: 25rpx;
  665. color: #666666;
  666. line-height: 30rpx;
  667. padding-top: 10rpx;
  668. display: flex;
  669. justify-content: space-between;
  670. padding-right: 10rpx;
  671. }
  672. .shopdhBox{
  673. display: flex;padding-top: 20rpx;
  674. justify-content: space-between;
  675. }
  676. .shopcall{
  677. display: flex;
  678. }
  679. .shopcallIcon{
  680. width: 26rpx;height: 26rpx;margin-top: 2rpx;
  681. }
  682. .shopcallTxt{
  683. font-size: 24rpx;
  684. color: #222222;
  685. line-height: 33rpx;padding-left: 8rpx;
  686. }
  687. </style>