index.vue 24 KB

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