index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  1. <template>
  2. <view class="index-box box-border-box flex-common-css" @click.stop="play()">
  3. <view class="flex-justify-space box-border-box plr-32">
  4. <image class="logo-img" src="@/static/img/c-logo.png" mode="scaleToFill"></image>
  5. <image class="music-img" v-if="!isIos" :class="isPlay?'music-anumation':'music-anumation'"
  6. src="@/static/img/c-music.png" mode="scaleToFill" @click.stop="musicPause()"></image>
  7. <mumu-music v-else ref="musicObj"
  8. musicSrc='https://jhxcnc.oss-cn-chengdu.aliyuncs.com/mp3/4272600974.mp3'></mumu-music>
  9. </view>
  10. <view class="swiper">
  11. <!-- 邀请函 -->
  12. <view>
  13. <view class="f-wh swiper-item index-1">
  14. <image class="img-text wow animate__animated animate__bounceInUp" src="@/static/img/yqh-text-1.png"
  15. mode="scaleToFill"></image>
  16. <view class="" v-if="isEnroll">
  17. <view
  18. class="fs-40 fc-E2E7FA text-align-center mb-16 wow animate__animated animate__bounceInLeft">
  19. 科技创新体系•助推实体经济发展</view>
  20. <image class="zhw-img-text mb-16 wow animate__animated animate__bounceInLeft"
  21. src="@/static/img/index-text-3.png" mode="scaleToFill"></image>
  22. <view
  23. class="fs-32 fc-E2E7FA text-align-center mb-72 wow animate__animated animate__bounceInLeft">
  24. 招商说明会 </view>
  25. </view>
  26. <view class="" v-else>
  27. <view
  28. class="fs-40 fc-E2E7FA text-align-center mb-16 wow animate__animated animate__bounceInLeft">
  29. 畅通国民经济循环 发展新质生产力</view>
  30. <view
  31. class="fs-40 fc-E2E7FA text-align-center mb-16 wow animate__animated animate__bounceInLeft">
  32. 实现共同富裕</view>
  33. <view
  34. class="fs-32 fc-E2E7FA text-align-center mb-72 wow animate__animated animate__bounceInLeft">
  35. 招商说明会 </view>
  36. </view>
  37. <image class="img-xian wow animate__animated animate__bounceInUp" src="@/static/img/xian.png"
  38. mode="scaleToFill"></image>
  39. <view class="fs-32 fc-CFB591 fw-500 text-align-left mb-40 ml-80">
  40. 主办单位:重庆振合网科技集团
  41. </view>
  42. <view class="display-flex mb-72 ml-80">
  43. <view class="fs-32 fc-CFB591 fw-500">协办单位:</view>
  44. <view class="">
  45. <view class="fs-32 fc-CFB591 fw-500 text-align-left">中国信用网</view>
  46. <view class="fs-32 fc-CFB591 fw-500 text-align-left">重庆电视台《重庆特色》栏目</view>
  47. </view>
  48. </view>
  49. <image class="up-icon wow animate__animated animate__bounceInUp" src="@/static/img/c-up-icon.png"
  50. mode="scaleToFill"></image>
  51. </view>
  52. </view>
  53. <!-- 诚挚邀请 -->
  54. <view>
  55. <view class="swiper-item">
  56. <view class="index-2" >
  57. <image class="text-img-3 wow animate__animated animate__bounceInUp"
  58. src="@/static/img/hynr-text.png" mode="scaleToFill"></image>
  59. <view class="fs-32 fc-CFB591 text-box wow animate__animated animate__bounceInUp">
  60. 党的二十大三中全会提出,“让国家变得更加富强,让社会变得更加公平公正,让人民生活得更加美好”。
  61. </view>
  62. <view class="fs-32 fc-CFB591 text-box wow animate__animated animate__bounceInUp">
  63. 振合网将以互联网注入实体经济数字化转型为导向,帮助生产厂家,传统代理商解决销售难、资金难、库存压力大。帮助实体店摆脱困境,实现跨界收益和互联网收益,助推实体经济数字化转型升级发展。
  64. </view>
  65. <view class="fs-32 fc-CFB591 text-box wow animate__animated animate__bounceInUp">
  66. 助推乡村全面振兴,让农户爱上种地,解决返乡民工创业就业难和农产品销售难等问题;在乡村振兴发展的势头中,如何助力乡村振兴、牢固脱贫攻艰的成果,真正实现城乡融合发展。
  67. </view>
  68. </view>
  69. <image class="up-icon wow animate__animated animate__bounceInUp" src="@/static/img/c-up-icon.png"
  70. mode="scaleToFill"></image>
  71. </view>
  72. </view>
  73. <!-- 参会名单 -->
  74. <view>
  75. <view class="swiper-item">
  76. <view class="index-2" >
  77. <image class="text-img-1 wow animate__animated animate__bounceInUp"
  78. src="@/static/img/chdb-text.png" mode="scaleToFill"></image>
  79. <image class="text-img-ty wow animate__animated animate__bounceInUp"
  80. src="@/static/img/tyjb-text.png" mode="scaleToFill"></image>
  81. <view class="align-items-center mb-24">
  82. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  83. <view class="fs-28 fc-CFB591 w-588">全国人大常委农委原副主任、现任中国供销合作经济学会会长</view>
  84. </view>
  85. <view class="align-items-center mb-24">
  86. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  87. <view class="fs-28 fc-CFB591 w-588">原国务院研究室主任、国务院国有监事会主席、中央第九巡视组副组长、经济学博士</view>
  88. </view>
  89. <view class="align-items-center mb-24">
  90. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  91. <view class="fs-28 fc-CFB591 w-588">原农业部副部长、国务院研究室副主任</view>
  92. </view>
  93. <view class="align-items-center mb-24">
  94. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  95. <view class="fs-28 fc-CFB591 w-588">原全国工商联副主席、全国政协特聘专家</view>
  96. </view>
  97. <view class="align-items-center mb-24">
  98. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  99. <view class="fs-28 fc-CFB591 w-588">原中宣部副部长、中国文联副主席</view>
  100. </view>
  101. <view class="align-items-center mb-48">
  102. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  103. <view class="fs-28 fc-CFB591 w-588">国防大学少将(副军职)及其他相关领导</view>
  104. </view>
  105. <image class="text-img-ty wow animate__animated animate__bounceInUp"
  106. src="@/static/img/chdw-text-1.png" mode="scaleToFill"></image>
  107. <view class="align-items-center mb-24">
  108. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  109. <view class="fs-28 fc-CFB591 w-588">中国信用网</view>
  110. </view>
  111. <view class="align-items-center mb-24">
  112. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  113. <view class="fs-28 fc-CFB591 w-588">重庆电视台</view>
  114. </view>
  115. <view class="align-items-center mb-24">
  116. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  117. <view class="fs-28 fc-CFB591 w-588">全国知名企业</view>
  118. </view>
  119. <view class="align-items-center mb-24">
  120. <image class="icon-img-1" src="@/static/img/icon-img.png" mode="scaleToFill"></image>
  121. <view class="fs-28 fc-CFB591 w-588">全国知名品牌代理商</view>
  122. </view>
  123. </view>
  124. <image class="up-icon wow animate__animated animate__bounceInUp" src="@/static/img/c-up-icon.png"
  125. mode="scaleToFill"></image>
  126. </view>
  127. </view>
  128. <!-- 活动地址 -->
  129. <view>
  130. <view class="swiper-item">
  131. <view class="index-2" >
  132. <image class="text-img-1 wow animate__animated animate__bounceInUp"
  133. src="@/static/img/hdtd-text.png" mode="scaleToFill"></image>
  134. <image class="img-1 wow animate__animated animate__bounceInUp" src="@/static/img/h-1.png"
  135. mode="scaleToFill"></image>
  136. <view class="flex-justify-space">
  137. <image class="img-2 wow animate__animated animate__bounceInLeft" src="@/static/img/h-2.png"
  138. mode="scaleToFill"></image>
  139. <image class="img-2 wow animate__animated animate__bounceInRight" src="@/static/img/h-3.png"
  140. mode="scaleToFill"></image>
  141. </view>
  142. <view class="fc-CFB591 fs-40 text-align-center mb-16 wow animate__animated animate__bounceInUp">
  143. 重庆丽呈君顿酒店</view>
  144. <view class="fs-28 fc-CFB591 text-align-center wow animate__animated animate__bounceInUp">
  145. 地址:重庆市渝北区服装城大道48号</view>
  146. </view>
  147. <image class="up-icon wow animate__animated animate__bounceInUp" src="@/static/img/c-up-icon.png"
  148. mode="scaleToFill"></image>
  149. </view>
  150. </view>
  151. <!-- 地址导航 -->
  152. <view>
  153. <view class="swiper-item">
  154. <view class="index-2">
  155. <image class="text-img wow animate__animated animate__bounceInUp"
  156. src="@/static/img/dzdh-text.png" mode="scaleToFill"></image>
  157. <view class="b-f wow animate__animated animate__bounceInUp" @click.stop="toMap()">
  158. <image class="img-3" src="@/static/img/map.png" mode="scaleToFill"></image>
  159. <view class="b-c">开始导航</view>
  160. </view>
  161. <view
  162. class="fc-CFB591 fs-28 text-align-center mb-32 wow animate__animated animate__bounceInRight">
  163. 签到时间:10月19日</view>
  164. <view
  165. class="fc-CFB591 fs-28 text-align-center mb-32 wow animate__animated animate__bounceInRight">
  166. 会议时间:10月20日</view>
  167. <view
  168. class="fc-CFB591 fs-28 text-align-center mb-32 wow animate__animated animate__bounceInRight">
  169. 会议地址:重庆丽呈君顿酒店</view>
  170. <view
  171. class="fc-CFB591 fs-28 text-align-center mb-32 wow animate__animated animate__bounceInRight"
  172. @click.stop="playPhone()">
  173. 联系方式:
  174. <uni-icons style="margin-right: 10rpx;" type="phone-filled" color="#f2d4a9" size="14">
  175. </uni-icons>
  176. 023-67177907
  177. </view>
  178. </view>
  179. <image class="up-icon wow animate__animated animate__bounceInUp" src="@/static/img/c-up-icon.png"
  180. mode="scaleToFill"></image>
  181. </view>
  182. </view>
  183. <!-- 提示 -->
  184. <view>
  185. <view class="swiper-item">
  186. <view class="index-2">
  187. <image class="text-img-3 wow animate__animated animate__bounceInUp"
  188. src="@/static/img/wxts-text.png" mode="scaleToFill"></image>
  189. <view class="align-items-center mb-48">
  190. <image class="icon-img" src="@/static/img/icon-img.png" mode=""></image>
  191. <view class="fc-CFB591 fs-32 w-588">
  192. 请您提前规划好行程,确保准时参加会议。
  193. </view>
  194. </view>
  195. <view class="align-items-center mb-48">
  196. <image class="icon-img" src="@/static/img/icon-img.png" mode=""></image>
  197. <view class="fc-CFB591 fs-32 w-588">
  198. 请携带好相关证件及资料,以便会议签到和交流,详情请咨询邀约人员。
  199. </view>
  200. </view>
  201. <view class="align-items-center mb-214">
  202. <image class="icon-img" src="@/static/img/icon-img.png" mode=""></image>
  203. <view class="fc-CFB591 fs-32 w-588">
  204. 非常感谢您对本次会议的关注和支持,振合网科技集团期待与您相见!
  205. </view>
  206. </view>
  207. <view class="fc-CFB591 fs-24 mb-16">
  208. 如有任何疑问或需要帮助,请随时联系我们,联系电话:023-67177907
  209. </view>
  210. <view class="playphone-box align-items-center justify-content-center" @click.stop="playPhone()">
  211. <uni-icons style="margin-right: 10rpx;" type="phone" color="#333" size="26">
  212. </uni-icons>
  213. <view class="fs-32 fc-3A2E1C">一键拨打</view>
  214. </view>
  215. </view>
  216. </view>
  217. </view>
  218. </view>
  219. <view class="" v-if="isEnroll">
  220. <view class="cy-buttom iphone-buttom" @click.stop="canyu()">参与预约</view>
  221. </view>
  222. <uni-popup ref="popup" type="bottom">
  223. <scroll-view scroll-y="true" class="scroll-view-box">
  224. <!-- <view class="scroll-view-box-icon">
  225. <uni-icons type="closeempty" size="24" color="#fff"></uni-icons>
  226. </view> -->
  227. <view class="swiper-item">
  228. <view class="index-2">
  229. <image class="text-img-2 wow animate__animated animate__bounceInUp"
  230. src="@/static/img/cyyy-text-1.png" mode="scaleToFill"></image>
  231. <view class="mb-32">
  232. <view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">您的姓名<span
  233. class="fc-ED301D fs-32">*</span></view>
  234. <input class="wow animate__animated animate__bounceInRight" v-model="fromData.name"
  235. type="text" placeholder="请输入您的姓名">
  236. </view>
  237. <view class="mb-32">
  238. <view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">您的手机号<span
  239. class="fc-ED301D fs-32">*</span></view>
  240. <input class="wow animate__animated animate__bounceInRight" v-model="fromData.phone"
  241. type="number" placeholder="请输入您的手机号">
  242. </view>
  243. <view class="mb-32">
  244. <view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">您的公司名称<span
  245. class="fc-ED301D fs-32">*</span></view>
  246. <input class="wow animate__animated animate__bounceInRight" v-model="fromData.corporate"
  247. type="text" placeholder="请输入您的公司名称">
  248. </view>
  249. <view class="mb-32">
  250. <view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">您的代理品牌<span
  251. class="fc-ED301D fs-32">*</span></view>
  252. <input class="wow animate__animated animate__bounceInRight" v-model="fromData.brand"
  253. type="text" placeholder="请输入您的代理品牌">
  254. </view>
  255. <view class="mb-32">
  256. <view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">邀请人<span
  257. class="fc-ED301D fs-32">*</span></view>
  258. <input class="wow animate__animated animate__bounceInRight" v-model="fromData.inviter"
  259. type="text" placeholder="请输入您的邀请人">
  260. </view>
  261. <view class="mb-72">
  262. <view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">邀请人手机号<span
  263. class="fc-ED301D fs-32">*</span></view>
  264. <input class="wow animate__animated animate__bounceInRight" v-model="fromData.inviter_phone"
  265. type="number" placeholder="请输入邀请人的手机号">
  266. </view>
  267. <view class="flex-justify-space">
  268. <view class="save-box wow animate__animated animate__bounceInUp" @click.stop="save()">预约</view>
  269. <view class="save-box wow animate__animated animate__bounceInUp" @click.stop="fanhui()">返回</view>
  270. </view>
  271. </view>
  272. </view>
  273. </scroll-view>
  274. </uni-popup>
  275. </view>
  276. </template>
  277. <script>
  278. import {
  279. getJsConfig,
  280. userParticipation
  281. } from '@/api/user.js';
  282. import tools from "@/service/tools";
  283. import wxJs from "jweixin-module"
  284. import {
  285. useBgMusic
  286. } from '@/uni_modules/y-bg-music/js_sdk';
  287. export default {
  288. components: {},
  289. data() {
  290. return {
  291. userName: '',
  292. fromData: {
  293. m_id: '',
  294. name: '',
  295. phone: '',
  296. corporate: '',
  297. inviter: '', //邀请人
  298. inviter_phone: '',
  299. brand:'',
  300. },
  301. isAJAX: false,
  302. index: 0,
  303. audioServe: undefined,
  304. isPlay: false,
  305. isAutoPlay: false,
  306. isIos: true,
  307. isEnroll: true
  308. }
  309. },
  310. onLoad(data) {
  311. if (data.noEnroll !== undefined) {
  312. this.isEnroll = false
  313. }
  314. },
  315. onshow() {
  316. this.$wow.init();
  317. },
  318. mounted() {
  319. this.userName = uni.getStorageSync('userName');
  320. let isWeiXin = tools.isWx();
  321. if (isWeiXin) {
  322. this.getJsConfig()
  323. }
  324. // this.musicPlay()
  325. const isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
  326. this.isIos = isiOS
  327. if (isiOS) {
  328. console.log('This is an iOS device');
  329. } else {
  330. this.audioServe = useBgMusic({
  331. src: './static/mp3/4272600974.mp3',
  332. loop: 999, // 循环次数
  333. controls: false // 显示右上角控制元素
  334. });
  335. }
  336. },
  337. methods: {
  338. canyu(){
  339. this.$refs.popup.open();
  340. },
  341. fanhui(){
  342. this.$refs.popup.close();
  343. },
  344. musicPlay() {
  345. // if (!this.audioServe) {
  346. // this.audioServe = uni.createInnerAudioContext();
  347. // this.audioServe.autoplay = true;
  348. // this.audioServe.loop = true;
  349. // this.audioServe.obeyMuteSwitch = true;
  350. // this.audioServe.src = 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/mp3/4272600974.mp3';
  351. // }
  352. // this.audioServe.play();
  353. // this.audioServe.onPlay(() => {
  354. // this.isPlay = true;
  355. // this.isAutoPlay = true
  356. // })
  357. // 创建bgAudioManager对象
  358. // const bgAudioManager = uni.getBackgroundAudioManager();
  359. // bgAudioManager.src = 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/mp3/4272600974.mp3';
  360. // // 开始播放的回调函数
  361. // bgAudioManager.onPlay(() => {
  362. // console.log('开始播放');
  363. // });
  364. // // 播放报错的事件监听
  365. // bgAudioManager.onError((res) => {
  366. // console.log(res.errMsg);
  367. // console.log(res.errCode);
  368. // });
  369. },
  370. play() {
  371. if (!this.isPlay && this.audioServe) {
  372. // this.audioServe.play();
  373. // this.audioServe.onPlay(() => {
  374. // this.isPlay = true;
  375. // this.isAutoPlay = true
  376. // })
  377. }
  378. },
  379. musicPause() {
  380. // if (this.audioServe) {
  381. // this.audioServe.pause();
  382. // this.audioServe.onPause(() => {
  383. // this.isPlay = false;
  384. // });
  385. // }
  386. },
  387. getJsConfig() {
  388. console.log(window.location)
  389. let url = window.location.href.split('#')[0];
  390. getJsConfig({
  391. 'url': url
  392. }).then(res => {
  393. if (res.code === 1) {
  394. wxJs.config({
  395. debug: false,
  396. appId: res.data.appid,
  397. nonceStr: res.data.noncestr,
  398. signature: res.data.signature,
  399. timestamp: res.data.timestamp * 1, // 必填,生成签名的时间戳
  400. jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData']
  401. })
  402. wxJs.ready(() => {
  403. //自定义“分享给朋友”
  404. // this.musicPlay()
  405. wxJs.updateAppMessageShareData({
  406. title: this.isEnroll ? '振合网“实体联盟”招商说明会-邀请函' :
  407. "<畅通国民经济循环 发展新质生产力>研讨会",
  408. desc: this.isEnroll ? '10月20日我们不见不散!' : '实现共同富裕',
  409. link: "https://enroll.jhcs888.com/#/" + (this.isEnroll ? '' :
  410. '?noEnroll=1'), // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致
  411. imgUrl: this.isEnroll ?
  412. 'https://jhnewshop.oss-cn-chengdu.aliyuncs.com/storage/attest/20210927/949e48fb7c286836097efdd4ba4d0bd9.jpg' :
  413. 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/storage/fc1d53858ba9dcd52dc91260e6bc557.png', // 分享图标
  414. success: function() {
  415. // 设置成功
  416. }
  417. })
  418. //自定义“分享到朋友圈”
  419. wxJs.updateTimelineShareData({
  420. title: this.isEnroll ? '振合网“实体联盟”招商说明会-邀请函' :
  421. '<畅通国民经济循环 发展新质生产力>研讨会',
  422. desc: this.isEnroll ? '10月20日我们不见不散!' : '实现共同富裕',
  423. link: "https://enroll.jhcs888.com/#/" + (this.isEnroll ? '' :
  424. '?noEnroll=1'), // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致
  425. imgUrl: this.isEnroll ?
  426. 'https://jhnewshop.oss-cn-chengdu.aliyuncs.com/storage/attest/20210927/949e48fb7c286836097efdd4ba4d0bd9.jpg' :
  427. 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/storage/fc1d53858ba9dcd52dc91260e6bc557.png', // 分享图标
  428. success: function() {
  429. // 设置成功
  430. }
  431. })
  432. if (this.audioServe) {
  433. this.audioServe.play();
  434. } else if (!this.isIos) {
  435. this.$refs.musicObj.playTo()
  436. }
  437. });
  438. }
  439. })
  440. },
  441. playPhone() {
  442. uni.makePhoneCall({
  443. phoneNumber: '023-67177907'
  444. });
  445. },
  446. swiperChange(e) {
  447. this.play()
  448. if (e.detail.current !== this.index) {
  449. this.index = e.detail.current;
  450. }
  451. },
  452. toMap() {
  453. uni.openLocation({
  454. latitude: 29.665085,
  455. longitude: 106.615366,
  456. scale: 18,
  457. name: '重庆丽星君顿酒店',
  458. address: '重庆市渝北区服装城大道48号',
  459. success() {},
  460. fail(error) {}
  461. });
  462. },
  463. save() {
  464. if (this.isAJAX) {
  465. return
  466. }
  467. this.isAJAX = true;
  468. this.fromData.m_id = uni.getStorageSync('m_id');
  469. userParticipation(this.fromData).then((res) => {
  470. if (res.code === 1) {
  471. tools.success('预约成功')
  472. this.fromData = {
  473. m_id: '',
  474. name: '',
  475. phone: '',
  476. corporate: '',
  477. inviter: '', //邀请人
  478. brand:'',
  479. inviter_phone: '',
  480. }
  481. } else {
  482. tools.error(res.msg)
  483. }
  484. this.isAJAX = false;
  485. })
  486. }
  487. },
  488. }
  489. </script>
  490. <style lang="scss" scoped>
  491. .iphone-buttom{
  492. padding-bottom: 20rpx;
  493. // padding-bottom: constant(safe-area-inset-bottom);
  494. // padding-bottom: env(safe-area-inset-bottom);
  495. }
  496. .f-wh{
  497. height: calc(100vh - 168rpx) !important;
  498. }
  499. .scroll-view-box{
  500. background: rgba(5, 19, 103, 1);
  501. width: 100%;
  502. height: 100vh;
  503. overflow: auto;
  504. box-sizing: border-box;
  505. padding-bottom: 50rpx;
  506. position: relative;
  507. .scroll-view-box-icon{
  508. position: absolute;
  509. top: 40rpx;
  510. left: 30rpx;
  511. }
  512. }
  513. .box-yuan {
  514. width: 32rpx;
  515. height: 32rpx;
  516. line-height: 32rpx;
  517. text-align: center;
  518. font-size: 18rpx;
  519. color: #061363;
  520. border-radius: 50%;
  521. margin-right: 16rpx;
  522. background-color: #CEB48F;
  523. }
  524. .w-246 {
  525. width: 246rpx;
  526. }
  527. .w-588 {
  528. width: 588rpx;
  529. }
  530. .zhw-img-text {
  531. width: 280rpx;
  532. height: 40rpx;
  533. margin-left: auto;
  534. margin-right: auto;
  535. }
  536. .playphone-box {
  537. width: 100%;
  538. height: 86rpx;
  539. background: linear-gradient(90deg, #E4BD85 0%, #CEB590 100%);
  540. border-radius: 10rpx;
  541. }
  542. .index-box {
  543. background-image: url('@/static/img/c-bg.png');
  544. background-size: 100% 100%;
  545. }
  546. .up-icon {
  547. width: 64rpx;
  548. height: 64rpx;
  549. margin: 0 auto;
  550. }
  551. ::v-deep .uni-swiper-wrapper{
  552. overflow-y: auto !important;
  553. }
  554. ::v-deep .uni-swiper-wrapper .uni-swiper-item{
  555. overflow-y: auto !important;
  556. }
  557. .swiper {
  558. flex: 1;
  559. width: 100%;
  560. overflow-y: auto !important;
  561. .swiper-item {
  562. width: 100%;
  563. height: auto;
  564. overflow-y: auto !important;
  565. }
  566. }
  567. .logo-img {
  568. width: 136rpx;
  569. height: 80rpx;
  570. margin-top: 8rpx;
  571. }
  572. .music-img {
  573. margin-top: 16rpx;
  574. width: 56rpx;
  575. height: 56rpx;
  576. }
  577. .music-anumation {
  578. animation: rotation 2s linear infinite;
  579. }
  580. @keyframes rotation {
  581. from {
  582. transform: rotate(0deg);
  583. }
  584. to {
  585. transform: rotate(360deg);
  586. }
  587. }
  588. .index-1 {
  589. .img-text {
  590. width: 384rpx;
  591. height: 232rpx;
  592. margin: 76rpx auto 36rpx auto;
  593. }
  594. .img-xian {
  595. width: 10rpx;
  596. height: 174rpx;
  597. margin: 0 auto 154rpx auto;
  598. }
  599. .name-text {
  600. width: 392rpx;
  601. height: 88rpx;
  602. margin: 0 auto 36rpx auto;
  603. }
  604. .name-text-1 {
  605. width: 288rpx;
  606. height: 100rpx;
  607. margin: 0 auto 40rpx auto;
  608. }
  609. .name-text-2 {
  610. width: 424rpx;
  611. height: 146rpx;
  612. margin: 0 auto 104rpx auto;
  613. }
  614. .time-text {
  615. width: 274rpx;
  616. height: 37rpx;
  617. margin: 0 auto 140rpx auto;
  618. }
  619. }
  620. .cy-buttom{
  621. width: 100%;
  622. height: 80rpx;
  623. background: linear-gradient(90deg, #EBC795 0%, #E3BB83 100%);
  624. text-align: center;
  625. line-height: 80rpx;
  626. font-size: 38rpx;
  627. font-weight: 600;
  628. color: #3A2E1C;
  629. }
  630. .index-2 {
  631. width: 686rpx;
  632. min-height: 1032rpx;
  633. background: rgba(5, 19, 103, 0.5);
  634. border-radius: 12rpx;
  635. border: 2rpx solid #112495;
  636. margin: 40rpx auto;
  637. box-sizing: border-box;
  638. padding: 32rpx;
  639. input {
  640. width: 622rpx;
  641. height: 80rpx;
  642. background: #FFFFFF;
  643. border-radius: 10rpx;
  644. box-sizing: border-box;
  645. padding: 0 20rpx;
  646. font-size: 28rpx;
  647. }
  648. .save-box{
  649. width: 48%;
  650. height: 80rpx;
  651. background: linear-gradient(90deg, #EBC795 0%, #E3BB83 100%);
  652. text-align: center;
  653. border-radius: 10rpx;
  654. line-height: 80rpx;
  655. font-size: 38rpx;
  656. font-weight: 600;
  657. color: #3A2E1C;
  658. }
  659. .text-img {
  660. width: 302rpx;
  661. height: 116rpx;
  662. margin: 0 auto 44rpx auto;
  663. }
  664. .text-box {
  665. line-height: 68rpx;
  666. letter-spacing: 4rpx;
  667. display: block;
  668. text-indent: 72rpx;
  669. }
  670. .text-img-ty {
  671. width: 156rpx;
  672. height: 54rpx;
  673. margin-bottom: 24rpx;
  674. }
  675. .text-img-1 {
  676. width: 224rpx;
  677. height: 116rpx;
  678. margin: 0 auto 44rpx auto;
  679. }
  680. .text-img-2 {
  681. width: 214rpx;
  682. height: 116rpx;
  683. margin: 0 auto 44rpx auto;
  684. }
  685. .text-img-3 {
  686. width: 192rpx;
  687. height: 116rpx;
  688. margin: 0 auto 44rpx auto;
  689. }
  690. .text-img-4 {
  691. width: 314rpx;
  692. height: 116rpx;
  693. margin: 0 auto 44rpx auto;
  694. }
  695. .img-1 {
  696. width: 622rpx;
  697. height: 328rpx;
  698. border-radius: 10rpx;
  699. margin-bottom: 24rpx;
  700. }
  701. .img-2 {
  702. width: 300rpx;
  703. height: 214rpx;
  704. margin-bottom: 60rpx;
  705. }
  706. .img-3 {
  707. width: 622rpx;
  708. height: 354rpx;
  709. border-radius: 10rpx;
  710. margin-bottom: 40rpx;
  711. }
  712. .icon-img {
  713. width: 23rpx;
  714. height: 23rpx;
  715. margin-right: 8rpx;
  716. }
  717. .icon-img-1 {
  718. width: 24rpx;
  719. height: 24rpx;
  720. margin-right: 16rpx;
  721. }
  722. .b-f {
  723. position: relative;
  724. .b-c {
  725. position: absolute;
  726. right: 24rpx;
  727. bottom: 22rpx;
  728. width: 172rpx;
  729. height: 56rpx;
  730. background: #2F80ED;
  731. border-radius: 4rpx;
  732. text-align: center;
  733. line-height: 56rpx;
  734. font-size: 28rpx;
  735. color: #fff;
  736. }
  737. }
  738. }
  739. </style>