<template>
  <div class="not-found">
    <img class="img" src="~@/images/no-content.png" alt />
    <p class="tip">{{tips}}</p>
    <p class="tip-2">更多内容，请前往云鹊医APP学习</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tips: "此课程已下架，无法查看",
      fromPage: "2"
    };
  },
  mounted() {
    this.fromPage = this.$route.query.fromPage || '1'; // 1: 来处项目详情页; 2: 来处课程详情页
    if(this.fromPage == 2) {
      this.tips = "此项目已下架, 无法查看";
    }
  },
  methods: {}
};
</script>

<style lang="less" scoped>
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;  
  padding-top: 100px;
  .img {
    width: 120px;
  }
  .tip {
    font-size: 18px;
    font-weight: 700;
    color: #373839;
    text-align: center;
    padding: 0 15px;
  }
  .tip-2 {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #676869;
    text-align: center;
    padding: 0 15px;
  }
}
</style>

