jkDetail.vue 51 KB

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