<template>
  <div class="suixinxuan">
    <div class="title">
      <img src="./img/title.png" alt="">
    </div>

    <div class="box contentBox">
      <div class="tishi">
        <img src="./img/tishi.png" alt="">
      </div>
      <!-- <div class="roundBox">
        <div class="mini"></div>
        <div class="small"></div>
        <div class="model"></div>
        <div class="text">温馨提示</div>
        <div class="model"></div>
        <div class="small"></div>
        <div class="mini"></div>
      </div> -->
      <div class="main">
        <p>如您在收看视频时，播放页面未显示免流标识（免流标识为联通logo），请点击下面的对应图标，进入激活流程引导页面，按照流程指引进行操作激活。</p>
      </div>
    </div>

    <div class="box list">
      <!--      <div class="span">-->
      <!--        点击相应APP查看其流量激活流程-->
      <!--      </div>-->
      <div class="flex">
        <div class="iconBox" @click="openUrl('tencent')">
          <img class="icon" src="./img/tencent.png" alt="">
          <div class="span">腾讯视频</div>
        </div>
        <div class="iconBox" @click="openUrl('aqy')">
          <img class="icon" src="./img/aqy.png" alt="">
          <div class="span">爱奇艺</div>
        </div>
        <div class="iconBox" @click="openUrl('yk')">
          <img class="icon" src="./img/yk.png" alt="">
          <div class="span">优酷视频</div>
        </div>
        <div class="iconBox" @click="openUrl('bili')">
          <img class="icon" src="./img/bili.png" alt="">
          <div class="span">哔哩哔哩</div>
        </div>
      </div>

    </div>

  </div>
</template>

<script>
export default {
  methods: {
    openUrl (val) {
      let url = ''
      if (val == 'tencent') {
        url = 'https://operation.mige.tv/a/#/tencent/page'
      } else if (val == 'aqy') {
        url = "https://live.mige.tv/platform/ytpxz/tutorial/aiqiyi.html"
      } else if (val == 'yk') {
        url = "https://live.mige.tv/platform/ytpxz/tutorial/youku.html"
      } else if (val == 'bili') {
        url = 'https://live.mige.tv/platform/ytpxz/tutorial/bilibili.html'
      }
      window.location.href = url
    }
  }
}
</script>

<style lang="scss" scoped>
.suixinxuan {
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  background-color: #fc4643;
  // background: linear-gradient(0deg, #03115c, #042b86);
  .title {
    width: 380px;
    height: 75px;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-top: 79px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .box {
    width: 638px;
    min-height: 440px;
    background: #ff7775;
    border-radius: 20px;
    margin: 0 auto;
  }
  .list {
    min-height: 322px;
    padding: 60px 53px;
    box-sizing: border-box;
    .span {
      width: 100%;
      text-align: center;
      font-size: 26px;
      font-family: PingFang SC;
      font-weight: 500;
      color: #ffffff;
    }
    .flex {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      .iconBox {
        margin-top: 35px;
        .icon {
          width: 102px;
          height: 102px;
        }
        div {
          margin-top: 15px;
        }
      }
    }
  }
  .contentBox {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 59px 35px;
    box-sizing: border-box;
    color: #fff;
    .roundBox {
      min-width: 400px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      line-height: 79px;
      height: 79px;

      div {
        background-color: #fff;
      }
      .mini {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin: 0 5px;
      }

      .small {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 5px;
      }

      .model {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        margin: 0 5px;
      }

      .text {
        min-width: 200px;
        height: 68px;
        text-align: center;
        font-size: 34px;
        font-family: HYQiHei;
        font-weight: bold;
        line-height: 68px;
        border-radius: 39px;
        margin: 0 15px;
        padding: 0 30px;
        color: #fc4643;
      }
    }
    .tishi {
      width: 394px;
      height: 68px;
      margin: 0 auto;
      img {
        width: 100%;
        height: auto;
      }
    }

    .main {
      /*height: 655px;*/
      /*overflow-y: scroll;*/
      font-size: 22px;
      font-family: HYQiHei;
      font-weight: normal;
      margin-top: 36px;
      p {
        font-size: 30px;
        line-height: 54px;
      }
    }
  }
}
</style>
