jkDetail.vue 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917
  1. <template>
  2. <view class="content">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'活动详情'"></homenav>
  4. <view class="top">
  5. <img :src="mainImg" alt="" class="topimg" mode="widthFix">
  6. </view>
  7. <view class="cont" v-if="info">
  8. <view class="name">
  9. <view class="ptNameBz" v-if="info.groupType">
  10. {{info.groupNumber}}人团
  11. </view>
  12. <view style="width: 550rpx;"> {{info.activityName}}</view>
  13. </view>
  14. <view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
  15. <view class="name3">{{info.activityContent}}</view>
  16. </view>
  17. <!-- 拼团 -->
  18. <view class="ptBox" v-if="info.groupList&&info.groupList.length>0">
  19. <view class="ptBoxtop">
  20. <view class="ptNum">{{info.groupList.length}}人正在拼团,可直接参与</view>
  21. <view class="ptMore" @click="ptMore">
  22. <sapn>查看更多</sapn>
  23. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  24. </view>
  25. </view>
  26. <view class="ptLine" v-for="(item,index) in info.groupList" v-if="index<3">
  27. <view class="FirstMobilePhone">{{item.FirstMobilePhone?item.FirstMobilePhone:'***'}}</view>
  28. <view class="ptlineRight">
  29. <view class="ptlinexx">
  30. <view class="DiffBNumber">还差 <span>{{item.DiffBNumber}}人</span>拼成 </view>
  31. <view class="ptdjs">剩余{{item.EndTime | limitTimeFilter }}</view><!-- | limitTimeFilter -->
  32. </view>
  33. <button open-type="share" class=" shareBtn" :data-obj="item" v-if="item.IfMyself">
  34. <view class="ptBtn" >邀请好友 </view>
  35. </button>
  36. <view class="ptBtn" @click="join(item)" v-else>去拼团 </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="couponPackageData" v-if="info.couponPackageName">
  41. <view class="couponPackageTitle">{{info.couponPackageName}}</view>
  42. <view class="linecouponCont" v-for="item in info.couponList">
  43. <view class="linecouponContLeft">
  44. <view class="couponType" v-if="item.discountType==1">满减券</view>
  45. <view class="couponType" v-if="item.discountType==2">商品券</view>
  46. <view class="couponType" v-if="item.discountType==3">服务券</view>
  47. <view class="couponName">{{item.actName}}</view>
  48. </view>
  49. <view class="couponNum">x{{item.actQty}}</view>
  50. </view>
  51. </view>
  52. <view class="shopBox">
  53. <view class="shopBoxTop">
  54. <view class="shopMs">活动门店</view>
  55. <view class="shopTy" @click="useShow">
  56. <view class="shopTyTxt">{{info.shopCount}}家门店通用</view>
  57. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  58. </view>
  59. </view>
  60. <view class="shopCont">
  61. <view class="shopContLeft">
  62. <view class="shopName">{{shopInfo.shopName}}</view>
  63. <view class="shopaddress">{{shopInfo.address?shopInfo.address:''}}</view>
  64. </view>
  65. <view class="shopContRight">
  66. <view class="shopContRightLine" @click="getmap">
  67. <image src="../../static/timg/icon_map.png" alt="" class="shopRightIcon"></image>
  68. <view class="shopRightTxt">地图</view>
  69. </view>
  70. <view class="shopRightSx"></view>
  71. <view class="shopContRightLine" @click="call">
  72. <image src="../../static/timg/icon_phone.png" alt="" class="shopRightIcon"></image>
  73. <view class="shopRightTxt">电话</view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. <!-- 多少人报名 -->
  79. <view class="signupBox" v-if="info.signUserList.length">
  80. <view class="signupTop">
  81. <span class="signupTops1">{{info.sumNum}}</span>
  82. <span class="signupTops1">人已报名</span>
  83. </view>
  84. <view class="signupCont">
  85. <view class="signupLine" v-for="(item,index) in info.signUserList">
  86. <view class="signupLineL">
  87. <img :src="item.headImg" alt="" class="signupLineLImg">
  88. <view class="signupLineLName" v-if="item.nickName!='null'">{{item.nickName?item.nickName:'微信用户'}}</view>
  89. <view class="signupLineLName" v-else>微信用户</view>
  90. </view>
  91. <view class="signupLineM">{{item.plateNumber?item.plateNumber:''}}</view>
  92. <view class="signupLineR">{{item.signTime}}</view>
  93. </view>
  94. </view>
  95. </view>
  96. <!-- 多少人报名 -->
  97. <!-- 多少人看过 -->
  98. <view class="signupBox" v-if="info.lookCount">
  99. <view class="signupTop">
  100. <span class="signupTops1">{{info.lookCount}}</span>
  101. <span class="signupTops1">人看过</span>
  102. </view>
  103. <!-- <view class="seeBox">
  104. <view class="seeLine" v-for="(item,index) in 15">
  105. <img src="http://dmsphoto.66km.com.cn/marketing//accompany/3885B510-6405-4A5E-BD64-B6C09CEE070E.jpg" alt="" class="signupLineLImg">
  106. </view>
  107. </view> -->
  108. </view>
  109. <view class="detailBOx" v-if="dimgList.length>0">
  110. <view class="detailTitle">活动详情</view>
  111. <view class="detailImgBox" v-for="(item,index) in dimgList">
  112. <img :src="item.img" alt="" class="detailImg" mode="widthFix">
  113. </view>
  114. </view>
  115. <view class="companyName">©{{info.supportInfo}}</view>
  116. <view style="height: 200rpx;padding-bottom: constant(safe-area-inset-bottom);
  117. padding-bottom: env(safe-area-inset-bottom);"></view>
  118. <view class="bottom">
  119. <view class="timeTbox" v-if="!activityEnd">
  120. <view class="timeviewTxt" v-if="activityNoOpen"> 距开始</view>
  121. <view class="timeviewTxt" v-if="!activityNoOpen"> 距结束</view>
  122. <view class="timeK">{{shengyuD}}</view>
  123. <view class="timeviewTxt" > 天</view>
  124. <view class="timeK">{{shengyuH}}</view>
  125. <view class="timeviewTxt"> 时</view>
  126. <view class="timeK">{{shengyuM}}</view>
  127. <view class="timeviewTxt" > 分</view>
  128. </view>
  129. <view class="bottomBtnBox">
  130. <view class="bottomBtnBoxLeft" @click="shareShowzs">
  131. <image src="../../static/timg/share.png" alt="" class="shareIcon"></image>
  132. <view class="shareTxt">分享</view>
  133. </view>
  134. <!-- <button open-type="share" class="bottomBtnBoxLeft shareBtn" >
  135. <image src="../../static/timg/share.png" mode="" class="shareIcon"></image>
  136. <view class="shareTxt">分享</view>
  137. </button> -->
  138. <!-- 状态1未开始 2进行中3已结束 -->
  139. <view class="bottomBtn" v-if="info.state==2&&info.groupType!=1" @click="signUp" :style="{background:'#'+themeColor}">
  140. <span v-if="info.payType==1">¥{{info.money}} &nbsp; 立即抢购</span>
  141. <span v-else>立即报名</span>
  142. </view>
  143. <view class="bottomPtBox" v-if="info.state==2&&info.groupType==1" >
  144. <view class="separate" @click="signUp">
  145. <view class="separateTop">¥{{info.money}}</view>
  146. <view class="separateTxt">单独购买</view>
  147. </view>
  148. <view class="groupBtn" @click="groupFn">
  149. <view class="groupBtnTop">¥{{info.groupMoney}}</view>
  150. <view class="groupBtnTxt">发起拼团</view>
  151. </view>
  152. </view>
  153. <view class="bottomBtn2" v-if="info.state==1">报名未开始</view>
  154. <view class="bottomBtn2" v-if="info.state==3">报名已结束</view>
  155. </view>
  156. </view>
  157. <!-- 报名弹框 -->
  158. <view class="baomingBox" v-if="bmShow" @click="nobmshow">
  159. <view class="baomingCont applicationTk" @click.stop="" :style="{bottom: jpHeight}">
  160. <view class="bmTop">
  161. <view class="bmTitle">登记信息</view>
  162. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="nobmshow"></image>
  163. </view>
  164. <view style="padding: 0 24rpx;">
  165. <view class="bmshopLine" @click="showCkshop">
  166. <view class="bmshopname" v-if="!shopName">请选择门店</view>
  167. <view class="bmshopname" style="color: #333333;">{{shopName}}</view>
  168. <image src="../../static/timg/icon_arrow_right.png" alt="" class="bmshopjt"></image>
  169. </view>
  170. <!-- clWhere报名凭证1,2,3,4 1手机号2车牌号3姓名4单位 -->
  171. <view class="bmLine" v-if="info.clWhere.indexOf(1)!=-1" @click="focusState1cl">
  172. <!-- :focus="focusState1" --> <input type="number" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="mobilePhone" class="bmlineInput" placeholder="输入手机号" placeholder-style="color:#999999">
  173. </view>
  174. <view class="bmLine" v-if="info.clWhere.indexOf(2)!=-1" @click="focusState2cl">
  175. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="plateNumber" class="bmlineInput" placeholder="输入车牌号" placeholder-style="color:#999999">
  176. </view>
  177. <view class="bmLine" v-if="info.clWhere.indexOf(3)!=-1" @click="focusState3cl">
  178. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="customerName" class="bmlineInput" placeholder="输入姓名" placeholder-style="color:#999999">
  179. </view>
  180. <view class="bmLine" v-if="info.clWhere.indexOf(4)!=-1" @click="focusState4cl">
  181. <input type="text" :adjust-position="false" :hold-keyboard="true" @blur="inputBindBlur" @focus="inputBindFocus" v-model="unit" class="bmlineInput" placeholder="输入单位" placeholder-style="color:#999999">
  182. </view>
  183. </view>
  184. <view class="bmTtnBox">
  185. <view style="height: 1rpx;"></view>
  186. <view class="bmBtn" @click="submitOrder" :style="{background:'#'+themeColor}">
  187. <span v-if="groupOwner">
  188. ¥{{info.groupMoney}} &nbsp; {{groupOwner==1?'发起拼团':'立即拼团'}}
  189. </span>
  190. <span v-else>
  191. <span v-if="info.payType==1">¥{{info.money}} &nbsp; {{info.groupType==1?'单独购买':'立即抢购'}} </span>
  192. <span v-else>立即报名</span>
  193. </span>
  194. </view>
  195. </view>
  196. </view>
  197. </view>
  198. <!-- 门店弹框 -->
  199. <view class="baomingBox ckshopBox" v-if="ckshopShow">
  200. <view class="baomingCont">
  201. <view class="bmTop">
  202. <view class="bmTitle">选择门店</view>
  203. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop"></image>
  204. </view>
  205. <view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
  206. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  207. <view class="shoplineLeft">
  208. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  209. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  210. </view>
  211. <view class="shopright" style="padding-left: 20rpx;">
  212. <view class="shopTop">
  213. <view class="shopName">{{item.shopName}}</view>
  214. </view>
  215. <view class="brandsBg" v-if="item.brands">
  216. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  217. </view>
  218. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  219. v-if="item.endTime">{{item.endTime}}</span> </view>
  220. <view class="shopBottomLeft">
  221. <span class="shopaddress"
  222. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  223. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  224. </view>
  225. </view>
  226. </view>
  227. </view>
  228. </view>
  229. </view>
  230. <!-- 适用门店 -->
  231. <view class="baomingBox ckshopBox" v-if="useShopShow" @click="noShowShop2">
  232. <view class="baomingCont" @click.stop="">
  233. <view class="bmTop">
  234. <view class="bmTitle">选择门店</view>
  235. <image src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop2"></image>
  236. </view>
  237. <view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
  238. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  239. <view class="shoplineLeft">
  240. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  241. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  242. </view>
  243. <view class="shopright" style="padding-left: 20rpx;">
  244. <view class="shopTop">
  245. <view class="shopName">{{item.shopName}}</view>
  246. </view>
  247. <view class="brandsBg" v-if="item.brands">
  248. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  249. </view>
  250. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  251. v-if="item.endTime">{{item.endTime}}</span> </view>
  252. <view class="shopBottomLeft">
  253. <span class="shopaddress"
  254. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  255. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  256. </view>
  257. </view>
  258. </view>
  259. </view>
  260. </view>
  261. </view>
  262. <image src="../../static/timg/mp3.png" class="mp3Img" @click="play()" v-if="!payshow&mp3Url!=''"></image>
  263. <image src=".../../static/timg/mp31.png" class="mp3Img" @click="play2()" id="bofang" v-if="payshow&mp3Url!=''"></image>
  264. <view class="shareBox" v-if="shareShow" @click="shareShowyc">
  265. <img :src="shareQrCode" alt=""style="width: 300rpx;height:300rpx">
  266. <view class="shareCont" >
  267. <button open-type="share" class=" shareBtn" >
  268. <image src="../../static/timg/icon_wxhy.png" mode="" class="shareBimg"></image>
  269. <view class="bottomTxtshare">分享</view>
  270. </button>
  271. <view @click="gowp">
  272. <img src="../../static/timg/icon_haibao.png" alt="" class="shareBimg">
  273. <view class="bottomTxtshare">生成海报</view>
  274. </view>
  275. </view>
  276. </view>
  277. <!-- 手机号授权 -->
  278. <view class="authorizBox" v-if="authorizShow" @click="authorizShowno">
  279. <view class="authorizCont" @click.stop="">
  280. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  281. <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  282. <view class="sqLine">
  283. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  284. <view class="sqRefuse" @click="authorizShowHide">拒绝</view>
  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: 74rpx;
  1151. background: #FFE4E2;
  1152. border-radius: 37rpx;
  1153. text-align: center;color:#D53533;
  1154. }
  1155. .separate .separateTop{
  1156. color:#D53533;
  1157. }
  1158. .separate .separateTxt{
  1159. color:#D53533;
  1160. }
  1161. .groupBtn{
  1162. width: 284rpx;text-align: center;color: #ffffff;
  1163. height: 74rpx;margin-left: 30rpx;
  1164. background: #D53533;
  1165. border-radius: 37rpx;
  1166. }
  1167. .separateTop{
  1168. font-weight: 500;font-size: 28rpx;
  1169. color: #FFFFFF;padding-top: 2rpx;
  1170. }
  1171. .separateTxt{
  1172. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1173. }
  1174. .companyName{
  1175. font-size: 24rpx;
  1176. font-family: PingFangSC-Medium, PingFang SC;
  1177. font-weight: 500;
  1178. color: #666666;
  1179. line-height: 33rpx;
  1180. text-align: center;
  1181. padding: 40rpx;
  1182. }
  1183. .shareBtn{
  1184. /* width: 100rpx; */
  1185. background: #F4F5F7;
  1186. }
  1187. .shareBimg{
  1188. width: 102rpx;
  1189. height: 102rpx;
  1190. }
  1191. .bottomTxtshare{
  1192. color: #333333;
  1193. font-size: 22rpx;
  1194. padding-top: 20rpx;
  1195. }
  1196. .shareBox{
  1197. width: 100%;
  1198. height: 100vh;
  1199. background: rgba(0, 0, 0, 0.5);
  1200. position: fixed;
  1201. left: 0;
  1202. bottom: 0;
  1203. z-index: 11;
  1204. }
  1205. .shareCont{
  1206. width: 100%;
  1207. background: #F4F5F7;
  1208. position: absolute;
  1209. left: 0;
  1210. bottom: 0;
  1211. display: flex;
  1212. justify-content: space-around;
  1213. padding: 50rpx 0;
  1214. border-radius: 40rpx 40rpx 0px 0px;
  1215. }
  1216. .mp3Img{
  1217. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  1218. position: fixed;
  1219. top: 40rpx;
  1220. right: 40rpx;
  1221. width: 60rpx;
  1222. height: 60rpx;
  1223. }
  1224. .ckshopBox{
  1225. z-index: 111 !important;
  1226. }
  1227. .shopline {
  1228. padding: 20rpx 0;
  1229. background-color: #FFFFFF;
  1230. border-radius: 10rpx;
  1231. display: flex;
  1232. }
  1233. .baomingBox{
  1234. width: 750rpx;
  1235. height: 100vh;
  1236. background: rgba(0, 0, 0, 0.4);
  1237. position: fixed;
  1238. top: 0;
  1239. left: 0;
  1240. z-index: 11;
  1241. /* display: flex;
  1242. align-items: center; */
  1243. }
  1244. .bmTtnBox{
  1245. width: 750rpx;
  1246. height: 120rpx;
  1247. background: #FFFFFF;
  1248. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  1249. position: absolute;
  1250. left: 0;
  1251. bottom: 0;
  1252. padding-bottom: constant(safe-area-inset-bottom);
  1253. padding-bottom: env(safe-area-inset-bottom);
  1254. }
  1255. .bmBtn{
  1256. width: 690rpx;
  1257. height: 74rpx;
  1258. background: #D53533;
  1259. border-radius: 37rpx;
  1260. text-align: center;
  1261. line-height: 74rpx;
  1262. color: #ffffff;
  1263. font-size: 30rpx;
  1264. margin-top: 23rpx;
  1265. margin-left: 30rpx;
  1266. margin-top: 20rpx;
  1267. }
  1268. .bmshopjt{
  1269. width: 12rpx;
  1270. height: 20rpx;
  1271. margin-top: 10rpx;
  1272. }
  1273. .bmlineInput{
  1274. color: #333333;
  1275. font-size: 28rpx;
  1276. height: 98rpx;
  1277. line-height: 98rpx;
  1278. }
  1279. .bmshopname{
  1280. font-weight: 400;
  1281. color: #999999;
  1282. font-size: 28rpx;
  1283. line-height: 40rpx;
  1284. width: 500rpx;
  1285. white-space:nowrap;
  1286. overflow:hidden;
  1287. text-overflow:ellipsis;
  1288. }
  1289. .bmshopLine{
  1290. display: flex;
  1291. justify-content: space-between;
  1292. padding: 26rpx 0;
  1293. border-bottom: 1px solid #EEEEEE;
  1294. }
  1295. .bmLine{
  1296. border-bottom: 1px solid #EEEEEE;
  1297. }
  1298. .bmTop{
  1299. display: flex;
  1300. justify-content: space-between;
  1301. padding: 30rpx 24rpx 10rpx 24rpx;
  1302. }
  1303. .bmTitle{
  1304. font-weight: 500;
  1305. color: #3C3C3C;
  1306. font-size: 30rpx;
  1307. line-height: 36rpx;
  1308. }
  1309. .bmChimg{
  1310. width: 36rpx;
  1311. height: 36rpx;
  1312. }
  1313. .baomingCont{
  1314. position: absolute;
  1315. width: 750rpx;
  1316. /* height:850rpx; */
  1317. /* padding-bottom: constant(safe-area-inset-bottom);
  1318. padding-bottom: env(safe-area-inset-bottom); */
  1319. left: 0;
  1320. bottom: 0;
  1321. background: #ffffff;
  1322. border-radius: 24rpx 24rpx 0px 0px;
  1323. padding-bottom: 10rpx;
  1324. }
  1325. .shareIcon{
  1326. width: 48rpx;
  1327. height: 48rpx;
  1328. display: block;
  1329. }
  1330. .bottomBtnBox{
  1331. display: flex;
  1332. }
  1333. .bottomBtnBoxLeft{
  1334. padding-left: 40rpx;
  1335. padding-top: 21rpx;
  1336. }
  1337. .shareTxt{
  1338. color: #666666;font-size: 20rpx;
  1339. text-align: center;
  1340. }
  1341. .bottomBtn{
  1342. width: 598rpx;
  1343. height: 74rpx;
  1344. background: #D53533;
  1345. border-radius: 37rpx;
  1346. line-height: 74rpx;
  1347. text-align: center;
  1348. color: #ffffff;
  1349. font-size: 30rpx;
  1350. margin-top: 24rpx;
  1351. margin-left: 34rpx;
  1352. }
  1353. .bottomBtn2{
  1354. width: 598rpx;
  1355. height: 74rpx;
  1356. background: #DDDDDD;
  1357. border-radius: 37rpx;
  1358. line-height: 74rpx;
  1359. text-align: center;
  1360. color: #ffffff;
  1361. font-size: 30rpx;
  1362. margin-top: 24rpx;
  1363. margin-left: 34rpx;
  1364. }
  1365. .timeTbox{
  1366. width: 750rpx;
  1367. height: 60rpx;
  1368. background:#FFF5F0;
  1369. border-radius: 24rpx 24rpx 0px 0px;
  1370. border: 1px solid #EFE1D5;
  1371. display: flex;
  1372. justify-content: center;
  1373. font-size: 24rpx;
  1374. font-family: PingFangSC-Regular, PingFang SC;
  1375. font-weight: 400;
  1376. color: #764D49;
  1377. }
  1378. .timeviewTxt{
  1379. line-height: 41rpx;
  1380. padding-top: 10rpx;
  1381. }
  1382. .timeDivTxt{
  1383. line-height: 60rpx;
  1384. padding: 0 10rpx;
  1385. }
  1386. .timeK{
  1387. height: 41rpx;
  1388. line-height: 41rpx;
  1389. color: #FFFFFF;
  1390. width: 41rpx;
  1391. text-align: center;
  1392. background: #F03B3B;
  1393. border-radius: 6rpx;
  1394. margin-top: 9rpx;
  1395. margin-left: 15rpx;
  1396. margin-right: 15rpx;
  1397. }
  1398. .bottom{
  1399. width: 750rpx;
  1400. height: 180rpx;
  1401. background: #FFFFFF;
  1402. border-radius: 24rpx 24rpx 0px 0px;
  1403. position: fixed;
  1404. left: 0;
  1405. bottom: 0;
  1406. padding-bottom: constant(safe-area-inset-bottom);
  1407. padding-bottom: env(safe-area-inset-bottom);
  1408. }
  1409. .signupBox{
  1410. background: #ffffff;
  1411. margin-top: 20rpx;
  1412. }
  1413. .seeBox{
  1414. display: flex;
  1415. flex-wrap: wrap;
  1416. padding-left: 24rpx;
  1417. padding-bottom: 20rpx;
  1418. }
  1419. .seeLine{
  1420. padding-top: 14rpx;
  1421. padding-right: 16rpx;
  1422. }
  1423. .signupLine{
  1424. display: flex;
  1425. justify-content: space-between;
  1426. padding: 11rpx 0;
  1427. border-bottom: 1px solid #DDDDDD;
  1428. }
  1429. .signupLineM{
  1430. color: #3C3C3C;font-size: 26rpx;
  1431. line-height: 56rpx;
  1432. }
  1433. .signupLineR{
  1434. color: #999999;
  1435. font-size: 26rpx;
  1436. line-height: 56rpx;
  1437. }
  1438. .signupLineLName{
  1439. font-weight: 400;
  1440. color: #3C3C3C;
  1441. font-size: 26rpx;
  1442. padding-left: 16rpx;
  1443. line-height: 56rpx;
  1444. width: 150rpx;
  1445. white-space:nowrap;
  1446. overflow:hidden;
  1447. text-overflow:ellipsis;
  1448. }
  1449. .signupCont{
  1450. padding: 0 24rpx;
  1451. }
  1452. .signupLineLImg{
  1453. width: 56rpx;
  1454. height: 56rpx;
  1455. border-radius: 8rpx;
  1456. }
  1457. .signupLineL{
  1458. display: flex;
  1459. }
  1460. .signupTop{
  1461. width: 750rpx;
  1462. height: 78rpx;
  1463. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1464. background-size: 100% 100%;
  1465. text-align: center;
  1466. line-height: 78rpx;
  1467. }
  1468. .signupTops1{
  1469. color: #FF0000;font-weight: 500;
  1470. font-size: 28rpx;
  1471. }
  1472. .signupTops1{
  1473. color: #703917;font-weight: 500;
  1474. font-size: 28rpx;
  1475. }
  1476. .shopRightIcon{
  1477. width: 44rpx;
  1478. height: 44rpx;
  1479. display: block;
  1480. margin: 0 auto;
  1481. margin-bottom: 10rpx;
  1482. }
  1483. .shopName{
  1484. color: #3C3C3C;
  1485. font-size: 28rpx;
  1486. width: 500rpx;
  1487. }
  1488. .shopaddress{
  1489. font-weight: 400;
  1490. color: #999999;
  1491. font-size: 24rpx;
  1492. padding-top: 10rpx;
  1493. width: 500rpx;
  1494. }
  1495. .shopRightSx{
  1496. width: 2rpx;
  1497. height: 69rpx;
  1498. background:#EEEEEE ;
  1499. margin-left: 34rpx;
  1500. margin-right: 34rpx;
  1501. margin-top: 14rpx;
  1502. }
  1503. .shopCont{
  1504. display: flex;
  1505. justify-content: space-between;
  1506. padding-top: 25rpx;
  1507. }
  1508. .shopContRight{
  1509. display: flex;
  1510. }
  1511. .shopContRightLine{
  1512. text-align: center;
  1513. color: #999999;
  1514. font-size: 24rpx;
  1515. }
  1516. .content{
  1517. min-height: 100vh;
  1518. background:#F4F5F7;
  1519. }
  1520. .detailImg{
  1521. width: 750rpx;
  1522. display: block;
  1523. }
  1524. .detailBOx{
  1525. background: #ffffff;
  1526. margin-top: 20rpx;
  1527. }
  1528. .detailTitle{
  1529. color: #222222;
  1530. font-weight: 500;
  1531. padding: 20rpx 24rpx;
  1532. font-size: 30rpx;
  1533. }
  1534. .topimg{
  1535. width: 750rpx;
  1536. }
  1537. .shopMs{
  1538. font-weight: 500;
  1539. color: #222222;
  1540. line-height: 42rpx;
  1541. font-size: 30rpx;
  1542. }
  1543. .shopBox{
  1544. background: #ffffff;
  1545. margin-top: 20rpx;
  1546. padding: 20rpx 24rpx;
  1547. }
  1548. .shopBoxTop{
  1549. display: flex;
  1550. justify-content: space-between;
  1551. }
  1552. .shopTy{
  1553. display: flex;
  1554. }
  1555. .shopTyTxt{
  1556. font-weight: 400;
  1557. color: #666666;
  1558. font-size: 24rpx;
  1559. line-height: 42rpx;
  1560. }
  1561. .shopjt{
  1562. width: 14rpx;
  1563. height: 23rpx;
  1564. margin-top: 10rpx;
  1565. margin-left: 10rpx;
  1566. }
  1567. .cont{
  1568. background: #ffffff;
  1569. border-radius: 24rpx 24rpx 0px 0px;
  1570. margin-top: -30rpx;
  1571. padding: 30rpx 24rpx;
  1572. position: relative;
  1573. }
  1574. .name{
  1575. color: #3C3C3C;
  1576. line-height: 42rpx;
  1577. font-weight: 500;
  1578. font-size: 30rpx;
  1579. }
  1580. .name2{
  1581. color: #3C3C3C;
  1582. line-height: 36rpx;
  1583. font-weight: 400;
  1584. font-size: 26rpx;
  1585. padding-top: 16rpx;
  1586. }
  1587. .name3{
  1588. color: #999999;
  1589. line-height: 36rpx;
  1590. font-weight: 400;
  1591. font-size: 26rpx;
  1592. padding-top: 16rpx;
  1593. }
  1594. .shopImg {
  1595. width: 146rpx;
  1596. height: 146rpx;
  1597. border-radius: 6rpx;
  1598. }
  1599. .shopBox2 {
  1600. padding-top: 30rpx;
  1601. display: flex;
  1602. }
  1603. .flex {
  1604. display: flex;
  1605. justify-content: space-between;
  1606. }
  1607. .shopCont2 {
  1608. padding-left: 22rpx;
  1609. width: 520rpx;
  1610. }
  1611. .shopName {
  1612. color: #333333;
  1613. font-size: 26rpx;
  1614. font-weight: 600;
  1615. }
  1616. .span1 {
  1617. color: #FF4F00;
  1618. font-size: 36rpx;
  1619. }
  1620. .span2 {
  1621. color: #FF4F00;
  1622. font-size: 22rpx;
  1623. }
  1624. .span3 {
  1625. color: #333333;
  1626. font-size: 22rpx;
  1627. padding-left: 22rpx;
  1628. }
  1629. .shopBq {
  1630. color: #FF4F00;
  1631. font-size: 22rpx;
  1632. border-radius: 4rpx;
  1633. border: 1px solid #FF4F00;
  1634. line-height: 30rpx;
  1635. height: 30rpx;
  1636. padding: 0rpx 5rpx;
  1637. margin-top: 10rpx;
  1638. }
  1639. .brandsBg {
  1640. display: flex;
  1641. height: 38rpx;
  1642. flex-wrap: wrap;
  1643. align-items: center;
  1644. overflow: hidden;
  1645. padding: 5rpx 0rpx;
  1646. }
  1647. .brands {
  1648. border-radius: 4rpx;
  1649. padding: 0 5rpx;
  1650. color: #F19D01;
  1651. height: 28rpx;
  1652. border: 1px solid #F19D01;
  1653. font-size: 20rpx;
  1654. line-height: 28rpx;
  1655. margin: 5rpx 10rpx 5rpx 0rpx;
  1656. }
  1657. .timeBg {
  1658. display: flex;
  1659. }
  1660. .shopTime {
  1661. color: #666666;
  1662. font-size: 22rpx;
  1663. }
  1664. .addressBox {
  1665. color: #666666;
  1666. font-size: 22rpx;
  1667. }
  1668. .ckshopLine{
  1669. display: flex;
  1670. padding: 20rpx 0;
  1671. border-bottom: 1px solid #EEEEEE;
  1672. }
  1673. button::after{
  1674. border: none;
  1675. }
  1676. button{
  1677. position: relative;
  1678. display: block;
  1679. margin-left: 0;
  1680. margin-right: 0;
  1681. padding-left: 0px;
  1682. padding-right: 0px;
  1683. box-sizing: border-box;
  1684. text-align: center;
  1685. text-decoration: none;
  1686. line-height: 1.35;
  1687. -webkit-tap-highlight-color: transparent;
  1688. overflow: hidden;
  1689. color: #000000;
  1690. background-color: #fff;
  1691. height: 100%;
  1692. }
  1693. .authorizBox{
  1694. width: 100vw;
  1695. height: 100vh;
  1696. background: rgba(0, 0, 0, 0.5);
  1697. position: fixed;
  1698. top: 0;
  1699. left: 0;
  1700. }
  1701. .authorizCont{
  1702. margin-top: 30vh;
  1703. width: 564rpx;
  1704. height: 408rpx;
  1705. background: #FFFFFF;
  1706. border-radius: 24rpx;
  1707. margin-left: 93rpx;
  1708. position: relative;
  1709. }
  1710. .authorizCloseImg{
  1711. width: 62rpx;
  1712. height: 62rpx;
  1713. }
  1714. .sqLogoBox{
  1715. width: 180rpx;
  1716. height: 180rpx;
  1717. background: #FFFFFF;
  1718. border-radius: 90rpx;
  1719. text-align: center;
  1720. position: absolute;
  1721. top: -50rpx;
  1722. left: 192rpx;
  1723. }
  1724. .authorizName{
  1725. color: #333333;
  1726. line-height: 42rpx;
  1727. font-size: 30rpx;
  1728. text-align: center;
  1729. padding-top: 58rpx;
  1730. }
  1731. .authorizMs{
  1732. color: #999999;
  1733. line-height: 36rpx;
  1734. font-size: 26rpx;
  1735. width: 452rpx;
  1736. padding-top: 24rpx;
  1737. text-align: center;
  1738. margin-left: 56rpx;
  1739. }
  1740. .authorizContbutton{
  1741. width: 210rpx;
  1742. height: 66rpx;
  1743. background: #D53533;
  1744. border-radius: 44rpx;
  1745. line-height: 66rpx;
  1746. text-align: center;
  1747. font-size:30rpx;
  1748. color: #FFFFFF;
  1749. margin-left:40rpx;
  1750. }
  1751. .sqRefuse{
  1752. width: 210rpx;
  1753. height: 66rpx;
  1754. border: 1px solid #eaeaea;
  1755. line-height: 66rpx;
  1756. border-radius: 36rpx;
  1757. text-align: center;
  1758. font-size:30rpx;
  1759. margin-right:40rpx;
  1760. color: #999999;
  1761. }
  1762. .sqLine{
  1763. margin-top: 62rpx;
  1764. display: flex;
  1765. justify-content: space-between;
  1766. }
  1767. .applicationTk{
  1768. height: 60vh;
  1769. }
  1770. .groupBtnTxt{
  1771. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1772. }
  1773. .groupBtnTop{
  1774. font-weight: 500;font-size: 28rpx;
  1775. color: #FFFFFF;padding-top: 2rpx;
  1776. }
  1777. .couponPackageData{
  1778. background: #ffffff;
  1779. margin-top: 20rpx;
  1780. }
  1781. .couponPackageTitle{
  1782. padding-left: 24rpx;
  1783. padding-top: 30rpx;
  1784. color: #333333;
  1785. font-size: 32rpx;
  1786. line-height: 45rpx;
  1787. font-weight: 500;
  1788. }
  1789. .linecoupon{
  1790. justify-content: space-between;
  1791. }
  1792. .linecouponCont{
  1793. display: flex;
  1794. justify-content: space-between;
  1795. padding: 15rpx 24rpx;
  1796. }
  1797. .linecouponContLeft{
  1798. display: flex;
  1799. }
  1800. .couponType{
  1801. color: #FFA511;
  1802. border: 1px solid #FFA511;
  1803. border-radius: 4rpx;
  1804. font-size: 18rpx;
  1805. line-height: 26rpx;
  1806. padding: 0 8rpx;
  1807. height: 26rpx;
  1808. margin-top: 5rpx;
  1809. }
  1810. .couponName{
  1811. font-size: 26rpx;line-height: 38rpx;color: #3C3C3C;
  1812. padding-left: 20rpx;
  1813. }
  1814. .couponNum{
  1815. font-size: 26rpx;line-height: 38rpx;color: #999999;
  1816. }
  1817. </style>