jkDetail.vue 47 KB

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