index.vue 26 KB

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