index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  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. <scroll-view scroll-y="true" @scrolltolower="scrolltolower()" 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. </scroll-view>
  60. </swiper-item>
  61. <!-- 诚挚邀请 -->
  62. <swiper-item>
  63. <scroll-view scroll-y="true" @scrolltolower="scrolltolower()" 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. </scroll-view>
  90. </swiper-item>
  91. <!-- 参会名单 -->
  92. <swiper-item>
  93. <scroll-view scroll-y="true" @scrolltolower="scrolltolower()" 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. </scroll-view>
  145. </swiper-item>
  146. <!-- 活动地址 -->
  147. <swiper-item>
  148. <scroll-view scroll-y="true" @scrolltolower="scrolltolower()" 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. </scroll-view>
  168. </swiper-item>
  169. <!-- 地址导航 -->
  170. <swiper-item>
  171. <scroll-view scroll-y="true" @scrolltolower="scrolltolower()" 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. </scroll-view>
  212. </swiper-item>
  213. <!-- 参与预约 -->
  214. <swiper-item v-if="isEnroll">
  215. <scroll-view scroll-y="true" @scrolltolower="scrolltolower()" 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. </scroll-view>
  254. </swiper-item>
  255. <!-- 提示 -->
  256. <swiper-item>
  257. <scroll-view scroll-y="true" 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. </scroll-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. idBottom:false
  324. }
  325. },
  326. onLoad(data) {
  327. if (data.noEnroll !== undefined) {
  328. this.isEnroll = false
  329. }
  330. },
  331. onshow() {
  332. this.$wow.init();
  333. },
  334. mounted() {
  335. this.userName = uni.getStorageSync('userName');
  336. let isWeiXin = tools.isWx();
  337. if (isWeiXin) {
  338. this.getJsConfig()
  339. }
  340. // this.musicPlay()
  341. const isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
  342. this.isIos = isiOS
  343. if (isiOS) {
  344. console.log('This is an iOS device');
  345. } else {
  346. this.audioServe = useBgMusic({
  347. src: './static/mp3/4272600974.mp3',
  348. loop: 999, // 循环次数
  349. controls: false // 显示右上角控制元素
  350. });
  351. }
  352. },
  353. methods: {
  354. scrolltolower(){
  355. console.log('end-------------')
  356. },
  357. musicPlay() {
  358. // if (!this.audioServe) {
  359. // this.audioServe = uni.createInnerAudioContext();
  360. // this.audioServe.autoplay = true;
  361. // this.audioServe.loop = true;
  362. // this.audioServe.obeyMuteSwitch = true;
  363. // this.audioServe.src = 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/mp3/4272600974.mp3';
  364. // }
  365. // this.audioServe.play();
  366. // this.audioServe.onPlay(() => {
  367. // this.isPlay = true;
  368. // this.isAutoPlay = true
  369. // })
  370. // 创建bgAudioManager对象
  371. // const bgAudioManager = uni.getBackgroundAudioManager();
  372. // bgAudioManager.src = 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/mp3/4272600974.mp3';
  373. // // 开始播放的回调函数
  374. // bgAudioManager.onPlay(() => {
  375. // console.log('开始播放');
  376. // });
  377. // // 播放报错的事件监听
  378. // bgAudioManager.onError((res) => {
  379. // console.log(res.errMsg);
  380. // console.log(res.errCode);
  381. // });
  382. },
  383. play() {
  384. if (!this.isPlay && this.audioServe) {
  385. // this.audioServe.play();
  386. // this.audioServe.onPlay(() => {
  387. // this.isPlay = true;
  388. // this.isAutoPlay = true
  389. // })
  390. }
  391. },
  392. musicPause() {
  393. // if (this.audioServe) {
  394. // this.audioServe.pause();
  395. // this.audioServe.onPause(() => {
  396. // this.isPlay = false;
  397. // });
  398. // }
  399. },
  400. getJsConfig() {
  401. console.log(window.location)
  402. let url = window.location.href.split('#')[0];
  403. getJsConfig({
  404. 'url': url
  405. }).then(res => {
  406. if (res.code === 1) {
  407. wxJs.config({
  408. debug: false,
  409. appId: res.data.appid,
  410. nonceStr: res.data.noncestr,
  411. signature: res.data.signature,
  412. timestamp: res.data.timestamp * 1, // 必填,生成签名的时间戳
  413. jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData']
  414. })
  415. wxJs.ready(() => {
  416. //自定义“分享给朋友”
  417. // this.musicPlay()
  418. wxJs.updateAppMessageShareData({
  419. title: this.isEnroll ? '振合网“实体联盟”招商说明会-邀请函' :
  420. "<畅通国民经济循环 发展新质生产力>研讨会",
  421. desc: this.isEnroll ? '10月20日我们不见不散!' : '实现共同富裕',
  422. link: "https://enroll.jhcs888.com/#/" + (this.isEnroll ? '' :
  423. '?noEnroll=1'), // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致
  424. imgUrl: this.isEnroll ?
  425. 'https://jhnewshop.oss-cn-chengdu.aliyuncs.com/storage/attest/20210927/949e48fb7c286836097efdd4ba4d0bd9.jpg' :
  426. 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/storage/fc1d53858ba9dcd52dc91260e6bc557.png', // 分享图标
  427. success: function() {
  428. // 设置成功
  429. }
  430. })
  431. //自定义“分享到朋友圈”
  432. wxJs.updateTimelineShareData({
  433. title: this.isEnroll ? '振合网“实体联盟”招商说明会-邀请函' :
  434. '<畅通国民经济循环 发展新质生产力>研讨会',
  435. desc: this.isEnroll ? '10月20日我们不见不散!' : '实现共同富裕',
  436. link: "https://enroll.jhcs888.com/#/" + (this.isEnroll ? '' :
  437. '?noEnroll=1'), // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致
  438. imgUrl: this.isEnroll ?
  439. 'https://jhnewshop.oss-cn-chengdu.aliyuncs.com/storage/attest/20210927/949e48fb7c286836097efdd4ba4d0bd9.jpg' :
  440. 'https://jhxcnc.oss-cn-chengdu.aliyuncs.com/storage/fc1d53858ba9dcd52dc91260e6bc557.png', // 分享图标
  441. success: function() {
  442. // 设置成功
  443. }
  444. })
  445. if (this.audioServe) {
  446. this.audioServe.play();
  447. } else if (!this.isIos) {
  448. this.$refs.musicObj.playTo()
  449. }
  450. });
  451. }
  452. })
  453. },
  454. playPhone() {
  455. uni.makePhoneCall({
  456. phoneNumber: '023-67177907'
  457. });
  458. },
  459. swiperChange(e) {
  460. this.play()
  461. if (e.detail.current !== this.index) {
  462. this.index = e.detail.current;
  463. }
  464. },
  465. toMap() {
  466. uni.openLocation({
  467. latitude: 29.665085,
  468. longitude: 106.615366,
  469. scale: 18,
  470. name: '重庆丽星君顿酒店',
  471. address: '重庆市渝北区服装城大道48号',
  472. success() {},
  473. fail(error) {}
  474. });
  475. },
  476. save() {
  477. if (this.isAJAX) {
  478. return
  479. }
  480. this.isAJAX = true;
  481. this.fromData.m_id = uni.getStorageSync('m_id');
  482. userParticipation(this.fromData).then((res) => {
  483. if (res.code === 1) {
  484. tools.success('预约成功')
  485. this.fromData = {
  486. m_id: '',
  487. name: '',
  488. phone: '',
  489. corporate: '',
  490. inviter: '', //邀请人
  491. inviter_phone: '',
  492. }
  493. } else {
  494. tools.error(res.msg)
  495. }
  496. this.isAJAX = false;
  497. })
  498. }
  499. },
  500. }
  501. </script>
  502. <style lang="scss" scoped>
  503. .box-yuan {
  504. width: 32rpx;
  505. height: 32rpx;
  506. line-height: 32rpx;
  507. text-align: center;
  508. font-size: 18rpx;
  509. color: #061363;
  510. border-radius: 50%;
  511. margin-right: 16rpx;
  512. background-color: #CEB48F;
  513. }
  514. .w-246 {
  515. width: 246rpx;
  516. }
  517. .w-588 {
  518. width: 588rpx;
  519. }
  520. .zhw-img-text {
  521. width: 280rpx;
  522. height: 40rpx;
  523. margin-left: auto;
  524. margin-right: auto;
  525. }
  526. .playphone-box {
  527. width: 100%;
  528. height: 86rpx;
  529. background: linear-gradient(90deg, #E4BD85 0%, #CEB590 100%);
  530. border-radius: 10rpx;
  531. }
  532. .index-box {
  533. background-image: url('@/static/img/c-bg.png');
  534. background-size: 100% 100%;
  535. }
  536. .up-icon {
  537. width: 64rpx;
  538. height: 64rpx;
  539. margin: 0 auto;
  540. }
  541. .swiper {
  542. flex: 1;
  543. width: 100%;
  544. overflow: auto;
  545. .swiper-item-f{
  546. width: 100%;
  547. height: 100%;
  548. }
  549. .swiper-item {
  550. width: 100%;
  551. height: 100%;
  552. }
  553. }
  554. .logo-img {
  555. width: 136rpx;
  556. height: 80rpx;
  557. margin-top: 8rpx;
  558. }
  559. .music-img {
  560. margin-top: 16rpx;
  561. width: 56rpx;
  562. height: 56rpx;
  563. }
  564. .music-anumation {
  565. animation: rotation 2s linear infinite;
  566. }
  567. @keyframes rotation {
  568. from {
  569. transform: rotate(0deg);
  570. }
  571. to {
  572. transform: rotate(360deg);
  573. }
  574. }
  575. .index-1 {
  576. .img-text {
  577. width: 384rpx;
  578. height: 232rpx;
  579. margin: 76rpx auto 36rpx auto;
  580. }
  581. .img-xian {
  582. width: 10rpx;
  583. height: 174rpx;
  584. margin: 0 auto 154rpx auto;
  585. }
  586. .name-text {
  587. width: 392rpx;
  588. height: 88rpx;
  589. margin: 0 auto 36rpx auto;
  590. }
  591. .name-text-1 {
  592. width: 288rpx;
  593. height: 100rpx;
  594. margin: 0 auto 40rpx auto;
  595. }
  596. .name-text-2 {
  597. width: 424rpx;
  598. height: 146rpx;
  599. margin: 0 auto 104rpx auto;
  600. }
  601. .time-text {
  602. width: 274rpx;
  603. height: 37rpx;
  604. margin: 0 auto 140rpx auto;
  605. }
  606. }
  607. .index-2 {
  608. width: 686rpx;
  609. min-height: 132rpx;
  610. background: rgba(5, 19, 103, 0.5);
  611. border-radius: 12rpx;
  612. border: 2rpx solid #112495;
  613. margin: 40rpx auto;
  614. box-sizing: border-box;
  615. padding: 32rpx;
  616. input {
  617. width: 622rpx;
  618. height: 80rpx;
  619. background: #FFFFFF;
  620. border-radius: 10rpx;
  621. box-sizing: border-box;
  622. padding: 0 20rpx;
  623. font-size: 28rpx;
  624. }
  625. .save-box {
  626. width: 622rpx;
  627. height: 80rpx;
  628. background: linear-gradient(90deg, #EBC795 0%, #E3BB83 100%);
  629. border-radius: 10rpx;
  630. text-align: center;
  631. line-height: 80rpx;
  632. font-size: 38rpx;
  633. font-weight: 600;
  634. color: #3A2E1C;
  635. }
  636. .text-img {
  637. width: 302rpx;
  638. height: 116rpx;
  639. margin: 0 auto 44rpx auto;
  640. }
  641. .text-box {
  642. line-height: 68rpx;
  643. letter-spacing: 4rpx;
  644. display: block;
  645. text-indent: 72rpx;
  646. }
  647. .text-img-ty {
  648. width: 156rpx;
  649. height: 54rpx;
  650. margin-bottom: 24rpx;
  651. }
  652. .text-img-1 {
  653. width: 224rpx;
  654. height: 116rpx;
  655. margin: 0 auto 44rpx auto;
  656. }
  657. .text-img-2 {
  658. width: 214rpx;
  659. height: 116rpx;
  660. margin: 0 auto 44rpx auto;
  661. }
  662. .text-img-3 {
  663. width: 192rpx;
  664. height: 116rpx;
  665. margin: 0 auto 44rpx auto;
  666. }
  667. .text-img-4 {
  668. width: 314rpx;
  669. height: 116rpx;
  670. margin: 0 auto 44rpx auto;
  671. }
  672. .img-1 {
  673. width: 622rpx;
  674. height: 328rpx;
  675. border-radius: 10rpx;
  676. margin-bottom: 24rpx;
  677. }
  678. .img-2 {
  679. width: 300rpx;
  680. height: 214rpx;
  681. margin-bottom: 60rpx;
  682. }
  683. .img-3 {
  684. width: 622rpx;
  685. height: 354rpx;
  686. border-radius: 10rpx;
  687. margin-bottom: 40rpx;
  688. }
  689. .icon-img {
  690. width: 23rpx;
  691. height: 23rpx;
  692. margin-right: 8rpx;
  693. }
  694. .icon-img-1 {
  695. width: 24rpx;
  696. height: 24rpx;
  697. margin-right: 16rpx;
  698. }
  699. .b-f {
  700. position: relative;
  701. .b-c {
  702. position: absolute;
  703. right: 24rpx;
  704. bottom: 22rpx;
  705. width: 172rpx;
  706. height: 56rpx;
  707. background: #2F80ED;
  708. border-radius: 4rpx;
  709. text-align: center;
  710. line-height: 56rpx;
  711. font-size: 28rpx;
  712. color: #fff;
  713. }
  714. }
  715. }
  716. </style>