Commit 4b91519c authored by huanle's avatar huanle

Merge branch 'master' of gitlab.linanquan.com:jiangyipeng/doc_phone

parents 8a80e3a9 17c6ddb3
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><script src=https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js></script><title>doc</title><link href=./static/css/app.79ec67043b2d0f27abb2f9b496be3186.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.f99cf827c593c896d635.js></script><script type=text/javascript src=./static/js/vendor.77c8694682b600976327.js></script><script type=text/javascript src=./static/js/app.c645385019aae5975efb.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><script src=https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js></script><script src=./static/showdown.min.js></script><title>doc</title><link href=./static/css/app.1d9fd9f454e38d13b1f70838b64639f9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.481972107a4b2bbf8c2a.js></script><script type=text/javascript src=./static/js/vendor.2df28332b4a58963dfd2.js></script><script type=text/javascript src=./static/js/app.35ca84d71febcb21ecd9.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([0],{"2NXm":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"add_file",props:["show_addFile"],data:function(){return{closeAni:!0}},methods:{closeAdd:function(){var t=this;this.closeAni=!1,setTimeout(function(){t.$emit("update:show_addFile",!1),t.closeAni=!0},300)}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.show_addFile,expression:"show_addFile"}],staticClass:"add_file"},[a("div",{staticClass:"main"},[a("div",{staticClass:"folder",class:{folder2:!t.closeAni}},[a("van-button",{attrs:{round:"",type:"info",size:"small",block:""}},[t._v("新建文件夹")])],1),t._v(" "),a("div",{staticClass:"divider",class:{divider2:!t.closeAni}},[a("van-divider",{style:{borderColor:"#cccccc",margin:"30px 0"}})],1),t._v(" "),a("div",{staticClass:"file",class:{file2:!t.closeAni}},[a("van-button",{staticStyle:{"margin-bottom":"20px"},attrs:{plain:"",round:"",type:"info",size:"small",block:""}},[t._v("新建富文本")]),t._v(" "),a("van-button",{attrs:{plain:"",round:"",type:"info",size:"small",block:""}},[t._v("新建Markdown")])],1)]),t._v(" "),a("div",{staticClass:"footer"},[a("i",{staticClass:"icon-19",class:{icon19:!t.closeAni},on:{click:t.closeAdd}})])])},staticRenderFns:[]};var n={name:"tabbar",data:function(){return{nav_index:1,show_addFile:!1}},created:function(){"/folder"!==this.$route.path&&this.$router.push({path:"/folder"})},methods:{selectNav:function(t,e){if(3===t)return this.$router.replace({path:"/wangeditor"});1===t&&(this.nav_index=t,"/folder"==this.$route.path?this.$router.replace({path:"/folder2"}):this.$router.replace({path:e}))}},components:{addFile:a("VU/8")(s,i,!1,function(t){a("uUID")},"data-v-339b1cfe",null).exports}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tabber"},[a("div",{staticClass:"each_nav",class:{select_nav:0==t.nav_index},on:{click:function(e){return t.selectNav(0,"/test")}}},[a("i",{staticClass:"icon-59"}),t._v(" "),a("div",[t._v("最新")])]),t._v(" "),a("div",{staticClass:"each_nav",class:{select_nav:1==t.nav_index},on:{click:function(e){return t.selectNav(1,"/folder")}}},[a("i",{staticClass:"icon-37"}),t._v(" "),a("div",[t._v("文件夹")])]),t._v(" "),a("div",{staticClass:"each_nav"},[a("i",{staticClass:"icon-100",on:{click:function(e){t.show_addFile=!0}}})]),t._v(" "),a("div",{staticClass:"each_nav",class:{select_nav:2==t.nav_index},on:{click:function(e){return t.selectNav(2,"/test")}}},[a("i",{staticClass:"icon-4"}),t._v(" "),a("div",[t._v("云笔")])]),t._v(" "),a("div",{staticClass:"each_nav",class:{select_nav:3==t.nav_index},on:{click:function(e){return t.selectNav(3,"/wangeditor")}}},[a("i",{staticClass:"icon-53"}),t._v(" "),a("div",[t._v("我的")])]),t._v(" "),a("add-file",{attrs:{show_addFile:t.show_addFile},on:{"update:show_addFile":function(e){t.show_addFile=e},"update:show_add-file":function(e){t.show_addFile=e}}})],1)},staticRenderFns:[]};var l={name:"index",components:{tabbar:a("VU/8")(n,c,!1,function(t){a("PGcB")},"data-v-33e17cf6",null).exports}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"index"},[e("div",{staticClass:"main"},[e("router-view")],1),this._v(" "),e("tabbar",{staticClass:"nav"})],1)},staticRenderFns:[]};var d=a("VU/8")(l,o,!1,function(t){a("4EM1")},"data-v-247b97df",null);e.default=d.exports},"4EM1":function(t,e){},PGcB:function(t,e){},uUID:function(t,e){}});
//# sourceMappingURL=0.52de32fa6da87aa0fbe3.js.map
\ No newline at end of file
webpackJsonp([0],{"2NXm":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"add_file",props:["show_addFile"],data:function(){return{closeAni:!0}},methods:{closeAdd:function(){var t=this;this.closeAni=!1,setTimeout(function(){t.$emit("update:show_addFile",!1),t.closeAni=!0},300)}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.show_addFile,expression:"show_addFile"}],staticClass:"add_file"},[a("div",{staticClass:"main"},[a("div",{staticClass:"folder",class:{folder2:!t.closeAni}},[a("van-button",{attrs:{round:"",type:"info",size:"small",block:""}},[t._v("新建文件夹")])],1),t._v(" "),a("div",{staticClass:"divider",class:{divider2:!t.closeAni}},[a("van-divider",{style:{borderColor:"#cccccc",margin:"30px 0"}})],1),t._v(" "),a("div",{staticClass:"file",class:{file2:!t.closeAni}},[a("van-button",{staticStyle:{"margin-bottom":"20px"},attrs:{plain:"",round:"",type:"info",size:"small",block:""}},[t._v("新建富文本")]),t._v(" "),a("van-button",{attrs:{plain:"",round:"",type:"info",size:"small",block:""}},[t._v("新建Markdown")])],1)]),t._v(" "),a("div",{staticClass:"footer"},[a("i",{staticClass:"icon-19",class:{icon19:!t.closeAni},on:{click:t.closeAdd}})])])},staticRenderFns:[]};var n={name:"tabbar",data:function(){return{nav_index:1,show_addFile:!1}},created:function(){"/folder"!==this.$route.path&&this.$router.push({path:"/folder"})},methods:{selectNav:function(t,e){if(3===t)return this.$router.replace({path:"/markdown"});1===t&&(this.nav_index=t,"/folder"==this.$route.path?this.$router.replace({path:"/folder2"}):this.$router.replace({path:e}))}},components:{addFile:a("VU/8")(s,i,!1,function(t){a("uUID")},"data-v-339b1cfe",null).exports}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tabber"},[a("div",{staticClass:"each_nav",class:{select_nav:0==t.nav_index},on:{click:function(e){return t.selectNav(0,"/test")}}},[a("i",{staticClass:"icon-59"}),t._v(" "),a("div",[t._v("最新")])]),t._v(" "),a("div",{staticClass:"each_nav",class:{select_nav:1==t.nav_index},on:{click:function(e){return t.selectNav(1,"/folder")}}},[a("i",{staticClass:"icon-37"}),t._v(" "),a("div",[t._v("文件夹")])]),t._v(" "),a("div",{staticClass:"each_nav"},[a("i",{staticClass:"icon-100",on:{click:function(e){t.show_addFile=!0}}})]),t._v(" "),a("div",{staticClass:"each_nav",class:{select_nav:2==t.nav_index},on:{click:function(e){return t.selectNav(2,"/test")}}},[a("i",{staticClass:"icon-4"}),t._v(" "),a("div",[t._v("云笔")])]),t._v(" "),a("div",{staticClass:"each_nav",class:{select_nav:3==t.nav_index},on:{click:function(e){return t.selectNav(3,"/wangeditor")}}},[a("i",{staticClass:"icon-53"}),t._v(" "),a("div",[t._v("我的")])]),t._v(" "),a("add-file",{attrs:{show_addFile:t.show_addFile},on:{"update:show_addFile":function(e){t.show_addFile=e},"update:show_add-file":function(e){t.show_addFile=e}}})],1)},staticRenderFns:[]};var l={name:"index",components:{tabbar:a("VU/8")(n,c,!1,function(t){a("l97x")},"data-v-dc4674f8",null).exports}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"index"},[e("div",{staticClass:"main"},[e("router-view")],1),this._v(" "),e("tabbar",{staticClass:"nav"})],1)},staticRenderFns:[]};var d=a("VU/8")(l,o,!1,function(t){a("4EM1")},"data-v-247b97df",null);e.default=d.exports},"4EM1":function(t,e){},l97x:function(t,e){},uUID:function(t,e){}});
//# sourceMappingURL=0.0b3e29fa9fb715a6c568.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([1],{"+I5B":function(t,e){},"M+ft":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"folder2",components:{folderComponent:i("s//G").a}},s={render:function(){var t=this.$createElement;return(this._self._c||t)("folder-component",{attrs:{path:"/folder"}})},staticRenderFns:[]},n=i("VU/8")(a,s,!1,null,null,null);e.default=n.exports},"s//G":function(t,e,i){"use strict";var a=i("I22p"),s={name:"folder_component",props:["path"],data:function(){return{value:"",list:[],article_list:[],parentid:"",show_loading:!1,page:1}},created:function(){var t=this.$route.query.folderid?this.$route.query.folderid:"";this.folderList(t),t&&this.articleList(t)},methods:{folderList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0,a.a.folderList({parentid:e}).then(function(e){0==e.err_code&&(t.list=e.data),t.show_loading=!1})},articleList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0;var i={folderid:e,pagenum:20,current:this.page};a.a.articleList(i).then(function(e){0==e.err_code&&(console.log(e,99),t.article_list=e.data),t.show_loading=!1})},clickFolder:function(t){this.$router.push({path:this.path,query:{folderid:t.folderid}})},clickArticle:function(t){1==t.type&&this.$router.push({path:"wangeditor",query:{docid:t.docid}})}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"folder"},[i("div",{staticClass:"input"},[i("van-search",{attrs:{placeholder:"请输入搜索关键词"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),t._v(" "),i("div",{staticClass:"main"},[t._l(t.list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickFolder(e)}}},[i("div",[i("span",{staticClass:"icon-107 icon107"}),t._v(" "),i("span",{staticClass:"folder_name"},[t._v(t._s(e.name))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),t._l(t.article_list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickArticle(e)}}},[i("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[i("span",{staticClass:"folder_name",staticStyle:{margin:"0"}},[t._v(t._s(e.title))]),t._v(" "),i("span",{staticStyle:{"font-size":"12px",color:"#3396fb"}},[t._v(t._s(1==e.type?"富文本":"Markdown"))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),i("van-loading",{directives:[{name:"show",rawName:"v-show",value:t.show_loading,expression:"show_loading"}],attrs:{size:"26",vertical:"",color:"#3396fb"}})],2)])},staticRenderFns:[]};var o=i("VU/8")(s,n,!1,function(t){i("+I5B")},"data-v-02ee0f7a",null);e.a=o.exports}});
//# sourceMappingURL=1.da211ff3b2862716ea36.js.map
\ No newline at end of file
webpackJsonp([1],{"7cd1":function(t,e){},"M+ft":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"folder2",components:{folderComponent:i("s//G").a}},s={render:function(){var t=this.$createElement;return(this._self._c||t)("folder-component",{attrs:{path:"/folder"}})},staticRenderFns:[]},n=i("VU/8")(a,s,!1,null,null,null);e.default=n.exports},"s//G":function(t,e,i){"use strict";var a=i("I22p"),s={name:"folder_component",props:["path"],data:function(){return{value:"",list:[],article_list:[],parentid:"",show_loading:!1,page:1}},created:function(){var t=this.$route.query.folderid?this.$route.query.folderid:"";this.folderList(t),t&&this.articleList(t)},methods:{folderList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0,a.a.folderList({parentid:e}).then(function(e){0==e.err_code&&(t.list=e.data),t.show_loading=!1})},articleList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0;var i={folderid:e,pagenum:20,current:this.page};a.a.articleList(i).then(function(e){0==e.err_code&&(console.log(e,99),t.article_list=e.data),t.show_loading=!1})},clickFolder:function(t){this.$router.push({path:this.path,query:{folderid:t.folderid}})},clickArticle:function(t){1==t.type?this.$router.push({path:"wangeditor",query:{docid:t.docid}}):this.$router.push({path:"markdown",query:{docid:t.docid}})}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"folder"},[i("div",{staticClass:"input"},[i("van-search",{attrs:{placeholder:"请输入搜索关键词"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),t._v(" "),i("div",{staticClass:"main"},[t._l(t.list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickFolder(e)}}},[i("div",[i("span",{staticClass:"icon-107 icon107"}),t._v(" "),i("span",{staticClass:"folder_name"},[t._v(t._s(e.name))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),t._l(t.article_list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickArticle(e)}}},[i("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[i("span",{staticClass:"folder_name",staticStyle:{margin:"0"}},[t._v(t._s(e.title))]),t._v(" "),i("span",{staticStyle:{"font-size":"12px",color:"#3396fb"}},[t._v(t._s(1==e.type?"富文本":"Markdown"))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),i("van-loading",{directives:[{name:"show",rawName:"v-show",value:t.show_loading,expression:"show_loading"}],attrs:{size:"26",vertical:"",color:"#3396fb"}})],2)])},staticRenderFns:[]};var o=i("VU/8")(s,n,!1,function(t){i("7cd1")},"data-v-06aa8c8a",null);e.a=o.exports}});
//# sourceMappingURL=1.7e05128e2126c69a7e68.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([2],{"+I5B":function(t,e){},C0Ug:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"folder",components:{folderComponent:i("s//G").a}},s={render:function(){var t=this.$createElement;return(this._self._c||t)("folder-component",{attrs:{path:"/folder2"}})},staticRenderFns:[]},n=i("VU/8")(a,s,!1,null,null,null);e.default=n.exports},"s//G":function(t,e,i){"use strict";var a=i("I22p"),s={name:"folder_component",props:["path"],data:function(){return{value:"",list:[],article_list:[],parentid:"",show_loading:!1,page:1}},created:function(){var t=this.$route.query.folderid?this.$route.query.folderid:"";this.folderList(t),t&&this.articleList(t)},methods:{folderList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0,a.a.folderList({parentid:e}).then(function(e){0==e.err_code&&(t.list=e.data),t.show_loading=!1})},articleList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0;var i={folderid:e,pagenum:20,current:this.page};a.a.articleList(i).then(function(e){0==e.err_code&&(console.log(e,99),t.article_list=e.data),t.show_loading=!1})},clickFolder:function(t){this.$router.push({path:this.path,query:{folderid:t.folderid}})},clickArticle:function(t){1==t.type&&this.$router.push({path:"wangeditor",query:{docid:t.docid}})}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"folder"},[i("div",{staticClass:"input"},[i("van-search",{attrs:{placeholder:"请输入搜索关键词"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),t._v(" "),i("div",{staticClass:"main"},[t._l(t.list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickFolder(e)}}},[i("div",[i("span",{staticClass:"icon-107 icon107"}),t._v(" "),i("span",{staticClass:"folder_name"},[t._v(t._s(e.name))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),t._l(t.article_list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickArticle(e)}}},[i("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[i("span",{staticClass:"folder_name",staticStyle:{margin:"0"}},[t._v(t._s(e.title))]),t._v(" "),i("span",{staticStyle:{"font-size":"12px",color:"#3396fb"}},[t._v(t._s(1==e.type?"富文本":"Markdown"))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),i("van-loading",{directives:[{name:"show",rawName:"v-show",value:t.show_loading,expression:"show_loading"}],attrs:{size:"26",vertical:"",color:"#3396fb"}})],2)])},staticRenderFns:[]};var o=i("VU/8")(s,n,!1,function(t){i("+I5B")},"data-v-02ee0f7a",null);e.a=o.exports}});
//# sourceMappingURL=2.ff952c6835523357530f.js.map
\ No newline at end of file
webpackJsonp([2],{"7cd1":function(t,e){},C0Ug:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"folder",components:{folderComponent:i("s//G").a}},s={render:function(){var t=this.$createElement;return(this._self._c||t)("folder-component",{attrs:{path:"/folder2"}})},staticRenderFns:[]},n=i("VU/8")(a,s,!1,null,null,null);e.default=n.exports},"s//G":function(t,e,i){"use strict";var a=i("I22p"),s={name:"folder_component",props:["path"],data:function(){return{value:"",list:[],article_list:[],parentid:"",show_loading:!1,page:1}},created:function(){var t=this.$route.query.folderid?this.$route.query.folderid:"";this.folderList(t),t&&this.articleList(t)},methods:{folderList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0,a.a.folderList({parentid:e}).then(function(e){0==e.err_code&&(t.list=e.data),t.show_loading=!1})},articleList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.show_loading=!0;var i={folderid:e,pagenum:20,current:this.page};a.a.articleList(i).then(function(e){0==e.err_code&&(console.log(e,99),t.article_list=e.data),t.show_loading=!1})},clickFolder:function(t){this.$router.push({path:this.path,query:{folderid:t.folderid}})},clickArticle:function(t){1==t.type?this.$router.push({path:"wangeditor",query:{docid:t.docid}}):this.$router.push({path:"markdown",query:{docid:t.docid}})}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"folder"},[i("div",{staticClass:"input"},[i("van-search",{attrs:{placeholder:"请输入搜索关键词"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),t._v(" "),i("div",{staticClass:"main"},[t._l(t.list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickFolder(e)}}},[i("div",[i("span",{staticClass:"icon-107 icon107"}),t._v(" "),i("span",{staticClass:"folder_name"},[t._v(t._s(e.name))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),t._l(t.article_list,function(e,a){return i("div",{staticClass:"each_folder van-hairline--bottom",on:{click:function(i){return t.clickArticle(e)}}},[i("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[i("span",{staticClass:"folder_name",staticStyle:{margin:"0"}},[t._v(t._s(e.title))]),t._v(" "),i("span",{staticStyle:{"font-size":"12px",color:"#3396fb"}},[t._v(t._s(1==e.type?"富文本":"Markdown"))])]),t._v(" "),i("div",{staticClass:"updatetime"},[t._v(t._s(e.updatetime.substr(0,10)))])])}),t._v(" "),i("van-loading",{directives:[{name:"show",rawName:"v-show",value:t.show_loading,expression:"show_loading"}],attrs:{size:"26",vertical:"",color:"#3396fb"}})],2)])},staticRenderFns:[]};var o=i("VU/8")(s,n,!1,function(t){i("7cd1")},"data-v-06aa8c8a",null);e.a=o.exports}});
//# sourceMappingURL=2.886e1aadccebe3fa542c.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([4],{ftJn:function(t,e){},tZVe:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var c=n("I22p"),i={name:"markdown",data:function(){return{title:"",content:"",converter:null,html:""}},created:function(){this.docid=this.$route.query.docid,this.articleDetail(this.docid)},mounted:function(){this.converter=new showdown.Converter,console.log(this.converter,99)},methods:{articleDetail:function(t){var e=this;c.a.articleDetail({docid:t}).then(function(t){console.log(t,999),0==t.err_code&&(e.content=t.data.doc,e.title=t.data.title,e.convertText())})},convertText:function(){this.html=this.converter.makeHtml(this.content)},cancel:function(){},sure:function(){}}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"markdown"},[n("van-field",{staticClass:"doc_name",attrs:{"input-align":"center"},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}}),t._v(" "),n("div",{staticClass:"main",domProps:{innerHTML:t._s(t.html)}}),t._v(" "),n("div",{staticClass:"bottom"},[n("van-button",{attrs:{plain:"",type:"info",color:"#cccccc"},on:{click:t.cancel}},[t._v("取消")]),t._v(" "),n("van-button",{attrs:{type:"info"},on:{click:t.sure}},[t._v("确定")])],1)],1)},staticRenderFns:[]};var a=n("VU/8")(i,o,!1,function(t){n("ftJn")},"data-v-41dc2520",null);e.default=a.exports}});
//# sourceMappingURL=4.d0cca719db357b6e07c6.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/pages/markdown.vue","webpack:///./src/pages/markdown.vue?561a","webpack:///./src/pages/markdown.vue"],"names":["markdown","name","data","title","content","converter","html","created","this","docid","$route","query","articleDetail","mounted","showdown","Converter","console","log","methods","_this","then","err_code","doc","convertText","makeHtml","cancel","sure","pages_markdown","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","input-align","model","value","callback","$$v","expression","_v","domProps","innerHTML","_s","plain","type","color","on","click","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"0IAeAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,MAAA,GACAC,QAAA,GACAC,UAAA,KACAC,KAAA,KAGAC,QAVA,WAWAC,KAAAC,MAAAD,KAAAE,OAAAC,MAAAF,MACAD,KAAAI,cAAAJ,KAAAC,QAEAI,QAdA,WAgBAL,KAAAH,UAAA,IAAAS,SAAAC,UACAC,QAAAC,IAAAT,KAAAH,UAAA,KAEAa,SAEAN,cAFA,SAEAH,GAAA,IAAAU,EAAAX,KACYU,EAAA,EAAZN,eAAAH,UAAAW,KAAA,SAAAlB,GACAc,QAAAC,IAAAf,EAAA,KACA,GAAAA,EAAAmB,WACAF,EAAAf,QAAAF,OAAAoB,IACAH,EAAAhB,MAAAD,OAAAC,MACAgB,EAAAI,kBAKAA,YAbA,WAcAf,KAAAF,KAAAE,KAAAH,UAAAmB,SAAAhB,KAAAJ,UAEAqB,OAhBA,aAiBAC,KAjBA,eC/BeC,GADEC,OAFjB,WAA0B,IAAAC,EAAArB,KAAasB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,aAAuBF,EAAA,aAAkBE,YAAA,WAAAC,OAA8BC,cAAA,UAAuBC,OAAQC,MAAAT,EAAA,MAAAU,SAAA,SAAAC,GAA2CX,EAAA1B,MAAAqC,GAAcC,WAAA,WAAqBZ,EAAAa,GAAA,KAAAV,EAAA,OAAwBE,YAAA,OAAAS,UAA6BC,UAAAf,EAAAgB,GAAAhB,EAAAvB,SAA8BuB,EAAAa,GAAA,KAAAV,EAAA,OAAwBE,YAAA,WAAqBF,EAAA,cAAmBG,OAAOW,MAAA,GAAAC,KAAA,OAAAC,MAAA,WAA2CC,IAAKC,MAAArB,EAAAJ,UAAoBI,EAAAa,GAAA,QAAAb,EAAAa,GAAA,KAAAV,EAAA,cAA8CG,OAAOY,KAAA,QAAcE,IAAKC,MAAArB,EAAAH,QAAkBG,EAAAa,GAAA,iBAErkBS,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEtD,EACA2B,GATF,EAVA,SAAA4B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/4.d0cca719db357b6e07c6.js","sourcesContent":["<template>\r\n <div class=\"markdown\">\r\n <van-field v-model=\"title\" input-align=\"center\" class=\"doc_name\"/>\r\n <!--<van-field v-model=\"content\" input-align=\"center\" class=\"doc_name\"-->\r\n <!--@input=\"convertText\"/>-->\r\n <div v-html=\"html\" class=\"main\"></div>\r\n <div class=\"bottom\">\r\n <van-button plain type=\"info\" color=\"#cccccc\" @click=\"cancel\">取消</van-button>\r\n <van-button type=\"info\" @click=\"sure\">确定</van-button>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import api from '../api/methods';\r\n export default {\r\n name: \"markdown\",\r\n data(){\r\n return {\r\n title:'',\r\n content:'', //内容\r\n converter:null, //转化器\r\n html:'', //格式化后内容\r\n }\r\n },\r\n created(){\r\n this.docid = this.$route.query.docid;\r\n this.articleDetail(this.docid);\r\n },\r\n mounted() {\r\n //创建实例\r\n this.converter = new showdown.Converter();\r\n console.log(this.converter,99)\r\n },\r\n methods: {\r\n //获取文件详情\r\n articleDetail(docid){\r\n api.articleDetail({docid:docid}).then((data)=>{\r\n console.log(data,999)\r\n if(data.err_code == 0){\r\n this.content = data.data.doc;\r\n this.title = data.data.title;\r\n this.convertText();\r\n }\r\n })\r\n },\r\n //格式转化\r\n convertText() {\r\n this.html = this.converter.makeHtml(this.content);\r\n },\r\n cancel(){},\r\n sure(){},\r\n },\r\n }\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n @import \"../assets/sspai.css\";\r\n @basefont:50;\r\n .markdown{\r\n height:100vh;\r\n width:100%;\r\n .doc_name{\r\n height:80rem /@basefont;\r\n color:#333333;\r\n font-size:36rem /@basefont;\r\n }\r\n .main{\r\n height:calc(100% - (200rem /@basefont));\r\n width:100%;\r\n /*word-break:break-all;*/\r\n overflow:auto;\r\n padding:20rem /@basefont;\r\n font-size:28rem /@basefont;\r\n box-sizing:border-box;\r\n }\r\n .bottom{\r\n height:120rem /@basefont;\r\n width:100%;\r\n position:fixed;\r\n bottom:0;\r\n background-color:white;\r\n display:flex;\r\n z-index:11;\r\n align-items:center;\r\n justify-content:space-around;\r\n padding:20rem /@basefont 0;\r\n box-sizing:border-box;\r\n box-shadow:0 -2px 5px #eeeeee;\r\n .van-button{\r\n width:40%;\r\n }\r\n }\r\n }\r\n</style>\n\n\n// WEBPACK FOOTER //\n// src/pages/markdown.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"markdown\"},[_c('van-field',{staticClass:\"doc_name\",attrs:{\"input-align\":\"center\"},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}}),_vm._v(\" \"),_c('div',{staticClass:\"main\",domProps:{\"innerHTML\":_vm._s(_vm.html)}}),_vm._v(\" \"),_c('div',{staticClass:\"bottom\"},[_c('van-button',{attrs:{\"plain\":\"\",\"type\":\"info\",\"color\":\"#cccccc\"},on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")]),_vm._v(\" \"),_c('van-button',{attrs:{\"type\":\"info\"},on:{\"click\":_vm.sure}},[_vm._v(\"确定\")])],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-41dc2520\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/markdown.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-41dc2520\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./markdown.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./markdown.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./markdown.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-41dc2520\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./markdown.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-41dc2520\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/markdown.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([4],{"+CO5":function(t,n){},"5DMK":function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=i("I22p"),o={name:"wangeditor",data:function(){return{content:"",title:"",editorOption:null,docid:""}},created:function(){this.docid=this.$route.query.docid,this.articleDetail(this.docid)},methods:{articleDetail:function(t){var n=this;e.a.articleDetail({docid:t}).then(function(t){console.log(t,999),0==t.err_code&&(n.content=t.data.doc,n.title=t.data.title)})},sure:function(){this.articleEdit()},cancel:function(){this.$router.back()},articleEdit:function(){var t=this,n={docid:this.docid,title:this.title,doc:this.content,folderid:""};e.a.articleEdit(n).then(function(n){0==n.err_code&&(t.$notify({type:"success",duration:1500,message:"保存成功"}),t.$router.back())})},onEditorBlur:function(){},onEditorFocus:function(){},onEditorReady:function(){},onEditorChange:function(){}}},c={render:function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"editor"},[i("van-field",{staticClass:"doc_name",attrs:{"input-align":"center"},model:{value:t.title,callback:function(n){t.title=n},expression:"title"}}),t._v(" "),i("quill-editor",{ref:"myQuillEditor",staticClass:"quill_editor",attrs:{options:t.editorOption},on:{blur:function(n){return t.onEditorBlur(n)},focus:function(n){return t.onEditorFocus(n)},ready:function(n){return t.onEditorReady(n)},change:function(n){return t.onEditorChange(n)}},model:{value:t.content,callback:function(n){t.content=n},expression:"content"}}),t._v(" "),i("div",{staticClass:"bottom"},[i("van-button",{attrs:{plain:"",type:"info",color:"#cccccc"},on:{click:t.cancel}},[t._v("取消")]),t._v(" "),i("van-button",{attrs:{type:"info"},on:{click:t.sure}},[t._v("确定")])],1)],1)},staticRenderFns:[]};var r=i("VU/8")(o,c,!1,function(t){i("+CO5")},"data-v-2354df94",null);n.default=r.exports}});
//# sourceMappingURL=4.7549692b6f51f1afe6fc.js.map
\ No newline at end of file
webpackJsonp([5],{"+CO5":function(t,n){},"5DMK":function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=i("I22p"),o={name:"wangeditor",data:function(){return{content:"",title:"",editorOption:null,docid:""}},created:function(){this.docid=this.$route.query.docid,this.articleDetail(this.docid)},methods:{articleDetail:function(t){var n=this;e.a.articleDetail({docid:t}).then(function(t){console.log(t,999),0==t.err_code&&(n.content=t.data.doc,n.title=t.data.title)})},sure:function(){this.articleEdit()},cancel:function(){this.$router.back()},articleEdit:function(){var t=this,n={docid:this.docid,title:this.title,doc:this.content,folderid:""};e.a.articleEdit(n).then(function(n){0==n.err_code&&(t.$notify({type:"success",duration:1500,message:"保存成功"}),t.$router.back())})},onEditorBlur:function(){},onEditorFocus:function(){},onEditorReady:function(){},onEditorChange:function(){}}},c={render:function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"editor"},[i("van-field",{staticClass:"doc_name",attrs:{"input-align":"center"},model:{value:t.title,callback:function(n){t.title=n},expression:"title"}}),t._v(" "),i("quill-editor",{ref:"myQuillEditor",staticClass:"quill_editor",attrs:{options:t.editorOption},on:{blur:function(n){return t.onEditorBlur(n)},focus:function(n){return t.onEditorFocus(n)},ready:function(n){return t.onEditorReady(n)},change:function(n){return t.onEditorChange(n)}},model:{value:t.content,callback:function(n){t.content=n},expression:"content"}}),t._v(" "),i("div",{staticClass:"bottom"},[i("van-button",{attrs:{plain:"",type:"info",color:"#cccccc"},on:{click:t.cancel}},[t._v("取消")]),t._v(" "),i("van-button",{attrs:{type:"info"},on:{click:t.sure}},[t._v("确定")])],1)],1)},staticRenderFns:[]};var r=i("VU/8")(o,c,!1,function(t){i("+CO5")},"data-v-2354df94",null);n.default=r.exports}});
//# sourceMappingURL=5.9cd0f2020c75b7a9dbf1.js.map
\ No newline at end of file
webpackJsonp([6],{"+cgv":function(n,e){},"02pT":function(n,e){},"1H7Z":function(n,e){},"3IMD":function(n,e){},"3f40":function(n,e){},"4qOc":function(n,e){},FhoU:function(n,e){},I22p:function(n,e,t){"use strict";var o=t("//Fk"),i=t.n(o),r=t("mtWM"),a=t.n(r),c=t("mw3O"),u=t.n(c),f={config:"index.php/login/index/config",getSsoToken:"index.php/login/index/getSsoToken",folderList:"index.php/api/index/folderList",articleList:"index.php/api/index/articleList",articleDetail:"index.php/api/index/articleDetail",articleEdit:"index.php/api/index/articleEdit"},s=new(t("7+uW").a);a.a.interceptors.request.use(function(n){return n},function(n){return i.a.reject(n)}),a.a.interceptors.response.use(function(n){return 0!==n.data.err_code&&s.$notify({type:"danger",duration:2e3,message:n.data.err_msg}),n.data},function(n){return i.a.reject(n)});var d=function(n,e){var t=f[n];return a()({method:"post",baseURL:"http://doc-phone.linanquan.com/",url:t,data:u.a.stringify(e)})};e.a={config:function(n){return d("config",n)},getSsoToken:function(n){return d("getSsoToken",n)},folderList:function(n){return d("folderList",n)},articleList:function(n){return d("articleList",n)},articleDetail:function(n){return d("articleDetail",n)},articleEdit:function(n){return d("articleEdit",n)}}},Lorf:function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});t("cOrn");var o=t("77gS"),i=(t("MY4N"),t("0zAV")),r=(t("nOaS"),t("pIDD")),a=(t("Ny/I"),t("7Tnr")),c=(t("3Lne"),t("SSsa")),u=(t("4yKu"),t("wolx")),f=t("7+uW"),s={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var d=t("VU/8")({name:"App"},s,!1,function(n){t("Lorf")},null,null).exports,l=t("/ocq"),p=t("mvHQ"),g=t.n(p),h=t("I22p"),m={config:function(n){h.a.config().then(function(e){0==e.err_code&&(console.log("config::",e),n(e.data))})},getSsoToken:function(n){h.a.getSsoToken({code:n}).then(function(n){0==n.err_code&&(alert(g()(n)),console.log("config::",n))})},getCode:function(){var n=this;this.config(function(e){dd.ready(function(){dd.runtime.permission.requestAuthCode({corpId:e.corpId,onSuccess:function(e){alert(111),n.getSsoToken(e.code)},onFail:function(e){alert(g()(e)),n.getSsoToken(e.code)}})})})}},x=t("NYxO");f.a.use(x.a);var v=new x.a.Store({state:{user_info:null},mutations:{userInfo:function(n,e){n.user_info=e}}});f.a.use(l.a);var S=new l.a({routes:[{path:"/",name:"index",component:function(){return t.e(0).then(t.bind(null,"2NXm"))},children:[{path:"folder",name:"folder",component:function(){return t.e(2).then(t.bind(null,"C0Ug"))}},{path:"folder2",name:"folder2",component:function(){return t.e(1).then(t.bind(null,"M+ft"))}},{path:"wangeditor",name:"wangeditor",component:function(){return t.e(4).then(t.bind(null,"5DMK"))}},{path:"test",name:"test",component:function(){return t.e(3).then(t.bind(null,"Y7I0"))}}]}]});S.beforeEach(function(n,e,t){v.state.user_info||m.getCode(),t()});var L=S,T=t("G0J2"),b=t.n(T);t("3f40"),t("4qOc"),t("+cgv");f.a.use(b.a,{placeholder:"请输入内容",modules:{toolbar:[[{color:[]}],["bold","italic","underline","strike"],[{header:1},{header:2}],[{header:[1,2,3,4,5,6,!1]}]]}}),f.a.use(u.a),f.a.use(c.a),f.a.use(a.a),f.a.use(r.a),f.a.use(i.a),f.a.use(o.a),f.a.config.productionTip=!1,new f.a({el:"#app",router:L,components:{App:d},template:"<App/>"})},T2s0:function(n,e){},WRFY:function(n,e){},WpgC:function(n,e){},hW8u:function(n,e){},"n/tq":function(n,e){},nsZj:function(n,e){},px3J:function(n,e){},qpP9:function(n,e){}},["NHnr"]);
//# sourceMappingURL=app.c645385019aae5975efb.js.map
\ No newline at end of file
webpackJsonp([7],{"+cgv":function(n,e){},"02pT":function(n,e){},"1H7Z":function(n,e){},"3IMD":function(n,e){},"3f40":function(n,e){},"4qOc":function(n,e){},FhoU:function(n,e){},I22p:function(n,e,t){"use strict";var o=t("//Fk"),i=t.n(o),r=t("mtWM"),a=t.n(r),c=t("mw3O"),u=t.n(c),f={config:"index.php/login/index/config",getSsoToken:"index.php/login/index/getSsoToken",folderList:"index.php/api/index/folderList",articleList:"index.php/api/index/articleList",articleDetail:"index.php/api/index/articleDetail",articleEdit:"index.php/api/index/articleEdit"},s=new(t("7+uW").a);a.a.interceptors.request.use(function(n){return n},function(n){return i.a.reject(n)}),a.a.interceptors.response.use(function(n){return 0!==n.data.err_code&&s.$notify({type:"danger",duration:2e3,message:n.data.err_msg}),n.data},function(n){return i.a.reject(n)});var d=function(n,e){var t=f[n];return a()({method:"post",baseURL:"http://doc-phone.linanquan.com/",url:t,data:u.a.stringify(e)})};e.a={config:function(n){return d("config",n)},getSsoToken:function(n){return d("getSsoToken",n)},folderList:function(n){return d("folderList",n)},articleList:function(n){return d("articleList",n)},articleDetail:function(n){return d("articleDetail",n)},articleEdit:function(n){return d("articleEdit",n)}}},Lorf:function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});t("cOrn");var o=t("77gS"),i=(t("MY4N"),t("0zAV")),r=(t("nOaS"),t("pIDD")),a=(t("Ny/I"),t("7Tnr")),c=(t("3Lne"),t("SSsa")),u=(t("4yKu"),t("wolx")),f=t("7+uW"),s={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var d=t("VU/8")({name:"App"},s,!1,function(n){t("Lorf")},null,null).exports,l=t("/ocq"),p=t("mvHQ"),h=t.n(p),g=t("I22p"),m={config:function(n){g.a.config().then(function(e){0==e.err_code&&(console.log("config::",e),n(e.data))})},getSsoToken:function(n){g.a.getSsoToken({code:n}).then(function(n){alert(h()(n)),0==n.err_code&&console.log("config::",n)})},getCode:function(){var n=this;this.config(function(e){dd.ready(function(){dd.runtime.permission.requestAuthCode({corpId:e.corpId,onSuccess:function(e){alert(h()(e)),n.getSsoToken(e.code)},onFail:function(e){alert(h()(e)),n.getSsoToken(e.code)}})})})}},x=t("NYxO");f.a.use(x.a);var v=new x.a.Store({state:{user_info:null},mutations:{userInfo:function(n,e){n.user_info=e}}});f.a.use(l.a);var S=new l.a({routes:[{path:"/",name:"index",component:function(){return t.e(0).then(t.bind(null,"2NXm"))},children:[{path:"folder",name:"folder",component:function(){return t.e(2).then(t.bind(null,"C0Ug"))}},{path:"folder2",name:"folder2",component:function(){return t.e(1).then(t.bind(null,"M+ft"))}},{path:"wangeditor",name:"wangeditor",component:function(){return t.e(5).then(t.bind(null,"5DMK"))}},{path:"markdown",name:"markdown",component:function(){return t.e(4).then(t.bind(null,"tZVe"))}},{path:"test",name:"test",component:function(){return t.e(3).then(t.bind(null,"Y7I0"))}}]}]});S.beforeEach(function(n,e,t){v.state.user_info||m.getCode(),t()});var k=S,b=t("G0J2"),w=t.n(b);t("3f40"),t("4qOc"),t("+cgv");f.a.use(w.a,{placeholder:"请输入内容",modules:{toolbar:[[{color:[]}],["bold","italic","underline","strike"],[{header:1},{header:2}],[{header:[1,2,3,4,5,6,!1]}]]}}),f.a.use(u.a),f.a.use(c.a),f.a.use(a.a),f.a.use(r.a),f.a.use(i.a),f.a.use(o.a),f.a.config.productionTip=!1,new f.a({el:"#app",router:k,components:{App:d},template:"<App/>"})},T2s0:function(n,e){},WRFY:function(n,e){},WpgC:function(n,e){},hW8u:function(n,e){},"n/tq":function(n,e){},nsZj:function(n,e){},px3J:function(n,e){},qpP9:function(n,e){}},["NHnr"]);
//# sourceMappingURL=app.35ca84d71febcb21ecd9.js.map
\ No newline at end of file
This diff is collapsed.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8: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 c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"0b3e29fa9fb715a6c568",1:"7e05128e2126c69a7e68",2:"886e1aadccebe3fa542c",3:"41f78fb7461aaef8a580",4:"d0cca719db357b6e07c6",5:"9cd0f2020c75b7a9dbf1"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),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}}([]);
//# sourceMappingURL=manifest.481972107a4b2bbf8c2a.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 962af266e9c568c13fe0"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","8","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EACAJ,EAAAK,QAAA,KAEArB,EAAAsB,IACAN,EAAAO,aAAA,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,wBAAkK5C,GAAA,MAC1O,IAAAkC,EAAAW,WAAAC,EAAA,MAEA,SAAAA,IAEAjB,EAAAkB,QAAAlB,EAAAmB,OAAA,KACAC,aAAAf,GACA,IAAAgB,EAAA7C,EAAAL,GACA,IAAAkD,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAnD,EAAA,aAEAK,EAAAL,QAAAoD,GAKA,OAfAvB,EAAAkB,QAAAlB,EAAAmB,OAAAF,EAaApB,EAAA2B,YAAAxB,GAEAL,GAIAX,EAAAyC,EAAA3C,EAGAE,EAAA0C,EAAAxC,EAGAF,EAAA2C,EAAA,SAAAvC,EAAAwC,EAAAC,GACA7C,EAAA8C,EAAA1C,EAAAwC,IACAlD,OAAAqD,eAAA3C,EAAAwC,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA7C,EAAAmD,EAAA,SAAA9C,GACA,IAAAwC,EAAAxC,KAAA+C,WACA,WAA2B,OAAA/C,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA2C,EAAAE,EAAA,IAAAA,GACAA,GAIA7C,EAAA8C,EAAA,SAAAO,EAAAC,GAAsD,OAAA5D,OAAAC,UAAAC,eAAAC,KAAAwD,EAAAC,IAGtDtD,EAAAyB,EAAA,KAGAzB,EAAAuD,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.481972107a4b2bbf8c2a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t8: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"0b3e29fa9fb715a6c568\",\"1\":\"7e05128e2126c69a7e68\",\"2\":\"886e1aadccebe3fa542c\",\"3\":\"41f78fb7461aaef8a580\",\"4\":\"d0cca719db357b6e07c6\",\"5\":\"9cd0f2020c75b7a9dbf1\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 962af266e9c568c13fe0"],"sourceRoot":""}
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,f){for(var c,i,u,s=0,l=[];s<r.length;s++)i=r[s],t[i]&&l.push(t[i][0]),t[i]=0;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&(e[c]=a[c]);for(n&&n(r,a,f);l.length;)l.shift()();if(f)for(s=0;s<f.length;s++)u=o(o.s=f[s]);return u};var r={},t={7: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],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,o.nc&&f.setAttribute("nonce",o.nc),f.src=o.p+"static/js/"+e+"."+{0:"52de32fa6da87aa0fbe3",1:"da211ff3b2862716ea36",2:"ff952c6835523357530f",3:"41f78fb7461aaef8a580",4:"7549692b6f51f1afe6fc"}[e]+".js";var c=setTimeout(i,12e4);function i(){f.onerror=f.onload=null,clearTimeout(c);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=i,a.appendChild(f),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}}([]);
//# sourceMappingURL=manifest.f99cf827c593c896d635.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 914d55fc785a9e604948"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","7","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EACAJ,EAAAK,QAAA,KAEArB,EAAAsB,IACAN,EAAAO,aAAA,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,wBAAuI3C,GAAA,MAC/M,IAAAkC,EAAAU,WAAAC,EAAA,MAEA,SAAAA,IAEAhB,EAAAiB,QAAAjB,EAAAkB,OAAA,KACAC,aAAAd,GACA,IAAAe,EAAA5C,EAAAL,GACA,IAAAiD,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAlD,EAAA,aAEAK,EAAAL,QAAAmD,GAKA,OAfAtB,EAAAiB,QAAAjB,EAAAkB,OAAAF,EAaAnB,EAAA0B,YAAAvB,GAEAL,GAIAX,EAAAwC,EAAA1C,EAGAE,EAAAyC,EAAAvC,EAGAF,EAAA0C,EAAA,SAAAtC,EAAAuC,EAAAC,GACA5C,EAAA6C,EAAAzC,EAAAuC,IACAjD,OAAAoD,eAAA1C,EAAAuC,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA5C,EAAAkD,EAAA,SAAA7C,GACA,IAAAuC,EAAAvC,KAAA8C,WACA,WAA2B,OAAA9C,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA0C,EAAAE,EAAA,IAAAA,GACAA,GAIA5C,EAAA6C,EAAA,SAAAO,EAAAC,GAAsD,OAAA3D,OAAAC,UAAAC,eAAAC,KAAAuD,EAAAC,IAGtDrD,EAAAyB,EAAA,KAGAzB,EAAAsD,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.f99cf827c593c896d635.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t7: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"52de32fa6da87aa0fbe3\",\"1\":\"da211ff3b2862716ea36\",\"2\":\"ff952c6835523357530f\",\"3\":\"41f78fb7461aaef8a580\",\"4\":\"7549692b6f51f1afe6fc\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 914d55fc785a9e604948"],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
......@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no" />
<script src="https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js"></script>
<script src="./static/showdown.min.js"></script>
<title>doc</title>
</head>
<body>
......
......@@ -13,8 +13,9 @@ export default {
//通过免签码获取uid
getSsoToken(code){
api.getSsoToken({code:code }).then((data)=>{
if(data.err_code == 0){
alert(JSON.stringify(data))
if(data.err_code == 0){
// alert(JSON.stringify(data))
console.log('config::',data)
}
})
......@@ -27,7 +28,7 @@ export default {
dd.runtime.permission.requestAuthCode({
corpId: data.corpId, // 企业id
onSuccess: function (info) {
alert(111)
alert(JSON.stringify(info))
// code = info.code // 通过该免登授权码可以获取用户身份
_this.getSsoToken(info.code);
},
......
/* Sspai Web Theme A theme to [sspai](ssp.ai) default theme. Developed by Codegass(wchweichenhao@gmial.com) & Yves(yves@sspai.com) Download Cuto on the App Store and Google Play! */
body {
font-size: 15px;
color: #333;
background: #fff;
font-family: Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", "tohoma,sans-serif";
margin: 0;
padding: 10%;
}
h1 {
font-size: 2.2em;
font-weight: 700;
line-height: 1.1;
padding-top: 16px;
margin-bottom: 4px;
}
h2, h3, h4, h5, h6 {
line-height: 1.5em;
margin-top: 2.2em;
margin-bottom: 4px;
}
h2 {
font-size: 1.4em;
margin: 40px 10px 20px 0;
padding-left: 9px;
border-left: 6px solid #ff7e79;
font-weight: 700;
line-height: 1.4;
}
h3 {
font-weight: 700;
font-size: 1.2em;
line-height: 1.4;
margin: 10px 0 5px;
padding-top: 10px;
}
h4 {
font-weight: 700;
text-transform: uppercase;
font-size: 1.1em;
line-height: 1.4;
margin: 10px 0 5px;
padding-top: 10px
}
h5, h6 {
font-size: .9em;
}
h5 {
font-weight: bold;
text-transform: uppercase;
}
h6 {
font-weight: normal;
color: #AAA;
}
img {
width: 100%;
border-radius: 5px;
display: block;
margin-bottom: 15px;
height: auto;
}
dl, ol, ul {
margin-top: 12px;
margin-bottom: 20px;
padding-left: 5%;
line-height: 1.8;
}
p {
margin: 0 0 20px;
padding: 0;
line-height: 1.8;
}
a {
color: #f22f27;
text-decoration: none;
}
a:hover {
color: #f55852;
text-decoration: underline;
}
a:focus {
outline-offset: -2px;
}
blockquote {
font-size: 1em;
font-style: normal;
padding: 30px 38px;
margin: 0 0 15px;
position: relative;
line-height: 1.8;
text-indent: 0;
border: none;
color: #888;
}
blockquote:before {
content: "“";
left: 12px;
top: 0;
color: #E0E0E0;
font-size: 4em;
font-family: Arial, serif;
line-height: 1em;
font-weight: 700;
position: absolute;
}
blockquote:after {
content: "”";
right: 12px;
bottom: -26px;
color: #E0E0E0;
font-size: 4em;
font-family: Arial, serif;
line-height: 1em;
font-weight: 700;
position: absolute;
bottom: -31px;
}
strong, dfn {
font-weight: 700;
}
em, dfn {
font-style: italic;
font-weight: 400;
}
del {
text-decoration: line-through;
}
/*code {font-size:90%;}*/
/*pre {text-align:left; overflow-x: scroll; color: #257fa0; background: #f6f6f6; padding: 10pt 15pt; border-radius: 3px; border: solid 1px #e2e2e2;}*/
pre {
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857;
word-break: break-all;
word-wrap: break-word;
border-radius: 4px;
white-space: pre-wrap;
display: block;
background: #f8f8f8;
padding: 10px 20px;
border: none;
margin-bottom: 25px;
color: #666;
font-family: Courier, sans-serif;
}
code {
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
padding: 2px 4px;
font-size: 90%;
}
p>code {
color: #c7264e;
background-color: #f9f2f4;
font-size: .95em;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
figure {
margin: 1em 0;
}
figcaption {
font-size: 0.75em;
padding: 0.5em 2em;
margin-bottom: 2em;
}
figure img {
margin-bottom: 0px;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eee;
}
ol p, ul p {
margin-bottom: 0px;
}
li {
margin-bottom: 0.75em;
margin-top: 0.75em;
}
ol#footnotes {
font-size: 0.95em;
padding-top: 1em;
margin-top: 1em;
margin-left: 0;
border-top: 1px solid #eaeaea;
counter-reset: footer-counter;
list-style: none;
color: #555;
padding-left: 5%;
margin: 20px 0;
}
ol#footnotes li {
margin-bottom: 10px;
margin-left: 16px;
font-weight: 400;
line-height: 2;
list-style-type: none;
}
ol#footnotes li:before {
content: counter(footer-counter) ". ";
counter-increment: footer-counter;
font-weight: 800;
font-size: .95em;
}
@keyframes highfade {
0% {
background-color: none;
}
20% {
background-color: yellow;
}
100% {
background-color: none;
}
}
@-webkit-keyframes highfade {
0% {
background-color: none;
}
20% {
background-color: yellow;
}
100% {
background-color: none;
}
}
a:target, ol#footnotes li:target, sup a:target {
animation-name: highfade;
animation-duration: 2s;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
-webkit-animation-name: highfade;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease-in-out;
}
a:target {
border: 0;
outline: 0;
}
/*animation-iteration-count: 1;*/
/*-webkit-animation-timing-function: ease-in-out;*/
/*}*/
/*a:target {*/
/*border: 0;*/
/*outline: 0;*/
/*}*/
/*tion-iteration-count: 1;*/
/*-webkit-animation-timing-function: ease-in-out;*/
/*}*/
a:target {
border: 0;
outline: 0;
}
\ No newline at end of file
......@@ -79,7 +79,7 @@
//点击文章
clickArticle(item){
if(item.type == 1) this.$router.push({path:'wangeditor',query:{docid:item.docid}}); //富文本
// else this.$router.push({path:'wangeditor',query:{docid:item.docid}}); //Markdown
else this.$router.push({path:'markdown',query:{docid:item.docid}}); //Markdown
}
}
}
......
......@@ -40,7 +40,7 @@
},
methods:{
selectNav(index,path){
if(index === 3) return this.$router.replace({path:'/wangeditor'});
if(index === 3) return this.$router.replace({path:'/markdown'});
if(index === 1){
this.nav_index = index;
if(this.$route.path == '/folder') this.$router.replace({path:'/folder2'});
......
<template>
<div class="markdown">
<van-field v-model="title" input-align="center" class="doc_name"/>
<!--<van-field v-model="content" input-align="center" class="doc_name"-->
<!--@input="convertText"/>-->
<div v-html="html" class="main"></div>
<div class="bottom">
<van-button plain type="info" color="#cccccc" @click="cancel">取消</van-button>
<van-button type="info" @click="sure">确定</van-button>
</div>
</div>
</template>
<script>
import api from '../api/methods';
export default {
name: "markdown",
data(){
return {
title:'',
content:'', //内容
converter:null, //转化器
html:'', //格式化后内容
}
},
created(){
this.docid = this.$route.query.docid;
this.articleDetail(this.docid);
},
mounted() {
//创建实例
this.converter = new showdown.Converter();
console.log(this.converter,99)
},
methods: {
//获取文件详情
articleDetail(docid){
api.articleDetail({docid:docid}).then((data)=>{
console.log(data,999)
if(data.err_code == 0){
this.content = data.data.doc;
this.title = data.data.title;
this.convertText();
}
})
},
//格式转化
convertText() {
this.html = this.converter.makeHtml(this.content);
},
cancel(){},
sure(){},
},
}
</script>
<style scoped lang="less">
@import "../assets/sspai.css";
@basefont:50;
.markdown{
height:100vh;
width:100%;
.doc_name{
height:80rem /@basefont;
color:#333333;
font-size:36rem /@basefont;
}
.main{
height:calc(100% - (200rem /@basefont));
width:100%;
/*word-break:break-all;*/
overflow:auto;
padding:20rem /@basefont;
font-size:28rem /@basefont;
box-sizing:border-box;
}
.bottom{
height:120rem /@basefont;
width:100%;
position:fixed;
bottom:0;
background-color:white;
display:flex;
z-index:11;
align-items:center;
justify-content:space-around;
padding:20rem /@basefont 0;
box-sizing:border-box;
box-shadow:0 -2px 5px #eeeeee;
.van-button{
width:40%;
}
}
}
</style>
\ No newline at end of file
......@@ -27,6 +27,11 @@ let router = new Router({
name:'wangeditor',
component: ()=>import('@/pages/wangeditor.vue'),
},
{
path: 'markdown',
name:'markdown',
component: ()=>import('@/pages/markdown.vue'),
},
{
path: 'test',
name:'test',
......
This diff is collapsed.
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