index.vue 26 KB

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