index.vue 22 KB

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