 <template>
  <!-- 专项合作无内容 -->
  <section class="nc-container">
    <img
      class="nc-container-img"
      src="../../images/cme/no-content.png"
    >
    <span v-if="tabNum == 1" class="nc-container-text">您还未参加继教项目哦~</span>
    <span v-if="tabNum == 2" class="nc-container-text">当前无可学继教项目哦~</span>
  </section>
</template>

<script>
export default {
  name: "no-content",
  props: {
    tabNum: {
      default: 1
    }
  },
  data() {
    return {};
  }
};
</script>

<style lang="less" scoped>
.nc-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin-top: 100px;
  margin-bottom: 20px;
  text-align: center;
  // margin: 0 auto;
  &-img {
    margin-left: 100px;
    width: 150px;
    height: 150px;
  }
  &-text {
    height: 21px;
    line-height: 21px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(153, 153, 153, 1);
  }
}
</style>

