jkDetail.vue 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913
  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. uni.redirectTo({
  714. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType+'&sx=1'
  715. })
  716. },
  717. fail: function (err) {
  718. console.log(err)
  719. uni.showToast({
  720. title: '支付失败',
  721. icon:'none',
  722. duration: 2000
  723. });
  724. console.log(that.orderData)
  725. uni.redirectTo({
  726. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  727. })
  728. }
  729. });
  730. },
  731. signUp(){
  732. this.groupOwner=0;
  733. if(this.userInfo){
  734. console.log(this.wxOpenData)
  735. /* this.info.shopList.forEach(item=>{
  736. if(item.id == this.shopInfo.id){
  737. this.ckshopdata=item;
  738. this.shopName=item.shopName;
  739. }
  740. }) */
  741. this.mobilePhone= this.userInfo.mobilePhone
  742. if(this.wxOpenData.loginInfo.customerInfo){
  743. this.customerName=this.wxOpenData.loginInfo.customerInfo.customerName
  744. }
  745. if(this.$store.state.carInfo){
  746. this.plateNumber=this.$store.state.carInfo.plateNumber;
  747. }
  748. this.bmShow=true;
  749. }else{
  750. this.authorizShow=true
  751. }
  752. },
  753. groupFn(){
  754. this.groupOwner=1;
  755. if(this.userInfo){
  756. this.bmShow=true;
  757. }else{
  758. this.authorizShow=true
  759. }
  760. },
  761. join(e){
  762. this.groupOwner=2;
  763. this.groupID=e.ID
  764. if(this.userInfo){
  765. this.bmShow=true;
  766. }else{
  767. this.authorizShow=true
  768. }
  769. },
  770. nobmshow(){
  771. this.bmShow=false;
  772. },
  773. ckshop(item){
  774. this.ckshopdata=item;
  775. this.shopName=item.shopName;
  776. this.ckshopShow=false;
  777. this.shopInfo=item
  778. this.useShopShow=false;
  779. },
  780. showCkshop(){
  781. console.log("选择门店")
  782. //this.ckshopShow=true;
  783. uni.navigateTo({
  784. url:'/pages/shop/ckshopList?goodsId='+this.collectingID+'&type=5'
  785. })
  786. },
  787. noShowShop(){
  788. this.ckshopShow=false;
  789. },
  790. queryActivityInfo(){
  791. uni.showLoading({
  792. title: '加载中'
  793. })
  794. this.$http('openHome/queryActivityInfo', {
  795. collectingID:this.collectingID
  796. }, 'GET').then(res => {
  797. //uni.hideLoading();
  798. this.info = res.data;
  799. console.log(this.info)
  800. this.getInfo();
  801. this.dimgList=[]
  802. if(this.info.imgList){
  803. this.info.imgList.forEach(item=>{
  804. if(item.imgType==1){
  805. this.mainImg=item.img
  806. }else{
  807. this.dimgList.push(item)
  808. }
  809. })
  810. }
  811. if (this.info.endTime < this.info.startTime) {
  812. // this.$vux.toast.text('时间设置错误')
  813. return
  814. }
  815. // this.activityNoOpen
  816. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  817. console.log("现在时间大于开始时间")
  818. this.activityNoOpen = false
  819. } else {
  820. this.activityNoOpen = true
  821. }
  822. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  823. console.log("现在时间大于结束时间")
  824. this.activityEnd = true
  825. } else {
  826. this.activityEnd = false
  827. }
  828. if (!this.activityNoOpen && !this.activityEnd) {
  829. this.clock()
  830. }
  831. if (this.activityNoOpen && !this.activityEnd) {
  832. this.clock2()
  833. }
  834. if(this.info.music){
  835. this.bgmMusic = uni.createInnerAudioContext();
  836. this.bgmMusic.autoplay = true;//自动播放
  837. this.bgmMusic.loop = true;//循环播放
  838. //this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
  839. //this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
  840. this.mp3Url=this.info.music.music;
  841. this.bgmMusic.src =this.info.music.music; //
  842. this.bgmMusic.onPlay(function(){
  843. console.log('背景音乐播放中');
  844. });
  845. this.bgmMusic.onError((res) => {
  846. console.log(res.errMsg);
  847. console.log(res.errCode);
  848. });
  849. }
  850. })
  851. },
  852. play2(){
  853. this.bgmMusic.play();
  854. this.payshow=false;
  855. },
  856. play(){
  857. this.payshow=true;
  858. this.bgmMusic.stop(()=>{
  859. console.log('背景音乐停止了');
  860. });
  861. },
  862. getInfo(){
  863. this.$http('openreservation/getInfo', {
  864. lat: '',
  865. lng: '',
  866. }, 'GET').then(res => {
  867. uni.hideLoading();
  868. //this.shopInfo = res.data.shopInfo
  869. var shopinfo=res.data.shopInfo;
  870. this.info.shopList.forEach(item=>{
  871. if(item.id==shopinfo.id){
  872. this.ckshopdata=shopinfo
  873. this.shopInfo=shopinfo
  874. this.shopName=this.shopInfo.shopName
  875. }
  876. })
  877. if(this.shopInfo==''){
  878. this.shopInfo=this.info.shopList[0]
  879. //this.shopName=this.shopInfo.shopName
  880. }
  881. this.beginTimer();
  882. })
  883. },
  884. call() {
  885. uni.makePhoneCall({
  886. phoneNumber: this.shopInfo.mobilePhone
  887. });
  888. },
  889. getmap() {
  890. console.log("打开地图")
  891. var that = this;
  892. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  893. uni.showToast({
  894. title: '该店铺未设置定位',
  895. icon: 'none',
  896. duration: 3000
  897. });
  898. } else {
  899. uni.openLocation({
  900. latitude: Number(that.shopInfo.lat),
  901. longitude: Number(that.shopInfo.lng),
  902. name: that.shopInfo.shopName,
  903. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  904. success: function() {
  905. console.log('success');
  906. },
  907. fail(err) {
  908. console.log(err)
  909. }
  910. });
  911. }
  912. },
  913. clock () {
  914. let _this = this
  915. let today = new Date() // 当前时间
  916. let h = today.getHours()
  917. let m = today.getMinutes()
  918. let s = today.getSeconds()
  919. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  920. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  921. this.activityEnd = true
  922. return
  923. }
  924. let stopH = stopTime.getHours()
  925. let stopM = stopTime.getMinutes()
  926. let stopS = stopTime.getSeconds()
  927. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  928. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  929. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  930. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  931. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  932. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  933. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  934. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  935. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  936. // setTimeout("clock()",500);
  937. this.shengyuM=shengyuM;
  938. this.shengyuD=shengyuD;
  939. this.shengyuH=shengyuH;
  940. setTimeout(_this.clock, 500)
  941. },
  942. clock2(){
  943. let _this = this
  944. let today = new Date() // 当前时间
  945. let h = today.getHours()
  946. let m = today.getMinutes()
  947. let s = today.getSeconds()
  948. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  949. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  950. this.activityNoOpen = true
  951. return
  952. }
  953. let stopH = startTime.getHours()
  954. let stopM = startTime.getMinutes()
  955. let stopS = startTime.getSeconds()
  956. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  957. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  958. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  959. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  960. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  961. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  962. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  963. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  964. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  965. // setTimeout("clock()",500);
  966. this.shengyuM=shengyuM;
  967. this.shengyuD=shengyuD;
  968. this.shengyuH=shengyuH;
  969. setTimeout(_this.clock2, 500)
  970. },
  971. decryptPhoneNumber: function(e) {
  972. console.log(e);
  973. this.code=e.detail.code
  974. this.wxPhoneLogin()
  975. this.authorizShow=false;
  976. },
  977. wxPhoneLogin(){
  978. var that=this;
  979. this.$http('miniApp2/sys/wxPhoneLogin', {
  980. appId:this.ext.appId,
  981. unionId:this.ext.unionId,
  982. code:this.code,
  983. openId:this.wxOpenData.openid
  984. },'POST').then(res => {
  985. var data = res.data;
  986. if(data.newCustomer){
  987. uni.showModal({
  988. title: '提示',
  989. content: data.newCustomerMsg,
  990. success: function(resTK) {
  991. }
  992. });
  993. var token=res.data.token
  994. data.loginInfo={}
  995. data.loginInfo.token=token
  996. this.$store.commit('mutationswxOpenData', data);
  997. return false;
  998. }
  999. if(data.loginInfo){
  1000. this.userInfo=data.loginInfo.openUser;
  1001. this.wxOpenData=data.loginInfo;
  1002. this.$store.commit('mutationswxOpenData', data)
  1003. this.$store.commit('mutationsuserInfo', this.userInfo)
  1004. this.getInfo()
  1005. }
  1006. })
  1007. },
  1008. },
  1009. filters: {
  1010. // 拼团有效期的filter
  1011. limitTimeFilter (val) {
  1012. //console.log('limitTimeFilter')
  1013. //https://blog.csdn.net/qq_39905409/article/details/104478623
  1014. if (val) {
  1015. //console.log(val)
  1016. let formateLimitTimes = that.$common.formateTimeStamp(val);
  1017. let txt = `${formateLimitTimes.hour} : ${formateLimitTimes.min} : ${formateLimitTimes.seconds} `;
  1018. /* if (formateLimitTimes.day != '00') {
  1019. txt = `${Number(formateLimitTimes.day)*24} 时 ${formateLimitTimes.min} 分 ${formateLimitTimes.seconds} 秒`;
  1020. } */
  1021. return txt;
  1022. } else {
  1023. const twtxt = `0 : 0 : 0 `
  1024. return twtxt;
  1025. }
  1026. }
  1027. },
  1028. beforeCreate: function () {
  1029. that = this;
  1030. },
  1031. onShareAppMessage(res) {
  1032. console.log(res)
  1033. var img='';
  1034. /* if(this.info.ImgList.length>0){
  1035. img=this.info.ImgList[0].url
  1036. } */
  1037. console.log(this.info.groupType)
  1038. if(this.info.groupType){
  1039. //console.log(res.target.dataset.obj.ID)
  1040. var url= 'pages/subPack/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName+'&groupID='+res.target.dataset.obj.ID
  1041. }else{
  1042. var url= 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1043. }
  1044. return {
  1045. title: this.info.activityName,
  1046. //imageUrl:this.mainImg,
  1047. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1048. path:url,
  1049. success(res){
  1050. uni.showToast({
  1051. title:'分享成功'
  1052. })
  1053. },
  1054. fail(res){
  1055. uni.showToast({
  1056. title:'分享失败',
  1057. icon:'none',
  1058. duration: 3000
  1059. })
  1060. }
  1061. }
  1062. },
  1063. onShareTimeline(res) {
  1064. if(this.info.groupType){
  1065. //console.log(res.target.dataset.obj.ID)
  1066. var url= 'id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName//+'&groupID='+res.target.dataset.obj.ID
  1067. }else{
  1068. var url= 'id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1069. }
  1070. return {
  1071. title: this.info.activityName,
  1072. query:url,
  1073. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1074. }
  1075. }
  1076. }
  1077. </script>
  1078. <style scoped>
  1079. .ptNameBz{
  1080. font-weight: 500;line-height: 34rpx;
  1081. font-size: 22rpx;height: 32rpx;
  1082. color: #FD0F00;margin-top: 6rpx;margin-right: 10rpx;
  1083. background: url('http://dmsphoto.66km.com.cn/thFiles/2AF1130F-C318-45D3-B057-FA0728B41046.png') no-repeat;
  1084. background-size: 100% 100%;
  1085. padding-left: 64rpx;padding-right: 4rpx;
  1086. }
  1087. .name{
  1088. display: flex;
  1089. }
  1090. .djsCont{
  1091. width: 638rpx;
  1092. height: 50vh;
  1093. background: #fff;
  1094. margin-top: 20vh;
  1095. margin-left:56rpx ;border-radius: 15rpx;
  1096. }
  1097. .djsCont .ptLine{
  1098. border-top:0;
  1099. border-bottom: 1px solid #EEEEEE;
  1100. }
  1101. .djsCont .bmTop{
  1102. border-bottom: 1px solid #EEEEEE;
  1103. padding: 24rpx;
  1104. }
  1105. .djsLineBox{
  1106. height: calc(60vh - 120rpx);
  1107. overflow-y: scroll;
  1108. }
  1109. .ptLine{
  1110. display: flex;
  1111. justify-content: space-between;
  1112. padding: 26rpx 24rpx;border-top: 1px solid #EEEEEE;
  1113. }
  1114. .FirstMobilePhone{
  1115. font-weight: 400;
  1116. color: #222222;font-size: 28rpx;line-height: 60rpx;
  1117. }
  1118. .DiffBNumber{
  1119. font-weight: 400;text-align: right;
  1120. color: #222222;font-size: 26rpx;
  1121. }
  1122. .ptlineRight{
  1123. display: flex;
  1124. }
  1125. .ptlinexx{
  1126. padding-right: 12rpx;
  1127. }
  1128. .ptBtn{
  1129. width: 137rpx;font-weight: 400;
  1130. color: #FFFFFF;font-size: 26rpx;
  1131. height: 60rpx;text-align: center;
  1132. background: #E02E24;line-height: 60rpx;
  1133. border-radius: 6rpx;
  1134. margin-top: 4rpx;
  1135. }
  1136. .ptdjs{
  1137. font-weight: 400;
  1138. color: #666666;font-size: 24rpx;
  1139. }
  1140. .ptBox{
  1141. background: #ffffff;margin-top: 20rpx;
  1142. }
  1143. .bottomPtBox{
  1144. display: flex;padding-top: 24rpx;
  1145. }
  1146. .ptNum{
  1147. font-weight: 400;
  1148. color: #222222;font-size: 28rpx;
  1149. }
  1150. .ptBoxtop{
  1151. display: flex;justify-content: space-between;
  1152. padding: 20rpx 24rpx;
  1153. }
  1154. .ptMore{
  1155. font-weight: 400;
  1156. color: #666666;font-size: 24rpx;
  1157. }
  1158. .separate{
  1159. width: 284rpx;margin-left: 30rpx;
  1160. height: 74rpx;
  1161. background: #FFE4E2;
  1162. border-radius: 37rpx;
  1163. text-align: center;color:#D53533;
  1164. }
  1165. .separate .separateTop{
  1166. color:#D53533;
  1167. }
  1168. .separate .separateTxt{
  1169. color:#D53533;
  1170. }
  1171. .groupBtn{
  1172. width: 284rpx;text-align: center;color: #ffffff;
  1173. height: 74rpx;margin-left: 30rpx;
  1174. background: #D53533;
  1175. border-radius: 37rpx;
  1176. }
  1177. .separateTop{
  1178. font-weight: 500;font-size: 28rpx;
  1179. color: #FFFFFF;padding-top: 2rpx;
  1180. }
  1181. .separateTxt{
  1182. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1183. }
  1184. .companyName{
  1185. font-size: 24rpx;
  1186. font-family: PingFangSC-Medium, PingFang SC;
  1187. font-weight: 500;
  1188. color: #666666;
  1189. line-height: 33rpx;
  1190. text-align: center;
  1191. padding: 40rpx;
  1192. }
  1193. .shareBtn{
  1194. /* width: 100rpx; */
  1195. background: #F4F5F7;
  1196. }
  1197. .shareBimg{
  1198. width: 102rpx;
  1199. height: 102rpx;
  1200. }
  1201. .bottomTxtshare{
  1202. color: #333333;
  1203. font-size: 22rpx;
  1204. padding-top: 20rpx;
  1205. }
  1206. .shareBox{
  1207. width: 100%;
  1208. height: 100vh;
  1209. background: rgba(0, 0, 0, 0.5);
  1210. position: fixed;
  1211. left: 0;
  1212. bottom: 0;
  1213. z-index: 11;
  1214. }
  1215. .shareCont{
  1216. width: 100%;
  1217. background: #F4F5F7;
  1218. position: absolute;
  1219. left: 0;
  1220. bottom: 0;
  1221. display: flex;
  1222. justify-content: space-around;
  1223. padding: 50rpx 0;
  1224. border-radius: 40rpx 40rpx 0px 0px;
  1225. }
  1226. .mp3Img{
  1227. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  1228. position: fixed;
  1229. top: 40rpx;
  1230. right: 40rpx;
  1231. width: 60rpx;
  1232. height: 60rpx;
  1233. }
  1234. .ckshopBox{
  1235. z-index: 111 !important;
  1236. }
  1237. .shopline {
  1238. padding: 20rpx 0;
  1239. background-color: #FFFFFF;
  1240. border-radius: 10rpx;
  1241. display: flex;
  1242. }
  1243. .baomingBox{
  1244. width: 750rpx;
  1245. height: 100vh;
  1246. background: rgba(0, 0, 0, 0.4);
  1247. position: fixed;
  1248. top: 0;
  1249. left: 0;
  1250. z-index: 11;
  1251. /* display: flex;
  1252. align-items: center; */
  1253. }
  1254. .bmTtnBox{
  1255. width: 750rpx;
  1256. height: 120rpx;
  1257. background: #FFFFFF;
  1258. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  1259. position: absolute;
  1260. left: 0;
  1261. bottom: 0;
  1262. padding-bottom: constant(safe-area-inset-bottom);
  1263. padding-bottom: env(safe-area-inset-bottom);
  1264. }
  1265. .bmBtn{
  1266. width: 690rpx;
  1267. height: 74rpx;
  1268. background: #D53533;
  1269. border-radius: 37rpx;
  1270. text-align: center;
  1271. line-height: 74rpx;
  1272. color: #ffffff;
  1273. font-size: 30rpx;
  1274. margin-top: 23rpx;
  1275. margin-left: 30rpx;
  1276. margin-top: 20rpx;
  1277. }
  1278. .bmshopjt{
  1279. width: 12rpx;
  1280. height: 20rpx;
  1281. margin-top: 10rpx;
  1282. }
  1283. .bmlineInput{
  1284. color: #333333;
  1285. font-size: 28rpx;
  1286. height: 98rpx;
  1287. line-height: 98rpx;
  1288. }
  1289. .bmshopname{
  1290. font-weight: 400;
  1291. color: #999999;
  1292. font-size: 28rpx;
  1293. line-height: 40rpx;
  1294. width: 500rpx;
  1295. white-space:nowrap;
  1296. overflow:hidden;
  1297. text-overflow:ellipsis;
  1298. }
  1299. .bmshopLine{
  1300. display: flex;
  1301. justify-content: space-between;
  1302. padding: 26rpx 0;
  1303. border-bottom: 1px solid #EEEEEE;
  1304. }
  1305. .bmLine{
  1306. border-bottom: 1px solid #EEEEEE;
  1307. }
  1308. .bmTop{
  1309. display: flex;
  1310. justify-content: space-between;
  1311. padding: 30rpx 24rpx 10rpx 24rpx;
  1312. }
  1313. .bmTitle{
  1314. font-weight: 500;
  1315. color: #3C3C3C;
  1316. font-size: 30rpx;
  1317. line-height: 36rpx;
  1318. }
  1319. .bmChimg{
  1320. width: 36rpx;
  1321. height: 36rpx;
  1322. }
  1323. .baomingCont{
  1324. position: absolute;
  1325. width: 750rpx;
  1326. /* height:850rpx; */
  1327. /* padding-bottom: constant(safe-area-inset-bottom);
  1328. padding-bottom: env(safe-area-inset-bottom); */
  1329. left: 0;
  1330. bottom: 0;
  1331. background: #ffffff;
  1332. border-radius: 24rpx 24rpx 0px 0px;
  1333. padding-bottom: 10rpx;
  1334. }
  1335. .shareIcon{
  1336. width: 48rpx;
  1337. height: 48rpx;
  1338. display: block;
  1339. }
  1340. .bottomBtnBox{
  1341. display: flex;
  1342. }
  1343. .bottomBtnBoxLeft{
  1344. padding-left: 40rpx;
  1345. padding-top: 21rpx;
  1346. }
  1347. .shareTxt{
  1348. color: #666666;font-size: 20rpx;
  1349. text-align: center;
  1350. }
  1351. .bottomBtn{
  1352. width: 598rpx;
  1353. height: 74rpx;
  1354. background: #D53533;
  1355. border-radius: 37rpx;
  1356. line-height: 74rpx;
  1357. text-align: center;
  1358. color: #ffffff;
  1359. font-size: 30rpx;
  1360. margin-top: 24rpx;
  1361. margin-left: 34rpx;
  1362. }
  1363. .bottomBtn2{
  1364. width: 598rpx;
  1365. height: 74rpx;
  1366. background: #DDDDDD;
  1367. border-radius: 37rpx;
  1368. line-height: 74rpx;
  1369. text-align: center;
  1370. color: #ffffff;
  1371. font-size: 30rpx;
  1372. margin-top: 24rpx;
  1373. margin-left: 34rpx;
  1374. }
  1375. .timeTbox{
  1376. width: 750rpx;
  1377. height: 60rpx;
  1378. background:#FFF5F0;
  1379. border-radius: 24rpx 24rpx 0px 0px;
  1380. border: 1px solid #EFE1D5;
  1381. display: flex;
  1382. justify-content: center;
  1383. font-size: 24rpx;
  1384. font-family: PingFangSC-Regular, PingFang SC;
  1385. font-weight: 400;
  1386. color: #764D49;
  1387. }
  1388. .timeviewTxt{
  1389. line-height: 41rpx;
  1390. padding-top: 10rpx;
  1391. }
  1392. .timeDivTxt{
  1393. line-height: 60rpx;
  1394. padding: 0 10rpx;
  1395. }
  1396. .timeK{
  1397. height: 41rpx;
  1398. line-height: 41rpx;
  1399. color: #FFFFFF;
  1400. width: 41rpx;
  1401. text-align: center;
  1402. background: #F03B3B;
  1403. border-radius: 6rpx;
  1404. margin-top: 9rpx;
  1405. margin-left: 15rpx;
  1406. margin-right: 15rpx;
  1407. }
  1408. .bottom{
  1409. width: 750rpx;
  1410. height: 180rpx;
  1411. background: #FFFFFF;
  1412. border-radius: 24rpx 24rpx 0px 0px;
  1413. position: fixed;
  1414. left: 0;
  1415. bottom: 0;
  1416. padding-bottom: constant(safe-area-inset-bottom);
  1417. padding-bottom: env(safe-area-inset-bottom);
  1418. }
  1419. .signupBox{
  1420. background: #ffffff;
  1421. margin-top: 20rpx;
  1422. }
  1423. .seeBox{
  1424. display: flex;
  1425. flex-wrap: wrap;
  1426. padding-left: 24rpx;
  1427. padding-bottom: 20rpx;
  1428. }
  1429. .seeLine{
  1430. padding-top: 14rpx;
  1431. padding-right: 16rpx;
  1432. }
  1433. .signupLine{
  1434. display: flex;
  1435. justify-content: space-between;
  1436. padding: 11rpx 0;
  1437. border-bottom: 1px solid #DDDDDD;
  1438. }
  1439. .signupLineM{
  1440. color: #3C3C3C;font-size: 26rpx;
  1441. line-height: 56rpx;
  1442. }
  1443. .signupLineR{
  1444. color: #999999;
  1445. font-size: 26rpx;
  1446. line-height: 56rpx;
  1447. }
  1448. .signupLineLName{
  1449. font-weight: 400;
  1450. color: #3C3C3C;
  1451. font-size: 26rpx;
  1452. padding-left: 16rpx;
  1453. line-height: 56rpx;
  1454. width: 150rpx;
  1455. white-space:nowrap;
  1456. overflow:hidden;
  1457. text-overflow:ellipsis;
  1458. }
  1459. .signupCont{
  1460. padding: 0 24rpx;
  1461. }
  1462. .signupLineLImg{
  1463. width: 56rpx;
  1464. height: 56rpx;
  1465. border-radius: 8rpx;
  1466. }
  1467. .signupLineL{
  1468. display: flex;
  1469. }
  1470. .signupTop{
  1471. width: 750rpx;
  1472. height: 78rpx;
  1473. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1474. background-size: 100% 100%;
  1475. text-align: center;
  1476. line-height: 78rpx;
  1477. }
  1478. .signupTops1{
  1479. color: #FF0000;font-weight: 500;
  1480. font-size: 28rpx;
  1481. }
  1482. .signupTops1{
  1483. color: #703917;font-weight: 500;
  1484. font-size: 28rpx;
  1485. }
  1486. .shopRightIcon{
  1487. width: 44rpx;
  1488. height: 44rpx;
  1489. display: block;
  1490. margin: 0 auto;
  1491. margin-bottom: 10rpx;
  1492. }
  1493. .shopName{
  1494. color: #3C3C3C;
  1495. font-size: 28rpx;
  1496. width: 500rpx;
  1497. }
  1498. .shopaddress{
  1499. font-weight: 400;
  1500. color: #999999;
  1501. font-size: 24rpx;
  1502. padding-top: 10rpx;
  1503. width: 500rpx;
  1504. }
  1505. .shopRightSx{
  1506. width: 2rpx;
  1507. height: 69rpx;
  1508. background:#EEEEEE ;
  1509. margin-left: 34rpx;
  1510. margin-right: 34rpx;
  1511. margin-top: 14rpx;
  1512. }
  1513. .shopCont{
  1514. display: flex;
  1515. justify-content: space-between;
  1516. padding-top: 25rpx;
  1517. }
  1518. .shopContRight{
  1519. display: flex;
  1520. }
  1521. .shopContRightLine{
  1522. text-align: center;
  1523. color: #999999;
  1524. font-size: 24rpx;
  1525. }
  1526. .content{
  1527. min-height: 100vh;
  1528. background:#F4F5F7;
  1529. }
  1530. .detailImg{
  1531. width: 750rpx;
  1532. display: block;
  1533. }
  1534. .detailBOx{
  1535. background: #ffffff;
  1536. margin-top: 20rpx;
  1537. }
  1538. .detailTitle{
  1539. color: #222222;
  1540. font-weight: 500;
  1541. padding: 20rpx 24rpx;
  1542. font-size: 30rpx;
  1543. }
  1544. .topimg{
  1545. width: 750rpx;
  1546. }
  1547. .shopMs{
  1548. font-weight: 500;
  1549. color: #222222;
  1550. line-height: 42rpx;
  1551. font-size: 30rpx;
  1552. }
  1553. .shopBox{
  1554. background: #ffffff;
  1555. margin-top: 20rpx;
  1556. padding: 20rpx 24rpx;
  1557. }
  1558. .shopBoxTop{
  1559. display: flex;
  1560. justify-content: space-between;
  1561. }
  1562. .shopTy{
  1563. display: flex;
  1564. }
  1565. .shopTyTxt{
  1566. font-weight: 400;
  1567. color: #666666;
  1568. font-size: 24rpx;
  1569. line-height: 42rpx;
  1570. }
  1571. .shopjt{
  1572. width: 14rpx;
  1573. height: 23rpx;
  1574. margin-top: 10rpx;
  1575. margin-left: 10rpx;
  1576. }
  1577. .cont{
  1578. background: #ffffff;
  1579. border-radius: 24rpx 24rpx 0px 0px;
  1580. margin-top: -30rpx;
  1581. padding: 30rpx 24rpx;
  1582. position: relative;
  1583. }
  1584. .name{
  1585. color: #3C3C3C;
  1586. line-height: 42rpx;
  1587. font-weight: 500;
  1588. font-size: 30rpx;
  1589. }
  1590. .name2{
  1591. color: #3C3C3C;
  1592. line-height: 36rpx;
  1593. font-weight: 400;
  1594. font-size: 26rpx;
  1595. padding-top: 16rpx;
  1596. }
  1597. .name3{
  1598. color: #999999;
  1599. line-height: 36rpx;
  1600. font-weight: 400;
  1601. font-size: 26rpx;
  1602. padding-top: 16rpx;
  1603. }
  1604. .shopImg {
  1605. width: 146rpx;
  1606. height: 146rpx;
  1607. border-radius: 6rpx;
  1608. }
  1609. .shopBox2 {
  1610. padding-top: 30rpx;
  1611. display: flex;
  1612. }
  1613. .flex {
  1614. display: flex;
  1615. justify-content: space-between;
  1616. }
  1617. .shopCont2 {
  1618. padding-left: 22rpx;
  1619. width: 520rpx;
  1620. }
  1621. .shopName {
  1622. color: #333333;
  1623. font-size: 26rpx;
  1624. font-weight: 600;
  1625. }
  1626. .span1 {
  1627. color: #FF4F00;
  1628. font-size: 36rpx;
  1629. }
  1630. .span2 {
  1631. color: #FF4F00;
  1632. font-size: 22rpx;
  1633. }
  1634. .span3 {
  1635. color: #333333;
  1636. font-size: 22rpx;
  1637. padding-left: 22rpx;
  1638. }
  1639. .shopBq {
  1640. color: #FF4F00;
  1641. font-size: 22rpx;
  1642. border-radius: 4rpx;
  1643. border: 1px solid #FF4F00;
  1644. line-height: 30rpx;
  1645. height: 30rpx;
  1646. padding: 0rpx 5rpx;
  1647. margin-top: 10rpx;
  1648. }
  1649. .brandsBg {
  1650. display: flex;
  1651. height: 38rpx;
  1652. flex-wrap: wrap;
  1653. align-items: center;
  1654. overflow: hidden;
  1655. padding: 5rpx 0rpx;
  1656. }
  1657. .brands {
  1658. border-radius: 4rpx;
  1659. padding: 0 5rpx;
  1660. color: #F19D01;
  1661. height: 28rpx;
  1662. border: 1px solid #F19D01;
  1663. font-size: 20rpx;
  1664. line-height: 28rpx;
  1665. margin: 5rpx 10rpx 5rpx 0rpx;
  1666. }
  1667. .timeBg {
  1668. display: flex;
  1669. }
  1670. .shopTime {
  1671. color: #666666;
  1672. font-size: 22rpx;
  1673. }
  1674. .addressBox {
  1675. color: #666666;
  1676. font-size: 22rpx;
  1677. }
  1678. .ckshopLine{
  1679. display: flex;
  1680. padding: 20rpx 0;
  1681. border-bottom: 1px solid #EEEEEE;
  1682. }
  1683. button::after{
  1684. border: none;
  1685. }
  1686. button{
  1687. position: relative;
  1688. display: block;
  1689. margin-left: 0;
  1690. margin-right: 0;
  1691. padding-left: 0px;
  1692. padding-right: 0px;
  1693. box-sizing: border-box;
  1694. text-align: center;
  1695. text-decoration: none;
  1696. line-height: 1.35;
  1697. -webkit-tap-highlight-color: transparent;
  1698. overflow: hidden;
  1699. color: #000000;
  1700. background-color: #fff;
  1701. height: 100%;
  1702. }
  1703. .authorizBox{
  1704. width: 100vw;
  1705. height: 100vh;
  1706. background: rgba(0, 0, 0, 0.5);
  1707. position: fixed;
  1708. top: 0;
  1709. left: 0;
  1710. }
  1711. .authorizCont{
  1712. margin-top: 30vh;
  1713. width: 564rpx;
  1714. height: 408rpx;
  1715. background: #FFFFFF;
  1716. border-radius: 24rpx;
  1717. margin-left: 93rpx;
  1718. position: relative;
  1719. }
  1720. .authorizCloseImg{
  1721. width: 62rpx;
  1722. height: 62rpx;
  1723. }
  1724. .sqLogoBox{
  1725. width: 180rpx;
  1726. height: 180rpx;
  1727. background: #FFFFFF;
  1728. border-radius: 90rpx;
  1729. text-align: center;
  1730. position: absolute;
  1731. top: -50rpx;
  1732. left: 192rpx;
  1733. }
  1734. .authorizName{
  1735. color: #333333;
  1736. line-height: 42rpx;
  1737. font-size: 30rpx;
  1738. text-align: center;
  1739. padding-top: 58rpx;
  1740. }
  1741. .authorizMs{
  1742. color: #999999;
  1743. line-height: 36rpx;
  1744. font-size: 26rpx;
  1745. width: 452rpx;
  1746. padding-top: 24rpx;
  1747. text-align: center;
  1748. margin-left: 56rpx;
  1749. }
  1750. .authorizContbutton{
  1751. width: 422rpx;
  1752. height: 88rpx;
  1753. background: #D53533;
  1754. border-radius: 44rpx;
  1755. line-height: 88rpx;
  1756. text-align: center;
  1757. font-size:30rpx;
  1758. color: #FFFFFF;
  1759. margin-top: 62rpx;
  1760. margin-left:71rpx;
  1761. }
  1762. .applicationTk{
  1763. height: 60vh;
  1764. }
  1765. .groupBtnTxt{
  1766. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1767. }
  1768. .groupBtnTop{
  1769. font-weight: 500;font-size: 28rpx;
  1770. color: #FFFFFF;padding-top: 2rpx;
  1771. }
  1772. .couponPackageData{
  1773. background: #ffffff;
  1774. margin-top: 20rpx;
  1775. }
  1776. .couponPackageTitle{
  1777. padding-left: 24rpx;
  1778. padding-top: 30rpx;
  1779. color: #333333;
  1780. font-size: 32rpx;
  1781. line-height: 45rpx;
  1782. font-weight: 500;
  1783. }
  1784. .linecoupon{
  1785. justify-content: space-between;
  1786. }
  1787. .linecouponCont{
  1788. display: flex;
  1789. justify-content: space-between;
  1790. padding: 15rpx 24rpx;
  1791. }
  1792. .linecouponContLeft{
  1793. display: flex;
  1794. }
  1795. .couponType{
  1796. color: #FFA511;
  1797. border: 1px solid #FFA511;
  1798. border-radius: 4rpx;
  1799. font-size: 18rpx;
  1800. line-height: 26rpx;
  1801. padding: 0 8rpx;
  1802. height: 26rpx;
  1803. margin-top: 5rpx;
  1804. }
  1805. .couponName{
  1806. font-size: 26rpx;line-height: 38rpx;color: #3C3C3C;
  1807. padding-left: 20rpx;
  1808. }
  1809. .couponNum{
  1810. font-size: 26rpx;line-height: 38rpx;color: #999999;
  1811. }
  1812. </style>