Commit 47b1aab1 by 无尘

feat: 增加文档中心接口

parent 9a1a6c39
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.348bb9ab7bf80787d9cdc2d3b8ac3cfc.css rel=stylesheet></head><body class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.5f526214ab478f999de3.js></script><script type=text/javascript src=./static/js/vendor.2b107cdd6cec563c6dab.js></script><script type=text/javascript src=./static/js/app.1129bfcdd6c254304c01.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.a53f3f59967bac8dfe3bf1bcdc26c39f.css rel=stylesheet></head><body class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.32d152ed448f1e61fe3c.js></script><script type=text/javascript src=./static/js/vendor.2b107cdd6cec563c6dab.js></script><script type=text/javascript src=./static/js/app.1129bfcdd6c254304c01.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([5],{"0cd1":function(e,n){},"9Z3f":function(e,n){},LiFf:function(e,n){},UYHc:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={name:"vue-open-header",props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{openMenuData:[{menuId:"2",menuName:"开发者接入",menuUrl:""},{menuId:"1",menuName:"解决方案",menuUrl:""}],searchValue:""}},methods:{toRedirect:function(e){this.$emit("changeTab",e.menuId)},toHome:function(){this.$router.push("/home")}},watch:{$route:{handler:function(e,n){},deep:!0}},mounted:function(){this.pathName=this.$route.path}},c={render:function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("div",{staticClass:"open-header"},[a("div",{staticClass:"open-header-wrap border-box flex "},[a("div",{staticClass:"open-header-left",on:{click:e.toHome}},[a("img",{attrs:{src:t("h1R5"),alt:""}})]),e._v(" "),a("div",{staticClass:"open-header-right border-box"},[a("div",{staticClass:"open-header-right_wrap flex flex-space-between"},[a("ul",{staticClass:"flex"},e._l(e.openMenuData,function(n,t){return a("li",{key:t+"menu",class:["menu-li border-box",e.currentTab==n.menuId?"active-tab":""],on:{click:function(t){t.stopPropagation(),t.preventDefault(),e.toRedirect(n)}}},[a("span",[e._v(e._s(n.menuName))])])})),e._v(" "),a("div",{staticClass:"search-wrap"},[a("el-input",{attrs:{placeholder:"请输入搜索内容","prefix-icon":"el-icon-search"},model:{value:e.searchValue,callback:function(n){e.searchValue=n},expression:"searchValue"}})],1)])])])])},staticRenderFns:[]};var i=t("VU/8")(a,c,!1,function(e){t("jzs1")},"data-v-fe882c72",null).exports,r=t("P9l9"),l=t("LlAa"),s={props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{parentId:this.currentTab,activeId:"",menuData:[{level:1,memo:"嗷呜",menuId:"44498258223366144",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1,children:[{level:2,memo:"嗷呜",menuId:"444982582233661446",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1,children:[{level:3,memo:"嗷呜",menuId:"4449825822336614646",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1}]}]},{level:1,memo:"嗷呜",menuId:"111825822336614646",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1}]}},methods:{changeMenu:function(e){this.activeId=e.menuId,e.children&&e.children.length&&(e.expanded=!e.expanded),this.$emit("changeDoc",this.activeId)},getMenuData:function(e){var n,t=this;(n={parentId:e},Object(r.a)("/open-platform-home-web/tree-menu",n)).then(function(e){var n=e.data;if("0000"==n.code)return n.result&&n.result.length&&n.result.forEach(function(e){e.expanded=!1,e.children=[]}),void(t.menuData=n.result||[]);l.a.errorMsg(n)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{currentTab:function(e,n){this.parentId=e,this.getMenuData(e)}},mounted:function(){this.parentId=this.currentTab,this.getMenuData(this.parentId)}},o={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"document-left-body border-box"},[t("ul",{staticClass:"document-ul"},[e._l(e.menuData,function(n,a){return[t("li",{key:a+"level1"},[t("div",{class:["li-cell flex flex-space-between",e.activeId==n.menuId?"active-menu":""],on:{click:function(t){e.changeMenu(n)}}},[t("span",{staticClass:"li-cell-name"},[e._v(e._s(n.menuName))]),e._v(" "),n.children&&n.children.length?t("span",{class:["li-cell-icon font_family icon-arrow_right",n.expanded?"rotate-icon":""]}):e._e(),e._v(" "),n.children&&n.children.length?e._e():t("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),n.children&&n.children.length&&n.expanded?t("ul",[e._l(n.children,function(n,a){return[t("li",{key:a+"level1"},[t("div",{class:["li-cell flex flex-space-between",e.activeId==n.menuId?"active-menu":""],on:{click:function(t){e.changeMenu(n)}}},[t("span",{staticClass:"li-cell-name"},[e._v(e._s(n.menuName))]),e._v(" "),n.children&&n.children.length?t("span",{class:["li-cell-icon font_family icon-arrow_right",n.expanded?"rotate-icon":""]}):e._e(),e._v(" "),n.children&&n.children.length?e._e():t("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),n.children&&n.children.length&&n.expanded?t("ul",[e._l(n.children,function(n,a){return[t("li",{key:a+"level1"},[t("div",{class:["li-cell flex flex-space-between",e.activeId==n.menuId?"active-menu":""],on:{click:function(t){e.changeMenu(n)}}},[t("span",{staticClass:"li-cell-name"},[e._v(e._s(n.menuName))]),e._v(" "),n.children&&n.children.length?t("span",{class:["li-cell-icon font_family icon-arrow_right",n.expanded?"rotate-icon":""]}):e._e(),e._v(" "),n.children&&n.children.length?e._e():t("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),n.children&&n.children.length&&n.expanded?t("ul",[e._l(n.children,function(n,a){return[t("li",{key:a+"level1"},[t("div",{class:["li-cell flex flex-space-between",e.activeId==n.menuId?"active-menu":""],on:{click:function(t){e.changeMenu(n)}}},[t("span",{staticClass:"li-cell-name"},[e._v(e._s(n.menuName))]),e._v(" "),t("span",{staticClass:"li-cell-icon icon-round"})])])]})],2):e._e()])]})],2):e._e()])]})],2):e._e()])]})],2)])},staticRenderFns:[]};var u=t("VU/8")(s,o,!1,function(e){t("9Z3f")},"data-v-7a7108b0",null).exports,d={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{staticClass:"home-footer-content"},[n("div",{staticClass:"home-site-footer"},[n("p",[this._v("Copyright © "+this._s((new Date).getFullYear())+" 浙江达摩网络科技有限公司 | 浙ICP备15033117号-1")])])])},staticRenderFns:[]};var h={components:{openDocFooter:t("VU/8")({name:"index",data:function(){return{}}},d,!1,function(e){t("0cd1")},"data-v-7bbea458",null).exports}},p={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{staticClass:"document-right"},[n("div",{staticClass:"document-right-body border-box"}),this._v(" "),n("open-doc-footer")],1)},staticRenderFns:[]};var m={components:{openDocHeader:i,openDocLeft:u,openDocRight:t("VU/8")(h,p,!1,function(e){t("LiFf")},"data-v-635be96b",null).exports},data:function(){return{currentTab:"2",currentDoc:""}},methods:{changeTab:function(e){this.currentTab=e}},mounted:function(){this.currentTab=this.$route.query.currentTab||"2"}},f={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{staticClass:"document-center"},[n("open-doc-header",{attrs:{currentTab:this.currentTab},on:{changeTab:this.changeTab}}),this._v(" "),n("div",{staticClass:"document-center-body"},[n("div",{staticClass:"document-center-body_wrap flex"},[n("div",{staticClass:"document-center-left border-box"},[n("open-doc-left",{attrs:{currentTab:this.currentTab}})],1),this._v(" "),n("div",{staticClass:"document-center-right"},[n("open-doc-right",{attrs:{currentDoc:this.currentDoc}})],1)])])],1)},staticRenderFns:[]};var v=t("VU/8")(m,f,!1,function(e){t("Yp+w")},"data-v-a4c07eac",null);n.default=v.exports},"Yp+w":function(e,n){},h1R5:function(e,n){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAjCAYAAAAueWA9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25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JjzWGWirGMOFSn1Tadl5no0offxjp3oiBpxH1UHBKAHhC9zoEV4KCAOq3KWVwAm9xNytYBWYJZL8n1RgIGPiTr5P3O5CB9jUEc4qLZLs5fcGzbfqLcIcguEDJJA7L2Lg+up27qzt0ZmDY5/GQkGrhUU6I/mn3x2fPe2P5HBHQzWHoQNYkFJ3pK8PoerNsiiCXV3AO6vg5k+e7ql0Ass/blbcuo/WvxF75rpFXhmz4cO8zTejeWJMEJl/kVF91vA7xjiH0eYx9OCy4jALZ3iO0ecDn23w2yfKeQ4Zx2yIPpGAI+ElbB51PAr8AzpWJp/pxzZn8q29P3keNdffMgU4iXClr86LF8v7G7+35ombAZFGXjyW88uXbhPPNsHAP+ZPEiS6CXi6Bls/eccc7Z9xzfswWk5PTwnLMm/sgf8asX/l3LZ3bsxGy/D8mqRF0YJNIyZt9SufYzB5UAFH1ZSITM6jfhvR8l9mxcAj6X0yAW8YFRMaGiWyheJWiZloAzb/gonHPRtEI0Gf9pV09pxg/+c37klT2F/JZne2DHy93w+q7jcOJgCWWPWf1ZDkkKwrSWsyDX0wHFooGKx/vlAs/GIeDnz2uGcEiFMII+EFSgZfqFkGxsgFijslDWYPLm7d1PNjZIvZ3HTTUaC8ufuCpsfuyK6XC0U4OeHnoV2KoKmURTENLpY3DLTY+BoVeq2/LMs3EJeB1ZuoIMryjVn9ODclGDN9NmQVbk/rIOvdt3l7Pnziw1xsJKsFQxuxSUPxQksUnxk8/Ok80Ab3RUoKLpuB3Zu7KejV9JY5tR7UAbYJr0Koz0/OxJMrTOiCZ2H6nkQwHpBOLcCvpqhSkBm9y2gD+IQUNSxitcPRu/9v8CDAA+Mv2xNs98dwAAAABJRU5ErkJggg=="},jzs1:function(e,n){}});
\ No newline at end of file
webpackJsonp([5],{"/FCF":function(e,t){},"0cd1":function(e,t){},"9Z3f":function(e,t){},TFh4:function(e,t){},UYHc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"vue-open-header",props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{openMenuData:[{menuId:"2",menuName:"开发者接入",menuUrl:""},{menuId:"1",menuName:"解决方案",menuUrl:""}],searchValue:""}},methods:{toRedirect:function(e){this.$emit("changeTab",e.menuId)},toHome:function(){this.$router.push("/home")}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.pathName=this.$route.path}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"open-header"},[a("div",{staticClass:"open-header-wrap border-box flex "},[a("div",{staticClass:"open-header-left",on:{click:e.toHome}},[a("img",{attrs:{src:n("QFhU"),alt:""}})]),e._v(" "),a("div",{staticClass:"open-header-right border-box"},[a("div",{staticClass:"open-header-right_wrap flex flex-space-between"},[a("ul",{staticClass:"flex"},e._l(e.openMenuData,function(t,n){return a("li",{key:n+"menu",class:["menu-li border-box",e.currentTab==t.menuId?"active-tab":""],on:{click:function(n){n.stopPropagation(),n.preventDefault(),e.toRedirect(t)}}},[a("span",[e._v(e._s(t.menuName))])])})),e._v(" "),a("div",{staticClass:"search-wrap"},[a("el-input",{attrs:{placeholder:"请输入搜索内容","prefix-icon":"el-icon-search"},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}})],1)])])])])},staticRenderFns:[]};var c=n("VU/8")(a,r,!1,function(e){n("TFh4")},"data-v-47fd4ede",null).exports,i=n("P9l9"),l=n("LlAa"),o={props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{parentId:this.currentTab,activeId:"",menuData:[{level:1,memo:"嗷呜",menuId:"44498258223366144",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1,children:[{level:2,memo:"嗷呜",menuId:"444982582233661446",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1,children:[{level:3,memo:"嗷呜",menuId:"4449825822336614646",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1}]}]},{level:1,memo:"嗷呜",menuId:"111825822336614646",menuName:"第四个关联了api128",operator:"10",operatorName:"蘑菇",parentId:"1",relationData:"",seq:0,subType:1,updateFlag:1,expanded:!1}]}},methods:{changeMenu:function(e){this.activeId=e.menuId,e.children&&e.children.length&&(e.expanded=!e.expanded),this.$emit("changeDoc",this.activeId)},getMenuData:function(e){var t,n=this;(t={parentId:e},Object(i.a)("/open-platform-home-web/tree-menu",t)).then(function(e){var t=e.data;if("0000"==t.code)return t.result&&t.result.length&&t.result.forEach(function(e){e.expanded=!1,e.children=[]}),void(n.menuData=t.result||[]);l.a.errorMsg(t)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})}},watch:{currentTab:function(e,t){this.parentId=e,this.getMenuData(e)}},mounted:function(){this.parentId=this.currentTab,this.getMenuData(this.parentId)}},s={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"document-left-body border-box"},[n("ul",{staticClass:"document-ul"},[e._l(e.menuData,function(t,a){return[n("li",{key:a+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,a){return[n("li",{key:a+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,a){return[n("li",{key:a+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,a){return[n("li",{key:a+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),n("span",{staticClass:"li-cell-icon icon-round"})])])]})],2):e._e()])]})],2):e._e()])]})],2):e._e()])]})],2)])},staticRenderFns:[]};var u=n("VU/8")(o,s,!1,function(e){n("9Z3f")},"data-v-7a7108b0",null).exports,d={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"home-footer-content"},[t("div",{staticClass:"home-site-footer"},[t("p",[this._v("Copyright © "+this._s((new Date).getFullYear())+" 浙江达摩网络科技有限公司 | 浙ICP备15033117号-1")])])])},staticRenderFns:[]};var h={components:{openDocFooter:n("VU/8")({name:"index",data:function(){return{}}},d,!1,function(e){n("0cd1")},"data-v-7bbea458",null).exports}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"document-right"},[t("div",{staticClass:"document-right-body border-box"}),this._v(" "),t("open-doc-footer")],1)},staticRenderFns:[]};var m={components:{openDocHeader:c,openDocLeft:u,openDocRight:n("VU/8")(h,p,!1,function(e){n("/FCF")},"data-v-10c24b87",null).exports},data:function(){return{currentTab:"2",currentDoc:""}},methods:{changeTab:function(e){this.currentTab=e}},mounted:function(){this.currentTab=this.$route.query.currentTab||"2"}},f={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"document-center"},[t("open-doc-header",{attrs:{currentTab:this.currentTab},on:{changeTab:this.changeTab}}),this._v(" "),t("div",{staticClass:"document-center-body"},[t("div",{staticClass:"document-center-body_wrap flex"},[t("div",{staticClass:"document-center-left border-box"},[t("open-doc-left",{attrs:{currentTab:this.currentTab}})],1),this._v(" "),t("div",{staticClass:"document-center-right"},[t("open-doc-right",{attrs:{currentDoc:this.currentDoc}})],1)])])],1)},staticRenderFns:[]};var v=n("VU/8")(m,f,!1,function(e){n("Yp+w")},"data-v-a4c07eac",null);t.default=v.exports},"Yp+w":function(e,t){}});
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={13:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"dc5820857959176b1da4",1:"0ebe3ead93207dc78a78",2:"78f59f0e37cbd9544576",3:"953747746c3caf71cd86",4:"2ff0ba051a42a51dbec4",5:"7f078713325b19d220a1",6:"4a571dddcc1a56031102",7:"3b027583d4af17e36af0",8:"5e787f5eb2f4bd7cfb7b",9:"9caad4c0ba5b8b4813ee",10:"63807a09986add449f8a"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={13:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"dc5820857959176b1da4",1:"0ebe3ead93207dc78a78",2:"78f59f0e37cbd9544576",3:"953747746c3caf71cd86",4:"2ff0ba051a42a51dbec4",5:"4b9430eff5a067ce09d0",6:"4a571dddcc1a56031102",7:"3b027583d4af17e36af0",8:"5e787f5eb2f4bd7cfb7b",9:"9caad4c0ba5b8b4813ee",10:"63807a09986add449f8a"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<template> <template>
<div class="open-header"> <div class="open-header">
<div class="open-header-wrap border-box flex "> <div class="open-header-wrap border-box flex ">
<div class="open-header-left" @click="toHome"><img src="../assets/logo_01.png" alt="" /></div> <div class="open-header-left" @click="toHome"><img src="../assets/document/logo.png" alt="" /></div>
<div class="open-header-right border-box"> <div class="open-header-right border-box">
<div class="open-header-right_wrap flex flex-space-between"> <div class="open-header-right_wrap flex flex-space-between">
<ul class="flex"> <ul class="flex">
......
...@@ -18,6 +18,7 @@ export default { ...@@ -18,6 +18,7 @@ export default {
.document-right-body { .document-right-body {
width: 900px; width: 900px;
margin: 0 auto; margin: 0 auto;
min-height: calc(100vh - 118px;); min-height: calc(100vh - 118px;);
} }
} }
......
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