jkDetail.vue 51 KB

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