diff --git a/src/assets/imgs/ic_banbenhao.png b/src/assets/imgs/ic_banbenhao.png
new file mode 100644
index 0000000000000000000000000000000000000000..c179d9c11dbc3e7134754255968085e06e3fde75
Binary files /dev/null and b/src/assets/imgs/ic_banbenhao.png differ
diff --git a/src/components/doc-width-nav.vue b/src/components/doc-width-nav.vue
new file mode 100644
index 0000000000000000000000000000000000000000..a60ab7dc944a482aacb4dceb4f045822c08f1535
--- /dev/null
+++ b/src/components/doc-width-nav.vue
@@ -0,0 +1,241 @@
+
+
+
+
+ {{ title || "-" }}
+ 更新时间:{{ time || "-" }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/technical-support/answer-center/index.vue b/src/pages/technical-support/answer-center/index.vue
index 9ca43e00f8ac06f8ad5ceef1d22be641be40a8e3..87a8fd49a3841e3d0037b7f56784ca1ec11d8274 100644
--- a/src/pages/technical-support/answer-center/index.vue
+++ b/src/pages/technical-support/answer-center/index.vue
@@ -145,6 +145,7 @@ export default {
font-size: 0;
}
.user_img > img {
+ width: 104px;
border-radius: 50%;
border: 2px solid #e3e5ef;
}
diff --git a/src/pages/technical-support/doc-manage/index.vue b/src/pages/technical-support/doc-manage/index.vue
index c654ca63e2dd40314abfa0ea811ce6a2ded07c1b..32002eef0168c7b00feac541d6c4af98627743bc 100644
--- a/src/pages/technical-support/doc-manage/index.vue
+++ b/src/pages/technical-support/doc-manage/index.vue
@@ -23,11 +23,6 @@ export default {
data: () => ({
navList: [],
}),
- watch: {
- "$route.fullPath"(path) {
- this.initNavList();
- },
- },
methods: {
initNavList() {
this.$api.general.getNowMenu({ teamName: "APAAS3" }).then((response) => {
diff --git a/src/pages/technical-support/doc/detail.vue b/src/pages/technical-support/doc/detail.vue
index a3dc274bdccd24441a27e14828a4be606c15f80e..aab4f7bb6e0b317cf6e8583a4178cc039ec86771 100644
--- a/src/pages/technical-support/doc/detail.vue
+++ b/src/pages/technical-support/doc/detail.vue
@@ -14,51 +14,28 @@
-
-
-
- {{ title || typeText }}
- 更新时间:{{ update_time }}
-
-
-
-
-
+
@@ -189,102 +96,5 @@ export default {
}
.main_container {
height: calc(100% - 53px);
- display: flex;
- justify-content: flex-start;
- align-items: stretch;
-}
-.main_container > .part {
- background-color: #fff;
- border-radius: 10px;
- padding-bottom: 20px;
- box-sizing: border-box;
- box-sizing: 0;
-}
-.main_container > .part + .part {
- margin-left: 20px;
-}
-.doc_part {
- flex-grow: 1;
-}
-.nav_part {
- width: 270px;
- flex-shrink: 0;
-}
-.part_title {
- padding: 10px 20px;
- position: relative;
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-.part_title::after {
- content: "";
- position: absolute;
- right: 0;
- left: 0;
- bottom: 0;
- border-bottom: 1px solid #e3e5ef;
-}
-.part_title > span:nth-child(1) {
- font-size: 18px;
- font-weight: bold;
- line-height: 36px;
- color: #58617a;
- position: relative;
- padding-left: 15px;
-}
-.part_title > span:nth-child(1)::before {
- content: "";
- width: 4px;
- height: 18px;
- background-color: #515fe7;
- border-radius: 2px;
- position: absolute;
- top: 10px;
- left: 0;
-}
-.part_title > span:nth-child(2) {
- font-size: 14px;
- line-height: 24px;
- color: #8890a7;
- padding-left: 20px;
- background-image: url("../../../assets/imgs/shop_ic_updatetime.png");
- background-repeat: no-repeat;
- background-position: left center;
-}
-.part_content {
- height: calc(100% - 76px);
- margin-top: 20px;
- box-sizing: border-box;
- overflow: auto;
-}
-.doc_content {
- padding: 0 20px;
-}
-.nav_content {
- padding-left: 20px;
-}
-.nav_content > li > a {
- display: block;
- height: 30px;
- padding: 0 20px;
- font-size: 14px;
- line-height: 30px;
- color: #58617a;
- text-decoration: none;
- cursor: pointer;
-}
-.nav_content > li.level_1 > a {
- color: #242c43;
-}
-.nav_content > li.level_2 > a {
- text-indent: 2em;
-}
-.nav_content > li.level_3 > a {
- text-indent: 4em;
-}
-.nav_content > li.current > a {
- background-color: #e6ebfe;
- color: #515fe7;
}
diff --git a/src/pages/technical-support/sdk-manage/index.vue b/src/pages/technical-support/sdk-manage/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..40b299cdd21654bf92022fd8ce84ef61ae47ee58
--- /dev/null
+++ b/src/pages/technical-support/sdk-manage/index.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
diff --git a/src/pages/technical-support/sdk-manage/list.vue b/src/pages/technical-support/sdk-manage/list.vue
new file mode 100644
index 0000000000000000000000000000000000000000..37749dc1ff1c0c7067db8b5bfcdeadaf0ecb9bbf
--- /dev/null
+++ b/src/pages/technical-support/sdk-manage/list.vue
@@ -0,0 +1,432 @@
+
+
+
+
+
+ 技术支持
+
+
+ 开发文档
+
+
+ 管理列表
+
+
+
+
+
+ 新建
+
+
+
+
+
+
+
+ 文档名称:
+
+
+
+ 文档类型:
+
+
+
+
+
+
+
+ 最后更新时间:
+
+
+
+
+
+
+ 查询
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/technical-support/sdk-manage/type/index.vue b/src/pages/technical-support/sdk-manage/type/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..5872e2022611d4b21bf2aa68deb4f4cd49ffa1da
--- /dev/null
+++ b/src/pages/technical-support/sdk-manage/type/index.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+ 技术支持
+
+
+ SDK管理
+
+
+ SDK类型管理
+
+
+
+
+
+
+
+ SDK类型:
+
+
+
+
+
+
+
+ 最后更新时间:
+
+
+
+
+
+
+ 查询
+
+
+ 重置
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/technical-support/sdk/detail.vue b/src/pages/technical-support/sdk/detail.vue
new file mode 100644
index 0000000000000000000000000000000000000000..a27aa76c2195f820baf99c15b06485125864c7b5
--- /dev/null
+++ b/src/pages/technical-support/sdk/detail.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+ 技术支持
+
+
+ SDK中心
+
+
+ {{ typeText }}
+
+
+
+
+
+ SDK下载
+ 版本号:{{ sdkInfo.version }}
+ 发布日期:{{ sdkInfo.time }}
+
+ 下载SDK
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/technical-support/sdk/index.vue b/src/pages/technical-support/sdk/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..3ec268d939ceb1ef8b65acf77a3ac88d531dfb13
--- /dev/null
+++ b/src/pages/technical-support/sdk/index.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 88d9389432802c616460bc87a49b9e06125a24b8..3b63e6209577bb1da2e509d63c35a96b0a6356bc 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -167,7 +167,8 @@ export default new Router({
path: "/technical_support/doc_manage",
name: "technicalSupportDoc",
redirect: "/technical_support/doc_manage/list",
- component: () => import("@/pages/technical-support/doc-manage/index"),
+ component: () =>
+ import("@/pages/technical-support/doc-manage/index"),
children: [
{
path: "/technical_support/doc_manage/list",
@@ -201,7 +202,8 @@ 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"),
+ component: () =>
+ import("@/pages/technical-support/answer-center/index"),
children: [
{
path: "/technical_support/answer_center/list",
@@ -220,6 +222,18 @@ export default new Router({
}, // 问答中心详情
],
}, // 问答中心
+ {
+ path: "/technical_support/sdk",
+ name: "technicalSupportSdk",
+ component: () => import("@/pages/technical-support/sdk/index"),
+ children: [
+ {
+ path: "/technical_support/sdk/:type/:id",
+ name: "technicalSupportSdkDetail",
+ component: () => import("@/pages/technical-support/sdk/detail"),
+ }, // 问答中心列表
+ ],
+ }, // 问答中心
],
}, // 技术支持
{
@@ -448,14 +462,16 @@ export default new Router({
{
path: "/qa/questions", // 提问列表
name: "questions",
- component: () => import("@/pages/user/questions-answers/community"),
+ component: () =>
+ import("@/pages/user/questions-answers/community"),
},
{
path: "/qa/answers", // 回答列表
name: "answers",
- component: () => import("@/pages/user/questions-answers/community"),
+ component: () =>
+ import("@/pages/user/questions-answers/community"),
},
- ]
+ ],
},
{
path: "/authority", // 权限管理