jkDetail.vue 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915
  1. <template>
  2. <view class="content">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'活动详情'"></homenav>
  4. <view class="top">
  5. <img :src="mainImg" alt="" class="topimg" mode="widthFix">
  6. </view>
  7. <view class="cont" v-if="info">
  8. <view class="name">
  9. <view class="ptNameBz" v-if="info.groupType">
  10. {{info.groupNumber}}人团
  11. </view>
  12. <view style="width: 550rpx;"> {{info.activityName}}</view>
  13. </view>
  14. <view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
  15. <view class="name3">{{info.activityContent}}</view>
  16. </view>
  17. <!-- 拼团 -->
  18. <view class="ptBox" v-if="info.groupList&&info.groupList.length>0">
  19. <view class="ptBoxtop">
  20. <view class="ptNum">{{info.groupList.length}}人正在拼团,可直接参与</view>
  21. <view class="ptMore" @click="ptMore">
  22. <sapn>查看更多</sapn>
  23. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  24. </view>
  25. </view>
  26. <view class="ptLine" v-for="(item,index) in info.groupList" v-if="index<3">
  27. <view class="FirstMobilePhone">{{item.FirstMobilePhone?item.FirstMobilePhone:'***'}}</view>
  28. <view class="ptlineRight">
  29. <view class="ptlinexx">
  30. <view class="DiffBNumber">还差 <span>{{item.DiffBNumber}}人</span>拼成 </view>
  31. <view class="ptdjs">剩余{{item.EndTime | limitTimeFilter }}</view><!-- | limitTimeFilter -->
  32. </view>
  33. <button open-type="share" class=" shareBtn" :data-obj="item" v-if="item.IfMyself">
  34. <view class="ptBtn" >邀请好友 </view>
  35. </button>
  36. <view class="ptBtn" @click="join(item)" v-else>去拼团 </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="couponPackageData" v-if="info.couponPackageName">
  41. <view class="couponPackageTitle">{{info.couponPackageName}}</view>
  42. <view class="linecouponCont" v-for="item in info.couponList">
  43. <view class="linecouponContLeft">
  44. <view class="couponType" v-if="item.discountType==1">满减券</view>
  45. <view class="couponType" v-if="item.discountType==2">商品券</view>
  46. <view class="couponType" v-if="item.discountType==3">服务券</view>
  47. <view class="couponName">{{item.actName}}</view>
  48. </view>
  49. <view class="couponNum">x{{item.actQty}}</view>
  50. </view>
  51. </view>
  52. <view class="shopBox">
  53. <view class="shopBoxTop">
  54. <view class="shopMs">活动门店</view>
  55. <view class="shopTy" @click="useShow">
  56. <view class="shopTyTxt">{{info.shopCount}}家门店通用</view>
  57. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  58. </view>
  59. </view>
  60. <view class="shopCont">
  61. <view class="shopContLeft">
  62. <view class="shopName">{{shopInfo.shopName}}</view>
  63. <view class="shopaddress">{{shopInfo.address?shopInfo.address:''}}</view>
  64. </view>
  65. <view class="shopContRight">
  66. <view class="shopContRightLine" @click="getmap">
  67. <image src="../../static/timg/icon_map.png" alt="" class="shopRightIcon"></image>
  68. <view class="shopRightTxt">地图</view>
  69. </view>
  70. <view class="shopRightSx"></view>
  71. <view class="shopContRightLine" @click="call">
  72. <image src="../../static/timg/icon_phone.png" alt="" class="shopRightIcon"></image>
  73. <view class="shopRightTxt">电话</view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. <!-- 多少人报名 -->
  79. <view class="signupBox" v-if="info.signUserList.length">
  80. <view class="signupTop">
  81. <span class="signupTops1">{{info.sumNum}}</span>
  82. <span class="signupTops1">人已报名</span>
  83. </view>
  84. <view class="signupCont">
  85. <view class="signupLine" v-for="(item,index) in info.signUserList">
  86. <view class="signupLineL">
  87. <img :src="item.headImg" alt="" class="signupLineLImg">
  88. <view class="signupLineLName" v-if="item.nickName!='null'">{{item.nickName?item.nickName:'微信用户'}}</view>
  89. <view class="signupLineLName" v-else>微信用户</view>
  90. </view>
  91. <view class="signupLineM">{{item.plateNumber?item.plateNumber:''}}</view>
  92. <view class="signupLineR">{{item.signTime}}</view>
  93. </view>
  94. </view>
  95. </view>
  96. <!-- 多少人报名 -->
  97. <!-- 多少人看过 -->
  98. <view class="signupBox" v-if="info.lookCount">
  99. <view class="signupTop">
  100. <span class="signupTops1">{{info.lookCount}}</span>
  101. <span class="signupTops1">人看过</span>
  102. </view>
  103. <!-- <view class="seeBox">
  104. <view class="seeLine" v-for="(item,index) in 15">
  105. <img src="http://dmsphoto.66km.com.cn/marketing//accompany/3885B510-6405-4A5E-BD64-B6C09CEE070E.jpg" alt="" class="signupLineLImg">
  106. </view>
  107. </view> -->
  108. </view>
  109. <view class="detailBOx" v-if="dimgList.length>0">
  110. <view class="detailTitle">活动详情</view>
  111. <view class="detailImgBox" v-for="(item,index) in dimgList">
  112. <img :src="item.img" alt="" class="detailImg" mode="widthFix">
  113. </view>
  114. </view>
  115. <view class="companyName">©{{info.supportInfo}}</view>
  116. <view style="height: 200rpx;padding-bottom: constant(safe-area-inset-bottom);
  117. padding-bottom: env(safe-area-inset-bottom);"></view>
  118. <view class="bottom">
  119. <view class="timeTbox" v-if="!activityEnd">
  120. <view class="timeviewTxt" v-if="activityNoOpen"> 距开始</view>
  121. <view class="timeviewTxt" v-if="!activityNoOpen"> 距结束</view>
  122. <view class="timeK">{{shengyuD}}</view>
  123. <view class="timeviewTxt" > 天</view>
  124. <view class="timeK">{{shengyuH}}</view>
  125. <view class="timeviewTxt"> 时</view>
  126. <view class="timeK">{{shengyuM}}</view>
  127. <view class="timeviewTxt" > 分</view>
  128. </view>
  129. <view class="bottomBtnBox">
  130. <view class="bottomBtnBoxLeft" @click="shareShowzs">
  131. <image src="../../static/timg/share.png" alt="" class="shareIcon"></image>
  132. <view class="shareTxt">分享</view>
  133. </view>
  134. <!-- <button open-type="share" class="bottomBtnBoxLeft shareBtn" >
  135. <image src="../../static/timg/share.png" mode="" class="shareIcon"></image>
  136. <view class="shareTxt">分享</view>
  137. </button> -->
  138. <!-- 状态1未开始 2进行中3已结束 -->
  139. <view class="bottomBtn" v-if="info.state==2&&info.groupType!=1" @click="signUp" :style="{background:'#'+themeColor}">
  140. <span v-if="info.payType==1">¥{{info.money}} &nbsp; 立即抢购</span>
  141. <span v-else>立即报名</span>
  142. </view>
  143. <view class="bottomPtBox" v-if="info.state==2&&info.groupType==1" >
  144. <view class="separate" @click="signUp">
  145. <view class="separateTop">¥{{info.money}}</view>
  146. <view class="separateTxt">单独购买</view>
  147. </view>
  148. <view class="groupBtn" @click="groupFn">
  149. <view class="groupBtnTop">¥{{info.groupMoney}}</view>
  150. <view class="groupBtnTxt">发起拼团</view>
  151. </view>
  152. </view>
  153. <view class="bottomBtn2" v-if="info.state==1">报名未开始</view>
  154. <view class="bottomBtn2" v-if="info.state==3">报名已结束</view>
  155. </view>
  156. </view>
  157. <!-- 报名弹框 -->
  158. <view class="baomingBox" v-if="bmShow" @click="nobmshow">
  159. <view class="baomingCont applicationTk" @click.stop="" :style="{bottom: jpHeight}">
  160. <view class="bmTop">
  161. <view class="bmTitle">登记信息</view>
  162. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="nobmshow"></image>
  163. </view>
  164. <view style="padding: 0 24rpx;">
  165. <view class="bmshopLine" @click="showCkshop">
  166. <view class="bmshopname" v-if="!shopName">请选择门店</view>
  167. <view class="bmshopname" style="color: #333333;">{{shopName}}</view>
  168. <image src="../../static/timg/icon_arrow_right.png" alt="" class="bmshopjt"></image>
  169. </view>
  170. <!-- clWhere报名凭证1,2,3,4 1手机号2车牌号3姓名4单位 -->
  171. <view class="bmLine" v-if="info.clWhere.indexOf(1)!=-1" @click="focusState1cl">
  172. <!-- :focus="focusState1" --> <input type="number" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="mobilePhone" class="bmlineInput" placeholder="输入手机号" placeholder-style="color:#999999">
  173. </view>
  174. <view class="bmLine" v-if="info.clWhere.indexOf(2)!=-1" @click="focusState2cl">
  175. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="plateNumber" class="bmlineInput" placeholder="输入车牌号" placeholder-style="color:#999999">
  176. </view>
  177. <view class="bmLine" v-if="info.clWhere.indexOf(3)!=-1" @click="focusState3cl">
  178. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="customerName" class="bmlineInput" placeholder="输入姓名" placeholder-style="color:#999999">
  179. </view>
  180. <view class="bmLine" v-if="info.clWhere.indexOf(4)!=-1" @click="focusState4cl">
  181. <input type="text" :adjust-position="false" :hold-keyboard="true" @blur="inputBindBlur" @focus="inputBindFocus" v-model="unit" class="bmlineInput" placeholder="输入单位" placeholder-style="color:#999999">
  182. </view>
  183. </view>
  184. <view class="bmTtnBox">
  185. <view style="height: 1rpx;"></view>
  186. <view class="bmBtn" @click="submitOrder" :style="{background:'#'+themeColor}">
  187. <span v-if="groupOwner">
  188. ¥{{info.groupMoney}} &nbsp; {{groupOwner==1?'发起拼团':'立即拼团'}}
  189. </span>
  190. <span v-else>
  191. <span v-if="info.payType==1">¥{{info.money}} &nbsp; {{info.groupType==1?'单独购买':'立即抢购'}} </span>
  192. <span v-else>立即报名</span>
  193. </span>
  194. </view>
  195. </view>
  196. </view>
  197. </view>
  198. <!-- 门店弹框 -->
  199. <view class="baomingBox ckshopBox" v-if="ckshopShow">
  200. <view class="baomingCont">
  201. <view class="bmTop">
  202. <view class="bmTitle">选择门店</view>
  203. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop"></image>
  204. </view>
  205. <view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
  206. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  207. <view class="shoplineLeft">
  208. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  209. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  210. </view>
  211. <view class="shopright" style="padding-left: 20rpx;">
  212. <view class="shopTop">
  213. <view class="shopName">{{item.shopName}}</view>
  214. </view>
  215. <view class="brandsBg" v-if="item.brands">
  216. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  217. </view>
  218. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  219. v-if="item.endTime">{{item.endTime}}</span> </view>
  220. <view class="shopBottomLeft">
  221. <span class="shopaddress"
  222. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  223. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  224. </view>
  225. </view>
  226. </view>
  227. </view>
  228. </view>
  229. </view>
  230. <!-- 适用门店 -->
  231. <view class="baomingBox ckshopBox" v-if="useShopShow" @click="noShowShop2">
  232. <view class="baomingCont" @click.stop="">
  233. <view class="bmTop">
  234. <view class="bmTitle">选择门店</view>
  235. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop2"></image>
  236. </view>
  237. <view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
  238. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  239. <view class="shoplineLeft">
  240. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  241. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  242. </view>
  243. <view class="shopright" style="padding-left: 20rpx;">
  244. <view class="shopTop">
  245. <view class="shopName">{{item.shopName}}</view>
  246. </view>
  247. <view class="brandsBg" v-if="item.brands">
  248. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  249. </view>
  250. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  251. v-if="item.endTime">{{item.endTime}}</span> </view>
  252. <view class="shopBottomLeft">
  253. <span class="shopaddress"
  254. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  255. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  256. </view>
  257. </view>
  258. </view>
  259. </view>
  260. </view>
  261. </view>
  262. <image src="../../static/timg/mp3.png" class="mp3Img" @click="play()" v-if="!payshow&mp3Url!=''"></image>
  263. <image src=".../../static/timg/mp31.png" class="mp3Img" @click="play2()" id="bofang" v-if="payshow&mp3Url!=''"></image>
  264. <view class="shareBox" v-if="shareShow" @click="shareShowyc">
  265. <img :src="shareQrCode" alt=""style="width: 300rpx;height:300rpx">
  266. <view class="shareCont" >
  267. <button open-type="share" class=" shareBtn" >
  268. <image src="../../static/timg/icon_wxhy.png" mode="" class="shareBimg"></image>
  269. <view class="bottomTxtshare">分享</view>
  270. </button>
  271. <view @click="gowp">
  272. <img src="../../static/timg/icon_haibao.png" alt="" class="shareBimg">
  273. <view class="bottomTxtshare">生成海报</view>
  274. </view>
  275. </view>
  276. </view>
  277. <!-- 手机号授权 -->
  278. <view class="authorizBox" v-if="authorizShow" @click="authorizShowno">
  279. <view class="authorizCont" @click.stop="">
  280. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  281. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  282. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  283. </view>
  284. <view style="text-align: center;padding-top: 56rpx;">
  285. <image src="../../static/timg/icon_guanbi@2x.png" @click="authorizShowno" mode="" class="authorizCloseImg"></image>
  286. </view>
  287. </view>
  288. <!-- 拼单更多 -->
  289. <view class="baomingBox" v-if="djsMoreShow">
  290. <view class="djsCont">
  291. <view class="bmTop">
  292. <view class="bmTitle">{{info.groupList.length}}人正在拼团,可直接参与</view>
  293. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="ptMorehide"></image>
  294. </view>
  295. <view class="djsLineBox">
  296. <view class="ptLine" v-for="(item,index) in info.groupList">
  297. <view class="FirstMobilePhone">{{item.FirstMobilePhone?item.FirstMobilePhone:'***'}}</view>
  298. <view class="ptlineRight">
  299. <view class="ptlinexx">
  300. <view class="DiffBNumber">还差 <span>{{item.DiffBNumber}}人</span>拼成 </view>
  301. <view class="ptdjs">剩余{{item.EndTime | limitTimeFilter }}</view><!-- | limitTimeFilter -->
  302. </view>
  303. <button open-type="share" class=" shareBtn" :data-obj="item" v-if="item.IfMyself">
  304. <view class="ptBtn" >邀请好友 </view>
  305. </button>
  306. <view class="ptBtn" @click="join(item)" v-else>去拼团</view>
  307. </view>
  308. </view>
  309. </view>
  310. </view>
  311. </view>
  312. </view>
  313. </template>
  314. <script>
  315. import homenav from "../../components/homenav/nav.vue"
  316. let that;
  317. export default {
  318. components: {
  319. homenav
  320. },
  321. data() {
  322. return {
  323. info:'',
  324. type:'',
  325. shopNum:'',
  326. shopInfo:'',
  327. activityEnd:true,
  328. activityNoOpen:true,
  329. shengyuD:'',
  330. shengyuH:'',
  331. shengyuM:'',
  332. queryShopList:'',
  333. collectingID:'',
  334. bmShow:false,
  335. ckshopShow:false,
  336. mainImg:'',
  337. dimgList:[],
  338. shopName:'',
  339. ckshopdata:'',
  340. customerName:'',
  341. mobilePhone:'',
  342. unit:'',
  343. plateNumber:'',
  344. comment:'',
  345. userInfo:'',
  346. useShopShow:false,
  347. jpHeight:0,
  348. isPlay: false,
  349. mp3Url:'',
  350. payshow:false,
  351. jpNum:1,
  352. focusState1:false,
  353. focusState2:false,
  354. focusState3:false,
  355. focusState4:false,
  356. shareShow:false,
  357. ext:'',
  358. shareId:'',
  359. scene:'',
  360. themeColor:'',
  361. authorizShow:false,
  362. wxOpenData:'',
  363. ext:'',
  364. iStatusBarHeight:'',
  365. groupOwner:'',
  366. groupID:'',
  367. ticker: null,
  368. djsMoreShow:false,
  369. isgo:true,
  370. }
  371. },
  372. onLoad(opt) {
  373. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  374. console.log(opt)
  375. this.collectingID=opt.id;
  376. if(opt.shareId){
  377. this.shareId=opt.shareId
  378. }
  379. this.ext=this.$common.getExtStoreId();
  380. // opt.scene='10002'
  381. if(this.userInfo){
  382. this.userInfo=this.$store.state.userInfo;
  383. this.wxOpenData=this.$store.state.wxOpenData;
  384. this.themeColor = uni.getStorageSync("themeColor");
  385. this.queryGoodsLook()
  386. if(opt.scene&&opt.scene!='undefined'){
  387. this.scene=opt.scene;
  388. this.getShareParams()
  389. }else{
  390. //this.getInfo();
  391. this.queryActivityInfo();
  392. this.queryGoodsLook()
  393. }
  394. }else{
  395. this.$common.automaticlogin().then(val => {
  396. this.themeColor = uni.getStorageSync("themeColor");
  397. this.userInfo=this.$store.state.userInfo;
  398. this.wxOpenData=this.$store.state.wxOpenData;
  399. if(opt.scene&&opt.scene!='undefined'){
  400. this.scene=opt.scene;
  401. this.getShareParams()
  402. }else{
  403. //this.getInfo();
  404. this.queryActivityInfo();
  405. this.queryGoodsLook()
  406. }
  407. //this.queryActivityInfo();
  408. })
  409. }
  410. this.shopckList= uni.getStorageSync("shopckList");
  411. //this.ckmusic=uni.getStorageSync("ckmusic");
  412. //这一段是防止进入页面出去后再进来计时器重复启动
  413. if (this.ticker) {
  414. clearInterval(this.ticker);
  415. }
  416. /* uni.showShareMenu({
  417. withShareTicket: true,
  418. menus: ['shareAppMessage', 'shareTimeline'], // 自定义分享面板的菜单项
  419. }); */
  420. },
  421. onShow() {
  422. this.shopName=this.$store.state.ckshopInfo.shopName;
  423. this.ckshopdata=this.$store.state.ckshopInfo
  424. this.shopInfo=this.$store.state.ckshopInfo
  425. //console.log(this.shopInfo)
  426. },
  427. onPullDownRefresh(){
  428. //this.getInfo();
  429. this.queryActivityInfo();
  430. setTimeout(() => {
  431. uni.stopPullDownRefresh(); // 关闭下拉刷新
  432. }, 1000);
  433. },
  434. onHide(){
  435. this.bgmMusic.stop(()=>{
  436. console.log('背景音乐停止了');
  437. });
  438. if (this.ticker) {
  439. clearInterval(this.ticker);
  440. }
  441. },
  442. onUnload(){
  443. this.bgmMusic.stop()
  444. },
  445. methods: {
  446. ptMore(){
  447. this.djsMoreShow=true;
  448. },
  449. ptMorehide(){
  450. this.djsMoreShow=false;
  451. },
  452. beginTimer() { //这个计时器是每秒减去数组中指定字段的时间
  453. // console.log("??????????????????"+this.info.groupType)
  454. if(this.info.groupType){
  455. this.ticker = setInterval(() => {
  456. this.info.groupList= JSON.parse(JSON.stringify( this.info.groupList))
  457. /* for (let i = 0, len = this.info.groupList.length; i < len; i++) {
  458. const item = this.info.groupList[i];
  459. if (item.EndTime) {
  460. }
  461. } */
  462. }, 1000);
  463. }
  464. },
  465. setDate(time) {
  466. var t_s = Date.parse(new Date(time)); //转化为时间戳毫秒数
  467. // console.log(t_s)
  468. var newt=t_s - 1000; //设置新时间比旧时间少一秒
  469. return this.formatDate(newt)
  470. } ,
  471. formatDate(time) {
  472. let date = new Date(time);
  473. let YY = date.getFullYear();
  474. let MM = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
  475. let DD = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
  476. let hh = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
  477. let mm = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
  478. let ss = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
  479. // 这里可以修改返回的日期格式
  480. return YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss;
  481. },
  482. authorizShowno(){
  483. this.authorizShow=false
  484. },
  485. getShareParams(){
  486. this.$http('openMall/getShareParams', {
  487. scene:this.scene,
  488. },'GET').then(res => {
  489. this.collectingID=res.data.goodsID;
  490. this.shareId=res.data.operatorID
  491. this.queryActivityInfo();
  492. this.queryGoodsLook()
  493. })
  494. },
  495. gowp(){
  496. var time=''
  497. if(this.info.startTime){
  498. var time = this.info.startTime.slice(0,10) + '~' +this.info.endTime.slice(0,10)
  499. }else{
  500. }
  501. var sellingPoint='';
  502. if(this.info.activityContent){
  503. sellingPoint=this.info.activityContent
  504. }
  505. //console.log(sellingPoint)
  506. this.shareShow=false;
  507. uni.navigateTo({
  508. url:'../shop/wp?img='+this.mainImg+'&name='+this.info.activityName+'&time='+time+'&sellingPoint='+sellingPoint+'&id='+this.collectingID+'&type=2'+'&groupType='+this.info.groupType
  509. })
  510. },
  511. shareShowyc(){
  512. this.shareShow=false;
  513. },
  514. shareShowzs(){
  515. this.shareShow=true;
  516. },
  517. focusState1cl(){
  518. this.focusState1=true;
  519. },
  520. focusState2cl(){
  521. this.focusState2=true;
  522. },
  523. focusState3cl(){
  524. this.focusState3=true;
  525. },
  526. focusState4cl(){
  527. this.focusState4=true;
  528. },
  529. inputBindFocus(e){
  530. //console.log( e.detail.height);
  531. this.jpHeight=e.detail.height+ "px";
  532. //console.log(this.jpHeight)
  533. },
  534. inputBindBlur(){
  535. //return false;
  536. uni.onKeyboardHeightChange((obj)=>{
  537. console.log("inputBindBlur"+obj.height)
  538. let _sysInfo = uni.getSystemInfoSync();
  539. let _heightDiff = _sysInfo.screenHeight - _sysInfo.windowHeight
  540. let _diff = obj.height - _heightDiff;
  541. console.log(_diff)
  542. if(_diff<0||_diff==0){
  543. this.jpHeight=0
  544. }
  545. // 键盘高度
  546. //this.jpHeight = (_diff > 0 ? _diff : 0) - 2 + "px";
  547. })
  548. if(this.jpNum==1){
  549. this.jpHeight=0
  550. }
  551. this.jpNum++;
  552. },
  553. queryGoodsLook(){
  554. this.$http('openmy/queryGoodsLook', {
  555. goodsId:this.collectingID,
  556. openId:this.userInfo.openId
  557. },'POST').then(res => {
  558. })
  559. },
  560. noShowShop2(){
  561. this.useShopShow=false;
  562. },
  563. useShow(){
  564. this.useShopShow=true;
  565. },
  566. submitOrder(){
  567. uni.hideKeyboard()
  568. var jsonArray={
  569. itemId:this.collectingID,
  570. itemName:this.info.activityName,
  571. itemQty:1,
  572. salePrice:this.info.money?this.info.money:0,
  573. totalPrice:this.info.money?this.info.money:0,
  574. }
  575. if(this.ckshopdata==''){
  576. uni.showToast({
  577. title: '请选择服务门店',
  578. icon: 'none',
  579. duration: 3000
  580. });
  581. return false;
  582. }
  583. if(this.info.clWhere.indexOf(1)!=-1&&this.mobilePhone==''){
  584. uni.showToast({
  585. title: '请输入手机号',
  586. icon: 'none',
  587. duration: 3000
  588. });
  589. return false;
  590. }
  591. if(this.info.clWhere.indexOf(2)!=-1&&this.plateNumber==''){
  592. uni.showToast({
  593. title: '请输入车牌号',
  594. icon: 'none',
  595. duration: 3000
  596. });
  597. return false;
  598. }
  599. if(this.info.clWhere.indexOf(3)!=-1&&this.customerName==''){
  600. uni.showToast({
  601. title: '请输入姓名',
  602. icon: 'none',
  603. duration: 3000
  604. });
  605. return false;
  606. }
  607. if(this.info.clWhere.indexOf(4)!=-1&&this.unit==''){
  608. uni.showToast({
  609. title: '请输入单位',
  610. icon: 'none',
  611. duration: 3000
  612. });
  613. return false;
  614. }
  615. var arr=[]
  616. arr.push(jsonArray)
  617. var params={
  618. sheetType:'6',
  619. sheetContent:this.info.activityName,
  620. customerName:this.customerName,
  621. mobilePhone:this.mobilePhone,
  622. unit:this.unit,
  623. plateNumber:this.plateNumber,
  624. //carModel:this.carInfo.carModel,
  625. totalMoney:this.info.money?this.info.money:0,
  626. shopId:this.ckshopdata.id,
  627. comment:this.comment,
  628. sheetDetail:JSON.stringify(arr),
  629. payType:this.info.payType,
  630. shareId:this.shareId,
  631. groupType:0,
  632. }
  633. if(this.groupOwner==1){
  634. params.groupOwner=1;
  635. params.groupType=1;
  636. params.totalMoney=this.info.groupMoney
  637. }
  638. if(this.groupOwner==2){
  639. params.groupOwner=2;
  640. params.groupType=1;
  641. params.groupID=this.groupID;
  642. params.totalMoney=this.info.groupMoney
  643. }
  644. uni.showLoading({
  645. title: '加载中'
  646. })
  647. if(!this.isgo){
  648. return false
  649. }
  650. this.isgo=false;
  651. this.$http('openMallOrder/submitOrder', params,'POST').then(res => {
  652. uni.hideLoading();
  653. this.isgo=true;
  654. if(res.code==0){
  655. this.orderData=res.data
  656. if(this.info.payType==1){
  657. this.unifiedPay(res.data)
  658. }else{
  659. uni.showToast({
  660. title: '报名成功',
  661. icon: 'none',
  662. duration: 3000
  663. });
  664. uni.redirectTo({
  665. url: "../user/myOrder/activityOrderDetail?id=" + this.orderData.id +"&SheetType=" + this.orderData.sheetType
  666. })
  667. }
  668. }else{
  669. uni.showToast({
  670. title: res.msg,
  671. icon: 'none',
  672. duration: 3000
  673. });
  674. }
  675. })
  676. },
  677. unifiedPay(res){
  678. this.$http('openMallOrder/unifiedPay', {
  679. sheetId:res.id
  680. },'POST').then(res => {
  681. if(res.code==0){
  682. this.requestPayment(res.data)
  683. }else{
  684. uni.showToast({
  685. title: res.msg,
  686. icon: 'none',
  687. duration: 3000
  688. });
  689. }
  690. })
  691. },
  692. requestPayment(res){
  693. var payInfo=res;
  694. //console.log(payInfo)
  695. //console.log(String(Date.now()))
  696. var that=this;
  697. uni.requestPayment({
  698. provider: 'wxpay',
  699. //timeStamp: String(Date.now()),
  700. timeStamp: payInfo.timeStamp,
  701. nonceStr: payInfo.nonceStr,
  702. package:payInfo.package,
  703. signType: payInfo.signType,
  704. paySign: payInfo.paySign,
  705. appid:payInfo.appId,
  706. success: function (res) {
  707. console.log('success:' + JSON.stringify(res));
  708. uni.showToast({
  709. title: '支付成功',
  710. icon:'none',
  711. duration: 2000
  712. });
  713. setTimeout(function() {
  714. uni.redirectTo({
  715. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  716. })
  717. }, 300);
  718. },
  719. fail: function (err) {
  720. console.log(err)
  721. uni.showToast({
  722. title: '支付失败',
  723. icon:'none',
  724. duration: 2000
  725. });
  726. console.log(that.orderData)
  727. uni.redirectTo({
  728. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  729. })
  730. }
  731. });
  732. },
  733. signUp(){
  734. this.groupOwner=0;
  735. if(this.userInfo){
  736. console.log(this.wxOpenData)
  737. /* this.info.shopList.forEach(item=>{
  738. if(item.id == this.shopInfo.id){
  739. this.ckshopdata=item;
  740. this.shopName=item.shopName;
  741. }
  742. }) */
  743. this.mobilePhone= this.userInfo.mobilePhone
  744. if(this.wxOpenData.loginInfo.customerInfo){
  745. this.customerName=this.wxOpenData.loginInfo.customerInfo.customerName
  746. }
  747. if(this.$store.state.carInfo){
  748. this.plateNumber=this.$store.state.carInfo.plateNumber;
  749. }
  750. this.bmShow=true;
  751. }else{
  752. this.authorizShow=true
  753. }
  754. },
  755. groupFn(){
  756. this.groupOwner=1;
  757. if(this.userInfo){
  758. this.bmShow=true;
  759. }else{
  760. this.authorizShow=true
  761. }
  762. },
  763. join(e){
  764. this.groupOwner=2;
  765. this.groupID=e.ID
  766. if(this.userInfo){
  767. this.bmShow=true;
  768. }else{
  769. this.authorizShow=true
  770. }
  771. },
  772. nobmshow(){
  773. this.bmShow=false;
  774. },
  775. ckshop(item){
  776. this.ckshopdata=item;
  777. this.shopName=item.shopName;
  778. this.ckshopShow=false;
  779. this.shopInfo=item
  780. this.useShopShow=false;
  781. },
  782. showCkshop(){
  783. console.log("选择门店")
  784. //this.ckshopShow=true;
  785. uni.navigateTo({
  786. url:'/pages/shop/ckshopList?goodsId='+this.collectingID+'&type=5'
  787. })
  788. },
  789. noShowShop(){
  790. this.ckshopShow=false;
  791. },
  792. queryActivityInfo(){
  793. uni.showLoading({
  794. title: '加载中'
  795. })
  796. this.$http('openHome/queryActivityInfo', {
  797. collectingID:this.collectingID
  798. }, 'GET').then(res => {
  799. //uni.hideLoading();
  800. this.info = res.data;
  801. console.log(this.info)
  802. this.getInfo();
  803. this.dimgList=[]
  804. if(this.info.imgList){
  805. this.info.imgList.forEach(item=>{
  806. if(item.imgType==1){
  807. this.mainImg=item.img
  808. }else{
  809. this.dimgList.push(item)
  810. }
  811. })
  812. }
  813. if (this.info.endTime < this.info.startTime) {
  814. // this.$vux.toast.text('时间设置错误')
  815. return
  816. }
  817. // this.activityNoOpen
  818. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  819. console.log("现在时间大于开始时间")
  820. this.activityNoOpen = false
  821. } else {
  822. this.activityNoOpen = true
  823. }
  824. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  825. console.log("现在时间大于结束时间")
  826. this.activityEnd = true
  827. } else {
  828. this.activityEnd = false
  829. }
  830. if (!this.activityNoOpen && !this.activityEnd) {
  831. this.clock()
  832. }
  833. if (this.activityNoOpen && !this.activityEnd) {
  834. this.clock2()
  835. }
  836. if(this.info.music){
  837. this.bgmMusic = uni.createInnerAudioContext();
  838. this.bgmMusic.autoplay = true;//自动播放
  839. this.bgmMusic.loop = true;//循环播放
  840. //this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
  841. //this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
  842. this.mp3Url=this.info.music.music;
  843. this.bgmMusic.src =this.info.music.music; //
  844. this.bgmMusic.onPlay(function(){
  845. console.log('背景音乐播放中');
  846. });
  847. this.bgmMusic.onError((res) => {
  848. console.log(res.errMsg);
  849. console.log(res.errCode);
  850. });
  851. }
  852. })
  853. },
  854. play2(){
  855. this.bgmMusic.play();
  856. this.payshow=false;
  857. },
  858. play(){
  859. this.payshow=true;
  860. this.bgmMusic.stop(()=>{
  861. console.log('背景音乐停止了');
  862. });
  863. },
  864. getInfo(){
  865. this.$http('openreservation/getInfo', {
  866. lat: '',
  867. lng: '',
  868. }, 'GET').then(res => {
  869. uni.hideLoading();
  870. //this.shopInfo = res.data.shopInfo
  871. var shopinfo=res.data.shopInfo;
  872. this.info.shopList.forEach(item=>{
  873. if(item.id==shopinfo.id){
  874. this.ckshopdata=shopinfo
  875. this.shopInfo=shopinfo
  876. this.shopName=this.shopInfo.shopName
  877. }
  878. })
  879. if(this.shopInfo==''){
  880. this.shopInfo=this.info.shopList[0]
  881. //this.shopName=this.shopInfo.shopName
  882. }
  883. this.beginTimer();
  884. })
  885. },
  886. call() {
  887. uni.makePhoneCall({
  888. phoneNumber: this.shopInfo.mobilePhone
  889. });
  890. },
  891. getmap() {
  892. console.log("打开地图")
  893. var that = this;
  894. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  895. uni.showToast({
  896. title: '该店铺未设置定位',
  897. icon: 'none',
  898. duration: 3000
  899. });
  900. } else {
  901. uni.openLocation({
  902. latitude: Number(that.shopInfo.lat),
  903. longitude: Number(that.shopInfo.lng),
  904. name: that.shopInfo.shopName,
  905. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  906. success: function() {
  907. console.log('success');
  908. },
  909. fail(err) {
  910. console.log(err)
  911. }
  912. });
  913. }
  914. },
  915. clock () {
  916. let _this = this
  917. let today = new Date() // 当前时间
  918. let h = today.getHours()
  919. let m = today.getMinutes()
  920. let s = today.getSeconds()
  921. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  922. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  923. this.activityEnd = true
  924. return
  925. }
  926. let stopH = stopTime.getHours()
  927. let stopM = stopTime.getMinutes()
  928. let stopS = stopTime.getSeconds()
  929. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  930. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  931. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  932. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  933. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  934. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  935. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  936. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  937. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  938. // setTimeout("clock()",500);
  939. this.shengyuM=shengyuM;
  940. this.shengyuD=shengyuD;
  941. this.shengyuH=shengyuH;
  942. setTimeout(_this.clock, 500)
  943. },
  944. clock2(){
  945. let _this = this
  946. let today = new Date() // 当前时间
  947. let h = today.getHours()
  948. let m = today.getMinutes()
  949. let s = today.getSeconds()
  950. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  951. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  952. this.activityNoOpen = true
  953. return
  954. }
  955. let stopH = startTime.getHours()
  956. let stopM = startTime.getMinutes()
  957. let stopS = startTime.getSeconds()
  958. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  959. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  960. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  961. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  962. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  963. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  964. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  965. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  966. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  967. // setTimeout("clock()",500);
  968. this.shengyuM=shengyuM;
  969. this.shengyuD=shengyuD;
  970. this.shengyuH=shengyuH;
  971. setTimeout(_this.clock2, 500)
  972. },
  973. decryptPhoneNumber: function(e) {
  974. console.log(e);
  975. this.code=e.detail.code
  976. this.wxPhoneLogin()
  977. this.authorizShow=false;
  978. },
  979. wxPhoneLogin(){
  980. var that=this;
  981. this.$http('miniApp2/sys/wxPhoneLogin', {
  982. appId:this.ext.appId,
  983. unionId:this.ext.unionId,
  984. code:this.code,
  985. openId:this.wxOpenData.openid
  986. },'POST').then(res => {
  987. var data = res.data;
  988. if(data.newCustomer){
  989. uni.showModal({
  990. title: '提示',
  991. content: data.newCustomerMsg,
  992. success: function(resTK) {
  993. }
  994. });
  995. var token=res.data.token
  996. data.loginInfo={}
  997. data.loginInfo.token=token
  998. this.$store.commit('mutationswxOpenData', data);
  999. return false;
  1000. }
  1001. if(data.loginInfo){
  1002. this.userInfo=data.loginInfo.openUser;
  1003. this.wxOpenData=data.loginInfo;
  1004. this.$store.commit('mutationswxOpenData', data)
  1005. this.$store.commit('mutationsuserInfo', this.userInfo)
  1006. this.getInfo()
  1007. }
  1008. })
  1009. },
  1010. },
  1011. filters: {
  1012. // 拼团有效期的filter
  1013. limitTimeFilter (val) {
  1014. //console.log('limitTimeFilter')
  1015. //https://blog.csdn.net/qq_39905409/article/details/104478623
  1016. if (val) {
  1017. //console.log(val)
  1018. let formateLimitTimes = that.$common.formateTimeStamp(val);
  1019. let txt = `${formateLimitTimes.hour} : ${formateLimitTimes.min} : ${formateLimitTimes.seconds} `;
  1020. /* if (formateLimitTimes.day != '00') {
  1021. txt = `${Number(formateLimitTimes.day)*24} 时 ${formateLimitTimes.min} 分 ${formateLimitTimes.seconds} 秒`;
  1022. } */
  1023. return txt;
  1024. } else {
  1025. const twtxt = `0 : 0 : 0 `
  1026. return twtxt;
  1027. }
  1028. }
  1029. },
  1030. beforeCreate: function () {
  1031. that = this;
  1032. },
  1033. onShareAppMessage(res) {
  1034. console.log(res)
  1035. var img='';
  1036. /* if(this.info.ImgList.length>0){
  1037. img=this.info.ImgList[0].url
  1038. } */
  1039. console.log(this.info.groupType)
  1040. if(this.info.groupType){
  1041. //console.log(res.target.dataset.obj.ID)
  1042. var url= 'pages/subPack/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName+'&groupID='+res.target.dataset.obj.ID
  1043. }else{
  1044. var url= 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1045. }
  1046. return {
  1047. title: this.info.activityName,
  1048. //imageUrl:this.mainImg,
  1049. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1050. path:url,
  1051. success(res){
  1052. uni.showToast({
  1053. title:'分享成功'
  1054. })
  1055. },
  1056. fail(res){
  1057. uni.showToast({
  1058. title:'分享失败',
  1059. icon:'none',
  1060. duration: 3000
  1061. })
  1062. }
  1063. }
  1064. },
  1065. onShareTimeline(res) {
  1066. if(this.info.groupType){
  1067. //console.log(res.target.dataset.obj.ID)
  1068. var url= 'id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName//+'&groupID='+res.target.dataset.obj.ID
  1069. }else{
  1070. var url= 'id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1071. }
  1072. return {
  1073. title: this.info.activityName,
  1074. query:url,
  1075. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1076. }
  1077. }
  1078. }
  1079. </script>
  1080. <style scoped>
  1081. .ptNameBz{
  1082. font-weight: 500;line-height: 34rpx;
  1083. font-size: 22rpx;height: 32rpx;
  1084. color: #FD0F00;margin-top: 6rpx;margin-right: 10rpx;
  1085. background: url('http://dmsphoto.66km.com.cn/thFiles/2AF1130F-C318-45D3-B057-FA0728B41046.png') no-repeat;
  1086. background-size: 100% 100%;
  1087. padding-left: 64rpx;padding-right: 4rpx;
  1088. }
  1089. .name{
  1090. display: flex;
  1091. }
  1092. .djsCont{
  1093. width: 638rpx;
  1094. height: 50vh;
  1095. background: #fff;
  1096. margin-top: 20vh;
  1097. margin-left:56rpx ;border-radius: 15rpx;
  1098. }
  1099. .djsCont .ptLine{
  1100. border-top:0;
  1101. border-bottom: 1px solid #EEEEEE;
  1102. }
  1103. .djsCont .bmTop{
  1104. border-bottom: 1px solid #EEEEEE;
  1105. padding: 24rpx;
  1106. }
  1107. .djsLineBox{
  1108. height: calc(60vh - 120rpx);
  1109. overflow-y: scroll;
  1110. }
  1111. .ptLine{
  1112. display: flex;
  1113. justify-content: space-between;
  1114. padding: 26rpx 24rpx;border-top: 1px solid #EEEEEE;
  1115. }
  1116. .FirstMobilePhone{
  1117. font-weight: 400;
  1118. color: #222222;font-size: 28rpx;line-height: 60rpx;
  1119. }
  1120. .DiffBNumber{
  1121. font-weight: 400;text-align: right;
  1122. color: #222222;font-size: 26rpx;
  1123. }
  1124. .ptlineRight{
  1125. display: flex;
  1126. }
  1127. .ptlinexx{
  1128. padding-right: 12rpx;
  1129. }
  1130. .ptBtn{
  1131. width: 137rpx;font-weight: 400;
  1132. color: #FFFFFF;font-size: 26rpx;
  1133. height: 60rpx;text-align: center;
  1134. background: #E02E24;line-height: 60rpx;
  1135. border-radius: 6rpx;
  1136. margin-top: 4rpx;
  1137. }
  1138. .ptdjs{
  1139. font-weight: 400;
  1140. color: #666666;font-size: 24rpx;
  1141. }
  1142. .ptBox{
  1143. background: #ffffff;margin-top: 20rpx;
  1144. }
  1145. .bottomPtBox{
  1146. display: flex;padding-top: 24rpx;
  1147. }
  1148. .ptNum{
  1149. font-weight: 400;
  1150. color: #222222;font-size: 28rpx;
  1151. }
  1152. .ptBoxtop{
  1153. display: flex;justify-content: space-between;
  1154. padding: 20rpx 24rpx;
  1155. }
  1156. .ptMore{
  1157. font-weight: 400;
  1158. color: #666666;font-size: 24rpx;
  1159. }
  1160. .separate{
  1161. width: 284rpx;margin-left: 30rpx;
  1162. height: 74rpx;
  1163. background: #FFE4E2;
  1164. border-radius: 37rpx;
  1165. text-align: center;color:#D53533;
  1166. }
  1167. .separate .separateTop{
  1168. color:#D53533;
  1169. }
  1170. .separate .separateTxt{
  1171. color:#D53533;
  1172. }
  1173. .groupBtn{
  1174. width: 284rpx;text-align: center;color: #ffffff;
  1175. height: 74rpx;margin-left: 30rpx;
  1176. background: #D53533;
  1177. border-radius: 37rpx;
  1178. }
  1179. .separateTop{
  1180. font-weight: 500;font-size: 28rpx;
  1181. color: #FFFFFF;padding-top: 2rpx;
  1182. }
  1183. .separateTxt{
  1184. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1185. }
  1186. .companyName{
  1187. font-size: 24rpx;
  1188. font-family: PingFangSC-Medium, PingFang SC;
  1189. font-weight: 500;
  1190. color: #666666;
  1191. line-height: 33rpx;
  1192. text-align: center;
  1193. padding: 40rpx;
  1194. }
  1195. .shareBtn{
  1196. /* width: 100rpx; */
  1197. background: #F4F5F7;
  1198. }
  1199. .shareBimg{
  1200. width: 102rpx;
  1201. height: 102rpx;
  1202. }
  1203. .bottomTxtshare{
  1204. color: #333333;
  1205. font-size: 22rpx;
  1206. padding-top: 20rpx;
  1207. }
  1208. .shareBox{
  1209. width: 100%;
  1210. height: 100vh;
  1211. background: rgba(0, 0, 0, 0.5);
  1212. position: fixed;
  1213. left: 0;
  1214. bottom: 0;
  1215. z-index: 11;
  1216. }
  1217. .shareCont{
  1218. width: 100%;
  1219. background: #F4F5F7;
  1220. position: absolute;
  1221. left: 0;
  1222. bottom: 0;
  1223. display: flex;
  1224. justify-content: space-around;
  1225. padding: 50rpx 0;
  1226. border-radius: 40rpx 40rpx 0px 0px;
  1227. }
  1228. .mp3Img{
  1229. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  1230. position: fixed;
  1231. top: 40rpx;
  1232. right: 40rpx;
  1233. width: 60rpx;
  1234. height: 60rpx;
  1235. }
  1236. .ckshopBox{
  1237. z-index: 111 !important;
  1238. }
  1239. .shopline {
  1240. padding: 20rpx 0;
  1241. background-color: #FFFFFF;
  1242. border-radius: 10rpx;
  1243. display: flex;
  1244. }
  1245. .baomingBox{
  1246. width: 750rpx;
  1247. height: 100vh;
  1248. background: rgba(0, 0, 0, 0.4);
  1249. position: fixed;
  1250. top: 0;
  1251. left: 0;
  1252. z-index: 11;
  1253. /* display: flex;
  1254. align-items: center; */
  1255. }
  1256. .bmTtnBox{
  1257. width: 750rpx;
  1258. height: 120rpx;
  1259. background: #FFFFFF;
  1260. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  1261. position: absolute;
  1262. left: 0;
  1263. bottom: 0;
  1264. padding-bottom: constant(safe-area-inset-bottom);
  1265. padding-bottom: env(safe-area-inset-bottom);
  1266. }
  1267. .bmBtn{
  1268. width: 690rpx;
  1269. height: 74rpx;
  1270. background: #D53533;
  1271. border-radius: 37rpx;
  1272. text-align: center;
  1273. line-height: 74rpx;
  1274. color: #ffffff;
  1275. font-size: 30rpx;
  1276. margin-top: 23rpx;
  1277. margin-left: 30rpx;
  1278. margin-top: 20rpx;
  1279. }
  1280. .bmshopjt{
  1281. width: 12rpx;
  1282. height: 20rpx;
  1283. margin-top: 10rpx;
  1284. }
  1285. .bmlineInput{
  1286. color: #333333;
  1287. font-size: 28rpx;
  1288. height: 98rpx;
  1289. line-height: 98rpx;
  1290. }
  1291. .bmshopname{
  1292. font-weight: 400;
  1293. color: #999999;
  1294. font-size: 28rpx;
  1295. line-height: 40rpx;
  1296. width: 500rpx;
  1297. white-space:nowrap;
  1298. overflow:hidden;
  1299. text-overflow:ellipsis;
  1300. }
  1301. .bmshopLine{
  1302. display: flex;
  1303. justify-content: space-between;
  1304. padding: 26rpx 0;
  1305. border-bottom: 1px solid #EEEEEE;
  1306. }
  1307. .bmLine{
  1308. border-bottom: 1px solid #EEEEEE;
  1309. }
  1310. .bmTop{
  1311. display: flex;
  1312. justify-content: space-between;
  1313. padding: 30rpx 24rpx 10rpx 24rpx;
  1314. }
  1315. .bmTitle{
  1316. font-weight: 500;
  1317. color: #3C3C3C;
  1318. font-size: 30rpx;
  1319. line-height: 36rpx;
  1320. }
  1321. .bmChimg{
  1322. width: 36rpx;
  1323. height: 36rpx;
  1324. }
  1325. .baomingCont{
  1326. position: absolute;
  1327. width: 750rpx;
  1328. /* height:850rpx; */
  1329. /* padding-bottom: constant(safe-area-inset-bottom);
  1330. padding-bottom: env(safe-area-inset-bottom); */
  1331. left: 0;
  1332. bottom: 0;
  1333. background: #ffffff;
  1334. border-radius: 24rpx 24rpx 0px 0px;
  1335. padding-bottom: 10rpx;
  1336. }
  1337. .shareIcon{
  1338. width: 48rpx;
  1339. height: 48rpx;
  1340. display: block;
  1341. }
  1342. .bottomBtnBox{
  1343. display: flex;
  1344. }
  1345. .bottomBtnBoxLeft{
  1346. padding-left: 40rpx;
  1347. padding-top: 21rpx;
  1348. }
  1349. .shareTxt{
  1350. color: #666666;font-size: 20rpx;
  1351. text-align: center;
  1352. }
  1353. .bottomBtn{
  1354. width: 598rpx;
  1355. height: 74rpx;
  1356. background: #D53533;
  1357. border-radius: 37rpx;
  1358. line-height: 74rpx;
  1359. text-align: center;
  1360. color: #ffffff;
  1361. font-size: 30rpx;
  1362. margin-top: 24rpx;
  1363. margin-left: 34rpx;
  1364. }
  1365. .bottomBtn2{
  1366. width: 598rpx;
  1367. height: 74rpx;
  1368. background: #DDDDDD;
  1369. border-radius: 37rpx;
  1370. line-height: 74rpx;
  1371. text-align: center;
  1372. color: #ffffff;
  1373. font-size: 30rpx;
  1374. margin-top: 24rpx;
  1375. margin-left: 34rpx;
  1376. }
  1377. .timeTbox{
  1378. width: 750rpx;
  1379. height: 60rpx;
  1380. background:#FFF5F0;
  1381. border-radius: 24rpx 24rpx 0px 0px;
  1382. border: 1px solid #EFE1D5;
  1383. display: flex;
  1384. justify-content: center;
  1385. font-size: 24rpx;
  1386. font-family: PingFangSC-Regular, PingFang SC;
  1387. font-weight: 400;
  1388. color: #764D49;
  1389. }
  1390. .timeviewTxt{
  1391. line-height: 41rpx;
  1392. padding-top: 10rpx;
  1393. }
  1394. .timeDivTxt{
  1395. line-height: 60rpx;
  1396. padding: 0 10rpx;
  1397. }
  1398. .timeK{
  1399. height: 41rpx;
  1400. line-height: 41rpx;
  1401. color: #FFFFFF;
  1402. width: 41rpx;
  1403. text-align: center;
  1404. background: #F03B3B;
  1405. border-radius: 6rpx;
  1406. margin-top: 9rpx;
  1407. margin-left: 15rpx;
  1408. margin-right: 15rpx;
  1409. }
  1410. .bottom{
  1411. width: 750rpx;
  1412. height: 180rpx;
  1413. background: #FFFFFF;
  1414. border-radius: 24rpx 24rpx 0px 0px;
  1415. position: fixed;
  1416. left: 0;
  1417. bottom: 0;
  1418. padding-bottom: constant(safe-area-inset-bottom);
  1419. padding-bottom: env(safe-area-inset-bottom);
  1420. }
  1421. .signupBox{
  1422. background: #ffffff;
  1423. margin-top: 20rpx;
  1424. }
  1425. .seeBox{
  1426. display: flex;
  1427. flex-wrap: wrap;
  1428. padding-left: 24rpx;
  1429. padding-bottom: 20rpx;
  1430. }
  1431. .seeLine{
  1432. padding-top: 14rpx;
  1433. padding-right: 16rpx;
  1434. }
  1435. .signupLine{
  1436. display: flex;
  1437. justify-content: space-between;
  1438. padding: 11rpx 0;
  1439. border-bottom: 1px solid #DDDDDD;
  1440. }
  1441. .signupLineM{
  1442. color: #3C3C3C;font-size: 26rpx;
  1443. line-height: 56rpx;
  1444. }
  1445. .signupLineR{
  1446. color: #999999;
  1447. font-size: 26rpx;
  1448. line-height: 56rpx;
  1449. }
  1450. .signupLineLName{
  1451. font-weight: 400;
  1452. color: #3C3C3C;
  1453. font-size: 26rpx;
  1454. padding-left: 16rpx;
  1455. line-height: 56rpx;
  1456. width: 150rpx;
  1457. white-space:nowrap;
  1458. overflow:hidden;
  1459. text-overflow:ellipsis;
  1460. }
  1461. .signupCont{
  1462. padding: 0 24rpx;
  1463. }
  1464. .signupLineLImg{
  1465. width: 56rpx;
  1466. height: 56rpx;
  1467. border-radius: 8rpx;
  1468. }
  1469. .signupLineL{
  1470. display: flex;
  1471. }
  1472. .signupTop{
  1473. width: 750rpx;
  1474. height: 78rpx;
  1475. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1476. background-size: 100% 100%;
  1477. text-align: center;
  1478. line-height: 78rpx;
  1479. }
  1480. .signupTops1{
  1481. color: #FF0000;font-weight: 500;
  1482. font-size: 28rpx;
  1483. }
  1484. .signupTops1{
  1485. color: #703917;font-weight: 500;
  1486. font-size: 28rpx;
  1487. }
  1488. .shopRightIcon{
  1489. width: 44rpx;
  1490. height: 44rpx;
  1491. display: block;
  1492. margin: 0 auto;
  1493. margin-bottom: 10rpx;
  1494. }
  1495. .shopName{
  1496. color: #3C3C3C;
  1497. font-size: 28rpx;
  1498. width: 500rpx;
  1499. }
  1500. .shopaddress{
  1501. font-weight: 400;
  1502. color: #999999;
  1503. font-size: 24rpx;
  1504. padding-top: 10rpx;
  1505. width: 500rpx;
  1506. }
  1507. .shopRightSx{
  1508. width: 2rpx;
  1509. height: 69rpx;
  1510. background:#EEEEEE ;
  1511. margin-left: 34rpx;
  1512. margin-right: 34rpx;
  1513. margin-top: 14rpx;
  1514. }
  1515. .shopCont{
  1516. display: flex;
  1517. justify-content: space-between;
  1518. padding-top: 25rpx;
  1519. }
  1520. .shopContRight{
  1521. display: flex;
  1522. }
  1523. .shopContRightLine{
  1524. text-align: center;
  1525. color: #999999;
  1526. font-size: 24rpx;
  1527. }
  1528. .content{
  1529. min-height: 100vh;
  1530. background:#F4F5F7;
  1531. }
  1532. .detailImg{
  1533. width: 750rpx;
  1534. display: block;
  1535. }
  1536. .detailBOx{
  1537. background: #ffffff;
  1538. margin-top: 20rpx;
  1539. }
  1540. .detailTitle{
  1541. color: #222222;
  1542. font-weight: 500;
  1543. padding: 20rpx 24rpx;
  1544. font-size: 30rpx;
  1545. }
  1546. .topimg{
  1547. width: 750rpx;
  1548. }
  1549. .shopMs{
  1550. font-weight: 500;
  1551. color: #222222;
  1552. line-height: 42rpx;
  1553. font-size: 30rpx;
  1554. }
  1555. .shopBox{
  1556. background: #ffffff;
  1557. margin-top: 20rpx;
  1558. padding: 20rpx 24rpx;
  1559. }
  1560. .shopBoxTop{
  1561. display: flex;
  1562. justify-content: space-between;
  1563. }
  1564. .shopTy{
  1565. display: flex;
  1566. }
  1567. .shopTyTxt{
  1568. font-weight: 400;
  1569. color: #666666;
  1570. font-size: 24rpx;
  1571. line-height: 42rpx;
  1572. }
  1573. .shopjt{
  1574. width: 14rpx;
  1575. height: 23rpx;
  1576. margin-top: 10rpx;
  1577. margin-left: 10rpx;
  1578. }
  1579. .cont{
  1580. background: #ffffff;
  1581. border-radius: 24rpx 24rpx 0px 0px;
  1582. margin-top: -30rpx;
  1583. padding: 30rpx 24rpx;
  1584. position: relative;
  1585. }
  1586. .name{
  1587. color: #3C3C3C;
  1588. line-height: 42rpx;
  1589. font-weight: 500;
  1590. font-size: 30rpx;
  1591. }
  1592. .name2{
  1593. color: #3C3C3C;
  1594. line-height: 36rpx;
  1595. font-weight: 400;
  1596. font-size: 26rpx;
  1597. padding-top: 16rpx;
  1598. }
  1599. .name3{
  1600. color: #999999;
  1601. line-height: 36rpx;
  1602. font-weight: 400;
  1603. font-size: 26rpx;
  1604. padding-top: 16rpx;
  1605. }
  1606. .shopImg {
  1607. width: 146rpx;
  1608. height: 146rpx;
  1609. border-radius: 6rpx;
  1610. }
  1611. .shopBox2 {
  1612. padding-top: 30rpx;
  1613. display: flex;
  1614. }
  1615. .flex {
  1616. display: flex;
  1617. justify-content: space-between;
  1618. }
  1619. .shopCont2 {
  1620. padding-left: 22rpx;
  1621. width: 520rpx;
  1622. }
  1623. .shopName {
  1624. color: #333333;
  1625. font-size: 26rpx;
  1626. font-weight: 600;
  1627. }
  1628. .span1 {
  1629. color: #FF4F00;
  1630. font-size: 36rpx;
  1631. }
  1632. .span2 {
  1633. color: #FF4F00;
  1634. font-size: 22rpx;
  1635. }
  1636. .span3 {
  1637. color: #333333;
  1638. font-size: 22rpx;
  1639. padding-left: 22rpx;
  1640. }
  1641. .shopBq {
  1642. color: #FF4F00;
  1643. font-size: 22rpx;
  1644. border-radius: 4rpx;
  1645. border: 1px solid #FF4F00;
  1646. line-height: 30rpx;
  1647. height: 30rpx;
  1648. padding: 0rpx 5rpx;
  1649. margin-top: 10rpx;
  1650. }
  1651. .brandsBg {
  1652. display: flex;
  1653. height: 38rpx;
  1654. flex-wrap: wrap;
  1655. align-items: center;
  1656. overflow: hidden;
  1657. padding: 5rpx 0rpx;
  1658. }
  1659. .brands {
  1660. border-radius: 4rpx;
  1661. padding: 0 5rpx;
  1662. color: #F19D01;
  1663. height: 28rpx;
  1664. border: 1px solid #F19D01;
  1665. font-size: 20rpx;
  1666. line-height: 28rpx;
  1667. margin: 5rpx 10rpx 5rpx 0rpx;
  1668. }
  1669. .timeBg {
  1670. display: flex;
  1671. }
  1672. .shopTime {
  1673. color: #666666;
  1674. font-size: 22rpx;
  1675. }
  1676. .addressBox {
  1677. color: #666666;
  1678. font-size: 22rpx;
  1679. }
  1680. .ckshopLine{
  1681. display: flex;
  1682. padding: 20rpx 0;
  1683. border-bottom: 1px solid #EEEEEE;
  1684. }
  1685. button::after{
  1686. border: none;
  1687. }
  1688. button{
  1689. position: relative;
  1690. display: block;
  1691. margin-left: 0;
  1692. margin-right: 0;
  1693. padding-left: 0px;
  1694. padding-right: 0px;
  1695. box-sizing: border-box;
  1696. text-align: center;
  1697. text-decoration: none;
  1698. line-height: 1.35;
  1699. -webkit-tap-highlight-color: transparent;
  1700. overflow: hidden;
  1701. color: #000000;
  1702. background-color: #fff;
  1703. height: 100%;
  1704. }
  1705. .authorizBox{
  1706. width: 100vw;
  1707. height: 100vh;
  1708. background: rgba(0, 0, 0, 0.5);
  1709. position: fixed;
  1710. top: 0;
  1711. left: 0;
  1712. }
  1713. .authorizCont{
  1714. margin-top: 30vh;
  1715. width: 564rpx;
  1716. height: 408rpx;
  1717. background: #FFFFFF;
  1718. border-radius: 24rpx;
  1719. margin-left: 93rpx;
  1720. position: relative;
  1721. }
  1722. .authorizCloseImg{
  1723. width: 62rpx;
  1724. height: 62rpx;
  1725. }
  1726. .sqLogoBox{
  1727. width: 180rpx;
  1728. height: 180rpx;
  1729. background: #FFFFFF;
  1730. border-radius: 90rpx;
  1731. text-align: center;
  1732. position: absolute;
  1733. top: -50rpx;
  1734. left: 192rpx;
  1735. }
  1736. .authorizName{
  1737. color: #333333;
  1738. line-height: 42rpx;
  1739. font-size: 30rpx;
  1740. text-align: center;
  1741. padding-top: 58rpx;
  1742. }
  1743. .authorizMs{
  1744. color: #999999;
  1745. line-height: 36rpx;
  1746. font-size: 26rpx;
  1747. width: 452rpx;
  1748. padding-top: 24rpx;
  1749. text-align: center;
  1750. margin-left: 56rpx;
  1751. }
  1752. .authorizContbutton{
  1753. width: 422rpx;
  1754. height: 88rpx;
  1755. background: #D53533;
  1756. border-radius: 44rpx;
  1757. line-height: 88rpx;
  1758. text-align: center;
  1759. font-size:30rpx;
  1760. color: #FFFFFF;
  1761. margin-top: 62rpx;
  1762. margin-left:71rpx;
  1763. }
  1764. .applicationTk{
  1765. height: 60vh;
  1766. }
  1767. .groupBtnTxt{
  1768. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1769. }
  1770. .groupBtnTop{
  1771. font-weight: 500;font-size: 28rpx;
  1772. color: #FFFFFF;padding-top: 2rpx;
  1773. }
  1774. .couponPackageData{
  1775. background: #ffffff;
  1776. margin-top: 20rpx;
  1777. }
  1778. .couponPackageTitle{
  1779. padding-left: 24rpx;
  1780. padding-top: 30rpx;
  1781. color: #333333;
  1782. font-size: 32rpx;
  1783. line-height: 45rpx;
  1784. font-weight: 500;
  1785. }
  1786. .linecoupon{
  1787. justify-content: space-between;
  1788. }
  1789. .linecouponCont{
  1790. display: flex;
  1791. justify-content: space-between;
  1792. padding: 15rpx 24rpx;
  1793. }
  1794. .linecouponContLeft{
  1795. display: flex;
  1796. }
  1797. .couponType{
  1798. color: #FFA511;
  1799. border: 1px solid #FFA511;
  1800. border-radius: 4rpx;
  1801. font-size: 18rpx;
  1802. line-height: 26rpx;
  1803. padding: 0 8rpx;
  1804. height: 26rpx;
  1805. margin-top: 5rpx;
  1806. }
  1807. .couponName{
  1808. font-size: 26rpx;line-height: 38rpx;color: #3C3C3C;
  1809. padding-left: 20rpx;
  1810. }
  1811. .couponNum{
  1812. font-size: 26rpx;line-height: 38rpx;color: #999999;
  1813. }
  1814. </style>