jkDetail.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <img :src="mainImg" alt="" class="topimg" mode="widthFix">
  5. </view>
  6. <view class="cont">
  7. <view class="name">{{info.activityName}}</view>
  8. <view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
  9. <view class="name3">{{info.activityContent}}</view>
  10. </view>
  11. <view class="shopBox">
  12. <view class="shopBoxTop">
  13. <view class="shopMs">活动门店</view>
  14. <view class="shopTy">
  15. <view class="shopTyTxt">{{info.shopCount}}家门店通用</view>
  16. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  17. </view>
  18. </view>
  19. <view class="shopCont">
  20. <view class="shopContLeft">
  21. <view class="shopName">{{shopInfo.shopName}}</view>
  22. <view class="shopaddress">{{shopInfo.address}}</view>
  23. </view>
  24. <view class="shopContRight">
  25. <view class="shopContRightLine" @click="getmap">
  26. <img src="../../static/timg/icon_map.png" alt="" class="shopRightIcon">
  27. <view class="shopRightTxt">地图</view>
  28. </view>
  29. <view class="shopRightSx"></view>
  30. <view class="shopContRightLine" @click="call">
  31. <img src="../../static/timg/icon_phone.png" alt="" class="shopRightIcon">
  32. <view class="shopRightTxt">电话</view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <!-- 多少人报名 -->
  38. <view class="signupBox" v-if="info.signUserList.length">
  39. <view class="signupTop">
  40. <span class="signupTops1">{{info.signUserList.length}}</span>
  41. <span class="signupTops1">人已报名</span>
  42. </view>
  43. <view class="signupCont">
  44. <view class="signupLine" v-for="(item,index) in info.signUserList">
  45. <view class="signupLineL">
  46. <img :src="item.headImg" alt="" class="signupLineLImg">
  47. <view class="signupLineLName">{{item.nickName}}</view>
  48. </view>
  49. <view class="signupLineM">{{item.plateNumber?item.plateNumber:''}}</view>
  50. <view class="signupLineR">{{item.createTime}}</view>
  51. </view>
  52. </view>
  53. </view>
  54. <!-- 多少人报名 -->
  55. <!-- 多少人看过 -->
  56. <view class="signupBox" v-if="info.lookCount">
  57. <view class="signupTop">
  58. <span class="signupTops1">{{info.lookCount}}</span>
  59. <span class="signupTops1">人看过</span>
  60. </view>
  61. <!-- <view class="seeBox">
  62. <view class="seeLine" v-for="(item,index) in 15">
  63. <img src="http://dmsphoto.66km.com.cn/marketing//accompany/3885B510-6405-4A5E-BD64-B6C09CEE070E.jpg" alt="" class="signupLineLImg">
  64. </view>
  65. </view> -->
  66. </view>
  67. <view class="detailBOx" v-if="dimgList">
  68. <view class="detailTitle">活动详情</view>
  69. <view class="detailImgBox" v-for="(item,index) in dimgList">
  70. <img :src="item.img" alt="" class="detailImg" mode="widthFix">
  71. </view>
  72. </view>
  73. <view style="height: 200rpx;padding-bottom: constant(safe-area-inset-bottom);
  74. padding-bottom: env(safe-area-inset-bottom);"></view>
  75. <view class="bottom">
  76. <view class="timeTbox" v-if="!activityEnd">
  77. <view class="timeviewTxt" v-if="activityNoOpen"> 距开始</view>
  78. <view class="timeviewTxt" v-if="!activityNoOpen"> 距结束</view>
  79. <view class="timeK">{{shengyuD}}</view>
  80. <view class="timeviewTxt" > 天</view>
  81. <view class="timeK">{{shengyuH}}</view>
  82. <view class="timeviewTxt"> 时</view>
  83. <view class="timeK">{{shengyuM}}</view>
  84. <view class="timeviewTxt" > 分</view>
  85. </view>
  86. <view class="bottomBtnBox">
  87. <!-- <view class="bottomBtnBoxLeft">
  88. <img src="../../static/timg/share.png" alt="" class="shareIcon">
  89. <view class="shareTxt">分享</view>
  90. </view> -->
  91. <button open-type="share" class="bottomBtnBoxLeft shareBtn" >
  92. <image src="../../static/timg/share.png" mode="" class="shareIcon"></image>
  93. <view class="shareTxt">分享</view>
  94. </button>
  95. <!-- 状态1未开始 2进行中3已结束 -->
  96. <view class="bottomBtn" v-if="info.state==2" @click="signUp">
  97. <span v-if="info.money">¥{{info.money}} &nbsp; 立即购买</span>
  98. <span v-else>立即报名</span>
  99. </view>
  100. <view class="bottomBtn2" v-if="info.state==1">报名未开始</view>
  101. <view class="bottomBtn2" v-if="info.state==3">报名已结束</view>
  102. </view>
  103. </view>
  104. <!-- 报名弹框 -->
  105. <view class="baomingBox" v-if="bmShow" @click="nobmshow">
  106. <view class="baomingCont" @click.stop="">
  107. <view class="bmTop">
  108. <view class="bmTitle">登记信息</view>
  109. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="nobmshow">
  110. </view>
  111. <view style="padding: 0 24rpx;">
  112. <view class="bmshopLine" @click="showCkshop">
  113. <view class="bmshopname">{{shopName?shopName:'请选择门店'}}</view>
  114. <img src="../../static/timg/icon_arrow_right.png" alt="" class="bmshopjt">
  115. </view>
  116. <!-- clWhere报名凭证1,2,3,4 1手机号2车牌号3姓名4单位 -->
  117. <view class="bmLine" v-if="info.clWhere.indexOf(1)!=-1" >
  118. <input type="text" v-model="mobilePhone" cursor-spacing="10" class="bmlineInput" placeholder="输入手机号">
  119. </view>
  120. <view class="bmLine" v-if="info.clWhere.indexOf(2)!=-1">
  121. <input type="text" v-model="plateNumber" cursor-spacing="10" class="bmlineInput" placeholder="输入车牌号">
  122. </view>
  123. <view class="bmLine" v-if="info.clWhere.indexOf(3)!=-1">
  124. <input type="text" v-model="customerName" cursor-spacing="10" class="bmlineInput" placeholder="输入姓名">
  125. </view>
  126. <view class="bmLine" v-if="info.clWhere.indexOf(4)!=-1">
  127. <input type="text" v-model="unit" cursor-spacing="10" class="bmlineInput" placeholder="输入单位">
  128. </view>
  129. </view>
  130. <view class="bmTtnBox">
  131. <view class="bmBtn" @click="submitOrder">提交</view>
  132. </view>
  133. </view>
  134. </view>
  135. <!-- 门店弹框 -->
  136. <view class="baomingBox ckshopBox" v-if="ckshopShow">
  137. <view class="baomingCont">
  138. <view class="bmTop">
  139. <view class="bmTitle">选择门店</view>
  140. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop">
  141. </view>
  142. <view style="padding: 0 24rpx; height: 45vh;overflow-y: scroll;">
  143. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  144. <view class="shoplineLeft">
  145. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  146. <image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
  147. </view>
  148. <view class="shopright" style="padding-left: 20rpx;">
  149. <view class="shopTop">
  150. <view class="shopName">{{item.shopName}}</view>
  151. </view>
  152. <view class="brandsBg" v-if="item.brands">
  153. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  154. </view>
  155. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  156. v-if="item.endTime">{{item.endTime}}</span> </view>
  157. <view class="shopBottomLeft">
  158. <span class="shopaddress"
  159. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  160. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. </view>
  166. </view>
  167. </view>
  168. </template>
  169. <script>
  170. export default {
  171. data() {
  172. return {
  173. info:'',
  174. type:'',
  175. shopNum:'',
  176. shopInfo:'',
  177. activityEnd:true,
  178. activityNoOpen:true,
  179. shengyuD:1,
  180. shengyuH:12,
  181. shengyuM:21,
  182. queryShopList:'',
  183. collectingID:'',
  184. bmShow:false,
  185. ckshopShow:false,
  186. mainImg:'',
  187. dimgList:[],
  188. shopName:'',
  189. ckshopdata:'',
  190. customerName:'',
  191. mobilePhone:'',
  192. unit:'',
  193. plateNumber:'',
  194. comment:'',
  195. userInfo:'',
  196. }
  197. },
  198. onLoad(opt) {
  199. this.userInfo=this.$store.state.userInfo;
  200. if(this.userInfo){
  201. this.collectingID=opt.id;
  202. this.getInfo();
  203. this.queryActivityInfo()
  204. }else{
  205. this.$common.automaticlogin().then(val => {
  206. this.userInfo=this.$store.state.userInfo;
  207. this.collectingID=opt.id;
  208. this.getInfo();
  209. this.queryActivityInfo()
  210. })
  211. }
  212. },
  213. methods: {
  214. submitOrder(){
  215. var jsonArray={
  216. itemId:this.collectingID,
  217. itemName:this.info.activityName,
  218. itemQty:1,
  219. salePrice:this.info.money,
  220. totalPrice:this.info.money,
  221. }
  222. if(this.ckshopdata==''){
  223. uni.showToast({
  224. title: '请选择服务门店',
  225. icon: 'none',
  226. duration: 3000
  227. });
  228. return false;
  229. }
  230. var arr=[]
  231. arr.push(jsonArray)
  232. var params={
  233. sheetType:'6',
  234. sheetContent:this.info.activityName,
  235. customerName:this.customerName,
  236. mobilePhone:this.mobilePhone,
  237. unit:this.unit,
  238. plateNumber:this.plateNumber,
  239. //carModel:this.carInfo.carModel,
  240. totalMoney:this.info.money,
  241. shopId:this.ckshopdata.id,
  242. comment:this.comment,
  243. sheetDetail:JSON.stringify(arr),
  244. payType:this.info.payType
  245. }
  246. uni.showLoading({
  247. title: '加载中'
  248. })
  249. this.$http('openMallOrder/submitOrder', params,'POST').then(res => {
  250. uni.hideLoading();
  251. if(res.code==0){
  252. this.orderData=res.data
  253. if(this.info.payType==1){
  254. this.unifiedPay(res.data)
  255. }else{
  256. uni.showToast({
  257. title: '报名成功',
  258. icon: 'none',
  259. duration: 3000
  260. });
  261. uni.redirectTo({
  262. url: "../user/myOrder/activityOrderDetail?id=" + this.orderData.id +"&SheetType=" + this.orderData.sheetType
  263. })
  264. }
  265. }else{
  266. uni.showToast({
  267. title: res.msg,
  268. icon: 'none',
  269. duration: 3000
  270. });
  271. }
  272. })
  273. },
  274. unifiedPay(res){
  275. this.$http('openMallOrder/unifiedPay', {
  276. sheetId:res.id
  277. },'POST').then(res => {
  278. if(res.code==0){
  279. this.requestPayment(res.data)
  280. }else{
  281. uni.showToast({
  282. title: res.msg,
  283. icon: 'none',
  284. duration: 3000
  285. });
  286. }
  287. })
  288. },
  289. requestPayment(res){
  290. var payInfo=res;
  291. //console.log(payInfo)
  292. //console.log(String(Date.now()))
  293. var that=this;
  294. uni.requestPayment({
  295. provider: 'wxpay',
  296. //timeStamp: String(Date.now()),
  297. timeStamp: payInfo.timeStamp,
  298. nonceStr: payInfo.nonceStr,
  299. package:payInfo.package,
  300. signType: payInfo.signType,
  301. paySign: payInfo.paySign,
  302. appid:payInfo.appId,
  303. success: function (res) {
  304. console.log('success:' + JSON.stringify(res));
  305. uni.showToast({
  306. title: '支付成功',
  307. icon:'none',
  308. duration: 2000
  309. });
  310. uni.redirectTo({
  311. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  312. })
  313. },
  314. fail: function (err) {
  315. console.log(err)
  316. uni.showToast({
  317. title: '支付失败',
  318. icon:'none',
  319. duration: 2000
  320. });
  321. console.log(that.orderData)
  322. uni.redirectTo({
  323. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  324. })
  325. }
  326. });
  327. },
  328. signUp(){
  329. this.bmShow=true;
  330. },
  331. nobmshow(){
  332. this.bmShow=false;
  333. },
  334. ckshop(item){
  335. this.ckshopdata=item;
  336. this.shopName=item.shopName;
  337. this.ckshopShow=false;
  338. },
  339. showCkshop(){
  340. console.log("选择门店")
  341. this.ckshopShow=true;
  342. },
  343. noShowShop(){
  344. this.ckshopShow=false;
  345. },
  346. queryActivityInfo(){
  347. uni.showLoading({
  348. title: '加载中'
  349. })
  350. this.$http('openHome/queryActivityInfo', {
  351. collectingID:this.collectingID
  352. }, 'GET').then(res => {
  353. uni.hideLoading();
  354. this.info = res.data;
  355. if(this.info.imgList){
  356. this.info.imgList.forEach(item=>{
  357. if(item.imgType==1){
  358. this.mainImg=item.img
  359. }else{
  360. this.dimgList.push(item)
  361. }
  362. })
  363. }
  364. if (this.info.endTime < this.info.startTime) {
  365. // this.$vux.toast.text('时间设置错误')
  366. return
  367. }
  368. // this.activityNoOpen
  369. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  370. console.log("现在时间大于开始时间")
  371. this.activityNoOpen = false
  372. } else {
  373. this.activityNoOpen = true
  374. }
  375. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  376. console.log("现在时间大于结束时间")
  377. this.activityEnd = true
  378. } else {
  379. this.activityEnd = false
  380. }
  381. if (!this.activityNoOpen && !this.activityEnd) {
  382. this.clock()
  383. }
  384. if (this.activityNoOpen && !this.activityEnd) {
  385. this.clock2()
  386. }
  387. })
  388. },
  389. getInfo(){
  390. this.$http('openreservation/getInfo', {
  391. lat: '',
  392. lng: '',
  393. }, 'GET').then(res => {
  394. //uni.hideLoading();
  395. this.shopInfo = res.data.shopInfo
  396. })
  397. },
  398. call() {
  399. uni.makePhoneCall({
  400. phoneNumber: this.shopInfo.mobilePhone
  401. });
  402. },
  403. getmap() {
  404. console.log("打开地图")
  405. var that = this;
  406. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  407. uni.showToast({
  408. title: '该店铺未设置定位',
  409. icon: 'none',
  410. duration: 3000
  411. });
  412. } else {
  413. uni.openLocation({
  414. latitude: Number(that.shopInfo.lat),
  415. longitude: Number(that.shopInfo.lng),
  416. name: that.shopInfo.shopName,
  417. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  418. success: function() {
  419. console.log('success');
  420. },
  421. fail(err) {
  422. console.log(err)
  423. }
  424. });
  425. }
  426. },
  427. clock () {
  428. let _this = this
  429. let today = new Date() // 当前时间
  430. let h = today.getHours()
  431. let m = today.getMinutes()
  432. let s = today.getSeconds()
  433. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  434. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  435. this.activityEnd = true
  436. return
  437. }
  438. let stopH = stopTime.getHours()
  439. let stopM = stopTime.getMinutes()
  440. let stopS = stopTime.getSeconds()
  441. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  442. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  443. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  444. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  445. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  446. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  447. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  448. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  449. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  450. // setTimeout("clock()",500);
  451. this.shengyuM=shengyuM;
  452. this.shengyuD=shengyuD;
  453. this.shengyuH=shengyuH;
  454. setTimeout(_this.clock, 500)
  455. },
  456. clock2(){
  457. let _this = this
  458. let today = new Date() // 当前时间
  459. let h = today.getHours()
  460. let m = today.getMinutes()
  461. let s = today.getSeconds()
  462. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  463. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  464. this.activityNoOpen = true
  465. return
  466. }
  467. let stopH = startTime.getHours()
  468. let stopM = startTime.getMinutes()
  469. let stopS = startTime.getSeconds()
  470. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  471. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  472. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  473. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  474. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  475. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  476. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  477. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  478. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  479. // setTimeout("clock()",500);
  480. this.shengyuM=shengyuM;
  481. this.shengyuD=shengyuD;
  482. this.shengyuH=shengyuH;
  483. setTimeout(_this.clock2, 500)
  484. }
  485. },
  486. onShareAppMessage(res) {
  487. var img='';
  488. if(this.info.ImgList.length>0){
  489. img=this.info.ImgList[0].url
  490. }
  491. return {
  492. title: this.info.activityName,
  493. imageUrl:this.mainImg,
  494. path: 'pages/activity/jkDetail?id=' + this.id,
  495. success(res){
  496. uni.showToast({
  497. title:'分享成功'
  498. })
  499. },
  500. fail(res){
  501. uni.showToast({
  502. title:'分享失败',
  503. icon:'none',
  504. duration: 3000
  505. })
  506. }
  507. }
  508. },
  509. }
  510. </script>
  511. <style scoped>
  512. .ckshopBox{
  513. z-index: 111 !important;
  514. }
  515. .shopline {
  516. padding: 20rpx 0;
  517. background-color: #FFFFFF;
  518. border-radius: 10rpx;
  519. display: flex;
  520. }
  521. .baomingBox{
  522. width: 750rpx;
  523. height: 100vh;
  524. background: rgba(0, 0, 0, 0.4);
  525. position: fixed;
  526. top: 0;
  527. left: 0;
  528. z-index: 11;
  529. }
  530. .bmTtnBox{
  531. width: 750rpx;
  532. height: 120rpx;
  533. background: #FFFFFF;
  534. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  535. position: absolute;
  536. left: 0;
  537. bottom: 0;
  538. padding-bottom: constant(safe-area-inset-bottom);
  539. padding-bottom: env(safe-area-inset-bottom);
  540. }
  541. .bmBtn{
  542. width: 690rpx;
  543. height: 74rpx;
  544. background: #D53533;
  545. border-radius: 37rpx;
  546. text-align: center;
  547. line-height: 74rpx;
  548. color: #ffffff;
  549. font-size: 30rpx;
  550. margin-top: 23rpx;
  551. margin-left: 30rpx;
  552. }
  553. .bmshopjt{
  554. width: 12rpx;
  555. height: 20rpx;
  556. margin-top: 10rpx;
  557. }
  558. .bmlineInput{
  559. color: #333333;
  560. font-size: 28rpx;
  561. height: 98rpx;
  562. line-height: 98rpx;
  563. }
  564. .bmshopname{
  565. font-weight: 400;
  566. color: #333333;
  567. font-size: 28rpx;
  568. line-height: 40rpx;
  569. width: 500rpx;
  570. white-space:nowrap;
  571. overflow:hidden;
  572. text-overflow:ellipsis;
  573. }
  574. .bmshopLine{
  575. display: flex;
  576. justify-content: space-between;
  577. padding: 26rpx 0;
  578. border-bottom: 1px solid #EEEEEE;
  579. }
  580. .bmLine{
  581. border-bottom: 1px solid #EEEEEE;
  582. }
  583. .bmTop{
  584. display: flex;
  585. justify-content: space-between;
  586. padding: 40rpx 24rpx 10rpx 24rpx;
  587. }
  588. .bmTitle{
  589. font-weight: 500;
  590. color: #3C3C3C;
  591. font-size: 30rpx;
  592. line-height: 36rpx;
  593. }
  594. .bmChimg{
  595. width: 36rpx;
  596. height: 36rpx;
  597. }
  598. .baomingCont{
  599. position: absolute;
  600. width: 750rpx;
  601. height:770rpx;
  602. padding-bottom: constant(safe-area-inset-bottom);
  603. padding-bottom: env(safe-area-inset-bottom);
  604. left: 0;
  605. bottom: 0;
  606. background: #ffffff;
  607. border-radius: 24rpx 24rpx 0px 0px;
  608. }
  609. .shareIcon{
  610. width: 48rpx;
  611. height: 48rpx;
  612. display: block;
  613. }
  614. .bottomBtnBox{
  615. display: flex;
  616. }
  617. .bottomBtnBoxLeft{
  618. padding-left: 40rpx;
  619. padding-top: 21rpx;
  620. }
  621. .shareTxt{
  622. color: #666666;font-size: 20rpx;
  623. text-align: center;
  624. }
  625. .bottomBtn{
  626. width: 598rpx;
  627. height: 74rpx;
  628. background: #D53533;
  629. border-radius: 37rpx;
  630. line-height: 74rpx;
  631. text-align: center;
  632. color: #ffffff;
  633. font-size: 30rpx;
  634. margin-top: 24rpx;
  635. margin-left: 34rpx;
  636. }
  637. .bottomBtn2{
  638. width: 598rpx;
  639. height: 74rpx;
  640. background: #DDDDDD;
  641. border-radius: 37rpx;
  642. line-height: 74rpx;
  643. text-align: center;
  644. color: #ffffff;
  645. font-size: 30rpx;
  646. margin-top: 24rpx;
  647. margin-left: 34rpx;
  648. }
  649. .timeTbox{
  650. width: 750rpx;
  651. height: 60rpx;
  652. background:#FFF5F0;
  653. border-radius: 24rpx 24rpx 0px 0px;
  654. border: 1px solid #EFE1D5;
  655. display: flex;
  656. justify-content: center;
  657. font-size: 24rpx;
  658. font-family: PingFangSC-Regular, PingFang SC;
  659. font-weight: 400;
  660. color: #764D49;
  661. }
  662. .timeviewTxt{
  663. line-height: 41rpx;
  664. padding-top: 10rpx;
  665. }
  666. .timeDivTxt{
  667. line-height: 60rpx;
  668. padding: 0 10rpx;
  669. }
  670. .timeK{
  671. height: 41rpx;
  672. line-height: 41rpx;
  673. color: #FFFFFF;
  674. width: 41rpx;
  675. text-align: center;
  676. background: #FF4F00;
  677. border-radius: 6rpx;
  678. margin-top: 9rpx;
  679. margin-left: 15rpx;
  680. margin-right: 15rpx;
  681. }
  682. .bottom{
  683. width: 750rpx;
  684. height: 180rpx;
  685. background: #FFFFFF;
  686. border-radius: 24rpx 24rpx 0px 0px;
  687. position: fixed;
  688. left: 0;
  689. bottom: 0;
  690. padding-bottom: constant(safe-area-inset-bottom);
  691. padding-bottom: env(safe-area-inset-bottom);
  692. }
  693. .signupBox{
  694. background: #ffffff;
  695. margin-top: 20rpx;
  696. }
  697. .seeBox{
  698. display: flex;
  699. flex-wrap: wrap;
  700. padding-left: 24rpx;
  701. padding-bottom: 20rpx;
  702. }
  703. .seeLine{
  704. padding-top: 14rpx;
  705. padding-right: 16rpx;
  706. }
  707. .signupLine{
  708. display: flex;
  709. justify-content: space-between;
  710. padding: 11rpx 0;
  711. border-bottom: 1px solid #DDDDDD;
  712. }
  713. .signupLineM{
  714. color: #3C3C3C;font-size: 26rpx;
  715. line-height: 56rpx;
  716. }
  717. .signupLineR{
  718. color: #999999;
  719. font-size: 26rpx;
  720. line-height: 56rpx;
  721. }
  722. .signupLineLName{
  723. font-weight: 400;
  724. color: #3C3C3C;
  725. font-size: 26rpx;
  726. padding-left: 16rpx;
  727. line-height: 56rpx;
  728. width: 150rpx;
  729. white-space:nowrap;
  730. overflow:hidden;
  731. text-overflow:ellipsis;
  732. }
  733. .signupCont{
  734. padding: 0 24rpx;
  735. }
  736. .signupLineLImg{
  737. width: 56rpx;
  738. height: 56rpx;
  739. border-radius: 8rpx;
  740. }
  741. .signupLineL{
  742. display: flex;
  743. }
  744. .signupTop{
  745. width: 750rpx;
  746. height: 78rpx;
  747. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  748. background-size: 100% 100%;
  749. text-align: center;
  750. line-height: 78rpx;
  751. }
  752. .signupTops1{
  753. color: #FF0000;font-weight: 500;
  754. font-size: 28rpx;
  755. }
  756. .signupTops1{
  757. color: #703917;font-weight: 500;
  758. font-size: 28rpx;
  759. }
  760. .shopRightIcon{
  761. width: 44rpx;
  762. height: 44rpx;
  763. display: block;
  764. margin: 0 auto;
  765. margin-bottom: 10rpx;
  766. }
  767. .shopName{
  768. color: #3C3C3C;
  769. font-size: 28rpx;
  770. }
  771. .shopaddress{
  772. font-weight: 400;
  773. color: #999999;
  774. font-size: 24rpx;
  775. padding-top: 10rpx;
  776. width: 500rpx;
  777. }
  778. .shopRightSx{
  779. width: 2rpx;
  780. height: 69rpx;
  781. background:#EEEEEE ;
  782. margin-left: 34rpx;
  783. margin-right: 34rpx;
  784. margin-top: 14rpx;
  785. }
  786. .shopCont{
  787. display: flex;
  788. justify-content: space-between;
  789. padding-top: 25rpx;
  790. }
  791. .shopContRight{
  792. display: flex;
  793. }
  794. .shopContRightLine{
  795. text-align: center;
  796. color: #999999;
  797. font-size: 24rpx;
  798. }
  799. .content{
  800. min-height: 100vh;
  801. background:#F4F5F7;
  802. }
  803. .detailImg{
  804. width: 750rpx;
  805. display: block;
  806. }
  807. .detailBOx{
  808. background: #ffffff;
  809. margin-top: 20rpx;
  810. }
  811. .detailTitle{
  812. color: #3C3C3C;
  813. font-weight: 500;
  814. padding: 20rpx 24rpx;
  815. font-size: 30rpx;
  816. }
  817. .topimg{
  818. width: 750rpx;
  819. }
  820. .shopMs{
  821. font-weight: 500;
  822. color: #222222;
  823. line-height: 42rpx;
  824. font-size: 30rpx;
  825. }
  826. .shopBox{
  827. background: #ffffff;
  828. margin-top: 20rpx;
  829. padding: 20rpx 34rpx;
  830. }
  831. .shopBoxTop{
  832. display: flex;
  833. justify-content: space-between;
  834. }
  835. .shopTy{
  836. display: flex;
  837. }
  838. .shopTyTxt{
  839. font-weight: 400;
  840. color: #666666;
  841. font-size: 24rpx;
  842. line-height: 42rpx;
  843. }
  844. .shopjt{
  845. width: 14rpx;
  846. height: 23rpx;
  847. margin-top: 10rpx;
  848. margin-left: 10rpx;
  849. }
  850. .cont{
  851. background: #ffffff;
  852. border-radius: 24rpx 24rpx 0px 0px;
  853. margin-top: -30rpx;
  854. padding: 30rpx 24rpx;
  855. position: relative;
  856. }
  857. .name{
  858. color: #3C3C3C;
  859. line-height: 42rpx;
  860. font-weight: 500;
  861. font-size: 30rpx;
  862. }
  863. .name2{
  864. color: #3C3C3C;
  865. line-height: 36rpx;
  866. font-weight: 400;
  867. font-size: 26rpx;
  868. padding-top: 16rpx;
  869. }
  870. .name3{
  871. color: #999999;
  872. line-height: 36rpx;
  873. font-weight: 400;
  874. font-size: 26rpx;
  875. padding-top: 16rpx;
  876. }
  877. .shopImg {
  878. width: 146rpx;
  879. height: 146rpx;
  880. border-radius: 6rpx;
  881. }
  882. .shopBox2 {
  883. padding-top: 30rpx;
  884. display: flex;
  885. }
  886. .flex {
  887. display: flex;
  888. justify-content: space-between;
  889. }
  890. .shopCont2 {
  891. padding-left: 22rpx;
  892. width: 520rpx;
  893. }
  894. .shopName {
  895. color: #333333;
  896. font-size: 26rpx;
  897. font-weight: 600;
  898. }
  899. .span1 {
  900. color: #FF4F00;
  901. font-size: 36rpx;
  902. }
  903. .span2 {
  904. color: #FF4F00;
  905. font-size: 22rpx;
  906. }
  907. .span3 {
  908. color: #333333;
  909. font-size: 22rpx;
  910. padding-left: 22rpx;
  911. }
  912. .shopBq {
  913. color: #FF4F00;
  914. font-size: 22rpx;
  915. border-radius: 4rpx;
  916. border: 1px solid #FF4F00;
  917. line-height: 30rpx;
  918. height: 30rpx;
  919. padding: 0rpx 5rpx;
  920. margin-top: 10rpx;
  921. }
  922. .brandsBg {
  923. display: flex;
  924. height: 38rpx;
  925. flex-wrap: wrap;
  926. align-items: center;
  927. overflow: hidden;
  928. padding: 5rpx 0rpx;
  929. }
  930. .brands {
  931. border-radius: 4rpx;
  932. padding: 0 5rpx;
  933. color: #F19D01;
  934. height: 28rpx;
  935. border: 1px solid #F19D01;
  936. font-size: 20rpx;
  937. line-height: 28rpx;
  938. margin: 5rpx 10rpx 5rpx 0rpx;
  939. }
  940. .timeBg {
  941. display: flex;
  942. }
  943. .shopTime {
  944. color: #666666;
  945. font-size: 22rpx;
  946. }
  947. .addressBox {
  948. color: #666666;
  949. font-size: 22rpx;
  950. }
  951. .ckshopLine{
  952. display: flex;
  953. padding: 20rpx 0;
  954. border-bottom: 1px solid #EEEEEE;
  955. }
  956. button::after{
  957. border: none;
  958. }
  959. button{
  960. position: relative;
  961. display: block;
  962. margin-left: 0;
  963. margin-right: 0;
  964. padding-left: 0px;
  965. padding-right: 0px;
  966. box-sizing: border-box;
  967. // font-size: 18px;
  968. text-align: center;
  969. text-decoration: none;
  970. // line-height: 1;
  971. line-height: 1.35;
  972. // border-radius: 5px;
  973. -webkit-tap-highlight-color: transparent;
  974. overflow: hidden;
  975. color: #000000;
  976. background-color: #fff;
  977. height: 100%;
  978. }
  979. .shareBtn{
  980. /* width: 100rpx; */
  981. background: #FFFFFF;
  982. }
  983. </style>