index.vue 27 KB

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