index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  1. <template>
  2. <div class="page">
  3. <div class="page-top">
  4. <div class="top-tip-container">
  5. <transition name="fade">
  6. <div class="top-tip" v-show="showMobileStatus && activityState === 1">{{ showMobile }} 已报名参赛!</div>
  7. </transition>
  8. </div>
  9. </div>
  10. <div class="page-content">
  11. <!-- 视频列表 -->
  12. <template v-if="videoListFilter.length > 0">
  13. <div class="section-title">
  14. <div class="title">精选视频</div>
  15. <div class="more" @click="onMoreClick">
  16. <span>更多</span>
  17. <span class="iconfont icon-arrow-right"></span>
  18. </div>
  19. </div>
  20. <SimpleVideoList :list="videoListFilter" @praise="onPraise" />
  21. </template>
  22. <!-- 活动介绍 -->
  23. <div class="section-title">
  24. <!-- <div class="title">活动介绍</div> -->
  25. </div>
  26. <div class="activity-content">
  27. <div class="title"></div>
  28. <dl>
  29. <dt><div>活动介绍</div></dt>
  30. <dd class="desc">
  31. <div>
  32. “提高免疫力,我有黑科技”ROSS首届抖音任务挑战赛火热来袭,抖音发布符合任务的优质视频,ROSS认证通系统报名参加!
  33. </div>
  34. <div>
  35. 欢迎各位美业精英参与抖音话题&nbsp;<b>#ross发烧疗法</b>,分享你提高免疫力的秘籍,线上PK赢——50w+本地KOL网红探店种草!!
  36. </div>
  37. </dd>
  38. <dt><div>活动时间</div></dt>
  39. <dd class="offset-time">
  40. <div>参赛时间:2022.12.28-2023.02.05</div>
  41. <div>领奖时间:2023.02.20-2023.02.28</div>
  42. </dd>
  43. <dt><div>活动奖励</div></dt>
  44. <dd>
  45. <div>一等奖:视频点赞NO.1,50w+本地KOL网红探店种草;</div>
  46. <div>二等奖:视频点赞NO.2,30w+本地KOL网红探店种草;</div>
  47. <div>三等奖:视频点赞NO.3,10w+本地KOL网红探店种草;</div>
  48. <div>参与奖:成功发布3个带ROSS相关素材的视频,获2000元导胶一瓶(奖品数量有限,送完即止);</div>
  49. <div class="link">点击链接获取素材:<a href="https://zp.caimei365.com/12/ross/docs/1046"
  50. >https://zp.caimei365.com/12/ross/docs/1046</a
  51. >
  52. </div>
  53. </dd>
  54. <dt><div>参与方式</div></dt>
  55. <dd class="join">
  56. <div>
  57. 第一步:通过抖音个人账号分享原创视频添加话题 #ross发烧疗法,@ROSS柔斯 @采美365(以上条件缺一不可);
  58. </div>
  59. <div>第二步:进入ROSS任务挑战赛界面,点击报名参赛并上传视频链接;</div>
  60. </dd>
  61. <dt><div>评奖规则</div></dt>
  62. <dd class="p-rules">
  63. <div>1、参赛作品排名评奖以最终点赞量数据为准,截止时间为2023年2月05日17点59分;</div>
  64. <div>2、2023年2月20日起颁发奖品,期间以抖音私信、短信发送和电话的形式通知获奖用户领取奖励;</div>
  65. <div>3、2023年2月28日前抖音私信无回复者视为自动放弃奖项;</div>
  66. <div>4、活动期间(2月5日前)删除视频、被平台下架、不能正常展示,则视为无效;</div>
  67. </dd>
  68. <dt><div>参与规则</div></dt>
  69. <dd class="rules">
  70. <div>1、作品要求必须原创,画质清晰、内容积极向上,视频时长控制在90s内;</div>
  71. <div>2、发布视频带话题“ross发烧疗法”并@ROSS柔斯和@采美365网;</div>
  72. <div>3、视频内容不违反抖音平台规则;</div>
  73. </dd>
  74. <dt><div>注意事项</div></dt>
  75. <dd class="message">
  76. <div>1、参赛对象——美业项目公司或机构门店;</div>
  77. <div>2、一到三等奖项以最高点赞量的视频作为统计,每个ID限领一次;</div>
  78. <div>3、活动最终解释权归主办方所有;</div>
  79. <div>4、如有疑问,可咨询官方客服微信:cmdjt01;</div>
  80. </dd>
  81. </dl>
  82. </div>
  83. <div class="control">
  84. <div class="btn type1" @click="onToSingUp">点击报名参赛</div>
  85. <div class="btn type2" @click="onToUpload">上传抖音视频</div>
  86. </div>
  87. </div>
  88. <!-- 资质上传框 -->
  89. <GeneralDialog
  90. v-model="showDialog"
  91. title="上传营业执照"
  92. @confirm="onConfirm"
  93. confirmText="提交报名"
  94. @closed="onClosed"
  95. >
  96. <div class="general-content">
  97. <SimpleUploadImage
  98. @success="onImageSuccess"
  99. @remove="onImageRemove"
  100. :imageList="imageList"
  101. :showDetail="false"
  102. />
  103. <div class="tip">提示:请上传您的真实营业执照,以免影响 您的评奖结果!</div>
  104. </div>
  105. </GeneralDialog>
  106. <!-- 提示框 -->
  107. <GeneralDialog
  108. v-model="promptDialog"
  109. title="提示"
  110. :content="promptContent"
  111. :confirmText="promptConfirmText"
  112. @confirm="onPromptConfirm"
  113. ></GeneralDialog>
  114. </div>
  115. </template>
  116. <script>
  117. import { mapGetters } from 'vuex'
  118. export default {
  119. layout: 'app-ross',
  120. data() {
  121. const promptContentMap = {
  122. 0: '恭喜您,报名成功,请去上传您的抖音视频!',
  123. 1: '抱歉!活动还未开始,暂无法报名!',
  124. 2: '抱歉!活动已结束,暂无法报名!',
  125. 3: '抱歉!您已报名,请勿重复操作!',
  126. 4: '抱歉!请完善您的营业执照!',
  127. 5: '抱歉!您还未报名,请先报名后再来上传视频!',
  128. 6: '抱歉!活动还未开始,暂无法上传视频!',
  129. 7: '抱歉!活动已结束,暂无法上传视频!',
  130. }
  131. return {
  132. dialog: true,
  133. activityState: 0,
  134. videoList: [],
  135. // 用户报名状态
  136. signUpStatus: 0, // 0:未报名 1:已报名
  137. // 营业执照
  138. showDialog: false,
  139. imageList: [],
  140. qualificationUrl: '',
  141. // 提示框信息
  142. promptDialog: false,
  143. promptContentMap,
  144. promptStatus: -1,
  145. // 非认证机构报名提交资质报名表单
  146. formData: {
  147. mobile: '',
  148. licenseOssUrl: '',
  149. authUserId: '',
  150. licenseOssName: '',
  151. authId: '',
  152. },
  153. listQuery: {
  154. clubUserId: '',
  155. clubUserName: '',
  156. authUserId: '',
  157. pageNum: 1,
  158. pageSize: 12,
  159. status: 1,
  160. },
  161. // 参赛用户列表
  162. singInClubList: [],
  163. showMobile: '',
  164. showMobileStatus: false,
  165. }
  166. },
  167. computed: {
  168. ...mapGetters(['routePrefix', 'authUserId', 'accessToken', 'userInfo', 'authId', 'isPc']),
  169. // 提示框内容
  170. promptContent() {
  171. return this.promptContentMap[this.promptStatus]
  172. },
  173. // 确定按钮内容
  174. promptConfirmText() {
  175. return this.promptStatus === 2 ? '上传抖音视频' : '确定'
  176. },
  177. // 参赛机构手机号
  178. signInClubMobileList() {
  179. return this.singInClubList.map((item) => item.userName.replace(/^(\w{3})\w+(\w{4})$/, '$1****$2'))
  180. },
  181. videoListFilter() {
  182. return this.videoList.filter((item, index) => {
  183. return index < (this.isPc ? 6 : 4)
  184. })
  185. },
  186. },
  187. created() {
  188. this.fetchActivityStatus()
  189. this.fetchVideoList()
  190. if (this.activityState === 1) {
  191. this.fetchSignInClubList()
  192. }
  193. },
  194. mounted() {
  195. // 分享当前页面
  196. this.initAppMessageShareData()
  197. },
  198. methods: {
  199. // 参赛机构手机号滚动
  200. mobileLoop() {
  201. if (this.signInClubMobileList.length > 0) {
  202. let i = 0
  203. this.showMobile = this.signInClubMobileList[i]
  204. this.showMobileStatus = true
  205. console.log('显示')
  206. setTimeout(() => {
  207. this.showMobileStatus = false
  208. console.log('隐藏')
  209. }, 1500)
  210. const timer = setInterval(() => {
  211. i++
  212. setTimeout(() => {
  213. this.showMobileStatus = false
  214. console.log('隐藏')
  215. }, 1500)
  216. if (i > this.signInClubMobileList.length - 1) {
  217. clearInterval(timer)
  218. console.log('结束')
  219. return
  220. }
  221. console.log('显示')
  222. this.showMobile = this.signInClubMobileList[i]
  223. this.showMobileStatus = true
  224. }, 2000)
  225. }
  226. },
  227. // 查看更多视频
  228. onMoreClick() {
  229. this.$router.push(`${this.routePrefix}/activity/challenge/list`)
  230. },
  231. // 点击报名
  232. onToSingUp() {
  233. // 活动未开启
  234. if (this.activityState === 0) {
  235. // this.promptStatus = 1
  236. this.promptStatus = 2
  237. this.promptDialog = true
  238. return
  239. }
  240. // 活动已结束
  241. if (this.activityState === 2) {
  242. this.promptStatus = 2
  243. this.promptDialog = true
  244. return
  245. }
  246. // 未登录
  247. if (!this.accessToken) {
  248. this.$store.commit('app/SHOW_LOGIN')
  249. return
  250. }
  251. // 已经报名
  252. if (this.signUpStatus === 1) {
  253. this.promptStatus = 3
  254. this.promptDialog = true
  255. return
  256. }
  257. // 未认证机构
  258. if (!this.authId) {
  259. this.promptStatus = 4
  260. this.promptDialog = true
  261. return
  262. }
  263. // 已认证机构
  264. if (this.authId) {
  265. this.clubSignUpActivity()
  266. }
  267. },
  268. // 上传抖音视频
  269. onToUpload() {
  270. // 活动未开启
  271. if (this.activityState === 0) {
  272. this.promptStatus = 6
  273. this.promptDialog = true
  274. return
  275. }
  276. // 活动已结束
  277. if (this.activityState === 2) {
  278. this.promptStatus = 7
  279. this.promptDialog = true
  280. return
  281. }
  282. // 未登录
  283. if (!this.accessToken) {
  284. this.$store.commit('app/SHOW_LOGIN')
  285. return
  286. }
  287. // 未报名
  288. if (this.signUpStatus === 0) {
  289. this.promptDialog = true
  290. this.promptStatus = 5
  291. return
  292. }
  293. this.$router.push(`${this.routePrefix}/activity/challenge/publish`)
  294. },
  295. // 机构用户报名
  296. async clubSignUpActivity() {
  297. try {
  298. this.formData.mobile = this.userInfo.mobile
  299. this.formData.authUserId = this.authUserId
  300. this.formData.authId = this.userInfo.authId
  301. await this.$http.api.clubSignUpActivity(this.formData)
  302. // 报名成功
  303. this.promptStatus = 0
  304. this.signUpStatus = 1
  305. this.promptDialog = true
  306. } catch (error) {
  307. console.log(error)
  308. }
  309. },
  310. // 提示框确定事件
  311. onPromptConfirm() {
  312. this.promptDialog = false
  313. // 上传资质
  314. if (this.promptStatus === 4) {
  315. this.showDialog = true
  316. return
  317. }
  318. // 去上传抖音视频
  319. if (this.promptStatus === 0) {
  320. this.$router.push(`${this.routePrefix}/activity/challenge/publish`)
  321. return
  322. }
  323. },
  324. // 提交资质文件
  325. onConfirm() {
  326. if (!this.formData.licenseOssUrl) {
  327. this.$toast('请上传营业执照')
  328. return
  329. }
  330. this.showDialog = false
  331. this.clubSignUpActivity()
  332. },
  333. onClosed() {
  334. this.imageList = []
  335. },
  336. // 文件上传成功
  337. onImageSuccess({ response, fileList }) {
  338. this.imageList = fileList
  339. this.formData.licenseOssUrl = response.data
  340. },
  341. // 文件移除
  342. onImageRemove() {
  343. this.imageList = []
  344. this.formData.licenseOssUrl = ''
  345. },
  346. // 视频点赞
  347. async onPraise(video) {
  348. try {
  349. if (!this.accessToken) {
  350. this.$toast('请先登录')
  351. this.$store.commit('app/SHOW_LOGIN')
  352. return
  353. }
  354. const status = video.diggStatus === 0 ? 1 : 0
  355. const { clubUserId } = this.userInfo
  356. await this.$http.api.diggcountVideo({
  357. id: video.id,
  358. diggStatus: status,
  359. clubUserId,
  360. clubUserIds: video.clubUserIds,
  361. })
  362. video.diggStatus = status
  363. let tip = ''
  364. if (video.diggStatus === 0) {
  365. tip = '已取消点赞'
  366. video.diggCount--
  367. } else {
  368. tip = '点赞成功'
  369. video.diggCount++
  370. }
  371. this.$toast.success(tip)
  372. } catch (error) {
  373. console.log(error)
  374. }
  375. },
  376. // 获取视频列表
  377. async fetchVideoList() {
  378. try {
  379. this.listQuery.authUserId = this.authUserId
  380. this.listQuery.clubUserId = this.userInfo.clubUserId
  381. const res = await this.$http.api.fetchClubVideoList(this.listQuery)
  382. this.videoList = res.data.list
  383. } catch (error) {
  384. console.log(error)
  385. }
  386. },
  387. // 获取用户活动报名状态
  388. async fetchContestInfo() {
  389. try {
  390. const res = await this.$http.api.checkContestInfo({ mobile: this.userInfo.mobile, authUserId: this.authUserId })
  391. this.signUpStatus = res.data.contestStatus
  392. } catch (error) {
  393. console.log(error)
  394. }
  395. },
  396. // 获取参赛的用户
  397. async fetchSignInClubList() {
  398. try {
  399. const res = await this.$http.api.fetchEnteredClubList({ authUserId: this.authUserId })
  400. this.singInClubList = res.data
  401. this.mobileLoop()
  402. } catch (error) {
  403. console.log(error)
  404. }
  405. },
  406. // 获取活动状态
  407. async fetchActivityStatus() {
  408. try {
  409. const res = await this.$http.api.fetchActivityStatus({
  410. authUserId: this.authUserId,
  411. })
  412. if (!res.data) return
  413. this.activityState = res.data.activityState
  414. if (!this.accessToken) return
  415. this.fetchContestInfo()
  416. } catch (error) {
  417. console.log(error)
  418. }
  419. },
  420. // 分享当前页面
  421. initAppMessageShareData() {
  422. // 重试次数
  423. let retryCount = 1
  424. this.$wxReady((wx) => {
  425. //需在用户可能点击分享按钮前就先调用
  426. wx.updateAppMessageShareData({
  427. title: '认证通', // 分享标题
  428. desc: '您的好友邀请您一起来参与认证通挑战赛,赢大奖,快来参与吧!', // 分享描述
  429. link: window.location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致
  430. imgUrl: window.location.origin + '/activity.png', // 分享图标
  431. fail: () => {
  432. if (retryCount === 0) return
  433. this.initAppMessageShareData()
  434. retryCount--
  435. },
  436. })
  437. })
  438. },
  439. },
  440. }
  441. </script>
  442. <style lang="scss" scoped>
  443. .fade-enter-active,
  444. .fade-leave-active {
  445. transition: opacity 0.5s;
  446. }
  447. .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  448. opacity: 0;
  449. }
  450. @media screen and (min-width: 768px) {
  451. .general-content {
  452. display: flex;
  453. flex-direction: column;
  454. align-items: center;
  455. .tip {
  456. width: 266px;
  457. margin: 0 auto;
  458. margin-top: 36px;
  459. line-height: 24px;
  460. font-size: 14px;
  461. color: #b2b2b2;
  462. text-align: center;
  463. }
  464. }
  465. .page {
  466. padding-bottom: 120px;
  467. background: url(~assets/theme-images/ross/pc_activity_page_bg.png);
  468. background-size:cover;
  469. .page-top {
  470. width: 100%;
  471. height: 530px;
  472. background: url(~assets/theme-images/ross/pc-banner-activity.png) no-repeat center;
  473. background-size: auto 530px;
  474. .top-tip-container {
  475. position: relative;
  476. width: 870px;
  477. margin: 0 auto;
  478. .top-tip {
  479. position: absolute;
  480. left: 0;
  481. top: 32px;
  482. width: 200px;
  483. height: 32px;
  484. background: rgba(0, 0, 0, 0.4);
  485. border-radius: 2px;
  486. font-size: 14px;
  487. color: #fff;
  488. text-align: center;
  489. line-height: 32px;
  490. }
  491. }
  492. }
  493. .page-content {
  494. width: 1196px;
  495. margin: 0 auto;
  496. .section-title {
  497. display: flex;
  498. justify-content: space-between;
  499. align-items: center;
  500. padding: 32px 0 16px;
  501. .title {
  502. font-size: 16px;
  503. font-weight: bold;
  504. color: #FFFFFF;
  505. }
  506. .more {
  507. font-size: 14px;
  508. color: #FFFFFF;
  509. cursor: pointer;
  510. &:hover {
  511. color: #f3920d;
  512. }
  513. }
  514. }
  515. .activity-content {
  516. min-height: 1170px;
  517. .title {
  518. font-size: 40px;
  519. color: #FFF;
  520. height: 80px;
  521. box-sizing: border-box;
  522. text-align: center;
  523. margin-bottom: 70px;
  524. padding-top: 20px;
  525. font-weight: bold;
  526. background: url(~assets/theme-images/ross/pc_activity_title_01.png) no-repeat center;
  527. background-size: auto 80px;
  528. }
  529. dl {
  530. width: 890px;
  531. margin: 0 auto;
  532. dt {
  533. font-size: 30px;
  534. text-align: center;
  535. margin-bottom: 24px;
  536. div {
  537. line-height: 24px;
  538. display: inline-block;
  539. color:#FFFFFF;
  540. position:relative;
  541. &:before{
  542. content:'';
  543. width:117px;
  544. height:5px;
  545. background: linear-gradient(83deg, #DF1EFC 0%, #14C2ED 50%, #1430FF 100%);
  546. position:absolute;
  547. bottom:-5px;
  548. left:3px;
  549. }
  550. }
  551. }
  552. dd {
  553. font-size: 16px;
  554. color: #ffffff;
  555. text-align: center;
  556. line-height: 32px;
  557. margin-bottom: 64px;
  558. a {
  559. color: #f3920d;
  560. }
  561. &.desc {
  562. text-align: center;
  563. }
  564. &.join {
  565. width: 830px;
  566. text-align: left;
  567. margin: 0 auto 64px;
  568. }
  569. &.p-rules {
  570. width: 700px;
  571. text-align: left;
  572. margin: 0 auto 64px;
  573. }
  574. &.rules {
  575. width: 536px;
  576. text-align: left;
  577. margin: 0 auto 64px;
  578. }
  579. &.message {
  580. width: 476px;
  581. text-align: left;
  582. margin: 0 auto 64px;
  583. }
  584. }
  585. }
  586. }
  587. .control {
  588. .btn {
  589. width: 295px;
  590. height: 50px;
  591. line-height: 50px;
  592. font-size: 16px;
  593. text-align: center;
  594. margin: 16px auto 0;
  595. cursor: pointer;
  596. border-radius: 4px;
  597. &.type1 {
  598. background: #f3920d;
  599. color: #ffffff;
  600. }
  601. &.type2 {
  602. border: 1px solid #f3920d;
  603. box-sizing: border-box;
  604. line-height: 48px;
  605. color: #f3920d;
  606. }
  607. }
  608. }
  609. }
  610. }
  611. }
  612. @media screen and (max-width: 768px) {
  613. .general-content {
  614. display: flex;
  615. flex-direction: column;
  616. align-items: center;
  617. .tip {
  618. width: 57vw;
  619. margin: 0 auto;
  620. margin-top: 4.8vw;
  621. line-height: 5.6vw;
  622. font-size: 3.2vw;
  623. color: #b2b2b2;
  624. text-align: center;
  625. }
  626. }
  627. .page {
  628. padding-bottom: 10vw;
  629. background: url(~assets/theme-images/ross/h5_activity_page_bg.png);
  630. background-size:cover;
  631. .page-top {
  632. width: 100%;
  633. height: 100vw;
  634. background: url(~assets/theme-images/ross/h5-banner-activity.png) no-repeat center;
  635. background-size: auto 100vw;
  636. .top-tip-container {
  637. position: relative;
  638. width: 100%;
  639. margin: 0 auto;
  640. .top-tip {
  641. position: absolute;
  642. left: 4vw;
  643. top: 6.4vw;
  644. width: 46vw;
  645. height: 7.2vw;
  646. background: rgba(0, 0, 0, 0.4);
  647. border-radius: 0.2vw;
  648. font-size: 3.2vw;
  649. color: #fff;
  650. text-align: center;
  651. line-height: 7.2vw;
  652. }
  653. }
  654. }
  655. .page-content {
  656. width: 85.6vw;
  657. margin: 0 auto;
  658. margin-top: 3.2vw;
  659. .section-title {
  660. display: flex;
  661. justify-content: space-between;
  662. align-items: center;
  663. padding: 32px 0 16px;
  664. .title {
  665. font-size: 16px;
  666. font-weight: bold;
  667. color: #fff;
  668. }
  669. .more {
  670. font-size: 14px;
  671. color: #FFFFFF;
  672. cursor: pointer;
  673. &:hover {
  674. color: #f3920d;
  675. }
  676. }
  677. }
  678. .activity-content {
  679. min-height: 116.3vw;
  680. margin-top: 8vw;
  681. .title {
  682. font-size: 5vw;
  683. color: #FFF;
  684. height: 9vw;
  685. box-sizing: border-box;
  686. text-align: center;
  687. margin-bottom: 8vw;
  688. padding-top: 2.4vw;
  689. font-weight: bold;
  690. background: url(~assets/theme-images/ross/h5_activity_title_01.png) no-repeat center;
  691. background-size: auto 9vw;
  692. }
  693. dl {
  694. dt {
  695. font-size: 4.8vw;
  696. text-align: center;
  697. margin-bottom: 4.8vw;
  698. div {
  699. line-height: 3.2vw;
  700. display: inline-block;
  701. color:#FFFFFF;
  702. position:relative;
  703. &:before{
  704. content:'';
  705. width:18.2vw;
  706. height:0.8vw;
  707. background: linear-gradient(83deg, #DF1EFC 0%, #14C2ED 50%, #1430FF 100%);
  708. position:absolute;
  709. bottom:-1vw;
  710. left:0.5vw;
  711. }
  712. }
  713. }
  714. dd {
  715. font-size: 3.4vw;
  716. color: #FFF;
  717. text-align: justify;
  718. line-height: 5.6vw;
  719. margin-bottom: 8.8vw;
  720. a {
  721. color: #f3920d;
  722. }
  723. .link{
  724. text-align: left;
  725. }
  726. &.desc {
  727. text-align: center;
  728. }
  729. &.join {
  730. text-align: left;
  731. }
  732. &.p-rules {
  733. text-align: left;
  734. }
  735. &.rules {
  736. text-align: left;
  737. }
  738. &.message {
  739. text-align: left;
  740. }
  741. &.offset-time{
  742. text-align: center;
  743. }
  744. }
  745. }
  746. }
  747. .control {
  748. .btn {
  749. width: 85.5vw;
  750. height: 12vw;
  751. line-height: 12vw;
  752. font-size: 3.6vw;
  753. text-align: center;
  754. margin: 2.4vw auto 0;
  755. cursor: pointer;
  756. border-radius: 0.4vw;
  757. &.type1 {
  758. background: #f3920d;
  759. color: #ffffff;
  760. }
  761. &.type2 {
  762. border: 0.1vw solid #f3920d;
  763. box-sizing: border-box;
  764. line-height: 11.8vw;
  765. color: #f3920d;
  766. }
  767. }
  768. }
  769. }
  770. }
  771. }
  772. </style>