jkDetail.vue 51 KB

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