Commit 8fa1c66f authored by jiangyipeng's avatar jiangyipeng

1

parent bb36bd37
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=stylesheet href=//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.0.3/build/styles/default.min.css><script src=//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.0.3/build/highlight.min.js></script><script src=https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js></script><title>doc</title><link href=./static/css/app.572df8d04bb4f28b6e6e8924a8f2919c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.7f2e55e25da4f6632c28.js></script><script type=text/javascript src=./static/js/vendor.2df28332b4a58963dfd2.js></script><script type=text/javascript src=./static/js/app.bf797e8538df574b4918.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><title>doc</title><link href=./static/css/app.ee180ce265574cef04548ca26d6b05cd.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.aee9f0c4b51bd9f5c957.js></script><script type=text/javascript src=./static/js/vendor.2df28332b4a58963dfd2.js></script><script type=text/javascript src=./static/js/app.ed696b3d8ab6352799f9.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 i={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)}}},s={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){3===t&&dd.biz.util.openLink({url:"http://doc-phone.linanquan.com/html/dist/index.html?token="+localStorage.getItem("doc_phone_token")+"#/folder",onSuccess:function(t){},onFail:function(t){}}),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")(i,s,!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 o={name:"index",components:{tabbar:a("VU/8")(n,c,!1,function(t){a("S5U4")},"data-v-d360b9da",null).exports}},l={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")(o,l,!1,function(t){a("4EM1")},"data-v-247b97df",null);e.default=d.exports},"4EM1":function(t,e){},S5U4:function(t,e){},uUID:function(t,e){}});
//# sourceMappingURL=0.9d1ece26a8ee5a476ee4.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){3===t&&dd.biz.util.openLink({url:"http://www.baidu.com/?token="+localStorage.getItem("doc_phone_token"),onSuccess:function(t){},onFail:function(t){}}),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 o={name:"index",components:{tabbar:a("VU/8")(n,c,!1,function(t){a("2ayb")},"data-v-19651f2d",null).exports}},l={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")(o,l,!1,function(t){a("4EM1")},"data-v-247b97df",null);e.default=d.exports},"2ayb":function(t,e){},"4EM1":function(t,e){},uUID:function(t,e){}});
//# sourceMappingURL=0.f6abd17c3d767718aa0f.js.map
\ 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([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"),r=t.n(o),i=t("mtWM"),a=t.n(i),c=t("mw3O"),u=t.n(c),d={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"},f=t("7+uW"),s=t("RjhT"),l=new f.a;a.a.interceptors.request.use(function(n){return n},function(n){return r.a.reject(n)}),a.a.interceptors.response.use(function(n){return 10003===n.data.err_code?(l.$notify({type:"primary",duration:1500,message:n.data.err_code+": 重新登录"}),s.a.getCode()):0!==n.data.err_code&&l.$notify({type:"danger",duration:2e3,message:n.data.err_code+": "+n.data.err_msg}),n.data},function(n){return r.a.reject(n)});var p=function(n,e){var t=d[n];return a()({method:"post",baseURL:"http://doc-phone.linanquan.com/",url:t,data:u.a.stringify(e)})};function h(n){var e=n||{};return e.token=localStorage.getItem("doc_phone_token"),e}e.a={config:function(n){return p("config",n)},getSsoToken:function(n){return p("getSsoToken",n)},folderList:function(n){return p("folderList",h(n))},articleList:function(n){return p("articleList",h(n))},articleDetail:function(n){return p("articleDetail",h(n))},articleEdit:function(n){return p("articleEdit",h(n))}}},Lorf:function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});t("cOrn");var o=t("77gS"),r=(t("MY4N"),t("0zAV")),i=(t("nOaS"),t("pIDD")),a=(t("Ny/I"),t("7Tnr")),c=(t("3Lne"),t("SSsa")),u=(t("4yKu"),t("wolx")),d=t("7+uW"),f={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var s=t("VU/8")({name:"App"},f,!1,function(n){t("Lorf")},null,null).exports,l=t("/ocq"),p=t("RjhT"),h=t("NYxO");d.a.use(h.a);new h.a.Store({state:{user_info:null},mutations:{userInfo:function(n,e){n.user_info=e}}});d.a.use(l.a);var g=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(3).then(t.bind(null,"C0Ug"))}},{path:"folder2",name:"folder2",component:function(){return t.e(2).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(1).then(t.bind(null,"tZVe"))}},{path:"test",name:"test",component:function(){return t.e(4).then(t.bind(null,"Y7I0"))}}]}]});g.beforeEach(function(n,e,t){localStorage.getItem("doc_phone_token")?t():p.a.getCode(function(){return t()})});var m=g,k=t("G0J2"),_=t.n(k);t("3f40"),t("4qOc"),t("+cgv");d.a.use(_.a,{placeholder:"请输入内容",modules:{toolbar:[[{color:[]}],["bold","italic","underline","strike"],[{header:1},{header:2}],[{header:[1,2,3,4,5,6,!1]}]]}}),d.a.use(u.a),d.a.use(c.a),d.a.use(a.a),d.a.use(i.a),d.a.use(r.a),d.a.use(o.a),d.a.config.productionTip=!1,new d.a({el:"#app",router:m,components:{App:s},template:"<App/>"})},RjhT:function(n,e,t){"use strict";var o=t("mvHQ"),r=t.n(o),i=t("I22p");e.a={config:function(n){i.a.config().then(function(e){0==e.err_code&&n(e.data)})},getSsoToken:function(n,e){i.a.getSsoToken({code:n}).then(function(n){0==n.err_code&&(localStorage.setItem("doc_phone_token",n.data.token),alert("保存新token"),e())})},getCode:function(n){var e=this;this.config(function(t){dd.ready(function(){dd.runtime.permission.requestAuthCode({corpId:t.corpId,onSuccess:function(t){e.getSsoToken(t.code,function(){return n()})},onFail:function(n){alert(r()(n)),e.getSsoToken(n.code)}})})})}}},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.bf797e8538df574b4918.js.map
\ No newline at end of file
webpackJsonp([7],{"+cgv":function(n,e){},"+jCZ":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"),r=t.n(o),i=t("mtWM"),a=t.n(i),c=t("mw3O"),u=t.n(c),d={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"},f=t("7+uW"),s=t("RjhT"),l=new f.a;a.a.interceptors.request.use(function(n){return n},function(n){return r.a.reject(n)}),a.a.interceptors.response.use(function(n){return 10003===n.data.err_code?(l.$notify({type:"primary",duration:1500,message:n.data.err_code+": 重新登录"}),s.a.getCode()):0!==n.data.err_code&&l.$notify({type:"danger",duration:2e3,message:n.data.err_code+": "+n.data.err_msg}),n.data},function(n){return r.a.reject(n)});var p=function(n,e){var t=d[n];return a()({method:"post",baseURL:"http://doc-phone.linanquan.com/",url:t,data:u.a.stringify(e)})};function h(n){var e=n||{};return e.token=localStorage.getItem("doc_phone_token"),e}e.a={config:function(n){return p("config",n)},getSsoToken:function(n){return p("getSsoToken",n)},folderList:function(n){return p("folderList",h(n))},articleList:function(n){return p("articleList",h(n))},articleDetail:function(n){return p("articleDetail",h(n))},articleEdit:function(n){return p("articleEdit",h(n))}}},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});t("cOrn");var o=t("77gS"),r=(t("MY4N"),t("0zAV")),i=(t("nOaS"),t("pIDD")),a=(t("Ny/I"),t("7Tnr")),c=(t("3Lne"),t("SSsa")),u=(t("4yKu"),t("wolx")),d=t("7+uW"),f={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var s=t("VU/8")({name:"App"},f,!1,function(n){t("+jCZ")},null,null).exports,l=t("/ocq"),p=t("RjhT"),h=t("NYxO");d.a.use(h.a);new h.a.Store({state:{user_info:null},mutations:{userInfo:function(n,e){n.user_info=e}}});d.a.use(l.a);var g=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(3).then(t.bind(null,"C0Ug"))}},{path:"folder2",name:"folder2",component:function(){return t.e(2).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(1).then(t.bind(null,"tZVe"))}},{path:"test",name:"test",component:function(){return t.e(4).then(t.bind(null,"Y7I0"))}}]}]});g.beforeEach(function(n,e,t){localStorage.getItem("doc_phone_token")?t():p.a.getCode(function(){return t()})});var m=g,k=t("G0J2"),_=t.n(k);t("3f40"),t("4qOc"),t("+cgv");d.a.use(_.a,{placeholder:"请输入内容",modules:{toolbar:[[{color:[]}],["bold","italic","underline","strike"],[{header:1},{header:2}],[{header:[1,2,3,4,5,6,!1]}]]}}),d.a.use(u.a),d.a.use(c.a),d.a.use(a.a),d.a.use(i.a),d.a.use(r.a),d.a.use(o.a),d.a.config.productionTip=!1,new d.a({el:"#app",router:m,components:{App:s},template:"<App/>"})},RjhT:function(n,e,t){"use strict";var o=t("mvHQ"),r=t.n(o),i=t("I22p");e.a={config:function(n){i.a.config().then(function(e){0==e.err_code&&n(e.data)})},getSsoToken:function(n,e){i.a.getSsoToken({code:n}).then(function(n){0==n.err_code&&(localStorage.setItem("doc_phone_token",n.data.token),alert("保存新token"),e())})},getCode:function(n){var e=this;this.config(function(t){dd.ready(function(){dd.runtime.permission.requestAuthCode({corpId:t.corpId,onSuccess:function(t){e.getSsoToken(t.code,function(){return n()})},onFail:function(n){alert(r()(n)),e.getSsoToken(n.code)}})})})}}},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.ed696b3d8ab6352799f9.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,d=0,s=[];d<r.length;d++)u=r[d],t[u]&&s.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);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)f=o(o.s=a[d]);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:"9d1ece26a8ee5a476ee4",1:"487948a1ffd61c414074",2:"d1e78d8dc3862c4bebf4",3:"939d6f88b23858af186e",4:"d10ba5b27b34dea08bd1",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.7f2e55e25da4f6632c28.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var i,u,f,d=0,s=[];d<r.length;d++)u=r[d],t[u]&&s.push(t[u][0]),t[u]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)f=o(o.s=c[d]);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 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:"f6abd17c3d767718aa0f",1:"0bacae77969795d2a8ed",2:"d1e78d8dc3862c4bebf4",3:"939d6f88b23858af186e",4:"d10ba5b27b34dea08bd1",5:"9cd0f2020c75b7a9dbf1"}[e]+".js";var i=setTimeout(u,12e4);function u(){c.onerror=c.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=u,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}}([]);
//# sourceMappingURL=manifest.aee9f0c4b51bd9f5c957.js.map
\ No newline at end of file
......@@ -3,8 +3,6 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.0.3/build/styles/default.min.css">
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.0.3/build/highlight.min.js"></script>
<script src="https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js"></script>
<title>doc</title>
</head>
......
......@@ -14,6 +14,7 @@
@import "./style/app.less";
@import "./assets/font.css";
@import "./style/normalize.css";
@import "./style/mark.css";
@basefont: 50;
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
......
......@@ -42,7 +42,8 @@
selectNav(index,path){
if(index === 3){
dd.biz.util.openLink({
url:"http://doc-phone.linanquan.com/html/dist/index.html?token="+localStorage.getItem('doc_phone_token')+ '#/folder',//要打开链接的地址
// url:"http://doc-phone.linanquan.com/html/dist/index.html?token="+localStorage.getItem('doc_phone_token')+ '#/folder',//要打开链接的地址
url:"http://www.baidu.com/?token="+localStorage.getItem('doc_phone_token'),//要打开链接的地址
onSuccess : function(result) {
/**/
},
......
<template>
<div class="markdown">
<van-field v-model="title" input-align="center" class="doc_name"/>
<!--<van-field v-model="title" input-align="center" class="doc_name"/>-->
<div class="doc_name">{{title}}</div>
<!--<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>
<!--<van-button type="info" @click="sure">确定</van-button>-->
</div>
</div>
</template>
......@@ -22,7 +23,6 @@
content:'', //内容
converter:null, //转化器
html:'', //格式化后内容
mdjs:null,
}
},
created(){
......@@ -49,8 +49,10 @@
convertText() {
this.html = this.converter.makeHtml(this.content);
},
cancel(){},
sure(){},
cancel(){
this.$router.back();
},
// sure(){},
},
}
</script>
......@@ -61,9 +63,11 @@
height:100vh;
width:100%;
.doc_name{
text-align:center;
height:80rem /@basefont;
color:#333333;
font-size:36rem /@basefont;
box-shadow:0 2px 5px #eeeeee;
}
.main{
height:calc(100% - (200rem /@basefont));
......
table {
padding: 0;
border-collapse: collapse;
border-spacing: 0;
/*font-size: 1em;*/
font: inherit;
border: 0;
margin: 10px auto;
}
tbody {
margin: 0;
padding: 0;
border: 0;
}
table tr {
border: 0;
border-top: 1px solid #CCC;
background-color: white;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
background-color: #F8F8F8;
}
table tr th,
table tr td {
/*font-size: 16px;*/
border: 1px solid #CCC;
margin: 0;
padding: 5px 10px;
}
table tr th {
font-weight: bold;
color: #eee;
border: 1px solid #009688;
background-color: #009688;
}
pre{
width:100%;
overflow:auto;
background-color:#f6f8fa;
border: 1px solid #e1e1e8;
padding:10px 0;
margin:10px 0;
}
blockquote{
border-left:5px solid #dcdedf;
background-color:#f6f8fa;
padding:10px;
margin:10px 0;
border-radius:5px;
}
img{
max-width:100%;
}
\ No newline at end of file
......@@ -156,18 +156,6 @@ img {
border-style: none;
/*width:100%;*/
}
pre{
width:100%;
overflow:auto;
background-color:#f6f8fa;
border: 1px solid #e1e1e8;
padding:10px 0;
margin:10px 0;
}
td{
border: 1px solid #e1e1e8;
}
/* Forms
========================================================================== */
......
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