Commit 22a63886 by 无尘

fix: 修改Markdown显示

parent e5d00b04
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.cc2bc184d68d1ee4d6932c5a50710c98.css rel=stylesheet></head><body class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.362580376b1deeb5f7ed.js></script><script type=text/javascript src=./static/js/vendor.0f5b275d4a227ad49647.js></script><script type=text/javascript src=./static/js/app.9c50334119061bcb2895.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.6057d8a5b31b628f751a44f5aa6ca59a.css rel=stylesheet></head><body class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.323158c3592a3629e433.js></script><script type=text/javascript src=./static/js/vendor.0f5b275d4a227ad49647.js></script><script type=text/javascript src=./static/js/app.9c50334119061bcb2895.js></script></body></html>
\ No newline at end of file \ 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([4],{"0cd1":function(e,t){},"1gtI":function(e,t){},EFqf:function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:m,table:m,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||D.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=/<!--(?!-?>)[\s\S]*?-->/,n.html=p(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=p(n._paragraph).replace("hr",n.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=b({},n),n.gfm=b({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=b({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:m,paragraph:p(n.normal._paragraph).replace("hr",n.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",n.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,s,a,l,o,c,h,p,d,g,f,m,b,x,y;for(e=e.replace(/^ +$/gm,"");e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),s[0].length>1&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e)){var D=this.tokens[this.tokens.length-1];e=e.substring(s[0].length),D&&"paragraph"===D.type?D.text+="\n"+s[0].trimRight():(s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?s:k(s,"\n")}))}else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2]?s[2].trim():s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if((s=this.rules.nptable.exec(e))&&(o={type:"table",header:v(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]}).header.length===o.align.length){for(e=e.substring(s[0].length),g=0;g<o.align.length;g++)/^ *-+: *$/.test(o.align[g])?o.align[g]="right":/^ *:-+: *$/.test(o.align[g])?o.align[g]="center":/^ *:-+ *$/.test(o.align[g])?o.align[g]="left":o.align[g]=null;for(g=0;g<o.cells.length;g++)o.cells[g]=v(o.cells[g],o.header.length);this.tokens.push(o)}else if(s=this.rules.hr.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"hr"});else if(s=this.rules.blockquote.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"blockquote_start"}),s=s[0].replace(/^ *> ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),c={type:"list_start",ordered:b=(a=s[2]).length>1,start:b?+a:"",loose:!1},this.tokens.push(c),h=[],r=!1,m=(s=s[0].match(this.rules.item)).length,g=0;g<m;g++)d=(o=s[g]).length,~(o=o.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(d-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+d+"}","gm"),"")),g!==m-1&&(l=n.bullet.exec(s[g+1])[0],(a.length>1?1===l.length:l.length>1||this.options.smartLists&&l!==a)&&(e=s.slice(g+1).join("\n")+e,g=m-1)),i=r||/\n\n(?!\s*$)/.test(o),g!==m-1&&(r="\n"===o.charAt(o.length-1),i||(i=r)),i&&(c.loose=!0),y=void 0,(x=/^\[[ xX]\] /.test(o))&&(y=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:x,checked:y,loose:i},h.push(p),this.tokens.push(p),this.token(o,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(m=h.length,g=0;g<m;g++)h[g].loose=!0;this.tokens.push({type:"list_end"})}else if(s=this.rules.html.exec(e))e=e.substring(s[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===s[1]||"script"===s[1]||"style"===s[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):u(s[0]):s[0]});else if(t&&(s=this.rules.def.exec(e)))e=e.substring(s[0].length),s[3]&&(s[3]=s[3].substring(1,s[3].length-1)),f=s[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[f]||(this.tokens.links[f]={href:s[2],title:s[3]});else if((s=this.rules.table.exec(e))&&(o={type:"table",header:v(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]}).header.length===o.align.length){for(e=e.substring(s[0].length),g=0;g<o.align.length;g++)/^ *-+: *$/.test(o.align[g])?o.align[g]="right":/^ *:-+: *$/.test(o.align[g])?o.align[g]="center":/^ *:-+ *$/.test(o.align[g])?o.align[g]="left":o.align[g]=null;for(g=0;g<o.cells.length;g++)o.cells[g]=v(o.cells[g].replace(/^ *\| *| *\| *$/g,""),o.header.length);this.tokens.push(o)}else if(s=this.rules.lheading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:"="===s[2].charAt(0)?1:2,text:s[1]});else if(t&&(s=this.rules.paragraph.exec(e)))e=e.substring(s[0].length),this.tokens.push({type:"paragraph",text:"\n"===s[1].charAt(s[1].length-1)?s[1].slice(0,-1):s[1]});else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"text",text:s[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:m,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function s(e,t){if(this.options=t||D.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}function a(e){this.options=e||D.defaults}function l(){}function o(e){this.tokens=[],this.token=null,this.options=e||D.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new c}function c(){this.seen={}}function u(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,function(e){return u.replacements[e]})}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,function(e){return u.replacements[e]});return e}function h(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function p(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t,n){if(e){try{var r=decodeURIComponent(h(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!f.test(n)&&(n=function(e,t){g[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=k(e,"/",!0));return e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}i._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",i.em=p(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=p(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=p(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,i._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=p(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=p(i.reflink).replace("label",i._label).getRegex(),i.normal=b({},i),i.pedantic=b({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=b({},i.normal,{escape:p(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),i.gfm.url=p(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=b({},i.gfm,{br:p(i.br).replace("{2,}","*").getRegex(),text:p(i.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),s.rules=i,s.output=function(e,t,n){return new s(t,n).output(e)},s.prototype.output=function(e){for(var t,n,r,i,a,l,o="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),o+=u(a[1]);else if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0];else if(a=this.rules.link.exec(e)){var c=x(a[2],"()");if(c>-1){var h=4+a[1].length+c;a[2]=a[2].substring(0,c),a[0]=a[0].substring(0,h).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),o+=this.outputLink(a,{href:s.escapes(r),title:s.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),o+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),o+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),o+=this.renderer.codespan(u(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),o+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),o+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=u(this.mangle(a[1]))):n=u(a[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?o+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0]):o+=this.renderer.text(u(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=u(a[0]));else{do{l=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(l!==a[0]);n=u(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),o+=this.renderer.link(r,null,n)}return o},s.escapes=function(e){return e?e.replace(s.rules._escapes,"$1"):e},s.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},s.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},s.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'<pre><code class="'+this.options.langPrefix+u(r,!0)+'">'+(n?e:u(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:u(e,!0))+"</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+u(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},a.prototype.image=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},a.prototype.text=function(e){return e},l.prototype.strong=l.prototype.em=l.prototype.codespan=l.prototype.del=l.prototype.text=function(e){return e},l.prototype.link=l.prototype.image=function(e,t,n){return""+n},l.prototype.br=function(){return""},o.parse=function(e,t){return new o(t).parse(e)},o.prototype.parse=function(e){this.inline=new s(e.links,this.options),this.inlineText=new s(e.links,b({},this.options,{renderer:new l})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop(),this.token},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,h(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",s="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});s+=this.renderer.tablerow(n)}return this.renderer.table(i,s);case"blockquote_start":for(s="";"blockquote_end"!==this.next().type;)s+=this.tok();return this.renderer.blockquote(s);case"list_start":s="";for(var a=this.token.ordered,l=this.token.start;"list_end"!==this.next().type;)s+=this.tok();return this.renderer.list(s,a,l);case"list_item_start":s="";var o=this.token.loose,c=this.token.checked,u=this.token.task;for(this.token.task&&(s+=this.renderer.checkbox(c));"list_item_end"!==this.next().type;)s+=o||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(s,u,c);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var p='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(p);console.log(p)}},c.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function b(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function k(e,t,n){if(0===e.length)return"";for(var r=0;r<e.length;){var i=e.charAt(e.length-r-1);if(i!==t||n){if(i===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function x(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&--n<0)return r;return-1}function y(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function D(e,t,n){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),y(t=b({},D.defaults,t||{}));var i,s,a=t.highlight,l=0;try{i=r.lex(e,t)}catch(e){return n(e)}s=i.length;var c=function(e){if(e)return t.highlight=a,n(e);var r;try{r=o.parse(i,t)}catch(t){e=t}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return c();if(delete t.highlight,!s)return c();for(;l<i.length;l++)!function(e){"code"!==e.type?--s||c():a(e.text,e.lang,function(t,n){return t?c(t):null==n||n===e.text?--s||c():(e.text=n,e.escaped=!0,void(--s||c()))})}(i[l])}else try{return t&&(t=b({},D.defaults,t)),y(t),o.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||D.defaults).silent)return"<p>An error occurred:</p><pre>"+u(e.message+"",!0)+"</pre>";throw e}}m.exec=m,D.options=D.setOptions=function(e){return b(D.defaults,e),D},D.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},D.defaults=D.getDefaults(),D.Parser=o,D.parser=o.parse,D.Renderer=a,D.TextRenderer=l,D.Lexer=r,D.lexer=r.lex,D.InlineLexer=s,D.inlineLexer=s.output,D.Slugger=c,D.parse=D,e.exports=D}(this||"undefined"!=typeof window&&window)}).call(t,n("DuR2"))},UYHc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("mvHQ"),i=n.n(r),s={name:"vue-open-header",props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{currentMenuTab:this.currentTab,openMenuData:[{menuId:"2",menuName:"开发者接入",menuUrl:""},{menuId:"1",menuName:"解决方案",menuUrl:""}],searchValue:""}},methods:{toRedirect:function(e){this.$emit("changeTab",e.menuId)},toHome:function(){this.$router.push("/home")}},watch:{$route:{handler:function(e,t){},deep:!0},currentTab:function(e,t){this.currentMenuTab=e}},mounted:function(){this.currentMenuTab=this.$route.query.currentTab||"2"}},a={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"open-header"},[r("div",{staticClass:"open-header-wrap border-box flex "},[r("div",{staticClass:"open-header-left",on:{click:e.toHome}},[r("img",{attrs:{src:n("h1R5"),alt:""}})]),e._v(" "),r("div",{staticClass:"open-header-right border-box"},[r("div",{staticClass:"open-header-right_wrap flex flex-space-between"},[r("ul",{staticClass:"flex"},e._l(e.openMenuData,function(t,n){return r("li",{key:n+"menu",class:["menu-li border-box",e.currentMenuTab==t.menuId?"active-tab":""],on:{click:function(n){n.stopPropagation(),n.preventDefault(),e.toRedirect(t)}}},[r("span",[e._v(e._s(t.menuName))])])})),e._v(" "),r("div",{staticClass:"search-wrap"},[r("el-input",{attrs:{placeholder:"请输入搜索内容","prefix-icon":"el-icon-search"},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}})],1)])])])])},staticRenderFns:[]};var l=n("VU/8")(s,a,!1,function(e){n("XJvm")},"data-v-bb7ff05a",null).exports,o=n("P9l9"),c="/open-platform-home-web/",u=n("LlAa"),h={props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{parentId:this.currentTab,activeId:"",menuData:[]}},methods:{changeMenu:function(e){this.activeId=e.menuId,e.children&&e.children.length?(e.expanded=!e.expanded,this.$emit("changeDoc",{})):this.$emit("changeDoc",e)},getMenuData:function(e,t){var n,r=this;(n={parentId:e},Object(o.a)(c+"tree-menu",n)).then(function(e){var t=e.data;if("0000"==t.code)return t.result&&t.result.length&&t.result.forEach(function(e){e.expanded=!1}),void(r.menuData=t.result||[]);u.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})}},watch:{currentTab:function(e,t){this.parentId=e,this.getMenuData(e)}},mounted:function(){this.parentId=this.$route.query.currentTab||"2",this.getMenuData(this.parentId)}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"document-left-body border-box"},[n("ul",{staticClass:"document-ul"},[e._l(e.menuData,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),n("span",{staticClass:"li-cell-icon icon-round"})])])]})],2):e._e()])]})],2):e._e()])]})],2):e._e()])]})],2)])},staticRenderFns:[]};var d=n("VU/8")(h,p,!1,function(e){n("iW5U")},"data-v-0331ff27",null).exports,g=n("fZjL"),f=n.n(g),m={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"home-footer-content"},[t("div",{staticClass:"home-site-footer"},[t("p",[this._v("Copyright © "+this._s((new Date).getFullYear())+" 浙江达摩网络科技有限公司 | 浙ICP备15033117号-1")])])])},staticRenderFns:[]};var b=n("VU/8")({name:"index",data:function(){return{}}},m,!1,function(e){n("0cd1")},"data-v-7bbea458",null).exports,v={props:{errorCodeData:{type:[Object,Array],default:function(){return{}}}},data:function(){return{}}},k={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"error-code-wrap"},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:this.errorCodeData}},[t("el-table-column",{attrs:{prop:"errorCode",label:"错误码"}}),this._v(" "),t("el-table-column",{attrs:{prop:"errorInfo",label:"错误信息","show-overflow-tooltip":""}})],1)],1)},staticRenderFns:[]},x=n("VU/8")(v,k,!1,null,null,null).exports,y={props:{value:{type:String,default:function(){return""}},apiData:{type:[Object,Array],default:function(){return{}}}},data:function(){return{menuItemData:this.apiData,describeValue:this.value}},methods:{changeValue:function(e){this.$emit("input",this.describeValue)}},watch:{value:function(e,t){this.describeValue=e,console.log(this.apiData,this.value,e)},apiData:function(e,t){this.menuItemData=e,console.log(this.apiData,this.menuItemData,e)}},mounted:function(){var e=this;e.$nextTick(function(){e.menuItemData=e.apiData,e.describeValue=e.value,console.log(e.apiData,e.value)})}},D={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"api-detail-wrap"},[n("div",{staticClass:"api-detail-h2"},[e._v(e._s(e.menuItemData.interfaceName)+"(v"+e._s(e.menuItemData.version)+")")]),e._v(" "),n("div",{staticClass:"api-detail-descripe"},[n("el-input",{attrs:{disabled:"",type:"textarea",resize:"none",rows:3,placeholder:"请输入内容"},on:{blur:e.changeValue},model:{value:e.menuItemData.interfaceDescribe,callback:function(t){e.$set(e.menuItemData,"interfaceDescribe",t)},expression:"menuItemData.interfaceDescribe"}})],1),e._v(" "),n("div",{staticClass:"api-url m-t-16"},[n("div",{staticClass:"api-detail-p"},[e._v("请求地址:"+e._s(e.menuItemData.interfaceUrl))])]),e._v(" "),n("div",{staticClass:"api-method m-b-10 m-t-10"},[n("div",{staticClass:"api-detail-p"},[e._v("请求方法:"+e._s(e.menuItemData.requestType))])]),e._v(" "),n("div",{staticClass:"api-request-param m-t-10"},[n("div",{staticClass:"api-detail-h3 m-b-10"},[e._v("请求参数:")]),e._v(" "),n("div",[n("el-table",{staticStyle:{width:"100%","margin-bottom":"20px"},attrs:{data:e.menuItemData.frontParams,"row-key":"currentKey",border:"","default-expand-all":"","tree-props":{children:"children",hasChildren:"hasChildren"}}},[n("el-table-column",{attrs:{prop:"currentKey",label:"名称"}}),e._v(" "),n("el-table-column",{attrs:{prop:"type",label:"类型"}}),e._v(" "),n("el-table-column",{attrs:{prop:"example",label:"示例值"}}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"描述"}})],1)],1)]),e._v(" "),n("div",{staticClass:"api-response-param"},[n("div",{staticClass:"api-detail-h3 m-b-10 m-t-27"},[e._v("响应参数:")]),e._v(" "),n("div",[n("el-table",{staticStyle:{width:"100%","margin-bottom":"20px"},attrs:{data:e.menuItemData.resultParams,"row-key":"currentKey",border:"","default-expand-all":"","tree-props":{children:"children",hasChildren:"hasChildren"}}},[n("el-table-column",{attrs:{prop:"currentKey",label:"名称"}}),e._v(" "),n("el-table-column",{attrs:{prop:"type",label:"类型"}}),e._v(" "),n("el-table-column",{attrs:{prop:"example",label:"示例值"}}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"描述"}})],1)],1)]),e._v(" "),e._e(),e._v(" "),n("div",{staticClass:"api-response-success"},[n("div",{staticClass:"api-detail-h3 m-b-10 m-t-27"},[e._v("成功响应示例:")]),e._v(" "),n("div",{staticClass:"api-demo-text"},[n("pre",[e._v(e._s(e.menuItemData.sucReturn))])])]),e._v(" "),n("div",{staticClass:"api-response-error"},[n("div",{staticClass:"api-detail-h3 m-b-10 m-t-27"},[e._v("失败响应示例:")]),e._v(" "),n("div",{staticClass:"api-demo-text"},[n("pre",[e._v(e._s(e.menuItemData.errReturn))])])])])},staticRenderFns:[]};var w=n("VU/8")(y,D,!1,function(e){n("sCZm")},"data-v-66fe4dfe",null).exports,_=n("jvWE"),A=n("EFqf"),C=n.n(A),I={props:{currentDoc:{type:[Object,Array],default:function(){return{}}}},components:{openDocFooter:b,errorCodeTable:x,apiDetail:w},data:function(){return{menuDetailData:{},formData:{},errorCodeData:[],apiData:{}}},methods:{getErrorCodeData:function(){var e,t=this;(e={},Object(o.a)(c+"list-error-code",e)).then(function(e){var n=e.data;"0000"!=n.code?u.a.errorMsg(n):t.errorCodeData=n.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getApiDetailData:function(e){var t,n=this;(t={interfaceId:e},Object(o.a)(c+"get-api-detail",t)).then(function(e){var t=e.data;if("0000"==t.code){var r=t.result;return r.frontParams=JSON.parse(r.frontParams),r.frontParams=Object(_.b)(r.frontParams),r.resultParams=JSON.parse(r.resultParams),r.resultParams=Object(_.b)(r.resultParams),n.formData.memo=r.interfaceDescribe,n.apiData=JSON.parse(i()(r)),!1}u.a.errorMsg(t)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},getData:function(e){var t,n=this;(t={articleId:e},Object(o.a)(c+"get-article",t)).then(function(e){var t=e.data;if("0000"==t.code)return t.result.content=C()(t.result.content),void(n.formData=t.result||{});u.a.errorMsg(t)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},handleMenuData:function(){var e=this.menuDetailData.relationType,t=this.menuDetailData.subType;f()(this.menuDetailData).length?1==e?window.open(this.menuDetailData.relationData):2==e?(this.apiData={},this.errorCodeData=[],this.getData(JSON.parse(this.menuDetailData.relationData)[1])):3==e&&"0"==t?(this.apiData={},this.formData={},this.errorCodeData=JSON.parse(this.menuDetailData.relationData)):3==e&&"1"==t&&(this.formData={},this.errorCodeData=[],this.getApiDetailData(JSON.parse(this.menuDetailData.relationData)[2])):(this.formData={},this.apiData={},this.errorCodeData=[])}},watch:{currentDoc:function(e,t){var n=this;n.menuDetailData=e,n.$nextTick(function(){n.handleMenuData()})}},mounted:function(){var e=this;e.menuDetailData=e.currentDoc,e.$nextTick(function(){e.handleMenuData()})}},R={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"document-right"},[n("div",{staticClass:"document-right-body border-box"},[e.formData.content?n("div",{staticClass:"article-contain"},[n("div",{staticClass:"markdown-content",domProps:{innerHTML:e._s(e.formData.content)}})]):e._e(),e._v(" "),Object.keys(e.apiData).length?n("api-detail",{attrs:{apiData:e.apiData}}):e._e(),e._v(" "),e.errorCodeData.length?n("error-code-table",{attrs:{errorCodeData:e.errorCodeData}}):e._e()],1),e._v(" "),n("open-doc-footer")],1)},staticRenderFns:[]};var S={components:{openDocHeader:l,openDocLeft:d,openDocRight:n("VU/8")(I,R,!1,function(e){n("k1yS")},"data-v-1a28ff0d",null).exports},data:function(){return{currentTab:"2",currentDoc:""}},methods:{changeTab:function(e){this.currentTab=e},changeDoc:function(e){this.currentDoc=JSON.parse(i()(e))}},mounted:function(){this.currentTab=this.$route.query.currentTab||"2"}},T={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"document-center"},[t("open-doc-header",{attrs:{currentTab:this.currentTab},on:{changeTab:this.changeTab}}),this._v(" "),t("div",{staticClass:"document-center-body"},[t("div",{staticClass:"document-center-body_wrap flex"},[t("div",{staticClass:"document-center-left border-box"},[t("open-doc-left",{attrs:{currentTab:this.currentTab},on:{changeDoc:this.changeDoc}})],1),this._v(" "),t("div",{staticClass:"document-center-right"},[t("open-doc-right",{attrs:{currentDoc:this.currentDoc}})],1)])])],1)},staticRenderFns:[]};var j=n("VU/8")(S,T,!1,function(e){n("1gtI")},"data-v-1b503694",null);t.default=j.exports},XJvm:function(e,t){},h1R5:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAjCAYAAAAueWA9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODBGOUUxQUJCREFEMTFFOUFCOUNEQjdFNTVDQjYxRkQiIH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ALZ3iO0ecDn23w2yfKeQ4Zx2yIPpGAI+ElbB51PAr8AzpWJp/pxzZn8q29P3keNdffMgU4iXClr86LF8v7G7+35ombAZFGXjyW88uXbhPPNsHAP+ZPEiS6CXi6Bls/eccc7Z9xzfswWk5PTwnLMm/sgf8asX/l3LZ3bsxGy/D8mqRF0YJNIyZt9SufYzB5UAFH1ZSITM6jfhvR8l9mxcAj6X0yAW8YFRMaGiWyheJWiZloAzb/gonHPRtEI0Gf9pV09pxg/+c37klT2F/JZne2DHy93w+q7jcOJgCWWPWf1ZDkkKwrSWsyDX0wHFooGKx/vlAs/GIeDnz2uGcEiFMII+EFSgZfqFkGxsgFijslDWYPLm7d1PNjZIvZ3HTTUaC8ufuCpsfuyK6XC0U4OeHnoV2KoKmURTENLpY3DLTY+BoVeq2/LMs3EJeB1ZuoIMryjVn9ODclGDN9NmQVbk/rIOvdt3l7Pnziw1xsJKsFQxuxSUPxQksUnxk8/Ok80Ab3RUoKLpuB3Zu7KejV9JY5tR7UAbYJr0Koz0/OxJMrTOiCZ2H6nkQwHpBOLcCvpqhSkBm9y2gD+IQUNSxitcPRu/9v8CDAA+Mv2xNs98dwAAAABJRU5ErkJggg=="},iW5U:function(e,t){},jvWE:function(e,t,n){"use strict";t.a=function(e,t){var n,t=t||200;return function(){var r=this,i=arguments;n&&clearTimeout(n),n=setTimeout(function(){n=null,e.apply(r,i)},t)}},t.b=function e(t,n,r){var s=[];for(var a in t.properties){var l=t.properties[a];"object"==l.type&&i()(l.properties).length?(l.children=[],l.children=e(l),s.push(l)):"array"==l.type&&i()(l.items.properties).length?(l.children=[],l.children=e(l.items),s.push(l)):s.push(l)}return s};var r=n("fZjL"),i=n.n(r)},k1yS:function(e,t){},sCZm:function(e,t){}});
\ No newline at end of file
webpackJsonp([4],{"0cd1":function(e,t){},"1gtI":function(e,t){},EFqf:function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:m,table:m,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||y.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=/<!--(?!-?>)[\s\S]*?-->/,n.html=p(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=p(n._paragraph).replace("hr",n.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=b({},n),n.gfm=b({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=b({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:m,paragraph:p(n.normal._paragraph).replace("hr",n.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",n.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,a,i,s,l,o,c,h,p,d,g,f,m,b,x,D;for(e=e.replace(/^ +$/gm,"");e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e)){var y=this.tokens[this.tokens.length-1];e=e.substring(i[0].length),y&&"paragraph"===y.type?y.text+="\n"+i[0].trimRight():(i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?i:k(i,"\n")}))}else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2]?i[2].trim():i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if((i=this.rules.nptable.exec(e))&&(o={type:"table",header:v(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/\n$/,"").split("\n"):[]}).header.length===o.align.length){for(e=e.substring(i[0].length),g=0;g<o.align.length;g++)/^ *-+: *$/.test(o.align[g])?o.align[g]="right":/^ *:-+: *$/.test(o.align[g])?o.align[g]="center":/^ *:-+ *$/.test(o.align[g])?o.align[g]="left":o.align[g]=null;for(g=0;g<o.cells.length;g++)o.cells[g]=v(o.cells[g],o.header.length);this.tokens.push(o)}else if(i=this.rules.hr.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"hr"});else if(i=this.rules.blockquote.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"blockquote_start"}),i=i[0].replace(/^ *> ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),c={type:"list_start",ordered:b=(s=i[2]).length>1,start:b?+s:"",loose:!1},this.tokens.push(c),h=[],r=!1,m=(i=i[0].match(this.rules.item)).length,g=0;g<m;g++)d=(o=i[g]).length,~(o=o.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(d-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+d+"}","gm"),"")),g!==m-1&&(l=n.bullet.exec(i[g+1])[0],(s.length>1?1===l.length:l.length>1||this.options.smartLists&&l!==s)&&(e=i.slice(g+1).join("\n")+e,g=m-1)),a=r||/\n\n(?!\s*$)/.test(o),g!==m-1&&(r="\n"===o.charAt(o.length-1),a||(a=r)),a&&(c.loose=!0),D=void 0,(x=/^\[[ xX]\] /.test(o))&&(D=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:x,checked:D,loose:a},h.push(p),this.tokens.push(p),this.token(o,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(m=h.length,g=0;g<m;g++)h[g].loose=!0;this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):u(i[0]):i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),f=i[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[f]||(this.tokens.links[f]={href:i[2],title:i[3]});else if((i=this.rules.table.exec(e))&&(o={type:"table",header:v(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/\n$/,"").split("\n"):[]}).header.length===o.align.length){for(e=e.substring(i[0].length),g=0;g<o.align.length;g++)/^ *-+: *$/.test(o.align[g])?o.align[g]="right":/^ *:-+: *$/.test(o.align[g])?o.align[g]="center":/^ *:-+ *$/.test(o.align[g])?o.align[g]="left":o.align[g]=null;for(g=0;g<o.cells.length;g++)o.cells[g]=v(o.cells[g].replace(/^ *\| *| *\| *$/g,""),o.header.length);this.tokens.push(o)}else if(i=this.rules.lheading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:"="===i[2].charAt(0)?1:2,text:i[1]});else if(t&&(i=this.rules.paragraph.exec(e)))e=e.substring(i[0].length),this.tokens.push({type:"paragraph",text:"\n"===i[1].charAt(i[1].length-1)?i[1].slice(0,-1):i[1]});else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"text",text:i[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var a={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:m,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function i(e,t){if(this.options=t||y.defaults,this.links=e,this.rules=a.normal,this.renderer=this.options.renderer||new s,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=a.pedantic:this.options.gfm&&(this.options.breaks?this.rules=a.breaks:this.rules=a.gfm)}function s(e){this.options=e||y.defaults}function l(){}function o(e){this.tokens=[],this.token=null,this.options=e||y.defaults,this.options.renderer=this.options.renderer||new s,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new c}function c(){this.seen={}}function u(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,function(e){return u.replacements[e]})}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,function(e){return u.replacements[e]});return e}function h(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function p(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t,n){if(e){try{var r=decodeURIComponent(h(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!f.test(n)&&(n=function(e,t){g[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=k(e,"/",!0));return e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}a._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",a.em=p(a.em).replace(/punctuation/g,a._punctuation).getRegex(),a._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,a._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,a._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,a.autolink=p(a.autolink).replace("scheme",a._scheme).replace("email",a._email).getRegex(),a._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,a.tag=p(a.tag).replace("comment",n._comment).replace("attribute",a._attribute).getRegex(),a._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,a._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,a._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,a.link=p(a.link).replace("label",a._label).replace("href",a._href).replace("title",a._title).getRegex(),a.reflink=p(a.reflink).replace("label",a._label).getRegex(),a.normal=b({},a),a.pedantic=b({},a.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",a._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",a._label).getRegex()}),a.gfm=b({},a.normal,{escape:p(a.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),a.gfm.url=p(a.gfm.url,"i").replace("email",a.gfm._extended_email).getRegex(),a.breaks=b({},a.gfm,{br:p(a.br).replace("{2,}","*").getRegex(),text:p(a.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),i.rules=a,i.output=function(e,t,n){return new i(t,n).output(e)},i.prototype.output=function(e){for(var t,n,r,a,s,l,o="";e;)if(s=this.rules.escape.exec(e))e=e.substring(s[0].length),o+=u(s[1]);else if(s=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(s[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(s[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(s[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(s[0])&&(this.inRawBlock=!1),e=e.substring(s[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):u(s[0]):s[0];else if(s=this.rules.link.exec(e)){var c=x(s[2],"()");if(c>-1){var h=4+s[1].length+c;s[2]=s[2].substring(0,c),s[0]=s[0].substring(0,h).trim(),s[3]=""}e=e.substring(s[0].length),this.inLink=!0,r=s[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],a=t[3]):a="":a=s[3]?s[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),o+=this.outputLink(s,{href:i.escapes(r),title:i.escapes(a)}),this.inLink=!1}else if((s=this.rules.reflink.exec(e))||(s=this.rules.nolink.exec(e))){if(e=e.substring(s[0].length),t=(s[2]||s[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=s[0].charAt(0),e=s[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(s,t),this.inLink=!1}else if(s=this.rules.strong.exec(e))e=e.substring(s[0].length),o+=this.renderer.strong(this.output(s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.em.exec(e))e=e.substring(s[0].length),o+=this.renderer.em(this.output(s[6]||s[5]||s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.code.exec(e))e=e.substring(s[0].length),o+=this.renderer.codespan(u(s[2].trim(),!0));else if(s=this.rules.br.exec(e))e=e.substring(s[0].length),o+=this.renderer.br();else if(s=this.rules.del.exec(e))e=e.substring(s[0].length),o+=this.renderer.del(this.output(s[1]));else if(s=this.rules.autolink.exec(e))e=e.substring(s[0].length),r="@"===s[2]?"mailto:"+(n=u(this.mangle(s[1]))):n=u(s[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(s=this.rules.url.exec(e))){if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.inRawBlock?o+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):u(s[0]):s[0]):o+=this.renderer.text(u(this.smartypants(s[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===s[2])r="mailto:"+(n=u(s[0]));else{do{l=s[0],s[0]=this.rules._backpedal.exec(s[0])[0]}while(l!==s[0]);n=u(s[0]),r="www."===s[1]?"http://"+n:n}e=e.substring(s[0].length),o+=this.renderer.link(r,null,n)}return o},i.escapes=function(e){return e?e.replace(i.rules._escapes,"$1"):e},i.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},i.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},i.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,a=0;a<r;a++)t=e.charCodeAt(a),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},s.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var a=this.options.highlight(e,r);null!=a&&a!==e&&(n=!0,e=a)}return r?'<pre><code class="'+this.options.langPrefix+u(r,!0)+'">'+(n?e:u(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:u(e,!0))+"</code></pre>"},s.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},s.prototype.html=function(e){return e},s.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},s.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},s.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},s.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},s.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},s.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},s.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},s.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},s.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},s.prototype.strong=function(e){return"<strong>"+e+"</strong>"},s.prototype.em=function(e){return"<em>"+e+"</em>"},s.prototype.codespan=function(e){return"<code>"+e+"</code>"},s.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},s.prototype.del=function(e){return"<del>"+e+"</del>"},s.prototype.link=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+u(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},s.prototype.image=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},s.prototype.text=function(e){return e},l.prototype.strong=l.prototype.em=l.prototype.codespan=l.prototype.del=l.prototype.text=function(e){return e},l.prototype.link=l.prototype.image=function(e,t,n){return""+n},l.prototype.br=function(){return""},o.parse=function(e,t){return new o(t).parse(e)},o.prototype.parse=function(e){this.inline=new i(e.links,this.options),this.inlineText=new i(e.links,b({},this.options,{renderer:new l})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop(),this.token},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,h(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,a="",i="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(a+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});i+=this.renderer.tablerow(n)}return this.renderer.table(a,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var s=this.token.ordered,l=this.token.start;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,s,l);case"list_item_start":i="";var o=this.token.loose,c=this.token.checked,u=this.token.task;for(this.token.task&&(i+=this.renderer.checkbox(c));"list_item_end"!==this.next().type;)i+=o||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(i,u,c);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var p='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(p);console.log(p)}},c.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function b(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,a=t;--a>=0&&"\\"===n[a];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function k(e,t,n){if(0===e.length)return"";for(var r=0;r<e.length;){var a=e.charAt(e.length-r-1);if(a!==t||n){if(a===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function x(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&--n<0)return r;return-1}function D(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function y(e,t,n){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),D(t=b({},y.defaults,t||{}));var a,i,s=t.highlight,l=0;try{a=r.lex(e,t)}catch(e){return n(e)}i=a.length;var c=function(e){if(e)return t.highlight=s,n(e);var r;try{r=o.parse(a,t)}catch(t){e=t}return t.highlight=s,e?n(e):n(null,r)};if(!s||s.length<3)return c();if(delete t.highlight,!i)return c();for(;l<a.length;l++)!function(e){"code"!==e.type?--i||c():s(e.text,e.lang,function(t,n){return t?c(t):null==n||n===e.text?--i||c():(e.text=n,e.escaped=!0,void(--i||c()))})}(a[l])}else try{return t&&(t=b({},y.defaults,t)),D(t),o.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||y.defaults).silent)return"<p>An error occurred:</p><pre>"+u(e.message+"",!0)+"</pre>";throw e}}m.exec=m,y.options=y.setOptions=function(e){return b(y.defaults,e),y},y.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new s,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},y.defaults=y.getDefaults(),y.Parser=o,y.parser=o.parse,y.Renderer=s,y.TextRenderer=l,y.Lexer=r,y.lexer=r.lex,y.InlineLexer=i,y.inlineLexer=i.output,y.Slugger=c,y.parse=y,e.exports=y}(this||"undefined"!=typeof window&&window)}).call(t,n("DuR2"))},UYHc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("mvHQ"),a=n.n(r),i={name:"vue-open-header",props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{currentMenuTab:this.currentTab,openMenuData:[{menuId:"2",menuName:"开发者接入",menuUrl:""},{menuId:"1",menuName:"解决方案",menuUrl:""}],searchValue:""}},methods:{toRedirect:function(e){this.$emit("changeTab",e.menuId)},toHome:function(){this.$router.push("/home")}},watch:{$route:{handler:function(e,t){},deep:!0},currentTab:function(e,t){this.currentMenuTab=e}},mounted:function(){this.currentMenuTab=this.$route.query.currentTab||"2"}},s={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"open-header"},[r("div",{staticClass:"open-header-wrap border-box flex "},[r("div",{staticClass:"open-header-left",on:{click:e.toHome}},[r("img",{attrs:{src:n("h1R5"),alt:""}})]),e._v(" "),r("div",{staticClass:"open-header-right border-box"},[r("div",{staticClass:"open-header-right_wrap flex flex-space-between"},[r("ul",{staticClass:"flex"},e._l(e.openMenuData,function(t,n){return r("li",{key:n+"menu",class:["menu-li border-box",e.currentMenuTab==t.menuId?"active-tab":""],on:{click:function(n){n.stopPropagation(),n.preventDefault(),e.toRedirect(t)}}},[r("span",[e._v(e._s(t.menuName))])])})),e._v(" "),r("div",{staticClass:"search-wrap"},[r("el-input",{attrs:{placeholder:"请输入搜索内容","prefix-icon":"el-icon-search"},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}})],1)])])])])},staticRenderFns:[]};var l=n("VU/8")(i,s,!1,function(e){n("XJvm")},"data-v-bb7ff05a",null).exports,o=n("P9l9"),c="/open-platform-home-web/",u=n("LlAa"),h={props:{currentTab:{type:[String,Number],default:function(){return"2"}}},data:function(){return{parentId:this.currentTab,activeId:"",menuData:[]}},methods:{changeMenu:function(e){this.activeId=e.menuId,e.children&&e.children.length?(e.expanded=!e.expanded,this.$emit("changeDoc",{})):this.$emit("changeDoc",e)},getMenuData:function(e,t){var n,r=this;(n={parentId:e},Object(o.a)(c+"tree-menu",n)).then(function(e){var t=e.data;if("0000"==t.code)return t.result&&t.result.length&&t.result.forEach(function(e){e.expanded=!1}),void(r.menuData=t.result||[]);u.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})}},watch:{currentTab:function(e,t){this.parentId=e,this.getMenuData(e)}},mounted:function(){this.parentId=this.$route.query.currentTab||"2",this.getMenuData(this.parentId)}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"document-left-body border-box"},[n("ul",{staticClass:"document-ul"},[e._l(e.menuData,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),t.children&&t.children.length?n("span",{class:["li-cell-icon font_family icon-arrow_right",t.expanded?"rotate-icon":""]}):e._e(),e._v(" "),t.children&&t.children.length?e._e():n("span",{staticClass:"li-cell-icon icon-round"})]),e._v(" "),t.children&&t.children.length&&t.expanded?n("ul",[e._l(t.children,function(t,r){return[n("li",{key:r+"level1"},[n("div",{class:["li-cell flex flex-space-between",e.activeId==t.menuId?"active-menu":""],on:{click:function(n){e.changeMenu(t)}}},[n("span",{staticClass:"li-cell-name"},[e._v(e._s(t.menuName))]),e._v(" "),n("span",{staticClass:"li-cell-icon icon-round"})])])]})],2):e._e()])]})],2):e._e()])]})],2):e._e()])]})],2)])},staticRenderFns:[]};var d=n("VU/8")(h,p,!1,function(e){n("iW5U")},"data-v-0331ff27",null).exports,g=n("fZjL"),f=n.n(g),m={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"home-footer-content"},[t("div",{staticClass:"home-site-footer"},[t("p",[this._v("Copyright © "+this._s((new Date).getFullYear())+" 浙江达摩网络科技有限公司 | 浙ICP备15033117号-1")])])])},staticRenderFns:[]};var b=n("VU/8")({name:"index",data:function(){return{}}},m,!1,function(e){n("0cd1")},"data-v-7bbea458",null).exports,v={props:{errorCodeData:{type:[Object,Array],default:function(){return{}}}},data:function(){return{}}},k={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"error-code-wrap"},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:this.errorCodeData}},[t("el-table-column",{attrs:{prop:"errorCode",label:"错误码"}}),this._v(" "),t("el-table-column",{attrs:{prop:"errorInfo",label:"错误信息","show-overflow-tooltip":""}})],1)],1)},staticRenderFns:[]},x=n("VU/8")(v,k,!1,null,null,null).exports,D={props:{value:{type:String,default:function(){return""}},apiData:{type:[Object,Array],default:function(){return{}}}},data:function(){return{menuItemData:this.apiData,describeValue:this.value}},methods:{changeValue:function(e){this.$emit("input",this.describeValue)}},watch:{value:function(e,t){this.describeValue=e,console.log(this.apiData,this.value,e)},apiData:function(e,t){this.menuItemData=e,console.log(this.apiData,this.menuItemData,e)}},mounted:function(){var e=this;e.$nextTick(function(){e.menuItemData=e.apiData,e.describeValue=e.value,console.log(e.apiData,e.value)})}},y={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"api-detail-wrap"},[n("div",{staticClass:"api-detail-h2"},[e._v(e._s(e.menuItemData.interfaceName)+"(v"+e._s(e.menuItemData.version)+")")]),e._v(" "),n("div",{staticClass:"api-detail-descripe"},[n("el-input",{attrs:{disabled:"",type:"textarea",resize:"none",rows:3,placeholder:"请输入内容"},on:{blur:e.changeValue},model:{value:e.menuItemData.interfaceDescribe,callback:function(t){e.$set(e.menuItemData,"interfaceDescribe",t)},expression:"menuItemData.interfaceDescribe"}})],1),e._v(" "),n("div",{staticClass:"api-url m-t-16"},[n("div",{staticClass:"api-detail-p"},[e._v("请求地址:"+e._s(e.menuItemData.interfaceUrl))])]),e._v(" "),n("div",{staticClass:"api-method m-b-10 m-t-10"},[n("div",{staticClass:"api-detail-p"},[e._v("请求方法:"+e._s(e.menuItemData.requestType))])]),e._v(" "),n("div",{staticClass:"api-request-param m-t-10"},[n("div",{staticClass:"api-detail-h3 m-b-10"},[e._v("请求参数:")]),e._v(" "),n("div",[n("el-table",{staticStyle:{width:"100%","margin-bottom":"20px"},attrs:{data:e.menuItemData.frontParams,"row-key":"currentKey",border:"","default-expand-all":"","tree-props":{children:"children",hasChildren:"hasChildren"}}},[n("el-table-column",{attrs:{prop:"currentKey",label:"名称"}}),e._v(" "),n("el-table-column",{attrs:{prop:"type",label:"类型"}}),e._v(" "),n("el-table-column",{attrs:{prop:"example",label:"示例值"}}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"描述"}})],1)],1)]),e._v(" "),n("div",{staticClass:"api-response-param"},[n("div",{staticClass:"api-detail-h3 m-b-10 m-t-27"},[e._v("响应参数:")]),e._v(" "),n("div",[n("el-table",{staticStyle:{width:"100%","margin-bottom":"20px"},attrs:{data:e.menuItemData.resultParams,"row-key":"currentKey",border:"","default-expand-all":"","tree-props":{children:"children",hasChildren:"hasChildren"}}},[n("el-table-column",{attrs:{prop:"currentKey",label:"名称"}}),e._v(" "),n("el-table-column",{attrs:{prop:"type",label:"类型"}}),e._v(" "),n("el-table-column",{attrs:{prop:"example",label:"示例值"}}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"描述"}})],1)],1)]),e._v(" "),e._e(),e._v(" "),n("div",{staticClass:"api-response-success"},[n("div",{staticClass:"api-detail-h3 m-b-10 m-t-27"},[e._v("成功响应示例:")]),e._v(" "),n("div",{staticClass:"api-demo-text"},[n("pre",[e._v(e._s(e.menuItemData.sucReturn))])])]),e._v(" "),n("div",{staticClass:"api-response-error"},[n("div",{staticClass:"api-detail-h3 m-b-10 m-t-27"},[e._v("失败响应示例:")]),e._v(" "),n("div",{staticClass:"api-demo-text"},[n("pre",[e._v(e._s(e.menuItemData.errReturn))])])])])},staticRenderFns:[]};var w=n("VU/8")(D,y,!1,function(e){n("YWao")},"data-v-3f2a56cb",null).exports,_={props:{markdownData:{type:[Object,Array],default:function(){return{}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value}}},data:function(){return{formData:this.markdownData}},watch:{markdownData:function(e,t){this.formData=e}},mounted:function(){this.formData=this.markdownData}},A={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{directives:[{name:"htmlContent",rawName:"v-htmlContent",value:this.formData.content,expression:"formData.content"}],staticClass:"markdown-content"})},staticRenderFns:[]};var C=n("VU/8")(_,A,!1,function(e){n("ub1a")},"data-v-df12d44a",null).exports,I=n("jvWE"),R=n("EFqf"),S=n.n(R),T={props:{currentDoc:{type:[Object,Array],default:function(){return{}}}},components:{openDocFooter:b,errorCodeTable:x,apiDetail:w,markdownContent:C},data:function(){return{menuDetailData:{},formData:{},errorCodeData:[],apiData:{}}},methods:{getErrorCodeData:function(){var e,t=this;(e={},Object(o.a)(c+"list-error-code",e)).then(function(e){var n=e.data;"0000"!=n.code?u.a.errorMsg(n):t.errorCodeData=n.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getApiDetailData:function(e){var t,n=this;(t={interfaceId:e},Object(o.a)(c+"get-api-detail",t)).then(function(e){var t=e.data;if("0000"==t.code){var r=t.result;return r.frontParams=JSON.parse(r.frontParams),r.frontParams=Object(I.b)(r.frontParams),r.resultParams=JSON.parse(r.resultParams),r.resultParams=Object(I.b)(r.resultParams),n.formData.memo=r.interfaceDescribe,n.apiData=JSON.parse(a()(r)),!1}u.a.errorMsg(t)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},getData:function(e){var t,n=this;(t={articleId:e},Object(o.a)(c+"get-article",t)).then(function(e){var t=e.data;if("0000"==t.code)return t.result.content=S()(t.result.content),void(n.formData=t.result||{});u.a.errorMsg(t)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},handleMenuData:function(){var e=this.menuDetailData.relationType;console.log(e);var t=this.menuDetailData.subType;f()(this.menuDetailData).length?0==e?(this.formData={},this.apiData={},this.errorCodeData=[]):1==e?window.open(this.menuDetailData.relationData):2==e?(this.apiData={},this.errorCodeData=[],this.getData(JSON.parse(this.menuDetailData.relationData)[1])):3==e&&"0"==t?(this.apiData={},this.formData={},this.errorCodeData=JSON.parse(this.menuDetailData.relationData)):3==e&&"1"==t&&(this.formData={},this.errorCodeData=[],this.getApiDetailData(JSON.parse(this.menuDetailData.relationData)[2])):(this.formData={},this.apiData={},this.errorCodeData=[])}},watch:{currentDoc:function(e,t){var n=this;n.menuDetailData=e,n.$nextTick(function(){n.handleMenuData()})}},mounted:function(){var e=this;e.menuDetailData=e.currentDoc,e.$nextTick(function(){e.handleMenuData()})}},z={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"document-right"},[n("div",{staticClass:"document-right-body border-box"},[e.formData.content?n("div",{staticClass:"article-contain"},[n("markdown-content",{attrs:{markdownData:e.formData}})],1):e._e(),e._v(" "),Object.keys(e.apiData).length?n("api-detail",{attrs:{apiData:e.apiData}}):e._e(),e._v(" "),e.errorCodeData.length?n("error-code-table",{attrs:{errorCodeData:e.errorCodeData}}):e._e()],1),e._v(" "),n("open-doc-footer")],1)},staticRenderFns:[]};var j={components:{openDocHeader:l,openDocLeft:d,openDocRight:n("VU/8")(T,z,!1,function(e){n("kwzc")},"data-v-3c2ff5ae",null).exports},data:function(){return{currentTab:"2",currentDoc:""}},methods:{changeTab:function(e){this.currentTab=e},changeDoc:function(e){this.currentDoc=JSON.parse(a()(e))}},mounted:function(){this.currentTab=this.$route.query.currentTab||"2"}},L={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"document-center"},[t("open-doc-header",{attrs:{currentTab:this.currentTab},on:{changeTab:this.changeTab}}),this._v(" "),t("div",{staticClass:"document-center-body"},[t("div",{staticClass:"document-center-body_wrap flex"},[t("div",{staticClass:"document-center-left border-box"},[t("open-doc-left",{attrs:{currentTab:this.currentTab},on:{changeDoc:this.changeDoc}})],1),this._v(" "),t("div",{staticClass:"document-center-right"},[t("open-doc-right",{attrs:{currentDoc:this.currentDoc}})],1)])])],1)},staticRenderFns:[]};var P=n("VU/8")(j,L,!1,function(e){n("1gtI")},"data-v-1b503694",null);t.default=P.exports},XJvm:function(e,t){},YWao:function(e,t){},h1R5:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAjCAYAAAAueWA9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1s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BKAHhC9zoEV4KCAOq3KWVwAm9xNytYBWYJZL8n1RgIGPiTr5P3O5CB9jUEc4qLZLs5fcGzbfqLcIcguEDJJA7L2Lg+up27qzt0ZmDY5/GQkGrhUU6I/mn3x2fPe2P5HBHQzWHoQNYkFJ3pK8PoerNsiiCXV3AO6vg5k+e7ql0Ass/blbcuo/WvxF75rpFXhmz4cO8zTejeWJMEJl/kVF91vA7xjiH0eYx9OCy4jALZ3iO0ecDn23w2yfKeQ4Zx2yIPpGAI+ElbB51PAr8AzpWJp/pxzZn8q29P3keNdffMgU4iXClr86LF8v7G7+35ombAZFGXjyW88uXbhPPNsHAP+ZPEiS6CXi6Bls/eccc7Z9xzfswWk5PTwnLMm/sgf8asX/l3LZ3bsxGy/D8mqRF0YJNIyZt9SufYzB5UAFH1ZSITM6jfhvR8l9mxcAj6X0yAW8YFRMaGiWyheJWiZloAzb/gonHPRtEI0Gf9pV09pxg/+c37klT2F/JZne2DHy93w+q7jcOJgCWWPWf1ZDkkKwrSWsyDX0wHFooGKx/vlAs/GIeDnz2uGcEiFMII+EFSgZfqFkGxsgFijslDWYPLm7d1PNjZIvZ3HTTUaC8ufuCpsfuyK6XC0U4OeHnoV2KoKmURTENLpY3DLTY+BoVeq2/LMs3EJeB1ZuoIMryjVn9ODclGDN9NmQVbk/rIOvdt3l7Pnziw1xsJKsFQxuxSUPxQksUnxk8/Ok80Ab3RUoKLpuB3Zu7KejV9JY5tR7UAbYJr0Koz0/OxJMrTOiCZ2H6nkQwHpBOLcCvpqhSkBm9y2gD+IQUNSxitcPRu/9v8CDAA+Mv2xNs98dwAAAABJRU5ErkJggg=="},iW5U:function(e,t){},jvWE:function(e,t,n){"use strict";t.a=function(e,t){var n,t=t||200;return function(){var r=this,a=arguments;n&&clearTimeout(n),n=setTimeout(function(){n=null,e.apply(r,a)},t)}},t.b=function e(t,n,r){var i=[];for(var s in t.properties){var l=t.properties[s];"object"==l.type&&a()(l.properties).length?(l.children=[],l.children=e(l),i.push(l)):"array"==l.type&&a()(l.items.properties).length?(l.children=[],l.children=e(l.items),i.push(l)):i.push(l)}return i};var r=n("fZjL"),a=n.n(r)},kwzc:function(e,t){},ub1a:function(e,t){}});
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,d,i,u=0,s=[];u<r.length;u++)d=r[u],t[d]&&s.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(u=0;u<c.length;u++)i=o(o.s=c[u]);return i};var r={},t={13:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"dc5820857959176b1da4",1:"0ebe3ead93207dc78a78",2:"78f59f0e37cbd9544576",3:"953747746c3caf71cd86",4:"4548fd42b2f176f8de1d",5:"a86d1b66fe77d729cd77",6:"737da25334f9daa2d713",7:"3b027583d4af17e36af0",8:"5e787f5eb2f4bd7cfb7b",9:"9caad4c0ba5b8b4813ee",10:"63807a09986add449f8a"}[e]+".js";var f=setTimeout(d,12e4);function d(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=d,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={13:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"dc5820857959176b1da4",1:"0ebe3ead93207dc78a78",2:"78f59f0e37cbd9544576",3:"953747746c3caf71cd86",4:"c6c8c1a98c99135906eb",5:"a86d1b66fe77d729cd77",6:"737da25334f9daa2d713",7:"3b027583d4af17e36af0",8:"5e787f5eb2f4bd7cfb7b",9:"9caad4c0ba5b8b4813ee",10:"63807a09986add449f8a"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -146,6 +146,9 @@ export default { ...@@ -146,6 +146,9 @@ export default {
font-size: 14px; font-size: 14px;
color: #606266; color: #606266;
border: 1px solid #dcdfe6; border: 1px solid #dcdfe6;
pre {
line-height: 1;
}
} }
} }
</style> </style>
<!--
<markdown-content :markdownData="formData"></markdown-content>
import markdownContent from '@/components/markdown-content.vue';
-->
<template>
<div class="markdown-content" v-htmlContent="formData.content"></div>
</template>
<script>
export default {
props: {
markdownData: {
type: [Object, Array],
default() {
return {};
}
}
},
directives: {
htmlContent: {
// 指令的定义
bind: function(el, param) {
el.innerHTML = param.value;
}
}
},
data() {
return {
formData: this.markdownData
};
},
watch: {
markdownData(newData, oldData) {
this.formData = newData;
}
},
mounted() {
this.formData = this.markdownData;
}
};
</script>
<style lang="less" scoped>
.markdown-content {
h1,
h2,
h3,
h4 {
color: #111111;
font-weight: 400;
margin-top: 1em;
}
h1,
h2,
h3,
h4,
h5 {
font-family: Georgia, Palatino, serif;
}
h1,
h2,
h3,
h4,
h5,
dl {
margin-bottom: 16px;
padding: 0;
}
p {
margin: 8px 0;
}
h1 {
font-size: 48px;
line-height: 54px;
}
h2 {
font-size: 36px;
line-height: 42px;
}
h1,
h2 {
border-bottom: 1px solid #efeaea;
padding-bottom: 10px;
}
h3 {
font-size: 24px;
line-height: 30px;
}
h4 {
font-size: 21px;
line-height: 26px;
}
h5 {
font-size: 18px;
list-style: 23px;
}
a {
color: #0099ff;
margin: 0;
padding: 0;
vertical-align: baseline;
}
a:hover {
text-decoration: none;
color: #ff6600;
}
a:visited {
/*color: purple;*/
}
ul,
ol {
padding: 0;
padding-left: 24px;
margin: 0;
}
li {
line-height: 24px;
}
p,
ul,
ol {
font-size: 16px;
line-height: 24px;
}
ol ol,
ul ol {
list-style-type: lower-roman;
}
pre {
max-width: 800px;
white-space: pre-wrap;
line-height: 1.7em;
overflow: auto;
padding: 6px 10px;
}
/*
code {
font-family: Consolas, Monaco, Andale Mono, monospace;
line-height: 1.5;
font-size: 13px;
}*/
/* code, pre {
border-radius: 3px;
background-color:#f7f7f7;
color: inherit;
}
code {
font-family: Consolas, Monaco, Andale Mono, monospace;
margin: 0 2px;
}
pre {
line-height: 1.7em;
overflow: auto;
padding: 6px 10px;
border-left: 5px solid #6CE26C;
} */
/* pre > code {
border: 0;
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
font-size: .85em;
white-space: pre;
background: 0 0;
} */
/* code {
color: #666555;
} */
/** markdown preview plus 对于代码块的处理有些问题, 所以使用统一的颜色 */
/*code .keyword {
color: #8959a8;
}
code .number {
color: #f5871f;
}
code .comment {
color: #998
}*/
aside {
display: block;
float: right;
width: 390px;
}
blockquote {
border-left: 0.5em solid #eee;
padding: 0 0 0 2em;
margin-left: 0;
}
blockquote cite {
font-size: 14px;
line-height: 20px;
color: #bfbfbf;
}
blockquote cite:before {
content: '\2014 \00A0';
}
blockquote p {
color: #666;
}
hr {
text-align: left;
color: #999;
height: 2px;
padding: 0;
margin: 16px 0;
background-color: #e7e7e7;
border: 0 none;
}
dl {
padding: 0;
}
dl dt {
padding: 10px 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
dd {
margin-left: 0;
}
/* Code below this line is copyright Twitter Inc. */
button,
input,
select,
textarea {
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle;
}
button,
input {
line-height: normal;
*overflow: visible;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
cursor: pointer;
-webkit-appearance: button;
}
input[type='checkbox'],
input[type='radio'] {
cursor: pointer;
}
/* override default chrome & firefox settings */
input:not([type='image']),
textarea {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
input[type='search'] {
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
input[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
label,
input,
select,
textarea {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: normal;
margin-bottom: 18px;
}
input[type='checkbox'],
input[type='radio'] {
cursor: pointer;
margin-bottom: 0;
}
input[type='text'],
input[type='password'],
textarea,
select {
display: inline-block;
width: 210px;
padding: 4px;
font-size: 13px;
font-weight: normal;
line-height: 18px;
height: 18px;
color: #808080;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
select,
input[type='file'] {
height: 27px;
line-height: 27px;
}
textarea {
height: auto;
}
/* grey out placeholders */
:-moz-placeholder {
color: #bfbfbf;
}
::-webkit-input-placeholder {
color: #bfbfbf;
}
input[type='text'],
input[type='password'],
select,
textarea {
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
input[type='text']:focus,
input[type='password']:focus,
textarea:focus {
outline: none;
border-color: rgba(82, 168, 236, 0.8);
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
}
/* buttons */
button {
display: inline-block;
padding: 4px 14px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 13px;
line-height: 18px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
background-color: #0064cd;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
background-image: -o-linear-gradient(top, #049cdb, #0064cd);
background-image: linear-gradient(top, #049cdb, #0064cd);
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border: 1px solid #004b9a;
border-bottom-color: #003f81;
-webkit-transition: 0.1s linear all;
-moz-transition: 0.1s linear all;
transition: 0.1s linear all;
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
button:hover {
color: #fff;
background-position: 0 -15px;
text-decoration: none;
}
button:active {
-webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
table {
*border-collapse: collapse; /* IE7 and lower */
border-spacing: 0;
width: 100%;
}
table {
border: solid #ccc 1px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
/*-webkit-box-shadow: 0 1px 1px #ccc;
-moz-box-shadow: 0 1px 1px #ccc;
box-shadow: 0 1px 1px #ccc; */
}
table tr:hover {
background: #fbf8e9;
-o-transition: all 0.1s ease-in-out;
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
table td,
.table th {
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
padding: 10px;
text-align: left;
}
table th {
background-color: #dce9f9;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: linear-gradient(top, #ebf3fc, #dce9f9);
/*-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
-moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;*/
border-top: none;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
padding: 5px;
}
table td:first-child,
table th:first-child {
border-left: none;
}
table th:first-child {
-moz-border-radius: 6px 0 0 0;
-webkit-border-radius: 6px 0 0 0;
border-radius: 6px 0 0 0;
}
table th:last-child {
-moz-border-radius: 0 6px 0 0;
-webkit-border-radius: 0 6px 0 0;
border-radius: 0 6px 0 0;
}
table th:only-child {
-moz-border-radius: 6px 6px 0 0;
-webkit-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
}
table tr:last-child td:first-child {
-moz-border-radius: 0 0 0 6px;
-webkit-border-radius: 0 0 0 6px;
border-radius: 0 0 0 6px;
}
table tr:last-child td:last-child {
-moz-border-radius: 0 0 6px 0;
-webkit-border-radius: 0 0 6px 0;
border-radius: 0 0 6px 0;
}
}
</style>
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
<div class="document-right-body border-box"> <div class="document-right-body border-box">
<!-- 内容 --> <!-- 内容 -->
<div class="article-contain" v-if="formData.content"> <div class="article-contain" v-if="formData.content">
<div class="markdown-content" v-html="formData.content"></div> <!-- <div class="markdown-content" v-html="formData.content"></div> -->
<markdown-content :markdownData="formData"></markdown-content>
</div> </div>
<!-- api --> <!-- api -->
<api-detail v-if="Object.keys(apiData).length" :apiData="apiData"></api-detail> <api-detail v-if="Object.keys(apiData).length" :apiData="apiData"></api-detail>
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
import openDocFooter from '@/components/open-doc-footer.vue'; import openDocFooter from '@/components/open-doc-footer.vue';
import errorCodeTable from '@/components/error-code-table.vue'; import errorCodeTable from '@/components/error-code-table.vue';
import apiDetail from '@/components/api-detail.vue'; import apiDetail from '@/components/api-detail.vue';
import markdownContent from '@/components/markdown-content.vue';
import { getArtical, getApi, getErrorCode } from '@/api/document'; import { getArtical, getApi, getErrorCode } from '@/api/document';
import errMsg from '@/assets/js/error'; import errMsg from '@/assets/js/error';
import { processObject } from '@/assets/js/public'; import { processObject } from '@/assets/js/public';
...@@ -33,7 +35,8 @@ export default { ...@@ -33,7 +35,8 @@ export default {
components: { components: {
openDocFooter, openDocFooter,
errorCodeTable, errorCodeTable,
apiDetail apiDetail,
markdownContent
}, },
data() { data() {
return { return {
...@@ -127,11 +130,16 @@ export default { ...@@ -127,11 +130,16 @@ export default {
handleMenuData() { handleMenuData() {
const that = this; const that = this;
const type = that.menuDetailData.relationType; const type = that.menuDetailData.relationType;
console.log(type);
const subType = that.menuDetailData.subType; const subType = that.menuDetailData.subType;
if (!Object.keys(that.menuDetailData).length) { if (!Object.keys(that.menuDetailData).length) {
that.formData = {}; that.formData = {};
that.apiData = {}; that.apiData = {};
that.errorCodeData = []; that.errorCodeData = [];
} else if (type == 0) {
that.formData = {};
that.apiData = {};
that.errorCodeData = [];
} else if (type == 1) { } else if (type == 1) {
window.open(that.menuDetailData.relationData); window.open(that.menuDetailData.relationData);
} else if (type == 2) { } else if (type == 2) {
......
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