jkDetail.vue 51 KB

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