index.vue 26 KB

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