<template>
  <div class="page">
    <div class="page-top">
      <div class="icon-submit-succsss"></div>
      <div class="tip">视频发布成功&nbsp;!</div>
    </div>
    <div class="page-content">
      <div class="title">温馨提示：</div>
      <div class="content">
        视频发布成功后，您可去首页查看您的视频排名，同时，平台会在1-2个工作日内将您的视频上传至抖音平台。上传成功后，平台会以短信的形式，将抖音口令发送到您的手机上，您可复制该抖音口令在抖音平台打开视频或直接在抖音平台搜索“ROSS”抖音账号或“视频标题”找到自己的视频，再将视频通过抖音分享方式分享给更多的好友来帮您点赞获得排名。如1-2工日后，您还未收到抖音口令或在抖音平台找不到自己发布的视频，可致电客服咨询，电话：
        <a href="tel:0755-85885625">0755-85885625</a>
      </div>
    </div>
    <div class="btn back" @click="onBack">返回</div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  layout: 'app-asbl',
  computed: {
    ...mapGetters(['routePrefix']),
  },
  methods: {
    // 返回
    onBack() {
      const path = `${this.routePrefix}/activity/challenge`
      this.$router.push(path)
    },
  },
}
</script>

<style lang="scss" scoped>
@media screen and (min-width: 768px) {
  .btn.back {
    display: none;
  }
  .page-top {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 150px 0 80px;
    .icon-submit-succsss {
      width: 64px;
      height: 64px;
      background: url(~assets/theme-images/common/pc-icon-submit-success.png)
        no-repeat center;
      background-size: 64px;
    }

    .tip {
      font-size: 24px;
      font-weight: bold;
      color: #1890ff;
    }
  }

  .page-content {
    width: 694px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    .title {
      color: #666666;
      margin-bottom: 8px;
    }
    .content {
      color: #999999;
      text-align: justify;

      a {
        color: #f3920d;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .page-top {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20.4vw 0 12.6vw;
    .icon-submit-succsss {
      width: 12vw;
      height: 12vw;
      background: url(~assets/theme-images/common/pc-icon-submit-success.png)
        no-repeat center;
      background-size: 12vw;
    }

    .tip {
      font-size: 4.2vw;
      font-weight: bold;
      color: #1890ff;
    }
  }

  .page-content {
    width: 88.4vw;
    margin: 0 auto;
    font-size: 3vw;
    line-height: 2;
    .title {
      color: #666666;
      margin-bottom: 2.4vw;
    }
    .content {
      color: #999999;
      text-align: justify;

      a {
        color: #f3920d;
      }
    }
  }

  .btn {
    width: 85.6vw;
    height: 12vw;
    background: #f3920d;
    border-radius: 0.2vw;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    line-height: 12vw;
    font-size: 3.6vw;
    margin-top: 24vw;
    margin-bottom: 24vw;
  }
}
</style>
