jkDetail.vue 50 KB

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