jkDetail.vue 50 KB

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