detail.vue 1.3 KB
<template>
  <div class="detail_container">
    <NafmHeader :title="$t('title.questionDetail')" navClass="nafmii-head-bg3" />
    <div class="detail_content">
      <div class="title">入会准备资料</div>
      <div class="time">
        <span>发布时间</span>2021-4-12
      </div>
      <div class="content"></div>
    </div>
  </div>

</template>
<script>
export default {
  name: 'QuestionDetail',
  data() {
    return {
      list: [
        { id: '1', type: '产品创新', title: '问题一问题一问题一问题一问题一问题一问题一问题一问题一问题一' },
        { id: '2', type: '产品创新', title: '问题二问题二问题二问题二问题二问题二问题二问题二问题二问题二' },
      ]
    }
  },
  mounted() {
    // api 获取问题详情页面
  },
  methods: {

  }
}
</script>
<style lang="less" scoped>
@import "./less/index.less";
.detail_container {
  height: 100vh;
}
.detail_content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  .title {
    color: #333;
    font-size: 19px;
    margin-bottom: 8px;
  }
  .time {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    color: #888d8d;
    span {
      margin-right: 15px;
    }
  }
  .content {
    margin-bottom: 30px;
  }
}
</style>