jkDetail.vue 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825
  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. setTimeout(function() {
  699. uni.redirectTo({
  700. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  701. })
  702. }, 300);
  703. },
  704. fail: function (err) {
  705. console.log(err)
  706. uni.showToast({
  707. title: '支付失败',
  708. icon:'none',
  709. duration: 2000
  710. });
  711. console.log(that.orderData)
  712. uni.redirectTo({
  713. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  714. })
  715. }
  716. });
  717. },
  718. signUp(){
  719. this.groupOwner=0;
  720. if(this.userInfo){
  721. /* this.info.shopList.forEach(item=>{
  722. if(item.id == this.shopInfo.id){
  723. this.ckshopdata=item;
  724. this.shopName=item.shopName;
  725. }
  726. }) */
  727. this.bmShow=true;
  728. }else{
  729. this.authorizShow=true
  730. }
  731. },
  732. groupFn(){
  733. this.groupOwner=1;
  734. if(this.userInfo){
  735. this.bmShow=true;
  736. }else{
  737. this.authorizShow=true
  738. }
  739. },
  740. join(e){
  741. this.groupOwner=2;
  742. this.groupID=e.ID
  743. if(this.userInfo){
  744. this.bmShow=true;
  745. }else{
  746. this.authorizShow=true
  747. }
  748. },
  749. nobmshow(){
  750. this.bmShow=false;
  751. },
  752. ckshop(item){
  753. this.ckshopdata=item;
  754. this.shopName=item.shopName;
  755. this.ckshopShow=false;
  756. this.shopInfo=item
  757. this.useShopShow=false;
  758. },
  759. showCkshop(){
  760. console.log("选择门店")
  761. //this.ckshopShow=true;
  762. uni.navigateTo({
  763. url:'/pages/shop/ckshopList?goodsId='+this.collectingID+'&type=5'
  764. })
  765. },
  766. noShowShop(){
  767. this.ckshopShow=false;
  768. },
  769. queryActivityInfo(){
  770. uni.showLoading({
  771. title: '加载中'
  772. })
  773. this.$http('openHome/queryActivityInfo', {
  774. collectingID:this.collectingID
  775. }, 'GET').then(res => {
  776. //uni.hideLoading();
  777. this.info = res.data;
  778. console.log(this.info)
  779. this.getInfo();
  780. this.dimgList=[]
  781. if(this.info.imgList){
  782. this.info.imgList.forEach(item=>{
  783. if(item.imgType==1){
  784. this.mainImg=item.img
  785. }else{
  786. this.dimgList.push(item)
  787. }
  788. })
  789. }
  790. if (this.info.endTime < this.info.startTime) {
  791. // this.$vux.toast.text('时间设置错误')
  792. return
  793. }
  794. // this.activityNoOpen
  795. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  796. console.log("现在时间大于开始时间")
  797. this.activityNoOpen = false
  798. } else {
  799. this.activityNoOpen = true
  800. }
  801. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  802. console.log("现在时间大于结束时间")
  803. this.activityEnd = true
  804. } else {
  805. this.activityEnd = false
  806. }
  807. if (!this.activityNoOpen && !this.activityEnd) {
  808. this.clock()
  809. }
  810. if (this.activityNoOpen && !this.activityEnd) {
  811. this.clock2()
  812. }
  813. if(this.info.music){
  814. this.bgmMusic = uni.createInnerAudioContext();
  815. this.bgmMusic.autoplay = true;//自动播放
  816. this.bgmMusic.loop = true;//循环播放
  817. this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
  818. this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
  819. this.bgmMusic.onPlay(function(){
  820. console.log('背景音乐播放中');
  821. });
  822. this.bgmMusic.onError((res) => {
  823. console.log(res.errMsg);
  824. console.log(res.errCode);
  825. });
  826. }
  827. })
  828. },
  829. play2(){
  830. this.bgmMusic.play();
  831. this.payshow=false;
  832. },
  833. play(){
  834. this.payshow=true;
  835. this.bgmMusic.stop(()=>{
  836. console.log('背景音乐停止了');
  837. });
  838. },
  839. getInfo(){
  840. this.$http('openreservation/getInfo', {
  841. lat: '',
  842. lng: '',
  843. }, 'GET').then(res => {
  844. uni.hideLoading();
  845. //this.shopInfo = res.data.shopInfo
  846. var shopinfo=res.data.shopInfo;
  847. this.info.shopList.forEach(item=>{
  848. if(item.id==shopinfo.id){
  849. this.ckshopdata=shopinfo
  850. this.shopInfo=shopinfo
  851. this.shopName=this.shopInfo.shopName
  852. }
  853. })
  854. if(this.shopInfo==''){
  855. this.shopInfo=this.info.shopList[0]
  856. //this.shopName=this.shopInfo.shopName
  857. }
  858. this.beginTimer();
  859. })
  860. },
  861. call() {
  862. uni.makePhoneCall({
  863. phoneNumber: this.shopInfo.mobilePhone
  864. });
  865. },
  866. getmap() {
  867. console.log("打开地图")
  868. var that = this;
  869. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  870. uni.showToast({
  871. title: '该店铺未设置定位',
  872. icon: 'none',
  873. duration: 3000
  874. });
  875. } else {
  876. uni.openLocation({
  877. latitude: Number(that.shopInfo.lat),
  878. longitude: Number(that.shopInfo.lng),
  879. name: that.shopInfo.shopName,
  880. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  881. success: function() {
  882. console.log('success');
  883. },
  884. fail(err) {
  885. console.log(err)
  886. }
  887. });
  888. }
  889. },
  890. clock () {
  891. let _this = this
  892. let today = new Date() // 当前时间
  893. let h = today.getHours()
  894. let m = today.getMinutes()
  895. let s = today.getSeconds()
  896. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  897. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  898. this.activityEnd = true
  899. return
  900. }
  901. let stopH = stopTime.getHours()
  902. let stopM = stopTime.getMinutes()
  903. let stopS = stopTime.getSeconds()
  904. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  905. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  906. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  907. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  908. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  909. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  910. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  911. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  912. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  913. // setTimeout("clock()",500);
  914. this.shengyuM=shengyuM;
  915. this.shengyuD=shengyuD;
  916. this.shengyuH=shengyuH;
  917. setTimeout(_this.clock, 500)
  918. },
  919. clock2(){
  920. let _this = this
  921. let today = new Date() // 当前时间
  922. let h = today.getHours()
  923. let m = today.getMinutes()
  924. let s = today.getSeconds()
  925. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  926. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  927. this.activityNoOpen = true
  928. return
  929. }
  930. let stopH = startTime.getHours()
  931. let stopM = startTime.getMinutes()
  932. let stopS = startTime.getSeconds()
  933. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  934. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  935. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  936. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  937. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  938. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  939. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  940. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  941. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  942. // setTimeout("clock()",500);
  943. this.shengyuM=shengyuM;
  944. this.shengyuD=shengyuD;
  945. this.shengyuH=shengyuH;
  946. setTimeout(_this.clock2, 500)
  947. },
  948. decryptPhoneNumber: function(e) {
  949. console.log(e);
  950. this.code=e.detail.code
  951. this.wxPhoneLogin()
  952. this.authorizShow=false;
  953. },
  954. wxPhoneLogin(){
  955. var that=this;
  956. this.$http('miniApp2/sys/wxPhoneLogin', {
  957. appId:this.ext.appId,
  958. unionId:this.ext.unionId,
  959. code:this.code,
  960. openId:this.wxOpenData.openid
  961. },'POST').then(res => {
  962. var data = res.data;
  963. if(data.newCustomer){
  964. uni.showModal({
  965. title: '提示',
  966. content: data.newCustomerMsg,
  967. success: function(resTK) {
  968. }
  969. });
  970. var token=res.data.token
  971. data.loginInfo={}
  972. data.loginInfo.token=token
  973. this.$store.commit('mutationswxOpenData', data);
  974. return false;
  975. }
  976. if(data.loginInfo){
  977. this.userInfo=data.loginInfo.openUser;
  978. this.wxOpenData=data.loginInfo;
  979. this.$store.commit('mutationswxOpenData', data)
  980. this.$store.commit('mutationsuserInfo', this.userInfo)
  981. this.getInfo()
  982. }
  983. })
  984. },
  985. },
  986. filters: {
  987. // 拼团有效期的filter
  988. limitTimeFilter (val) {
  989. //console.log('limitTimeFilter')
  990. //https://blog.csdn.net/qq_39905409/article/details/104478623
  991. if (val) {
  992. //console.log(val)
  993. let formateLimitTimes = that.$common.formateTimeStamp(val);
  994. let txt = `${formateLimitTimes.hour} : ${formateLimitTimes.min} : ${formateLimitTimes.seconds} `;
  995. /* if (formateLimitTimes.day != '00') {
  996. txt = `${Number(formateLimitTimes.day)*24} 时 ${formateLimitTimes.min} 分 ${formateLimitTimes.seconds} 秒`;
  997. } */
  998. return txt;
  999. } else {
  1000. const twtxt = `0 : 0 : 0 `
  1001. return twtxt;
  1002. }
  1003. }
  1004. },
  1005. beforeCreate: function () {
  1006. that = this;
  1007. },
  1008. onShareAppMessage(res) {
  1009. console.log(this.userInfo)
  1010. var img='';
  1011. /* if(this.info.ImgList.length>0){
  1012. img=this.info.ImgList[0].url
  1013. } */
  1014. console.log(this.info.groupType)
  1015. if(this.info.groupType){
  1016. //console.log(res.target.dataset.obj.ID)
  1017. var url= 'pages/subPack/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName+'&groupID='+res.target.dataset.obj.ID
  1018. }else{
  1019. var url= 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1020. }
  1021. return {
  1022. title: this.info.activityName,
  1023. //imageUrl:this.mainImg,
  1024. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1025. path:url,
  1026. success(res){
  1027. uni.showToast({
  1028. title:'分享成功'
  1029. })
  1030. },
  1031. fail(res){
  1032. uni.showToast({
  1033. title:'分享失败',
  1034. icon:'none',
  1035. duration: 3000
  1036. })
  1037. }
  1038. }
  1039. },
  1040. }
  1041. </script>
  1042. <style scoped>
  1043. .ptNameBz{
  1044. font-weight: 500;line-height: 34rpx;
  1045. font-size: 22rpx;height: 32rpx;
  1046. color: #FD0F00;margin-top: 6rpx;margin-right: 10rpx;
  1047. background: url('http://dmsphoto.66km.com.cn/thFiles/2AF1130F-C318-45D3-B057-FA0728B41046.png') no-repeat;
  1048. background-size: 100% 100%;
  1049. padding-left: 64rpx;padding-right: 4rpx;
  1050. }
  1051. .name{
  1052. display: flex;
  1053. }
  1054. .djsCont{
  1055. width: 638rpx;
  1056. height: 50vh;
  1057. background: #fff;
  1058. margin-top: 20vh;
  1059. margin-left:56rpx ;border-radius: 15rpx;
  1060. }
  1061. .djsCont .ptLine{
  1062. border-top:0;
  1063. border-bottom: 1px solid #EEEEEE;
  1064. }
  1065. .djsCont .bmTop{
  1066. border-bottom: 1px solid #EEEEEE;
  1067. padding: 24rpx;
  1068. }
  1069. .djsLineBox{
  1070. height: calc(60vh - 120rpx);
  1071. overflow-y: scroll;
  1072. }
  1073. .ptLine{
  1074. display: flex;
  1075. justify-content: space-between;
  1076. padding: 26rpx 24rpx;border-top: 1px solid #EEEEEE;
  1077. }
  1078. .FirstMobilePhone{
  1079. font-weight: 400;
  1080. color: #222222;font-size: 28rpx;line-height: 60rpx;
  1081. }
  1082. .DiffBNumber{
  1083. font-weight: 400;text-align: right;
  1084. color: #222222;font-size: 26rpx;
  1085. }
  1086. .ptlineRight{
  1087. display: flex;
  1088. }
  1089. .ptlinexx{
  1090. padding-right: 12rpx;
  1091. }
  1092. .ptBtn{
  1093. width: 137rpx;font-weight: 400;
  1094. color: #FFFFFF;font-size: 26rpx;
  1095. height: 60rpx;text-align: center;
  1096. background: #E02E24;line-height: 60rpx;
  1097. border-radius: 6rpx;
  1098. margin-top: 4rpx;
  1099. }
  1100. .ptdjs{
  1101. font-weight: 400;
  1102. color: #666666;font-size: 24rpx;
  1103. }
  1104. .ptBox{
  1105. background: #ffffff;margin-top: 20rpx;
  1106. }
  1107. .bottomPtBox{
  1108. display: flex;padding-top: 24rpx;
  1109. }
  1110. .ptNum{
  1111. font-weight: 400;
  1112. color: #222222;font-size: 28rpx;
  1113. }
  1114. .ptBoxtop{
  1115. display: flex;justify-content: space-between;
  1116. padding: 20rpx 24rpx;
  1117. }
  1118. .ptMore{
  1119. font-weight: 400;
  1120. color: #666666;font-size: 24rpx;
  1121. }
  1122. .separate{
  1123. width: 284rpx;margin-left: 30rpx;
  1124. height: 74rpx;
  1125. background: #FFE4E2;
  1126. border-radius: 37rpx;
  1127. text-align: center;color:#D53533;
  1128. }
  1129. .separate .separateTop{
  1130. color:#D53533;
  1131. }
  1132. .separate .separateTxt{
  1133. color:#D53533;
  1134. }
  1135. .groupBtn{
  1136. width: 284rpx;text-align: center;color: #ffffff;
  1137. height: 74rpx;margin-left: 30rpx;
  1138. background: #D53533;
  1139. border-radius: 37rpx;
  1140. }
  1141. .separateTop{
  1142. font-weight: 500;font-size: 28rpx;
  1143. color: #FFFFFF;padding-top: 2rpx;
  1144. }
  1145. .separateTxt{
  1146. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1147. }
  1148. .companyName{
  1149. font-size: 24rpx;
  1150. font-family: PingFangSC-Medium, PingFang SC;
  1151. font-weight: 500;
  1152. color: #666666;
  1153. line-height: 33rpx;
  1154. text-align: center;
  1155. padding: 40rpx;
  1156. }
  1157. .shareBtn{
  1158. /* width: 100rpx; */
  1159. background: #F4F5F7;
  1160. }
  1161. .shareBimg{
  1162. width: 102rpx;
  1163. height: 102rpx;
  1164. }
  1165. .bottomTxtshare{
  1166. color: #333333;
  1167. font-size: 22rpx;
  1168. padding-top: 20rpx;
  1169. }
  1170. .shareBox{
  1171. width: 100%;
  1172. height: 100vh;
  1173. background: rgba(0, 0, 0, 0.5);
  1174. position: fixed;
  1175. left: 0;
  1176. bottom: 0;
  1177. z-index: 11;
  1178. }
  1179. .shareCont{
  1180. width: 100%;
  1181. background: #F4F5F7;
  1182. position: absolute;
  1183. left: 0;
  1184. bottom: 0;
  1185. display: flex;
  1186. justify-content: space-around;
  1187. padding: 50rpx 0;
  1188. border-radius: 40rpx 40rpx 0px 0px;
  1189. }
  1190. .mp3Img{
  1191. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  1192. position: fixed;
  1193. top: 40rpx;
  1194. right: 40rpx;
  1195. width: 60rpx;
  1196. height: 60rpx;
  1197. }
  1198. .ckshopBox{
  1199. z-index: 111 !important;
  1200. }
  1201. .shopline {
  1202. padding: 20rpx 0;
  1203. background-color: #FFFFFF;
  1204. border-radius: 10rpx;
  1205. display: flex;
  1206. }
  1207. .baomingBox{
  1208. width: 750rpx;
  1209. height: 100vh;
  1210. background: rgba(0, 0, 0, 0.4);
  1211. position: fixed;
  1212. top: 0;
  1213. left: 0;
  1214. z-index: 11;
  1215. /* display: flex;
  1216. align-items: center; */
  1217. }
  1218. .bmTtnBox{
  1219. width: 750rpx;
  1220. height: 120rpx;
  1221. background: #FFFFFF;
  1222. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  1223. position: absolute;
  1224. left: 0;
  1225. bottom: 0;
  1226. padding-bottom: constant(safe-area-inset-bottom);
  1227. padding-bottom: env(safe-area-inset-bottom);
  1228. }
  1229. .bmBtn{
  1230. width: 690rpx;
  1231. height: 74rpx;
  1232. background: #D53533;
  1233. border-radius: 37rpx;
  1234. text-align: center;
  1235. line-height: 74rpx;
  1236. color: #ffffff;
  1237. font-size: 30rpx;
  1238. margin-top: 23rpx;
  1239. margin-left: 30rpx;
  1240. margin-top: 20rpx;
  1241. }
  1242. .bmshopjt{
  1243. width: 12rpx;
  1244. height: 20rpx;
  1245. margin-top: 10rpx;
  1246. }
  1247. .bmlineInput{
  1248. color: #333333;
  1249. font-size: 28rpx;
  1250. height: 98rpx;
  1251. line-height: 98rpx;
  1252. }
  1253. .bmshopname{
  1254. font-weight: 400;
  1255. color: #999999;
  1256. font-size: 28rpx;
  1257. line-height: 40rpx;
  1258. width: 500rpx;
  1259. white-space:nowrap;
  1260. overflow:hidden;
  1261. text-overflow:ellipsis;
  1262. }
  1263. .bmshopLine{
  1264. display: flex;
  1265. justify-content: space-between;
  1266. padding: 26rpx 0;
  1267. border-bottom: 1px solid #EEEEEE;
  1268. }
  1269. .bmLine{
  1270. border-bottom: 1px solid #EEEEEE;
  1271. }
  1272. .bmTop{
  1273. display: flex;
  1274. justify-content: space-between;
  1275. padding: 30rpx 24rpx 10rpx 24rpx;
  1276. }
  1277. .bmTitle{
  1278. font-weight: 500;
  1279. color: #3C3C3C;
  1280. font-size: 30rpx;
  1281. line-height: 36rpx;
  1282. }
  1283. .bmChimg{
  1284. width: 36rpx;
  1285. height: 36rpx;
  1286. }
  1287. .baomingCont{
  1288. position: absolute;
  1289. width: 750rpx;
  1290. /* height:850rpx; */
  1291. /* padding-bottom: constant(safe-area-inset-bottom);
  1292. padding-bottom: env(safe-area-inset-bottom); */
  1293. left: 0;
  1294. bottom: 0;
  1295. background: #ffffff;
  1296. border-radius: 24rpx 24rpx 0px 0px;
  1297. padding-bottom: 10rpx;
  1298. }
  1299. .shareIcon{
  1300. width: 48rpx;
  1301. height: 48rpx;
  1302. display: block;
  1303. }
  1304. .bottomBtnBox{
  1305. display: flex;
  1306. }
  1307. .bottomBtnBoxLeft{
  1308. padding-left: 40rpx;
  1309. padding-top: 21rpx;
  1310. }
  1311. .shareTxt{
  1312. color: #666666;font-size: 20rpx;
  1313. text-align: center;
  1314. }
  1315. .bottomBtn{
  1316. width: 598rpx;
  1317. height: 74rpx;
  1318. background: #D53533;
  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. .bottomBtn2{
  1328. width: 598rpx;
  1329. height: 74rpx;
  1330. background: #DDDDDD;
  1331. border-radius: 37rpx;
  1332. line-height: 74rpx;
  1333. text-align: center;
  1334. color: #ffffff;
  1335. font-size: 30rpx;
  1336. margin-top: 24rpx;
  1337. margin-left: 34rpx;
  1338. }
  1339. .timeTbox{
  1340. width: 750rpx;
  1341. height: 60rpx;
  1342. background:#FFF5F0;
  1343. border-radius: 24rpx 24rpx 0px 0px;
  1344. border: 1px solid #EFE1D5;
  1345. display: flex;
  1346. justify-content: center;
  1347. font-size: 24rpx;
  1348. font-family: PingFangSC-Regular, PingFang SC;
  1349. font-weight: 400;
  1350. color: #764D49;
  1351. }
  1352. .timeviewTxt{
  1353. line-height: 41rpx;
  1354. padding-top: 10rpx;
  1355. }
  1356. .timeDivTxt{
  1357. line-height: 60rpx;
  1358. padding: 0 10rpx;
  1359. }
  1360. .timeK{
  1361. height: 41rpx;
  1362. line-height: 41rpx;
  1363. color: #FFFFFF;
  1364. width: 41rpx;
  1365. text-align: center;
  1366. background: #F03B3B;
  1367. border-radius: 6rpx;
  1368. margin-top: 9rpx;
  1369. margin-left: 15rpx;
  1370. margin-right: 15rpx;
  1371. }
  1372. .bottom{
  1373. width: 750rpx;
  1374. height: 180rpx;
  1375. background: #FFFFFF;
  1376. border-radius: 24rpx 24rpx 0px 0px;
  1377. position: fixed;
  1378. left: 0;
  1379. bottom: 0;
  1380. padding-bottom: constant(safe-area-inset-bottom);
  1381. padding-bottom: env(safe-area-inset-bottom);
  1382. }
  1383. .signupBox{
  1384. background: #ffffff;
  1385. margin-top: 20rpx;
  1386. }
  1387. .seeBox{
  1388. display: flex;
  1389. flex-wrap: wrap;
  1390. padding-left: 24rpx;
  1391. padding-bottom: 20rpx;
  1392. }
  1393. .seeLine{
  1394. padding-top: 14rpx;
  1395. padding-right: 16rpx;
  1396. }
  1397. .signupLine{
  1398. display: flex;
  1399. justify-content: space-between;
  1400. padding: 11rpx 0;
  1401. border-bottom: 1px solid #DDDDDD;
  1402. }
  1403. .signupLineM{
  1404. color: #3C3C3C;font-size: 26rpx;
  1405. line-height: 56rpx;
  1406. }
  1407. .signupLineR{
  1408. color: #999999;
  1409. font-size: 26rpx;
  1410. line-height: 56rpx;
  1411. }
  1412. .signupLineLName{
  1413. font-weight: 400;
  1414. color: #3C3C3C;
  1415. font-size: 26rpx;
  1416. padding-left: 16rpx;
  1417. line-height: 56rpx;
  1418. width: 150rpx;
  1419. white-space:nowrap;
  1420. overflow:hidden;
  1421. text-overflow:ellipsis;
  1422. }
  1423. .signupCont{
  1424. padding: 0 24rpx;
  1425. }
  1426. .signupLineLImg{
  1427. width: 56rpx;
  1428. height: 56rpx;
  1429. border-radius: 8rpx;
  1430. }
  1431. .signupLineL{
  1432. display: flex;
  1433. }
  1434. .signupTop{
  1435. width: 750rpx;
  1436. height: 78rpx;
  1437. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1438. background-size: 100% 100%;
  1439. text-align: center;
  1440. line-height: 78rpx;
  1441. }
  1442. .signupTops1{
  1443. color: #FF0000;font-weight: 500;
  1444. font-size: 28rpx;
  1445. }
  1446. .signupTops1{
  1447. color: #703917;font-weight: 500;
  1448. font-size: 28rpx;
  1449. }
  1450. .shopRightIcon{
  1451. width: 44rpx;
  1452. height: 44rpx;
  1453. display: block;
  1454. margin: 0 auto;
  1455. margin-bottom: 10rpx;
  1456. }
  1457. .shopName{
  1458. color: #3C3C3C;
  1459. font-size: 28rpx;
  1460. width: 500rpx;
  1461. }
  1462. .shopaddress{
  1463. font-weight: 400;
  1464. color: #999999;
  1465. font-size: 24rpx;
  1466. padding-top: 10rpx;
  1467. width: 500rpx;
  1468. }
  1469. .shopRightSx{
  1470. width: 2rpx;
  1471. height: 69rpx;
  1472. background:#EEEEEE ;
  1473. margin-left: 34rpx;
  1474. margin-right: 34rpx;
  1475. margin-top: 14rpx;
  1476. }
  1477. .shopCont{
  1478. display: flex;
  1479. justify-content: space-between;
  1480. padding-top: 25rpx;
  1481. }
  1482. .shopContRight{
  1483. display: flex;
  1484. }
  1485. .shopContRightLine{
  1486. text-align: center;
  1487. color: #999999;
  1488. font-size: 24rpx;
  1489. }
  1490. .content{
  1491. min-height: 100vh;
  1492. background:#F4F5F7;
  1493. }
  1494. .detailImg{
  1495. width: 750rpx;
  1496. display: block;
  1497. }
  1498. .detailBOx{
  1499. background: #ffffff;
  1500. margin-top: 20rpx;
  1501. }
  1502. .detailTitle{
  1503. color: #222222;
  1504. font-weight: 500;
  1505. padding: 20rpx 24rpx;
  1506. font-size: 30rpx;
  1507. }
  1508. .topimg{
  1509. width: 750rpx;
  1510. }
  1511. .shopMs{
  1512. font-weight: 500;
  1513. color: #222222;
  1514. line-height: 42rpx;
  1515. font-size: 30rpx;
  1516. }
  1517. .shopBox{
  1518. background: #ffffff;
  1519. margin-top: 20rpx;
  1520. padding: 20rpx 24rpx;
  1521. }
  1522. .shopBoxTop{
  1523. display: flex;
  1524. justify-content: space-between;
  1525. }
  1526. .shopTy{
  1527. display: flex;
  1528. }
  1529. .shopTyTxt{
  1530. font-weight: 400;
  1531. color: #666666;
  1532. font-size: 24rpx;
  1533. line-height: 42rpx;
  1534. }
  1535. .shopjt{
  1536. width: 14rpx;
  1537. height: 23rpx;
  1538. margin-top: 10rpx;
  1539. margin-left: 10rpx;
  1540. }
  1541. .cont{
  1542. background: #ffffff;
  1543. border-radius: 24rpx 24rpx 0px 0px;
  1544. margin-top: -30rpx;
  1545. padding: 30rpx 24rpx;
  1546. position: relative;
  1547. }
  1548. .name{
  1549. color: #3C3C3C;
  1550. line-height: 42rpx;
  1551. font-weight: 500;
  1552. font-size: 30rpx;
  1553. }
  1554. .name2{
  1555. color: #3C3C3C;
  1556. line-height: 36rpx;
  1557. font-weight: 400;
  1558. font-size: 26rpx;
  1559. padding-top: 16rpx;
  1560. }
  1561. .name3{
  1562. color: #999999;
  1563. line-height: 36rpx;
  1564. font-weight: 400;
  1565. font-size: 26rpx;
  1566. padding-top: 16rpx;
  1567. }
  1568. .shopImg {
  1569. width: 146rpx;
  1570. height: 146rpx;
  1571. border-radius: 6rpx;
  1572. }
  1573. .shopBox2 {
  1574. padding-top: 30rpx;
  1575. display: flex;
  1576. }
  1577. .flex {
  1578. display: flex;
  1579. justify-content: space-between;
  1580. }
  1581. .shopCont2 {
  1582. padding-left: 22rpx;
  1583. width: 520rpx;
  1584. }
  1585. .shopName {
  1586. color: #333333;
  1587. font-size: 26rpx;
  1588. font-weight: 600;
  1589. }
  1590. .span1 {
  1591. color: #FF4F00;
  1592. font-size: 36rpx;
  1593. }
  1594. .span2 {
  1595. color: #FF4F00;
  1596. font-size: 22rpx;
  1597. }
  1598. .span3 {
  1599. color: #333333;
  1600. font-size: 22rpx;
  1601. padding-left: 22rpx;
  1602. }
  1603. .shopBq {
  1604. color: #FF4F00;
  1605. font-size: 22rpx;
  1606. border-radius: 4rpx;
  1607. border: 1px solid #FF4F00;
  1608. line-height: 30rpx;
  1609. height: 30rpx;
  1610. padding: 0rpx 5rpx;
  1611. margin-top: 10rpx;
  1612. }
  1613. .brandsBg {
  1614. display: flex;
  1615. height: 38rpx;
  1616. flex-wrap: wrap;
  1617. align-items: center;
  1618. overflow: hidden;
  1619. padding: 5rpx 0rpx;
  1620. }
  1621. .brands {
  1622. border-radius: 4rpx;
  1623. padding: 0 5rpx;
  1624. color: #F19D01;
  1625. height: 28rpx;
  1626. border: 1px solid #F19D01;
  1627. font-size: 20rpx;
  1628. line-height: 28rpx;
  1629. margin: 5rpx 10rpx 5rpx 0rpx;
  1630. }
  1631. .timeBg {
  1632. display: flex;
  1633. }
  1634. .shopTime {
  1635. color: #666666;
  1636. font-size: 22rpx;
  1637. }
  1638. .addressBox {
  1639. color: #666666;
  1640. font-size: 22rpx;
  1641. }
  1642. .ckshopLine{
  1643. display: flex;
  1644. padding: 20rpx 0;
  1645. border-bottom: 1px solid #EEEEEE;
  1646. }
  1647. button::after{
  1648. border: none;
  1649. }
  1650. button{
  1651. position: relative;
  1652. display: block;
  1653. margin-left: 0;
  1654. margin-right: 0;
  1655. padding-left: 0px;
  1656. padding-right: 0px;
  1657. box-sizing: border-box;
  1658. text-align: center;
  1659. text-decoration: none;
  1660. line-height: 1.35;
  1661. -webkit-tap-highlight-color: transparent;
  1662. overflow: hidden;
  1663. color: #000000;
  1664. background-color: #fff;
  1665. height: 100%;
  1666. }
  1667. .authorizBox{
  1668. width: 100vw;
  1669. height: 100vh;
  1670. background: rgba(0, 0, 0, 0.5);
  1671. position: fixed;
  1672. top: 0;
  1673. left: 0;
  1674. }
  1675. .authorizCont{
  1676. margin-top: 30vh;
  1677. width: 564rpx;
  1678. height: 408rpx;
  1679. background: #FFFFFF;
  1680. border-radius: 24rpx;
  1681. margin-left: 93rpx;
  1682. position: relative;
  1683. }
  1684. .authorizCloseImg{
  1685. width: 62rpx;
  1686. height: 62rpx;
  1687. }
  1688. .sqLogoBox{
  1689. width: 180rpx;
  1690. height: 180rpx;
  1691. background: #FFFFFF;
  1692. border-radius: 90rpx;
  1693. text-align: center;
  1694. position: absolute;
  1695. top: -50rpx;
  1696. left: 192rpx;
  1697. }
  1698. .authorizName{
  1699. color: #333333;
  1700. line-height: 42rpx;
  1701. font-size: 30rpx;
  1702. text-align: center;
  1703. padding-top: 58rpx;
  1704. }
  1705. .authorizMs{
  1706. color: #999999;
  1707. line-height: 36rpx;
  1708. font-size: 26rpx;
  1709. width: 452rpx;
  1710. padding-top: 24rpx;
  1711. text-align: center;
  1712. margin-left: 56rpx;
  1713. }
  1714. .authorizContbutton{
  1715. width: 422rpx;
  1716. height: 88rpx;
  1717. background: #D53533;
  1718. border-radius: 44rpx;
  1719. line-height: 88rpx;
  1720. text-align: center;
  1721. font-size:30rpx;
  1722. color: #FFFFFF;
  1723. margin-top: 62rpx;
  1724. margin-left:71rpx;
  1725. }
  1726. .applicationTk{
  1727. height: 60vh;
  1728. }
  1729. .groupBtnTxt{
  1730. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1731. }
  1732. .groupBtnTop{
  1733. font-weight: 500;font-size: 28rpx;
  1734. color: #FFFFFF;padding-top: 2rpx;
  1735. }
  1736. </style>