index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  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>
  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. &gt;
  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. </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.promptDialog = true
  237. return
  238. }
  239. // 活动已结束
  240. if (this.activityState === 2) {
  241. this.promptStatus = 2
  242. this.promptDialog = true
  243. return
  244. }
  245. // 未登录
  246. if (!this.accessToken) {
  247. this.$store.commit('app/SHOW_LOGIN')
  248. return
  249. }
  250. // 已经报名
  251. if (this.signUpStatus === 1) {
  252. this.promptStatus = 3
  253. this.promptDialog = true
  254. return
  255. }
  256. // 未认证机构
  257. if (!this.authId) {
  258. this.promptStatus = 4
  259. this.promptDialog = true
  260. return
  261. }
  262. // 已认证机构
  263. if (this.authId) {
  264. this.clubSignUpActivity()
  265. }
  266. },
  267. // 上传抖音视频
  268. onToUpload() {
  269. // 活动未开启
  270. if (this.activityState === 0) {
  271. this.promptStatus = 6
  272. this.promptDialog = true
  273. return
  274. }
  275. // 活动已结束
  276. if (this.activityState === 2) {
  277. this.promptStatus = 7
  278. this.promptDialog = true
  279. return
  280. }
  281. // 未登录
  282. if (!this.accessToken) {
  283. this.$store.commit('app/SHOW_LOGIN')
  284. return
  285. }
  286. // 未报名
  287. if (this.signUpStatus === 0) {
  288. this.promptDialog = true
  289. this.promptStatus = 5
  290. return
  291. }
  292. this.$router.push(`${this.routePrefix}/activity/challenge/publish`)
  293. },
  294. // 机构用户报名
  295. async clubSignUpActivity() {
  296. try {
  297. this.formData.mobile = this.userInfo.mobile
  298. this.formData.authUserId = this.authUserId
  299. this.formData.authId = this.userInfo.authId
  300. await this.$http.api.clubSignUpActivity(this.formData)
  301. // 报名成功
  302. this.promptStatus = 0
  303. this.signUpStatus = 1
  304. this.promptDialog = true
  305. } catch (error) {
  306. console.log(error)
  307. }
  308. },
  309. // 提示框确定事件
  310. onPromptConfirm() {
  311. this.promptDialog = false
  312. // 上传资质
  313. if (this.promptStatus === 4) {
  314. this.showDialog = true
  315. return
  316. }
  317. // 去上传抖音视频
  318. if (this.promptStatus === 0) {
  319. this.$router.push(`${this.routePrefix}/activity/challenge/publish`)
  320. return
  321. }
  322. },
  323. // 提交资质文件
  324. onConfirm() {
  325. if (!this.formData.licenseOssUrl) {
  326. this.$toast('请上传营业执照')
  327. return
  328. }
  329. this.showDialog = false
  330. this.clubSignUpActivity()
  331. },
  332. onClosed() {
  333. this.imageList = []
  334. },
  335. // 文件上传成功
  336. onImageSuccess({ response, fileList }) {
  337. this.imageList = fileList
  338. this.formData.licenseOssUrl = response.data
  339. },
  340. // 文件移除
  341. onImageRemove() {
  342. this.imageList = []
  343. this.formData.licenseOssUrl = ''
  344. },
  345. // 视频点赞
  346. async onPraise(video) {
  347. try {
  348. if (!this.accessToken) {
  349. this.$toast('请先登录')
  350. this.$store.commit('app/SHOW_LOGIN')
  351. return
  352. }
  353. const status = video.diggStatus === 0 ? 1 : 0
  354. const { clubUserId } = this.userInfo
  355. await this.$http.api.diggcountVideo({
  356. id: video.id,
  357. diggStatus: status,
  358. clubUserId,
  359. clubUserIds: video.clubUserIds,
  360. })
  361. video.diggStatus = status
  362. let tip = ''
  363. if (video.diggStatus === 0) {
  364. tip = '已取消点赞'
  365. video.diggCount--
  366. } else {
  367. tip = '点赞成功'
  368. video.diggCount++
  369. }
  370. this.$toast.success(tip)
  371. } catch (error) {
  372. console.log(error)
  373. }
  374. },
  375. // 获取视频列表
  376. async fetchVideoList() {
  377. try {
  378. this.listQuery.authUserId = this.authUserId
  379. this.listQuery.clubUserId = this.userInfo.clubUserId
  380. const res = await this.$http.api.fetchClubVideoList(this.listQuery)
  381. this.videoList = res.data.list
  382. } catch (error) {
  383. console.log(error)
  384. }
  385. },
  386. // 获取用户活动报名状态
  387. async fetchContestInfo() {
  388. try {
  389. const res = await this.$http.api.checkContestInfo({ mobile: this.userInfo.mobile, authUserId: this.authUserId })
  390. this.signUpStatus = res.data.contestStatus
  391. } catch (error) {
  392. console.log(error)
  393. }
  394. },
  395. // 获取参赛的用户
  396. async fetchSignInClubList() {
  397. try {
  398. const res = await this.$http.api.fetchEnteredClubList({ authUserId: this.authUserId })
  399. this.singInClubList = res.data
  400. this.mobileLoop()
  401. } catch (error) {
  402. console.log(error)
  403. }
  404. },
  405. // 获取活动状态
  406. async fetchActivityStatus() {
  407. try {
  408. const res = await this.$http.api.fetchActivityStatus({
  409. authUserId: this.authUserId,
  410. })
  411. if (!res.data) return
  412. this.activityState = res.data.activityState
  413. if (!this.accessToken) return
  414. this.fetchContestInfo()
  415. } catch (error) {
  416. console.log(error)
  417. }
  418. },
  419. // 分享当前页面
  420. initAppMessageShareData() {
  421. // 重试次数
  422. let retryCount = 1
  423. this.$wxReady((wx) => {
  424. //需在用户可能点击分享按钮前就先调用
  425. wx.updateAppMessageShareData({
  426. title: '认证通', // 分享标题
  427. desc: '您的好友邀请您一起来参与认证通挑战赛,赢大奖,快来参与吧!', // 分享描述
  428. link: window.location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致
  429. imgUrl: window.location.origin + '/activity.png', // 分享图标
  430. fail: () => {
  431. if (retryCount === 0) return
  432. this.initAppMessageShareData()
  433. retryCount--
  434. },
  435. })
  436. })
  437. },
  438. },
  439. }
  440. </script>
  441. <style lang="scss" scoped>
  442. .fade-enter-active,
  443. .fade-leave-active {
  444. transition: opacity 0.5s;
  445. }
  446. .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  447. opacity: 0;
  448. }
  449. @media screen and (min-width: 768px) {
  450. .general-content {
  451. display: flex;
  452. flex-direction: column;
  453. align-items: center;
  454. .tip {
  455. width: 266px;
  456. margin: 0 auto;
  457. margin-top: 36px;
  458. line-height: 24px;
  459. font-size: 14px;
  460. color: #b2b2b2;
  461. text-align: center;
  462. }
  463. }
  464. .page {
  465. padding-bottom: 120px;
  466. background: url(~assets/theme-images/ross/pc_activity_page_bg.png);
  467. background-size:cover;
  468. .page-top {
  469. width: 100%;
  470. height: 530px;
  471. background: url(~assets/theme-images/ross/pc-banner-activity.png) no-repeat center;
  472. background-size: auto 530px;
  473. .top-tip-container {
  474. position: relative;
  475. width: 870px;
  476. margin: 0 auto;
  477. .top-tip {
  478. position: absolute;
  479. left: 0;
  480. top: 32px;
  481. width: 200px;
  482. height: 32px;
  483. background: rgba(0, 0, 0, 0.4);
  484. border-radius: 2px;
  485. font-size: 14px;
  486. color: #fff;
  487. text-align: center;
  488. line-height: 32px;
  489. }
  490. }
  491. }
  492. .page-content {
  493. width: 1196px;
  494. margin: 0 auto;
  495. .section-title {
  496. display: flex;
  497. justify-content: space-between;
  498. align-items: center;
  499. padding: 32px 0 16px;
  500. .title {
  501. font-size: 16px;
  502. font-weight: bold;
  503. color: #FFFFFF;
  504. }
  505. .more {
  506. font-size: 14px;
  507. color: #FFFFFF;
  508. cursor: pointer;
  509. &:hover {
  510. color: #f3920d;
  511. }
  512. }
  513. }
  514. .activity-content {
  515. min-height: 1170px;
  516. .title {
  517. font-size: 40px;
  518. color: #FFF;
  519. height: 80px;
  520. box-sizing: border-box;
  521. text-align: center;
  522. margin-bottom: 70px;
  523. padding-top: 20px;
  524. font-weight: bold;
  525. background: url(~assets/theme-images/ross/pc_activity_title_01.png) no-repeat center;
  526. background-size: auto 80px;
  527. }
  528. dl {
  529. width: 890px;
  530. margin: 0 auto;
  531. dt {
  532. font-size: 30px;
  533. text-align: center;
  534. margin-bottom: 24px;
  535. div {
  536. line-height: 24px;
  537. display: inline-block;
  538. color:#FFFFFF;
  539. position:relative;
  540. &:before{
  541. content:'';
  542. width:117px;
  543. height:5px;
  544. background: linear-gradient(83deg, #DF1EFC 0%, #14C2ED 50%, #1430FF 100%);
  545. position:absolute;
  546. bottom:-5px;
  547. left:3px;
  548. }
  549. }
  550. }
  551. dd {
  552. font-size: 16px;
  553. color: #ffffff;
  554. text-align: center;
  555. line-height: 32px;
  556. margin-bottom: 64px;
  557. a {
  558. color: #f3920d;
  559. }
  560. &.desc {
  561. text-align: center;
  562. }
  563. &.join {
  564. width: 830px;
  565. text-align: left;
  566. margin: 0 auto 64px;
  567. }
  568. &.p-rules {
  569. width: 700px;
  570. text-align: left;
  571. margin: 0 auto 64px;
  572. }
  573. &.rules {
  574. width: 536px;
  575. text-align: left;
  576. margin: 0 auto 64px;
  577. }
  578. &.message {
  579. width: 476px;
  580. text-align: left;
  581. margin: 0 auto 64px;
  582. }
  583. }
  584. }
  585. }
  586. .control {
  587. .btn {
  588. width: 295px;
  589. height: 50px;
  590. line-height: 50px;
  591. font-size: 16px;
  592. text-align: center;
  593. margin: 16px auto 0;
  594. cursor: pointer;
  595. border-radius: 4px;
  596. &.type1 {
  597. background: #f3920d;
  598. color: #ffffff;
  599. }
  600. &.type2 {
  601. border: 1px solid #f3920d;
  602. box-sizing: border-box;
  603. line-height: 48px;
  604. color: #f3920d;
  605. }
  606. }
  607. }
  608. }
  609. }
  610. }
  611. @media screen and (max-width: 768px) {
  612. .general-content {
  613. display: flex;
  614. flex-direction: column;
  615. align-items: center;
  616. .tip {
  617. width: 57vw;
  618. margin: 0 auto;
  619. margin-top: 4.8vw;
  620. line-height: 5.6vw;
  621. font-size: 3.2vw;
  622. color: #b2b2b2;
  623. text-align: center;
  624. }
  625. }
  626. .page {
  627. padding-bottom: 10vw;
  628. background: url(~assets/theme-images/ross/h5_activity_page_bg.png);
  629. background-size:cover;
  630. .page-top {
  631. width: 100%;
  632. height: 100vw;
  633. background: url(~assets/theme-images/ross/h5-banner-activity.png) no-repeat center;
  634. background-size: auto 100vw;
  635. .top-tip-container {
  636. position: relative;
  637. width: 100%;
  638. margin: 0 auto;
  639. .top-tip {
  640. position: absolute;
  641. left: 4vw;
  642. top: 6.4vw;
  643. width: 46vw;
  644. height: 7.2vw;
  645. background: rgba(0, 0, 0, 0.4);
  646. border-radius: 0.2vw;
  647. font-size: 3.2vw;
  648. color: #fff;
  649. text-align: center;
  650. line-height: 7.2vw;
  651. }
  652. }
  653. }
  654. .page-content {
  655. width: 85.6vw;
  656. margin: 0 auto;
  657. margin-top: 3.2vw;
  658. .section-title {
  659. display: flex;
  660. justify-content: space-between;
  661. align-items: center;
  662. padding: 32px 0 16px;
  663. .title {
  664. font-size: 16px;
  665. font-weight: bold;
  666. color: #fff;
  667. }
  668. .more {
  669. font-size: 14px;
  670. color: #FFFFFF;
  671. cursor: pointer;
  672. &:hover {
  673. color: #f3920d;
  674. }
  675. }
  676. }
  677. .activity-content {
  678. min-height: 116.3vw;
  679. margin-top: 8vw;
  680. .title {
  681. font-size: 5vw;
  682. color: #FFF;
  683. height: 9vw;
  684. box-sizing: border-box;
  685. text-align: center;
  686. margin-bottom: 8vw;
  687. padding-top: 2.4vw;
  688. font-weight: bold;
  689. background: url(~assets/theme-images/ross/h5_activity_title_01.png) no-repeat center;
  690. background-size: auto 9vw;
  691. }
  692. dl {
  693. dt {
  694. font-size: 4.8vw;
  695. text-align: center;
  696. margin-bottom: 4.8vw;
  697. div {
  698. line-height: 3.2vw;
  699. display: inline-block;
  700. color:#FFFFFF;
  701. position:relative;
  702. &:before{
  703. content:'';
  704. width:18.2vw;
  705. height:0.8vw;
  706. background: linear-gradient(83deg, #DF1EFC 0%, #14C2ED 50%, #1430FF 100%);
  707. position:absolute;
  708. bottom:-1vw;
  709. left:0.5vw;
  710. }
  711. }
  712. }
  713. dd {
  714. font-size: 3.4vw;
  715. color: #FFF;
  716. text-align: justify;
  717. line-height: 5.6vw;
  718. margin-bottom: 8.8vw;
  719. a {
  720. color: #f3920d;
  721. }
  722. .link{
  723. text-align: left;
  724. }
  725. &.desc {
  726. text-align: center;
  727. }
  728. &.join {
  729. text-align: left;
  730. }
  731. &.p-rules {
  732. text-align: left;
  733. }
  734. &.rules {
  735. text-align: left;
  736. }
  737. &.message {
  738. text-align: left;
  739. }
  740. }
  741. }
  742. }
  743. .control {
  744. .btn {
  745. width: 85.5vw;
  746. height: 12vw;
  747. line-height: 12vw;
  748. font-size: 3.6vw;
  749. text-align: center;
  750. margin: 2.4vw auto 0;
  751. cursor: pointer;
  752. border-radius: 0.4vw;
  753. &.type1 {
  754. background: #f3920d;
  755. color: #ffffff;
  756. }
  757. &.type2 {
  758. border: 0.1vw solid #f3920d;
  759. box-sizing: border-box;
  760. line-height: 11.8vw;
  761. color: #f3920d;
  762. }
  763. }
  764. }
  765. }
  766. }
  767. }
  768. </style>