<template>
  <div class="manual002">
    <div class="title">产品详情</div>
    <div class="text">
      <div class="desc">
        <div class="main" v-html="richText"></div>
      </div>
      <div class="btmZZ"></div>
    </div>
    <div class="title">流量使用说明</div>
    <div class="btmText">
      <div>流量使用范围：点播/缓存</div>
      <div class="text">
        不在流量使用范围：直播/音频/文字/弹幕/视频购/奇秀视频
      </div>
    </div>
    <div
      @click="showConceal = true"
      style="
        text-align: center;
        margin-top: 40px;
        text-decoration: underline;
        color: #efd3b8;
      "
    >
      隐私声明
    </div>
    <!-- 隐私条款 -->
    <conceal v-model="showConceal" :cpid="cpid"></conceal>
  </div>
</template>

<script>
import conceal from "../../components/conceal.vue";
export default {
  name: "manual002",
  data() {
    return {
      richText: "",
      cpid:"",
      showConceal: false,
    };
  },
  components: {
    conceal,
  },
  created() {
    this.richText = this.$route.query.text;
    this.cpid = this.$route.query.cpid
  },
};
</script>

<style scoped lang="scss">
.manual002 {
  background-color: #1b1414;
  color: #f6f6f7;
  height: 100vh;
  font-family: PingFang SC;
  padding: 0 62px;
  color: #f6f6f7;
  .title {
    font-size: 42px;
    font-weight: bold;
    padding-top: 40px;
  }
  .text {
    position: relative;
    .desc {
      margin-top: 20px;
      height: 780px;
      overflow-y: auto;
      line-height: 40px;
      position: relative;
      padding-bottom: 10px;
      .main {
        width: auto;
        /*width: 626px;*/
      }
    }
    .btmZZ {
      width: 624px;
      position: absolute;
      bottom: 0;
      height: 40px;
      background-image: linear-gradient(
        180deg,
        rgba(27, 20, 20, 0.65),
        #1b1414
      );
      border-radius: 6px;
    }
  }
  .btmText {
    font-size: 30px;
    line-height: 80px;
    .text {
      line-height: 30px;
      font-size: 20px;
    }
  }
}
</style>
