12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <template>
- <div id="index">
- <el-row>
- <el-col :span="24" class="info">
- <el-col :span="24" class="top">
- <topInfo :topTitle="topTitle"></topInfo>
- </el-col>
- <el-col :span="24" class="main">
- <answerData :answerData="answerData"></answerData>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import topInfo from '@/layout/public/top.vue';
- import answerData from '@/layout/technology/answerData.vue';
- export default {
- name: 'index',
- props: {},
- components: {
- topInfo, //头部标题
- answerData, //商铺类别管理
- },
- data: () => ({
- topTitle: '技术问答回答审核',
- answerData: [
- {
- themeId: '1',
- bianma: 'asdf',
- answerID: '1',
- answer: '答案',
- date: '2019-01-14',
- state: '待审核',
- },
- ],
- }),
- created() {},
- computed: {},
- methods: {
- addData() {
- this.$router.push({ path: './detail' });
- },
- },
- };
- </script>
- <style lang="less" scoped>
- .top {
- height: 40px;
- background-color: #f5f5f5;
- }
- .main {
- width: 97%;
- margin: 0 15px;
- }
- </style>
|