Commit ac6519dc authored by 张俊's avatar 张俊

问答中心详情

parent 3cea5f69
<template>
<div class="detail_box">
<p class="now_page_title">
技术支持 / 问答中心 / 问答列表 /
<span>详情</span>
</p>
<div class="detail_content">
</div>
</div>
</template>
<script>
export default {
props: [],
components: {
},
data() {
return {
};
},
watch: {
},
computed: {
},
created() {
},
mounted() {
},
methods: {
},
};
</script>
<style scoped>
.detail_box{
width: 856px;
}
.now_page_title {
margin: 15px 0;
color: #898d9e;
}
.now_page_title span {
color: #242c43;
}
.detail_content{
width: 100%;
}
</style>
<template>
<div>
edit
</div>
</template>
<script>
export default {
props: [],
components: {
},
data() {
return {
};
},
watch: {
},
computed: {
},
created() {
},
mounted() {
},
methods: {
},
};
</script>
<style scoped>
</style>
<template>
<div class="doc_container">
<router-view />
</div>
</template>
<script>
export default {
components: {
},
data: () => ({
}),
watch: {
},
methods: {
},
mounted() {
},
};
</script>
<style scoped>
.doc_container {
height: calc(100vh - 58px);
display: flex;
justify-content: flex-start;
align-items: stretch;
}
.side_nav_bar {
width: 180px;
flex-shrink: 0;
}
.main_container {
width: calc(100% - 180px);
flex-grow: 1;
flex-shrink: 1;
background-color: #f6f7fb;
overflow: auto;
}
</style>
<template>
<div>
list
</div>
</template>
<script>
export default {
props: [],
components: {
},
data() {
return {
};
},
watch: {
},
computed: {
},
created() {
},
mounted() {
},
methods: {
},
};
</script>
<style scoped>
</style>
...@@ -253,13 +253,7 @@ ...@@ -253,13 +253,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div class="editpage">
<wang-e v-model="editstr"></wang-e>
<div class="apaas_button" style="overflow:hidden;padding-top:30px;border-top:1px solid #e3e5ef;box-sizing:border-box;">
<el-button style="float:right;margin:0 30px;" type="primary" >保存</el-button>
<el-button style="float:right" >取消</el-button>
</div>
</div> -->
<dialog-action ref="myConfirm"></dialog-action> <dialog-action ref="myConfirm"></dialog-action>
</div> </div>
</template> </template>
...@@ -274,7 +268,6 @@ import Topology from "@/components/topology.vue"; ...@@ -274,7 +268,6 @@ import Topology from "@/components/topology.vue";
import serviceHeader from "@/components/service-header"; import serviceHeader from "@/components/service-header";
import ListPagination from "@/components/comments-pagination"; import ListPagination from "@/components/comments-pagination";
import dialogAction from "@/components/dialog-action"; import dialogAction from "@/components/dialog-action";
import wangE from '@/components/wangE'
import { getRole, formatDateTime_date } from "@/utils/common"; import { getRole, formatDateTime_date } from "@/utils/common";
import { mapGetters, mapState } from "vuex"; import { mapGetters, mapState } from "vuex";
export default { export default {
...@@ -288,7 +281,6 @@ export default { ...@@ -288,7 +281,6 @@ export default {
serviceHeader, serviceHeader,
dialogAction, dialogAction,
ListPagination, ListPagination,
wangE
}, },
data() { data() {
return { return {
...@@ -1324,19 +1316,6 @@ export default { ...@@ -1324,19 +1316,6 @@ export default {
padding: 0 20px; padding: 0 20px;
height: calc(100% - 55px); height: calc(100% - 55px);
} }
/* .editpage{
background-color: #fff;
height: calc(100% - 20px);
margin-bottom: 20px;
box-shadow: 0px 3px 6px 0px
#f4f7fc;
border-radius: 12px;
}
.editpage .wangeditor_class{
height: calc(100% - 100px);
padding: 0 20px;
box-sizing: border-box;
} */
.info_contain { .info_contain {
padding: 25px 20px; padding: 25px 20px;
background-color: #fff; background-color: #fff;
......
...@@ -184,6 +184,29 @@ export default new Router({ ...@@ -184,6 +184,29 @@ export default new Router({
}, // 开发文档管理编辑 }, // 开发文档管理编辑
], ],
}, // 开发文档管理 }, // 开发文档管理
{
path: "/technical_support/answer_center/",
name: "technicalSupportDoc",
redirect: "/technical_support/answer_center/list",
component: () => import("@/pages/technical-support/answer-center/index"),
children: [
{
path: "/technical_support/answer_center/list",
component: () =>
import("@/pages/technical-support/answer-center/list"),
}, // 问答中心列表
{
path: "/technical_support/answer_center/edit",
component: () =>
import("@/pages/technical-support/answer-center/edit"),
}, // 问答中心编辑
{
path: "/technical_support/answer_center/detail/:id",
component: () =>
import("@/pages/technical-support/answer-center/detail"),
}, // 问答中心详情
],
}, // 开发文档管理
], ],
}, // 技术支持 }, // 技术支持
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment