提交 5691402d authored 作者: 徐立's avatar 徐立

完成初稿

上级 1a632192
module.exports = {
base:'/zhiyong/',
base:'/doc/',
// dest:'public', //指定 vuepress build 的输出目录
title: '知用科技中台系统',
description: '知用科技中台系统',
......
......@@ -3,15 +3,17 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>FE-Interview</title>
<meta name="description" content="前端面试题整理">
<title>知用科技中台系统</title>
<meta name="generator" content="VuePress 1.4.1">
<link rel="preload" href="/FE-Interview-Questions/assets/css/0.styles.826b6fd6.css" as="style"><link rel="preload" href="/FE-Interview-Questions/assets/js/app.988874f4.js" as="script"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/10.5fa31a90.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/11.5bcfe1b7.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/2.8a56b217.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/3.25bd3157.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/4.9fba53f9.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/5.2c24076d.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/6.02410588.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/7.726d87b3.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/8.4f8e9f80.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/9.0d0e8e6c.js">
<link rel="stylesheet" href="/FE-Interview-Questions/assets/css/0.styles.826b6fd6.css">
<meta name="description" content="知用科技中台系统">
<link rel="preload" href="/doc/assets/css/0.styles.5f72ed93.css" as="style"><link rel="preload" href="/doc/assets/js/app.cb54634a.js" as="script"><link rel="preload" href="/doc/assets/js/11.561f4638.js" as="script"><link rel="prefetch" href="/doc/assets/js/10.8d0f82e7.js"><link rel="prefetch" href="/doc/assets/js/12.44240624.js"><link rel="prefetch" href="/doc/assets/js/13.91f29569.js"><link rel="prefetch" href="/doc/assets/js/14.f5b22c2a.js"><link rel="prefetch" href="/doc/assets/js/15.8375844a.js"><link rel="prefetch" href="/doc/assets/js/2.422d5b79.js"><link rel="prefetch" href="/doc/assets/js/3.f56667c3.js"><link rel="prefetch" href="/doc/assets/js/4.677b47b9.js"><link rel="prefetch" href="/doc/assets/js/5.e3898624.js"><link rel="prefetch" href="/doc/assets/js/6.f43bf4c2.js"><link rel="prefetch" href="/doc/assets/js/7.3042b1d5.js"><link rel="prefetch" href="/doc/assets/js/8.e784f1c6.js"><link rel="prefetch" href="/doc/assets/js/9.bbed3ba6.js">
<link rel="stylesheet" href="/doc/assets/css/0.styles.5f72ed93.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="content"><h1>404</h1> <blockquote>Looks like we've got some broken links.</blockquote> <a href="/FE-Interview-Questions/" class="router-link-active">Take me home.</a></div></div></div>
<script src="/FE-Interview-Questions/assets/js/app.988874f4.js" defer></script>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>How did we get here?</blockquote> <a href="/doc/" class="router-link-active">
Take me home.
</a></div></div><div class="global-ui"></div></div>
<script src="/doc/assets/js/app.cb54634a.js" defer></script><script src="/doc/assets/js/11.561f4638.js" defer></script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
#nprogress{pointer-events:none}#nprogress .bar{background:#3eaf7c;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #3eaf7c,0 0 5px #3eaf7c;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#3eaf7c transparent transparent #3eaf7c;border-style:solid;border-width:2px;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.icon.outbound{color:#aaa;display:inline-block;vertical-align:middle;position:relative;top:-1px}.home{padding:3.6rem 2rem 0;max-width:960px;margin:0 auto;display:block}.home .hero{text-align:center}.home .hero img{max-width:100%;max-height:280px;display:block;margin:3rem auto 1.5rem}.home .hero h1{font-size:3rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.8rem auto}.home .hero .description{max-width:35rem;font-size:1.6rem;line-height:1.3;color:#6a8bad}.home .hero .action-button{display:inline-block;font-size:1.2rem;color:#fff;background-color:#3eaf7c;padding:.8rem 1.6rem;border-radius:4px;transition:background-color .1s ease;box-sizing:border-box;border-bottom:1px solid #389d70}.home .hero .action-button:hover{background-color:#4abf8a}.home .features{border-top:1px solid #eaecef;padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%}.home .feature h2{font-size:1.4rem;font-weight:500;border-bottom:none;padding-bottom:0;color:#3a5169}.home .feature p{color:#4e6e8e}.home .footer{padding:2.5rem;border-top:1px solid #eaecef;text-align:center;color:#4e6e8e}@media (max-width:719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}}@media (max-width:419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}.search-box{display:inline-block;position:relative;margin-right:1rem}.search-box input{cursor:text;width:10rem;height:2rem;color:#4e6e8e;display:inline-block;border:1px solid #cfd4db;border-radius:2rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:#fff url(/doc/assets/img/search.83621669.svg) .6rem .5rem no-repeat;background-size:1rem}.search-box input:focus{cursor:auto;border-color:#3eaf7c}.search-box .suggestions{background:#fff;width:20rem;position:absolute;top:2rem;border:1px solid #cfd4db;border-radius:6px;padding:.4rem;list-style-type:none}.search-box .suggestions.align-right{right:0}.search-box .suggestion{line-height:1.4;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.search-box .suggestion a{white-space:normal;color:#5d82a6}.search-box .suggestion a .page-title{font-weight:600}.search-box .suggestion a .header{font-size:.9em;margin-left:.25em}.search-box .suggestion.focused{background-color:#f3f4f5}.search-box .suggestion.focused a{color:#3eaf7c}@media (max-width:959px){.search-box input{cursor:pointer;width:0;border-color:transparent;position:relative}.search-box input:focus{cursor:text;left:0;width:10rem}}@media (-ms-high-contrast:none){.search-box input{height:2rem}}@media (max-width:959px) and (min-width:719px){.search-box .suggestions{left:0}}@media (max-width:719px){.search-box{margin-right:0}.search-box input{left:1rem}.search-box .suggestions{right:0}}@media (max-width:419px){.search-box .suggestions{width:calc(100vw - 4rem)}.search-box input:focus{width:8rem}}.sidebar-button{cursor:pointer;display:none;width:1.25rem;height:1.25rem;position:absolute;padding:.6rem;top:.6rem;left:1rem}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media (max-width:719px){.sidebar-button{display:block}}.dropdown-enter,.dropdown-leave-to{height:0!important}.dropdown-wrapper{cursor:pointer}.dropdown-wrapper .dropdown-title{display:block;font-size:.9rem;font-family:inherit;cursor:inherit;padding:inherit;line-height:1.4rem;background:transparent;border:none;font-weight:500;color:#2c3e50;pointer-events:none}.dropdown-wrapper .dropdown-title:hover{border-color:transparent}.dropdown-wrapper .dropdown-title .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.dropdown-wrapper .nav-dropdown .dropdown-item{color:inherit;line-height:1.7rem}.dropdown-wrapper .nav-dropdown .dropdown-item h4{margin:.45rem 0 0;border-top:1px solid #eee;padding:.45rem 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper{padding:0;list-style:none}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper .dropdown-subitem{font-size:.9em}.dropdown-wrapper .nav-dropdown .dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active,.dropdown-wrapper .nav-dropdown .dropdown-item a:hover{color:#3eaf7c}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid #3eaf7c;border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.dropdown-wrapper .nav-dropdown .dropdown-item:first-child h4{margin-top:0;padding-top:0;border-top:0}@media (max-width:719px){.dropdown-wrapper.open .dropdown-title{margin-bottom:.5rem}.dropdown-wrapper .dropdown-title{font-weight:600;font-size:inherit}.dropdown-wrapper .dropdown-title:hover{color:#3eaf7c}.dropdown-wrapper .nav-dropdown{transition:height .1s ease-out;overflow:hidden}.dropdown-wrapper .nav-dropdown .dropdown-item h4{border-top:0;margin-top:0;padding-top:0}.dropdown-wrapper .nav-dropdown .dropdown-item>a,.dropdown-wrapper .nav-dropdown .dropdown-item h4{font-size:15px;line-height:2rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width:719px){.dropdown-wrapper{height:1.8rem}.dropdown-wrapper.open .nav-dropdown,.dropdown-wrapper:hover .nav-dropdown{display:block!important}.dropdown-wrapper.open:blur{display:none}.dropdown-wrapper .dropdown-title .arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #ccc;border-bottom:0}.dropdown-wrapper .nav-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:#fff;padding:.6rem 0;border:1px solid;border-color:#ddd #ddd #ccc;text-align:left;border-radius:.25rem;white-space:nowrap;margin:0}}.nav-links{display:inline-block}.nav-links a{line-height:1.4rem;color:inherit}.nav-links a.router-link-active,.nav-links a:hover{color:#3eaf7c}.nav-links .nav-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:2rem}.nav-links .nav-item:first-child{margin-left:0}.nav-links .repo-link{margin-left:1.5rem}@media (max-width:719px){.nav-links .nav-item,.nav-links .repo-link{margin-left:0}}@media (min-width:719px){.nav-links a.router-link-active,.nav-links a:hover{color:#2c3e50}.nav-item>a:not(.external).router-link-active,.nav-item>a:not(.external):hover{margin-bottom:-2px;border-bottom:2px solid #46bd87}}.navbar{padding:.7rem 1.5rem;line-height:2.2rem}.navbar a,.navbar img,.navbar span{display:inline-block}.navbar .logo{height:2.2rem;min-width:2.2rem;margin-right:.8rem;vertical-align:top}.navbar .site-name{font-size:1.3rem;font-weight:600;color:#2c3e50;position:relative}.navbar .links{padding-left:1.5rem;box-sizing:border-box;background-color:#fff;white-space:nowrap;font-size:.9rem;position:absolute;right:1.5rem;top:.7rem;display:flex}.navbar .links .search-box{flex:0 0 auto;vertical-align:top}@media (max-width:719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .links{padding-left:1.5rem}.navbar .site-name{width:calc(100vw - 9.4rem);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.page-edit{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-edit{padding:2rem}}@media (max-width:419px){.page-edit{padding:1.5rem}}.page-edit{padding-top:1rem;padding-bottom:1rem;overflow:auto}.page-edit .edit-link{display:inline-block}.page-edit .edit-link a{color:#4e6e8e;margin-right:.25rem}.page-edit .last-updated{float:right;font-size:.9em}.page-edit .last-updated .prefix{font-weight:500;color:#4e6e8e}.page-edit .last-updated .time{font-weight:400;color:#aaa}@media (max-width:719px){.page-edit .edit-link{margin-bottom:.5rem}.page-edit .last-updated{font-size:.8em;float:none;text-align:left}}.page-nav{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-nav{padding:2rem}}@media (max-width:419px){.page-nav{padding:1.5rem}}.page-nav{padding-top:1rem;padding-bottom:0}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid #eaecef;padding-top:1rem;overflow:auto}.page-nav .next{float:right}.page{padding-bottom:2rem;display:block}.sidebar-group .sidebar-group{padding-left:.5em}.sidebar-group:not(.collapsable) .sidebar-heading:not(.clickable){cursor:auto;color:inherit}.sidebar-group.is-sub-group{padding-left:0}.sidebar-group.is-sub-group>.sidebar-heading{font-size:.95em;line-height:1.4;font-weight:400;padding-left:2rem}.sidebar-group.is-sub-group>.sidebar-heading:not(.clickable){opacity:.5}.sidebar-group.is-sub-group>.sidebar-group-items{padding-left:1rem}.sidebar-group.is-sub-group>.sidebar-group-items>li>.sidebar-link{font-size:.95em;border-left:none}.sidebar-group.depth-2>.sidebar-heading{border-left:none}.sidebar-heading{color:#2c3e50;transition:color .15s ease;cursor:pointer;font-size:1.1em;font-weight:700;padding:.35rem 1.5rem .35rem 1.25rem;width:100%;box-sizing:border-box;margin:0;border-left:.25rem solid transparent}.sidebar-heading.open,.sidebar-heading:hover{color:inherit}.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-heading.clickable.active{font-weight:600;color:#3eaf7c;border-left-color:#3eaf7c}.sidebar-heading.clickable:hover{color:#3eaf7c}.sidebar-group-items{transition:height .1s ease-out;font-size:.95em;overflow:hidden}.sidebar .sidebar-sub-headers{padding-left:1rem;font-size:.95em}a.sidebar-link{font-size:1em;font-weight:400;display:inline-block;color:#2c3e50;border-left:.25rem solid transparent;padding:.35rem 1rem .35rem 1.25rem;line-height:1.4;width:100%;box-sizing:border-box}a.sidebar-link:hover{color:#3eaf7c}a.sidebar-link.active{font-weight:600;color:#3eaf7c;border-left-color:#3eaf7c}.sidebar-group a.sidebar-link{padding-left:2rem}.sidebar-sub-headers a.sidebar-link{padding-top:.25rem;padding-bottom:.25rem;border-left:none}.sidebar-sub-headers a.sidebar-link.active{font-weight:500}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .nav-links{display:none;border-bottom:1px solid #eaecef;padding:.5rem 0 .75rem}.sidebar .nav-links a{font-weight:600}.sidebar .nav-links .nav-item,.sidebar .nav-links .repo-link{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar>.sidebar-links{padding:1.5rem 0}.sidebar>.sidebar-links>li>a.sidebar-link{font-size:1.1em;line-height:1.7;font-weight:700}.sidebar>.sidebar-links>li:not(:first-child){margin-top:.75rem}@media (max-width:719px){.sidebar .nav-links{display:block}.sidebar .nav-links .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar>.sidebar-links{padding:1rem 0}}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.theme-default-content code{color:#476582;padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.05);border-radius:3px}.theme-default-content code .token.deleted{color:#ec5975}.theme-default-content code .token.inserted{color:#3eaf7c}.theme-default-content pre,.theme-default-content pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#282c34;border-radius:6px;overflow:auto}.theme-default-content pre[class*=language-] code,.theme-default-content pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{position:relative;background-color:#282c34;border-radius:6px}div[class*=language-] .highlight-lines{-webkit-user-select:none;-ms-user-select:none;user-select:none;padding-top:1.3rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlighted{background-color:rgba(0,0,0,.66)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent;position:relative;z-index:1}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:hsla(0,0%,100%,.4)}div[class*=language-]:not(.line-numbers-mode) .line-numbers-wrapper{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlighted{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlighted:before{content:" ";position:absolute;z-index:3;left:0;top:0;display:block;width:3.5rem;height:100%;background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode pre{padding-left:4.5rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers-wrapper{position:absolute;top:0;width:3.5rem;text-align:center;color:hsla(0,0%,100%,.3);padding:1.25rem 0;line-height:1.4}div[class*=language-].line-numbers-mode .line-numbers-wrapper br{-webkit-user-select:none;-ms-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number{position:relative;z-index:4;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;z-index:2;top:0;left:0;width:3.5rem;height:100%;border-radius:6px 0 0 6px;border-right:1px solid rgba(0,0,0,.66);background-color:#282c34}div[class~=language-js]:before{content:"js"}div[class~=language-ts]:before{content:"ts"}div[class~=language-html]:before{content:"html"}div[class~=language-md]:before{content:"md"}div[class~=language-vue]:before{content:"vue"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"stylus"}div[class~=language-go]:before{content:"go"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-sh]:before{content:"sh"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-py]:before{content:"py"}div[class~=language-docker]:before{content:"docker"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-makefile]:before{content:"makefile"}div[class~=language-javascript]:before{content:"js"}div[class~=language-typescript]:before{content:"ts"}div[class~=language-markup]:before{content:"html"}div[class~=language-markdown]:before{content:"md"}div[class~=language-json]:before{content:"json"}div[class~=language-ruby]:before{content:"rb"}div[class~=language-python]:before{content:"py"}div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}.custom-block .custom-block-title{font-weight:600;margin-bottom:-.4rem}.custom-block.danger,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.tip{background-color:#f3f5f7;border-color:#42b983}.custom-block.warning{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:#2c3e50}.custom-block.danger{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:#2c3e50}.custom-block.details{display:block;position:relative;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4{margin-top:0}.custom-block.details figure:last-child,.custom-block.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary{outline:none;cursor:pointer}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-bottom:6px solid #ccc}.arrow.down,.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent}.arrow.down{border-top:6px solid #ccc}.arrow.right{border-left:6px solid #ccc}.arrow.left,.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent}.arrow.left{border-right:6px solid #ccc}.theme-default-content:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.theme-default-content:not(.custom){padding:2rem}}@media (max-width:419px){.theme-default-content:not(.custom){padding:1.5rem}}.table-of-contents .badge{vertical-align:middle}body,html{padding:0;margin:0;background-color:#fff}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;color:#2c3e50}.page{padding-left:20rem}.navbar{z-index:20;right:0;height:3.6rem;background-color:#fff;box-sizing:border-box;border-bottom:1px solid #eaecef}.navbar,.sidebar-mask{position:fixed;top:0;left:0}.sidebar-mask{z-index:9;width:100vw;height:100vh;display:none}.sidebar{font-size:16px;background-color:#fff;width:20rem;position:fixed;z-index:10;margin:0;top:3.6rem;left:0;bottom:0;box-sizing:border-box;border-right:1px solid #eaecef;overflow-y:auto}.theme-default-content:not(.custom)>:first-child{margin-top:3.6rem}.theme-default-content:not(.custom) a:hover{text-decoration:underline}.theme-default-content:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #ddd;border-radius:4px}.theme-default-content:not(.custom) img{max-width:100%}.theme-default-content.custom{padding:0;margin:0}.theme-default-content.custom img{max-width:100%}a{font-weight:500;text-decoration:none}a,p a code{color:#3eaf7c}p a code{font-weight:400}kbd{background:#eee;border:.15rem solid #ddd;border-bottom:.25rem solid #ddd;border-radius:.15rem;padding:0 .15em}blockquote{font-size:1rem;color:#999;border-left:.2rem solid #dfe2e5;margin:1rem 0;padding:.25rem 0 .25rem 1rem}blockquote>p{margin:0}ol,ul{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25}.theme-default-content:not(.custom)>h1,.theme-default-content:not(.custom)>h2,.theme-default-content:not(.custom)>h3,.theme-default-content:not(.custom)>h4,.theme-default-content:not(.custom)>h5,.theme-default-content:not(.custom)>h6{margin-top:-3.1rem;padding-top:4.6rem;margin-bottom:0}.theme-default-content:not(.custom)>h1:first-child,.theme-default-content:not(.custom)>h2:first-child,.theme-default-content:not(.custom)>h3:first-child,.theme-default-content:not(.custom)>h4:first-child,.theme-default-content:not(.custom)>h5:first-child,.theme-default-content:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.theme-default-content:not(.custom)>h1:first-child+.custom-block,.theme-default-content:not(.custom)>h1:first-child+p,.theme-default-content:not(.custom)>h1:first-child+pre,.theme-default-content:not(.custom)>h2:first-child+.custom-block,.theme-default-content:not(.custom)>h2:first-child+p,.theme-default-content:not(.custom)>h2:first-child+pre,.theme-default-content:not(.custom)>h3:first-child+.custom-block,.theme-default-content:not(.custom)>h3:first-child+p,.theme-default-content:not(.custom)>h3:first-child+pre,.theme-default-content:not(.custom)>h4:first-child+.custom-block,.theme-default-content:not(.custom)>h4:first-child+p,.theme-default-content:not(.custom)>h4:first-child+pre,.theme-default-content:not(.custom)>h5:first-child+.custom-block,.theme-default-content:not(.custom)>h5:first-child+p,.theme-default-content:not(.custom)>h5:first-child+pre,.theme-default-content:not(.custom)>h6:first-child+.custom-block,.theme-default-content:not(.custom)>h6:first-child+p,.theme-default-content:not(.custom)>h6:first-child+pre{margin-top:2rem}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid #eaecef}h3{font-size:1.35rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}.line-number,code,kbd{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}ol,p,ul{line-height:1.7}hr{border:0;border-top:1px solid #eaecef}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}td,th{border:1px solid #dfe2e5;padding:.6em 1em}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.no-navbar .theme-default-content:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .sidebar{top:0}@media (min-width:720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}@media (max-width:959px){.sidebar{font-size:15px;width:16.4rem}.page{padding-left:16.4rem}}@media (max-width:719px){.sidebar{top:0;padding-top:3.6rem;transform:translateX(-100%);transition:transform .2s ease}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translateX(0)}.theme-container.no-navbar .sidebar{padding-top:0}}@media (max-width:419px){h1{font-size:1.9rem}.theme-default-content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}.badge[data-v-57aa87a4]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff}.badge.green[data-v-57aa87a4],.badge.tip[data-v-57aa87a4],.badge[data-v-57aa87a4]{background-color:#42b983}.badge.error[data-v-57aa87a4]{background-color:#da5961}.badge.warn[data-v-57aa87a4],.badge.warning[data-v-57aa87a4],.badge.yellow[data-v-57aa87a4]{background-color:#e7c000}.badge+.badge[data-v-57aa87a4]{margin-left:5px}
\ No newline at end of file
.home{padding:3.6rem 2rem 0;max-width:960px;margin:0 auto}.home .hero{text-align:center}.home .hero img{max-height:280px;display:block;margin:3rem auto 1.5rem}.home .hero h1{font-size:3rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.8rem auto}.home .hero .description{max-width:35rem;font-size:1.6rem;line-height:1.3;color:#6a8bad}.home .hero .action-button{display:inline-block;font-size:1.2rem;color:#fff;background-color:#3eaf7c;padding:.8rem 1.6rem;border-radius:4px;transition:background-color .1s ease;box-sizing:border-box;border-bottom:1px solid #389d70}.home .hero .action-button:hover{background-color:#4abf8a}.home .features{border-top:1px solid #eaecef;padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%}.home .feature h2{font-size:1.4rem;font-weight:500;border-bottom:none;padding-bottom:0;color:#3a5169}.home .feature p{color:#4e6e8e}.home .footer{padding:2.5rem;border-top:1px solid #eaecef;text-align:center;color:#4e6e8e}@media (max-width:719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}}@media (max-width:419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}.custom-code-highlight .content code[data-v-099ab69c]{color:#c7254e;background-color:#f9f2f4;font-size:14px;border-radius:5px;padding-left:5px;padding-right:5px;margin:auto 3px}.custom-code-highlight .content blockquote[data-v-099ab69c]{padding:2px 30px;color:#555;border-left:6px solid #c7e6cc;background:#f1f5f3;font-size:1rem}.badge[data-v-099ab69c]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff;margin-right:5px;background-color:#42b983}.badge.middle[data-v-099ab69c]{vertical-align:middle}.badge.top[data-v-099ab69c]{vertical-align:top}.badge.green[data-v-099ab69c],.badge.tip[data-v-099ab69c]{background-color:#42b983}.badge.error[data-v-099ab69c]{background-color:#da5961}.badge.warn[data-v-099ab69c],.badge.warning[data-v-099ab69c],.badge.yellow[data-v-099ab69c]{background-color:#e7c000}.search-box{display:inline-block;position:relative;margin-right:1rem}.search-box input{cursor:text;width:10rem;color:#4e6e8e;display:inline-block;border:1px solid #cfd4db;border-radius:2rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:#fff url(/FE-Interview-Questions/assets/img/search.83621669.svg) .6rem .5rem no-repeat;background-size:1rem}.search-box input:focus{cursor:auto;border-color:#3eaf7c}.search-box .suggestions{background:#fff;width:20rem;position:absolute;top:1.5rem;border:1px solid #cfd4db;border-radius:6px;padding:.4rem;list-style-type:none}.search-box .suggestions.align-right{right:0}.search-box .suggestion{line-height:1.4;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.search-box .suggestion a{white-space:normal;color:#5d82a6}.search-box .suggestion a .page-title{font-weight:600}.search-box .suggestion a .header{font-size:.9em;margin-left:.25em}.search-box .suggestion.focused{background-color:#f3f4f5}.search-box .suggestion.focused a{color:#3eaf7c}@media (max-width:959px){.search-box input{cursor:pointer;width:0;border-color:transparent;position:relative}.search-box input:focus{cursor:text;left:0;width:10rem}}@media (max-width:959px) and (min-width:719px){.search-box .suggestions{left:0}}@media (max-width:719px){.search-box{margin-right:0}.search-box input{left:1rem}.search-box .suggestions{right:0}}@media (max-width:419px){.search-box .suggestions{width:calc(100vw - 4rem)}.search-box input:focus{width:8rem}}.dropdown-enter,.dropdown-leave-to{height:0!important}.dropdown-wrapper{cursor:pointer}.dropdown-wrapper .dropdown-title{display:block}.dropdown-wrapper .dropdown-title:hover{border-color:transparent}.dropdown-wrapper .dropdown-title .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.dropdown-wrapper .nav-dropdown .dropdown-item{color:inherit;line-height:1.7rem}.dropdown-wrapper .nav-dropdown .dropdown-item h4{margin:.45rem 0 0;border-top:1px solid #eee;padding:.45rem 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper{padding:0;list-style:none}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper .dropdown-subitem{font-size:.9em}.dropdown-wrapper .nav-dropdown .dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active,.dropdown-wrapper .nav-dropdown .dropdown-item a:hover{color:#3eaf7c}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid #3eaf7c;border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.dropdown-wrapper .nav-dropdown .dropdown-item:first-child h4{margin-top:0;padding-top:0;border-top:0}@media (max-width:719px){.dropdown-wrapper.open .dropdown-title{margin-bottom:.5rem}.dropdown-wrapper .nav-dropdown{transition:height .1s ease-out;overflow:hidden}.dropdown-wrapper .nav-dropdown .dropdown-item h4{border-top:0;margin-top:0;padding-top:0}.dropdown-wrapper .nav-dropdown .dropdown-item>a,.dropdown-wrapper .nav-dropdown .dropdown-item h4{font-size:15px;line-height:2rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width:719px){.dropdown-wrapper{height:1.8rem}.dropdown-wrapper:hover .nav-dropdown{display:block!important}.dropdown-wrapper .dropdown-title .arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #ccc;border-bottom:0}.dropdown-wrapper .nav-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:#fff;padding:.6rem 0;border:1px solid #ddd;border-bottom-color:#ccc;text-align:left;border-radius:.25rem;white-space:nowrap;margin:0}}.nav-links{display:inline-block}.nav-links a{line-height:1.4rem;color:inherit}.nav-links a.router-link-active,.nav-links a:hover{color:#3eaf7c}.nav-links .nav-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:2rem}.nav-links .nav-item:first-child{margin-left:0}.nav-links .repo-link{margin-left:1.5rem}@media (max-width:719px){.nav-links .nav-item,.nav-links .repo-link{margin-left:0}}@media (min-width:719px){.nav-links a.router-link-active,.nav-links a:hover{color:#2c3e50}.nav-item>a:not(.external).router-link-active,.nav-item>a:not(.external):hover{margin-bottom:-2px;border-bottom:2px solid #46bd87}}.navbar{padding:.7rem 1.5rem;line-height:2.2rem;position:relative}.navbar a,.navbar img,.navbar span{display:inline-block}.navbar .logo{height:2.2rem;min-width:2.2rem;margin-right:.8rem;vertical-align:top}.navbar .site-name{font-size:1.3rem;font-weight:600;color:#2c3e50;position:relative}.navbar .links{padding-left:1.5rem;box-sizing:border-box;background-color:#fff;white-space:nowrap;font-size:.9rem;position:absolute;right:1.5rem;top:.7rem;display:flex}.navbar .links .search-box{flex:0 0 auto;vertical-align:top}.navbar .links .nav-links{flex:1}@media (max-width:719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .links{padding-left:1.5rem}}.page-edit,.page-nav{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-edit,.page-nav{padding:2rem}}@media (max-width:419px){.page-edit,.page-nav{padding:1.5rem}}.page{padding-bottom:2rem}.page-edit{padding-top:1rem;padding-bottom:1rem;overflow:auto}.page-edit .edit-link{display:inline-block}.page-edit .edit-link a{color:#4e6e8e;margin-right:.25rem}.page-edit .last-updated{float:right;font-size:.9em}.page-edit .last-updated .prefix{font-weight:500;color:#4e6e8e}.page-edit .last-updated .time{font-weight:400;color:#aaa}.page-nav{padding-top:1rem;padding-bottom:0}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid #eaecef;padding-top:1rem;overflow:auto}.page-nav .next{float:right}@media (max-width:719px){.page-edit .edit-link{margin-bottom:.5rem}.page-edit .last-updated{font-size:.8em;float:none;text-align:left}}.sidebar-button{display:none;width:1.25rem;height:1.25rem;position:absolute;padding:.6rem;top:.6rem;left:1rem}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media (max-width:719px){.sidebar-button{display:block}}.sidebar-group:not(.first){margin-top:1em}.sidebar-group .sidebar-group{padding-left:.5em}.sidebar-group:not(.collapsable) .sidebar-heading{cursor:auto;color:inherit}.sidebar-heading{color:#999;transition:color .15s ease;cursor:pointer;font-size:1.1em;font-weight:700;padding:0 1.5rem;margin-top:0;margin-bottom:.5rem}.sidebar-heading.open,.sidebar-heading:hover{color:inherit}.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-heading:.open .arrow{top:-.18em}.sidebar-group-items{transition:height .1s ease-out;overflow:hidden}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .nav-links{display:none;border-bottom:1px solid #eaecef;padding:.5rem 0 .75rem 0}.sidebar .nav-links a{font-weight:600}.sidebar .nav-links .nav-item,.sidebar .nav-links .repo-link{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar .sidebar-links{padding:1.5rem 0}@media (max-width:719px){.sidebar .nav-links{display:block}.sidebar .nav-links .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar .sidebar-links{padding:1rem 0}}.sw-update-popup{position:fixed;right:1em;bottom:1em;padding:1em;border:1px solid #3eaf7c;border-radius:3px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.5);text-align:center}.sw-update-popup button{margin-top:.5em;padding:.25em 2em}.sw-update-popup-enter-active,.sw-update-popup-leave-active{transition:opacity .3s,transform .3s}.sw-update-popup-enter,.sw-update-popup-leave-to{opacity:0;transform:translateY(50%) scale(.5)}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}#nprogress{pointer-events:none}#nprogress .bar{background:#3eaf7c;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #3eaf7c,0 0 5px #3eaf7c;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#3eaf7c;border-left-color:#3eaf7c;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.content code{color:#476582;padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.05);border-radius:3px}.content pre,.content pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#282c34;border-radius:6px;overflow:auto}.content pre[class*=language-] code,.content pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{position:relative;background-color:#282c34;border-radius:6px}div[class*=language-] .highlight-lines{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:1.3rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlighted{background-color:rgba(0,0,0,.66)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent;position:relative;z-index:1}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:hsla(0,0%,100%,.4)}div[class*=language-]:not(.line-numbers-mode) .line-numbers-wrapper{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlighted{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlighted:before{content:" ";position:absolute;z-index:3;left:0;top:0;display:block;width:3.5rem;height:100%;background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode pre{padding-left:4.5rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers-wrapper{position:absolute;top:0;width:3.5rem;text-align:center;color:hsla(0,0%,100%,.3);padding:1.25rem 0;line-height:1.4}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number,div[class*=language-].line-numbers-mode .line-numbers-wrapper br{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number{position:relative;z-index:4;font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;z-index:2;top:0;left:0;width:3.5rem;height:100%;border-radius:6px 0 0 6px;border-right:1px solid rgba(0,0,0,.66);background-color:#282c34}div[class~=language-js]:before{content:"js"}div[class~=language-ts]:before{content:"ts"}div[class~=language-html]:before{content:"html"}div[class~=language-md]:before{content:"md"}div[class~=language-vue]:before{content:"vue"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"stylus"}div[class~=language-go]:before{content:"go"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-sh]:before{content:"sh"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-py]:before{content:"py"}div[class~=language-javascript]:before{content:"js"}div[class~=language-typescript]:before{content:"ts"}div[class~=language-markup]:before{content:"html"}div[class~=language-markdown]:before{content:"md"}div[class~=language-json]:before{content:"json"}div[class~=language-ruby]:before{content:"rb"}div[class~=language-python]:before{content:"py"}div[class~=language-bash]:before{content:"sh"}.custom-block .custom-block-title{font-weight:600;margin-bottom:-.4rem}.custom-block.danger,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.tip{background-color:#f3f5f7;border-color:#42b983}.custom-block.warning{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:#2c3e50}.custom-block.danger{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:#2c3e50}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-bottom:6px solid #ccc}.arrow.down,.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent}.arrow.down{border-top:6px solid #ccc}.arrow.right{border-left:6px solid #ccc}.arrow.left,.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent}.arrow.left{border-right:6px solid #ccc}.content:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.content:not(.custom){padding:2rem}}@media (max-width:419px){.content:not(.custom){padding:1.5rem}}.table-of-contents .badge{vertical-align:middle}body,html{padding:0;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;color:#2c3e50}.page{padding-left:20rem}.navbar{z-index:20;right:0;height:3.6rem;background-color:#fff;box-sizing:border-box;border-bottom:1px solid #eaecef}.navbar,.sidebar-mask{position:fixed;top:0;left:0}.sidebar-mask{z-index:9;width:100vw;height:100vh;display:none}.sidebar{font-size:15px;background-color:#fff;width:20rem;position:fixed;z-index:10;margin:0;top:3.6rem;left:0;bottom:0;box-sizing:border-box;border-right:1px solid #eaecef;overflow-y:auto}.content:not(.custom)>:first-child{margin-top:3.6rem}.content:not(.custom) a:hover{text-decoration:underline}.content:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #ddd;border-radius:4px}.content:not(.custom) img{max-width:100%}.content.custom{padding:0;margin:0}.content.custom img{max-width:100%}a{font-weight:500;text-decoration:none}a,p a code{color:#3eaf7c}p a code{font-weight:400}kbd{background:#eee;border:.15rem solid #ddd;border-bottom:.25rem solid #ddd;border-radius:.15rem;padding:0 .15em}blockquote{font-size:1.2rem;color:#999;border-left:.25rem solid #dfe2e5;margin-left:0;padding-left:1rem}ol,ul{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25}.content:not(.custom)>h1,.content:not(.custom)>h2,.content:not(.custom)>h3,.content:not(.custom)>h4,.content:not(.custom)>h5,.content:not(.custom)>h6{margin-top:-3.1rem;padding-top:4.6rem;margin-bottom:0}.content:not(.custom)>h1:first-child,.content:not(.custom)>h2:first-child,.content:not(.custom)>h3:first-child,.content:not(.custom)>h4:first-child,.content:not(.custom)>h5:first-child,.content:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.content:not(.custom)>h1:first-child+.custom-block,.content:not(.custom)>h1:first-child+p,.content:not(.custom)>h1:first-child+pre,.content:not(.custom)>h2:first-child+.custom-block,.content:not(.custom)>h2:first-child+p,.content:not(.custom)>h2:first-child+pre,.content:not(.custom)>h3:first-child+.custom-block,.content:not(.custom)>h3:first-child+p,.content:not(.custom)>h3:first-child+pre,.content:not(.custom)>h4:first-child+.custom-block,.content:not(.custom)>h4:first-child+p,.content:not(.custom)>h4:first-child+pre,.content:not(.custom)>h5:first-child+.custom-block,.content:not(.custom)>h5:first-child+p,.content:not(.custom)>h5:first-child+pre,.content:not(.custom)>h6:first-child+.custom-block,.content:not(.custom)>h6:first-child+p,.content:not(.custom)>h6:first-child+pre{margin-top:2rem}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid #eaecef}h3{font-size:1.35rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}.line-number,code,kbd{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}ol,p,ul{line-height:1.7}hr{border:0;border-top:1px solid #eaecef}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}td,th{border:1px solid #dfe2e5;padding:.6em 1em}.custom-layout{padding-top:3.6rem}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.no-navbar .content:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .sidebar{top:0}.theme-container.no-navbar .custom-layout{padding-top:0}@media (min-width:720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}@media (max-width:959px){.sidebar{font-size:15px;width:16.4rem}.page{padding-left:16.4rem}}@media (max-width:719px){.sidebar{top:0;padding-top:3.6rem;transform:translateX(-100%);transition:transform .2s ease}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translateX(0)}.theme-container.no-navbar .sidebar{padding-top:0}}@media (max-width:419px){h1{font-size:1.9rem}.content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}.icon.outbound{color:#aaa;display:inline-block}.custom-code-highlight .content code{color:#c7254e;background-color:#f9f2f4;font-size:14px;border-radius:5px;padding-left:5px;padding-right:5px;margin:auto 3px}.custom-code-highlight .content blockquote{padding:2px 30px;color:#555;border-left:6px solid #c7e6cc;background:#f1f5f3;font-size:1rem}.sidebar .sidebar-sub-headers{padding-left:1rem;font-size:.95em}a.sidebar-link{font-weight:400;display:inline-block;color:#2c3e50;border-left:.25rem solid transparent;padding:.35rem 1rem .35rem 1.25rem;line-height:1.4;width:100%;box-sizing:border-box}a.sidebar-link:hover{color:#3eaf7c}a.sidebar-link.active{font-weight:600;color:#3eaf7c;border-left-color:#3eaf7c}.sidebar-group a.sidebar-link{padding-left:2rem}.sidebar-sub-headers a.sidebar-link{padding-top:.25rem;padding-bottom:.25rem;border-left:none}.sidebar-sub-headers a.sidebar-link.active{font-weight:500}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{168:function(t,s,e){"use strict";e.r(s);var a={mounted:function(){var t=document.createElement("script");t.type="text/javascript",t.charset="UTF-8",t.src="http://tajs.qq.com/stats?sId=59154049",document.body.appendChild(t)}},n=e(0),r=Object(n.a)(a,function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"content"},[t._m(0),t._v(" "),e("blockquote",[e("p",[e("a",{attrs:{href:"https://upload-images.jianshu.io/upload_images/1480597-1f247397539045cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240",target:"_blank",rel:"noopener noreferrer"}},[t._v("如果您觉得有帮助,可以\b打赏我"),e("OutboundLink")],1),t._v(" "),e("img",{attrs:{src:"!%5B%5D(https://upload-images.jianshu.io/upload_images/1480597-1f247397539045cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)",alt:""}})])]),t._v(" "),e("blockquote",[e("p",[e("a",{attrs:{href:"https://upload-images.jianshu.io/upload_images/1480597-933c7247ddac5ed4.png",target:"_blank",rel:"noopener noreferrer"}},[t._v("关注微信公众号获取更多面试题:@静观流叶"),e("OutboundLink")],1),t._v(" "),e("img",{attrs:{src:"!%5B%5D(https://upload-images.jianshu.io/upload_images/1480597-933c7247ddac5ed4.png)",alt:""}})])]),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._m(4),t._v(" "),t._m(5),t._m(6),t._v(" "),t._m(7),t._v(" "),t._m(8),t._m(9),t._v(" "),t._m(10),t._v(" "),t._m(11),t._m(12),t._v(" "),t._m(13),t._v(" "),t._m(14),t._v(" "),t._m(15),t._v(" "),t._m(16),t._v(" "),t._m(17),t._v(" "),t._m(18),t._v(" "),t._m(19),t._v(" "),t._m(20),t._v(" "),e("p",[t._v("用处?")]),t._v(" "),t._m(21),t._v(" "),t._m(22),t._v(" "),t._m(23),t._v(" "),t._m(24),t._v(" "),t._m(25),t._v(" "),t._m(26),t._v(" "),t._m(27),t._v(" "),t._m(28),t._v(" "),t._m(29),t._v(" "),t._m(30),t._v(" "),t._m(31),t._v(" "),t._m(32),t._v(" "),t._m(33),t._v(" "),t._m(34),t._v(" "),t._m(35),t._v(" "),t._m(36),t._v(" "),t._m(37),t._v(" "),t._m(38),t._v(" "),t._m(39),t._v(" "),t._m(40),t._v(" "),t._m(41),t._v(" "),t._m(42),t._v(" "),t._m(43),t._v(" "),t._m(44),t._v(" "),t._m(45),t._v(" "),t._m(46),t._v(" "),t._m(47),t._v(" "),t._m(48),t._v(" "),t._m(49),t._v(" "),t._m(50),t._v(" "),t._m(51),t._m(52),t._v(" "),t._m(53),t._v(" "),t._m(54),t._v(" "),t._m(55),t._v(" "),t._m(56),t._v(" "),t._m(57),t._v(" "),t._m(58),t._v(" "),t._m(59),t._v(" "),t._m(60),t._v(" "),t._m(61),t._v(" "),t._m(62),t._v(" "),t._m(63),t._v(" "),t._m(64),t._v(" "),t._m(65),t._v(" "),t._m(66),t._v(" "),t._m(67),t._v(" "),t._m(68),t._v(" "),t._m(69),t._v(" "),t._m(70),t._v(" "),t._m(71),t._v(" "),t._m(72),t._v(" "),t._m(73),t._v(" "),t._m(74),t._v(" "),t._m(75),t._v(" "),t._m(76),t._v(" "),t._m(77),t._v(" "),t._m(78),t._v(" "),t._m(79),t._v(" "),t._m(80),t._v(" "),t._m(81),t._v(" "),t._m(82),t._v(" "),t._m(83),t._m(84),t._v(" "),t._m(85),t._m(86),t._v(" "),t._m(87),t._v(" "),t._m(88),t._m(89),t._v(" "),t._m(90),t._v(" "),t._m(91),t._v(" "),t._m(92),t._v(" "),t._m(93),t._v(" "),t._m(94),t._v(" "),t._m(95),t._v(" "),t._m(96),t._v(" "),t._m(97),t._v(" "),t._m(98),t._v(" "),t._m(99),t._v(" "),t._m(100),t._v(" "),t._m(101),t._v(" "),t._m(102),t._v(" "),t._m(103),t._v(" "),t._m(104),t._v(" "),t._m(105),t._m(106),t._v(" "),t._m(107),t._v(" "),t._m(108),t._m(109),t._v(" "),t._m(110),t._v(" "),t._m(111),t._v(" "),t._m(112),t._v(" "),t._m(113),t._v(" "),t._m(114),t._v(" "),t._m(115),t._v(" "),t._m(116),t._m(117),t._m(118),t._v(" "),t._m(119),t._v(" "),t._m(120),t._v(" "),t._m(121),t._v(" "),t._m(122),t._m(123),t._m(124),t._v(" "),t._m(125),t._v(" "),t._m(126),t._v(" "),t._m(127),t._v(" "),t._m(128),t._v(" "),t._m(129),t._v(" "),t._m(130),t._v(" "),t._m(131),t._v(" "),t._m(132)])},[function(){var t=this.$createElement,s=this._self._c||t;return s("h1",{attrs:{id:"第六部分:精简版"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#第六部分:精简版","aria-hidden":"true"}},[this._v("#")]),this._v(" 第六部分:精简版")])},function(){var t=this.$createElement,s=this._self._c||t;return s("h2",{attrs:{id:"一、css相关"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#一、css相关","aria-hidden":"true"}},[this._v("#")]),this._v(" 一、CSS相关")])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_1-1-左边定宽,右边自适应方案:float-margin,float-calc"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_1-1-左边定宽,右边自适应方案:float-margin,float-calc","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.1 左边定宽,右边自适应方案:float + margin,float + calc")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-css extra-class"},[e("pre",{pre:!0,attrs:{class:"language-css"}},[e("code",[e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案1 */")]),t._v(" \n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".left")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" left"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".right")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("margin-left")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案2 */")]),t._v(" \n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".left")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" left"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".right")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("calc")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("100% - 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" left"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_1-2-左右两边定宽,中间自适应:float,float-calc-圣杯布局(设置bfc,margin负值法),flex"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_1-2-左右两边定宽,中间自适应:float,float-calc-圣杯布局(设置bfc,margin负值法),flex","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.2 左右两边定宽,中间自适应:float,float + calc, 圣杯布局(设置BFC,margin负值法),flex")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-css extra-class"},[e("pre",{pre:!0,attrs:{class:"language-css"}},[e("code",[e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("height")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 200px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap > div")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("height")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案1 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".left")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" left"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".right")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" right"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("margin")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 0 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案2 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".left")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" left"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".right")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("float")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" right"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("calc")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("100% - 240px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("margin-left")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案3 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("display")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" flex"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".left")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".right")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 120px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("flex")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 1"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_1-3-左右居中"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_1-3-左右居中","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.3 左右居中")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("行内元素: "),e("code",[t._v("text-align: center")])]),t._v(" "),e("li",[t._v("定宽块状元素: 左右 "),e("code",[t._v("margin")]),t._v(" 值为 "),e("code",[t._v("auto")])]),t._v(" "),e("li",[t._v("不定宽块状元素: "),e("code",[t._v("table")]),t._v("布局,"),e("code",[t._v("position + transform")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-css extra-class"},[e("pre",{pre:!0,attrs:{class:"language-css"}},[e("code",[e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案1 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("text-align")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" center\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("display")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" inline"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* or */")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* display: inline-block; */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案2 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("margin")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 0 auto"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 方案2 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("position")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" relative"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("position")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" absulote"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("left")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 50%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("transform")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("translateX")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("-50%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_1-4-上下垂直居中"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_1-4-上下垂直居中","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.4 上下垂直居中")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("定高:"),e("code",[t._v("margin")]),t._v(","),e("code",[t._v("position + margin")]),t._v("(负值)")]),t._v(" "),e("li",[t._v("不定高:"),e("code",[t._v("position")]),t._v(" + "),e("code",[t._v("transform")]),t._v(","),e("code",[t._v("flex")]),t._v(","),e("code",[t._v("IFC + vertical-align:middle")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-css extra-class"},[e("pre",{pre:!0,attrs:{class:"language-css"}},[e("code",[e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 定高方案1 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("height")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("margin")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 50px 0"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 定高方案2 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("height")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("position")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" absolute"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("top")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 50%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("margin-top")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" -25px"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 不定高方案1 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("position")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" absolute"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("top")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 50%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("transform")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("translateY")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("-50%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 不定高方案2 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("display")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" flex"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("align-items")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" center"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("width")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 不定高方案3 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/* 设置 inline-block 则会在外层产生 IFC,高度设为 100% 撑开 wrap 的高度 */")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap::before")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("content")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("''")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("height")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" 100%"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("display")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" inline-block"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("vertical-align")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" middle"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".wrap")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("text-align")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" center"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token selector"}},[t._v(".center")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("display")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" inline-block"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n "),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("vertical-align")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" middle"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_1-5-盒模型:content(元素内容)-padding(内边距)-border(边框)-margin(外边距)"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_1-5-盒模型:content(元素内容)-padding(内边距)-border(边框)-margin(外边距)","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.5 盒模型:content(元素内容) + padding(内边距) + border(边框) + margin(外边距)")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("延伸: "),s("code",[this._v("box-sizing")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("content-box")]),t._v(":默认值,总宽度 = "),e("code",[t._v("margin")]),t._v(" + "),e("code",[t._v("border")]),t._v(" + "),e("code",[t._v("padding")]),t._v(" + "),e("code",[t._v("width")])]),t._v(" "),e("li",[e("code",[t._v("border-box")]),t._v(":盒子宽度包含 "),e("code",[t._v("padding")]),t._v(" 和 "),e("code",[t._v("border")]),t._v(","),e("code",[t._v("总宽度 = margin + width")])]),t._v(" "),e("li",[e("code",[t._v("inherit")]),t._v(":从父元素继承 "),e("code",[t._v("box-sizing")]),t._v(" 属性")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_1-6-bfc、ifc、gfc、ffc:fc(formatting-contexts),格式化上下文"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_1-6-bfc、ifc、gfc、ffc:fc(formatting-contexts),格式化上下文","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.6 BFC、IFC、GFC、FFC:FC(Formatting Contexts),格式化上下文")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("code",[this._v("BFC")]),this._v(":块级格式化上下文,容器里面的子元素不会在布局上影响到外面的元素,反之也是如此(按照这个理念来想,只要脱离文档流,肯定就能产生 "),s("code",[this._v("BFC")]),this._v(")。产生 "),s("code",[this._v("BFC")]),this._v(" 方式如下")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("float")]),t._v(" 的值不为 "),e("code",[t._v("none")]),t._v("。")]),t._v(" "),e("li",[e("code",[t._v("overflow")]),t._v(" 的值不为 "),e("code",[t._v("visible")]),t._v("。")]),t._v(" "),e("li",[e("code",[t._v("position")]),t._v(" 的值不为 "),e("code",[t._v("relative")]),t._v(" 和 "),e("code",[t._v("static")]),t._v("。")]),t._v(" "),e("li",[e("code",[t._v("display")]),t._v(" 的值为 "),e("code",[t._v("table-cell")]),t._v(", "),e("code",[t._v("table-caption")]),t._v(", "),e("code",[t._v("inline-block")]),t._v("中的任何一个")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("用处?常见的多栏布局,结合块级别元素浮动,里面的元素则是在一个相对隔离的环境里运行")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[e("code",[t._v("IFC")]),t._v(":内联格式化上下文,"),e("code",[t._v("IFC")]),t._v(" 的 "),e("code",[t._v("line")]),t._v(" "),e("code",[t._v("box")]),t._v("(线框)高度由其包含行内元素中最高的实际高度计算而来(不受到竖直方向的 "),e("code",[t._v("padding/margin")]),t._v(" 影响)。")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[e("code",[t._v("IFC")]),t._v("中的"),e("code",[t._v("line box")]),t._v("一般左右都贴紧整个 "),e("code",[t._v("IFC")]),t._v(",但是会因为 "),e("code",[t._v("float")]),t._v(" 元素而扰乱。"),e("code",[t._v("float")]),t._v(" 元素会位于 IFC 与 "),e("code",[t._v("line box")]),t._v(" 之间,使得 "),e("code",[t._v("line box")]),t._v(" 宽度缩短。 同个 "),e("code",[t._v("ifc")]),t._v(" 下的多个 "),e("code",[t._v("line box")]),t._v(" 高度会不同。 "),e("code",[t._v("IFC")]),t._v("中时不可能有块级元素的,当插入块级元素时(如 "),e("code",[t._v("p")]),t._v(" 中插入 "),e("code",[t._v("div")]),t._v(")会产生两个匿名块与 "),e("code",[t._v("div")]),t._v(" 分隔开,即产生两个 "),e("code",[t._v("IFC")]),t._v(" ,每个 "),e("code",[t._v("IFC")]),t._v(" 对外表现为块级元素,与 "),e("code",[t._v("div")]),t._v(" 垂直排列。")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("水平居中:当一个块要在环境中水平居中时,设置其为 "),e("code",[t._v("inline-block")]),t._v(" 则会在外层产生"),e("code",[t._v("IFC")]),t._v(",通过 "),e("code",[t._v("text-align")]),t._v(" 则可以使其水平居中。")]),t._v(" "),e("li",[t._v("垂直居中:创建一个 "),e("code",[t._v("IFC")]),t._v(",用其中一个元素撑开父元素的高度,然后设置其 "),e("code",[t._v("vertical-align")]),t._v(": "),e("code",[t._v("middle")]),t._v(",其他行内元素则可以在此父元素下垂直居中")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("ul",[e("li",[e("strong",[t._v("GFC")]),t._v(":网格布局格式化上下文("),e("code",[t._v("display: grid")]),t._v(")")]),t._v(" "),e("li",[e("strong",[t._v("FFC")]),t._v(":自适应格式化上下文("),e("code",[t._v("display: flex")]),t._v(")")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h2",{attrs:{id:"二、js-基础(es5)"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#二、js-基础(es5)","aria-hidden":"true"}},[this._v("#")]),this._v(" 二、JS 基础(ES5)")])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_2-1-原型"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_2-1-原型","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.1 原型")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("这里可以谈很多,只要围绕 "),s("code",[this._v("[[ prototype ]]")]),this._v(" 谈,都没啥问题")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_2-2-闭包"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_2-2-闭包","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.2 闭包")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("牵扯作用域,可以两者联系起来一起谈")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_2-3-作用域"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_2-3-作用域","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.3 作用域")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("词法作用域,动态作用域")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_2-4-this"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_2-4-this","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.4 this")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("不同情况的调用,"),e("code",[t._v("this")]),t._v("指向分别如何。顺带可以提一下 "),e("code",[t._v("es6")]),t._v(" 中箭头函数没有 "),e("code",[t._v("this")]),t._v(", "),e("code",[t._v("arguments")]),t._v(", "),e("code",[t._v("super")]),t._v(" 等,这些只依赖包含箭头函数最接近的函数")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_2-5-call,apply,bind-三者用法和区别"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_2-5-call,apply,bind-三者用法和区别","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.5 call,apply,bind 三者用法和区别")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("参数、绑定规则(显示绑定和强绑定),运行效率(最终都会转换成一个一个的参数去运行)、运行情况("),e("code",[t._v("call")]),t._v(","),e("code",[t._v("apply")]),t._v(" 立即执行,"),e("code",[t._v("bind")]),t._v(" 是"),e("code",[t._v("return")]),t._v(" 出一个 "),e("code",[t._v("this")]),t._v(" “固定”的函数,这也是为什么 "),e("code",[t._v("bind")]),t._v(" 是强绑定的一个原因)")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("注:“固定”这个词的含义,它指的固定是指只要传进去了 "),e("code",[t._v("context")]),t._v(",则 "),e("code",[t._v("bind")]),t._v(" 中 "),e("code",[t._v("return")]),t._v(" 出来的函数 "),e("code",[t._v("this")]),t._v(" 便一直指向 "),e("code",[t._v("context")]),t._v(",除非 "),e("code",[t._v("context")]),t._v(" 是个变量")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_2-6-变量声明提升"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_2-6-变量声明提升","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.6 变量声明提升")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("code",[this._v("js")]),this._v(" 代码在运行前都会进行 "),s("code",[this._v("AST")]),this._v(" 解析,函数申明默认会提到当前作用域最前面,变量申明也会进行提升。但赋值不会得到提升。关于 "),s("code",[this._v("AST")]),this._v(" 解析,这里也可以说是形成词法作用域的主要原因")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h2",{attrs:{id:"三、js-基础(es6)"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#三、js-基础(es6)","aria-hidden":"true"}},[this._v("#")]),this._v(" 三、JS 基础(ES6)")])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_3-1-let,const"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_3-1-let,const","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.1 let,const")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[e("code",[t._v("let")]),t._v(" 产生块级作用域(通常配合 "),e("code",[t._v("for")]),t._v(" 循环或者 "),e("code",[t._v("{}")]),t._v(" 进行使用产生块级作用域),"),e("code",[t._v("const")]),t._v(" 申明的变量是常量(内存地址不变)")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_3-2-promise"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_3-2-promise","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.2 Promise")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("这里你谈 "),e("code",[t._v("promise")]),t._v("的时候,除了将他解决的痛点以及常用的 "),e("code",[t._v("API")]),t._v(" 之外,最好进行拓展把 "),e("code",[t._v("eventloop")]),t._v(" 带进来好好讲一下,"),e("code",[t._v("microtask")]),t._v("(微任务)、"),e("code",[t._v("macrotask")]),t._v("(任务) 的执行顺序,如果看过 "),e("code",[t._v("promise")]),t._v(" 源码,最好可以谈一谈 原生 "),e("code",[t._v("Promise")]),t._v(" 是如何实现的。"),e("code",[t._v("Promise")]),t._v(" 的关键点在于"),e("code",[t._v("callback")]),t._v(" 的两个参数,一个是 "),e("code",[t._v("resovle")]),t._v(",一个是 "),e("code",[t._v("reject")]),t._v("。还有就是 "),e("code",[t._v("Promise")]),t._v(" 的链式调用("),e("code",[t._v("Promise.then()")]),t._v(",每一个 "),e("code",[t._v("then")]),t._v(" 都是一个责任人)")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_3-3-generator"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_3-3-generator","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.3 Generator")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("遍历器对象生成函数,最大的特点是可以交出函数的执行权")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("function")]),t._v(" 关键字与函数名之间有一个星号;")]),t._v(" "),e("li",[t._v("函数体内部使用 "),e("code",[t._v("yield")]),t._v("表达式,定义不同的内部状态;")]),t._v(" "),e("li",[e("code",[t._v("next")]),t._v("指针移向下一个状态")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("这里你可以说说 "),e("code",[t._v("Generator")]),t._v("的异步编程,以及它的语法糖 "),e("code",[t._v("async")]),t._v(" 和 "),e("code",[t._v("awiat")]),t._v(",传统的异步编程。"),e("code",[t._v("ES6")]),t._v(" 之前,异步编程大致如下")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[this._v("回调函数")]),this._v(" "),s("li",[this._v("事件监听")]),this._v(" "),s("li",[this._v("发布/订阅")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("传统异步编程方案之一:协程,多个线程互相协作,完成异步任务。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_3-4-async、await"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_3-4-async、await","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.4 async、await")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("code",[this._v("Generator")]),this._v(" 函数的语法糖。有更好的语义、更好的适用性、返回值是 "),s("code",[this._v("Promise")]),this._v("。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[s("code",[this._v("async => *")])]),this._v(" "),s("li",[s("code",[this._v("await => yield")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-js extra-class"},[e("pre",{pre:!0,attrs:{class:"language-js"}},[e("code",[e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 基本用法")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("async")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("timeout")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("ms"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("await")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Promise")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("resolve"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("setTimeout")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("resolve"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" ms"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" \n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("async")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("asyncConsole")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("value"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" ms"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("await")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("timeout")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("ms"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n console"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("log")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("value"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("asyncConsole")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'hello async and await'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("注:最好把2,3,4 连到一起讲")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_3-5-amd,cmd,commonjs,es6-module:解决原始无模块化的痛点"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_3-5-amd,cmd,commonjs,es6-module:解决原始无模块化的痛点","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.5 AMD,CMD,CommonJs,ES6 Module:解决原始无模块化的痛点")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("strong",[t._v("AMD")]),t._v(":"),e("code",[t._v("requirejs")]),t._v(" 在推广过程中对模块定义的规范化产出,提前执行,推崇依赖前置")]),t._v(" "),e("li",[e("strong",[t._v("CMD")]),t._v(":"),e("code",[t._v("seajs")]),t._v(" 在推广过程中对模块定义的规范化产出,延迟执行,推崇依赖就近")]),t._v(" "),e("li",[e("strong",[t._v("CommonJs")]),t._v(":模块输出的是一个值的 "),e("code",[t._v("copy")]),t._v(",运行时加载,加载的是一个对象("),e("code",[t._v("module.exports")]),t._v(" 属性),该对象只有在脚本运行完才会生成")]),t._v(" "),e("li",[e("strong",[t._v("ES6 Module")]),t._v(":模块输出的是一个值的引用,编译时输出接口,"),e("code",[t._v("ES6")]),t._v("模块不是对象,它对外接口只是一种静态定义,在代码静态解析阶段就会生成。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h2",{attrs:{id:"四、框架相关"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#四、框架相关","aria-hidden":"true"}},[this._v("#")]),this._v(" 四、框架相关")])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_4-1-数据双向绑定原理:常见数据绑定的方案"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_4-1-数据双向绑定原理:常见数据绑定的方案","aria-hidden":"true"}},[this._v("#")]),this._v(" 4.1 数据双向绑定原理:常见数据绑定的方案")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("Object.defineProperty(vue)")]),t._v(":劫持数据的 "),e("code",[t._v("getter")]),t._v(" 和 "),e("code",[t._v("setter")])]),t._v(" "),e("li",[t._v("脏值检测("),e("code",[t._v("angularjs")]),t._v("):通过特定事件进行轮循\n发布/订阅模式:通过消息发布并将消息进行订阅")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_4-2-vdom:三个-part"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_4-2-vdom:三个-part","aria-hidden":"true"}},[this._v("#")]),this._v(" 4.2 VDOM:三个 part")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("虚拟节点类,将真实 "),e("code",[t._v("DOM")]),t._v("节点用 "),e("code",[t._v("js")]),t._v(" 对象的形式进行展示,并提供 "),e("code",[t._v("render")]),t._v(" 方法,将虚拟节点渲染成真实 "),e("code",[t._v("DOM")])]),t._v(" "),e("li",[t._v("节点 "),e("code",[t._v("diff")]),t._v(" 比较:对虚拟节点进行 "),e("code",[t._v("js")]),t._v(" 层面的计算,并将不同的操作都记录到 "),e("code",[t._v("patch")]),t._v(" 对象")]),t._v(" "),e("li",[e("code",[t._v("re-render")]),t._v(":解析 "),e("code",[t._v("patch")]),t._v(" 对象,进行 "),e("code",[t._v("re-render")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("补充1:VDOM 的必要性?")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("strong",[t._v("创建真实DOM的代价高")]),t._v(":真实的 "),e("code",[t._v("DOM")]),t._v(" 节点 "),e("code",[t._v("node")]),t._v(" 实现的属性很多,而 "),e("code",[t._v("vnode")]),t._v(" 仅仅实现一些必要的属性,相比起来,创建一个 "),e("code",[t._v("vnode")]),t._v(" 的成本比较低。")]),t._v(" "),e("li",[e("strong",[t._v("触发多次浏览器重绘及回流")]),t._v(":使用 "),e("code",[t._v("vnode")]),t._v(" ,相当于加了一个缓冲,让一次数据变动所带来的所有 "),e("code",[t._v("node")]),t._v(" 变化,先在 "),e("code",[t._v("vnode")]),t._v(" 中进行修改,然后 "),e("code",[t._v("diff")]),t._v(" 之后对所有产生差异的节点集中一次对 "),e("code",[t._v("DOM tree")]),t._v(" 进行修改,以减少浏览器的重绘及回流。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("补充2:vue 为什么采用 vdom?")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("引入 "),s("code",[this._v("Virtual DOM")]),this._v(" 在性能方面的考量仅仅是一方面。")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("性能受场景的影响是非常大的,不同的场景可能造成不同实现方案之间成倍的性能差距,所以依赖细粒度绑定及 "),e("code",[t._v("Virtual DOM")]),t._v(" 哪个的性能更好还真不是一个容易下定论的问题。")]),t._v(" "),e("li",[e("code",[t._v("Vue")]),t._v(" 之所以引入了 "),e("code",[t._v("Virtual DOM")]),t._v(",更重要的原因是为了解耦 "),e("code",[t._v("HTML")]),t._v("依赖,这带来两个非常重要的好处是:")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("ul",[e("li",[t._v("不再依赖 "),e("code",[t._v("HTML")]),t._v(" 解析器进行模版解析,可以进行更多的 "),e("code",[t._v("AOT")]),t._v(" 工作提高运行时效率:通过模版 "),e("code",[t._v("AOT")]),t._v(" 编译,"),e("code",[t._v("Vue")]),t._v(" 的运行时体积可以进一步压缩,运行时效率可以进一步提升;")]),t._v(" "),e("li",[t._v("可以渲染到 "),e("code",[t._v("DOM")]),t._v(" 以外的平台,实现 "),e("code",[t._v("SSR")]),t._v("、同构渲染这些高级特性,"),e("code",[t._v("Weex")]),t._v("等框架应用的就是这一特性。")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("综上,"),s("code",[this._v("Virtual DOM")]),this._v(" 在性能上的收益并不是最主要的,更重要的是它使得 "),s("code",[this._v("Vue")]),this._v(" 具备了现代框架应有的高级特性。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_4-3-vue-和-react-区别"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_4-3-vue-和-react-区别","aria-hidden":"true"}},[this._v("#")]),this._v(" 4.3 vue 和 react 区别")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("相同点:都支持 "),e("code",[t._v("ssr")]),t._v(",都有 "),e("code",[t._v("vdom")]),t._v(",组件化开发,实现 "),e("code",[t._v("webComponents")]),t._v(" 规范,数据驱动等")]),t._v(" "),e("li",[t._v("不同点:"),e("code",[t._v("vue")]),t._v(" 是双向数据流(当然为了实现单数据流方便管理组件状态,"),e("code",[t._v("vuex")]),t._v(" 便出现了),"),e("code",[t._v("react")]),t._v(" 是单向数据流。"),e("code",[t._v("vue")]),t._v("的 "),e("code",[t._v("vdom")]),t._v(" 是追踪每个组件的依赖关系,不会渲染整个组件树,"),e("code",[t._v("react")]),t._v(" 每当应该状态被改变时,全部子组件都会 "),e("code",[t._v("re-render")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_4-4-为什么用-vue"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_4-4-为什么用-vue","aria-hidden":"true"}},[this._v("#")]),this._v(" 4.4 为什么用 vue")])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("简洁、轻快、舒服")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h2",{attrs:{id:"五、网络基础类"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#五、网络基础类","aria-hidden":"true"}},[this._v("#")]),this._v(" 五、网络基础类")])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_5-1-跨域"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_5-1-跨域","aria-hidden":"true"}},[this._v("#")]),this._v(" 5.1 跨域")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("很多种方法,但万变不离其宗,都是为了搞定同源策略。重用的有 "),e("code",[t._v("jsonp")]),t._v("、"),e("code",[t._v("iframe")]),t._v("、"),e("code",[t._v("cors")]),t._v("、"),e("code",[t._v("img")]),t._v("、H"),e("code",[t._v("TML5 postMessage")]),t._v("等等。其中用到 "),e("code",[t._v("html")]),t._v(" 标签进行跨域的原理就是 "),e("code",[t._v("html")]),t._v(" 不受同源策略影响。但只是接受 "),e("code",[t._v("Get")]),t._v(" 的请求方式,这个得清楚。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("strong",[this._v("延伸1:img iframe script 来发送跨域请求有什么优缺点?")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("1. "),s("code",[this._v("iframe")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("优点:跨域完毕之后"),e("code",[t._v("DOM")]),t._v("操作和互相之间的"),e("code",[t._v("JavaScript")]),t._v("调用都是没有问题的")]),t._v(" "),e("li",[t._v("缺点:1.若结果要以"),e("code",[t._v("URL")]),t._v("参数传递,这就意味着在结果数据量很大的时候需要分割传递,巨烦。2.还有一个是"),e("code",[t._v("iframe")]),t._v("本身带来的,母页面和"),e("code",[t._v("iframe")]),t._v("本身的交互本身就有安全性限制。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("2. script")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[this._v("优点:可以直接返回"),s("code",[this._v("json")]),this._v("格式的数据,方便处理")]),this._v(" "),s("li",[this._v("缺点:只接受"),s("code",[this._v("GET")]),this._v("请求方式")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("3. 图片ping")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[this._v("优点:可以访问任何"),s("code",[this._v("url")]),this._v(",一般用来进行点击追踪,做页面分析常用的方法")]),this._v(" "),s("li",[this._v("缺点:不能访问响应文本,只能监听是否响应")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("strong",[this._v("延伸2:配合 webpack 进行反向代理?")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("code",[this._v("webpack")]),this._v(" 在 "),s("code",[this._v("devServer")]),this._v(" 选项里面提供了一个 "),s("code",[this._v("proxy")]),this._v(" 的参数供开发人员进行反向代理")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-js extra-class"},[e("pre",{pre:!0,attrs:{class:"language-js"}},[e("code",[e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'/api'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n target"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'http://www.example.com'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// your target host")]),t._v("\n changeOrigin"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// needed for virtual hosted sites")]),t._v("\n pathRewrite"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'^/api'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("''")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// rewrite path")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("然后再配合 "),s("code",[this._v("http-proxy-middleware")]),this._v(" 插件对 "),s("code",[this._v("api")]),this._v(" 请求地址进行代理")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-js extra-class"},[e("pre",{pre:!0,attrs:{class:"language-js"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" express "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'express'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" proxy "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'http-proxy-middleware'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// proxy api requests")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" exampleProxy "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("proxy")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("options"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 这里的 options 就是 webpack 里面的 proxy 选项对应的每个选项")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// mount `exampleProxy` in web server")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" app "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("express")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\napp"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("use")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'/api'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" exampleProxy"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\napp"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("listen")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("3000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("然后再用 "),s("code",[this._v("nginx")]),this._v(" 把允许跨域的源地址添加到报头里面即可")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("说到 "),s("code",[this._v("nginx")]),this._v(" ,可以再谈谈 "),s("code",[this._v("CORS")]),this._v(" 配置,大致如下")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"language-js extra-class"},[e("pre",{pre:!0,attrs:{class:"language-js"}},[e("code",[t._v("location "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("if")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("$request_method "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'OPTIONS'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Access-Control-Allow-Origin'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'*'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Access-Control-Allow-Methods'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'GET, POST, OPTIONS'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Access-Control-Allow-Credentials'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'true'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Access-Control-Allow-Headers'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'DNT, X-Mx-ReqToken, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Access-Control-Max-Age'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("86400")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Content-Type'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'text/plain charset=UTF-8'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n add_header "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'Content-Length'")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("return")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("200")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" \n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_5-2-http-无状态无连接"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_5-2-http-无状态无连接","aria-hidden":"true"}},[this._v("#")]),this._v(" 5.2 http 无状态无连接")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("http")]),t._v(" 协议对于事务处理没有记忆能力")]),t._v(" "),e("li",[t._v("对同一个"),e("code",[t._v("url")]),t._v("请求没有上下文关系")]),t._v(" "),e("li",[t._v("每次的请求都是独立的,它的执行情况和结果与前面的请求和之后的请求是无直接关系的,它不会受前面的请求应答情况直接影响,也不会直接影响后面的请求应答情况")]),t._v(" "),e("li",[t._v("服务器中没有保存客户端的状态,客户端必须每次带上自己的状态去请求服务器")]),t._v(" "),e("li",[t._v("人生若只如初见,请求过的资源下一次会继续进行请求")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("http协议无状态中的 状态 到底指的是什么?!")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("【状态】的含义就是:客户端和服务器在某次会话中产生的数据")]),t._v(" "),e("li",[t._v("那么对应的【无状态】就意味着:这些数据不会被保留")]),t._v(" "),e("li",[t._v("通过增加"),e("code",[t._v("cookie")]),t._v("和"),e("code",[t._v("session")]),t._v("机制,现在的网络请求其实是有状态的")]),t._v(" "),e("li",[t._v("在没有状态的"),e("code",[t._v("http")]),t._v("协议下,服务器也一定会保留你每次网络请求对数据的修改,但这跟保留每次访问的数据是不一样的,保留的只是会话产生的结果,而没有保留会话")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_5-3-http-cache:就是-http-缓存"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_5-3-http-cache:就是-http-缓存","aria-hidden":"true"}},[this._v("#")]),this._v(" 5.3 http-cache:就是 http 缓存")])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("1. 首先得明确 http 缓存的好处")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("减少了冗余的数据传输,减少网费")]),t._v(" "),e("li",[t._v("减少服务器端的压力")]),t._v(" "),e("li",[e("code",[t._v("Web")]),t._v(" 缓存能够减少延迟与网络阻塞,进而减少显示某个资源所用的时间")]),t._v(" "),e("li",[t._v("加快客户端加载网页的速度")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("2. 常见 http 缓存的类型")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[this._v("私有缓存(一般为本地浏览器缓存)")]),this._v(" "),s("li",[this._v("代理缓存")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("3. 然后谈谈本地缓存")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("本地缓存是指浏览器请求资源时命中了浏览器本地的缓存资源,浏览器并不会发送真正的请求给服务器了。它的执行过程是")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("第一次浏览器发送请求给服务器时,此时浏览器还没有本地缓存副本,服务器返回资源给浏览器,响应码是"),e("code",[t._v("200 OK")]),t._v(",浏览器收到资源后,把资源和对应的响应头一起缓存下来")]),t._v(" "),e("li",[t._v("第二次浏览器准备发送请求给服务器时候,浏览器会先检查上一次服务端返回的响应头信息中的"),e("code",[t._v("Cache-Control")]),t._v(",它的值是一个相对值,单位为秒,表示资源在客户端缓存的最大有效期,过期时间为第一次请求的时间减去"),e("code",[t._v("Cache-Control")]),t._v("的值,过期时间跟当前的请求时间比较,如果本地缓存资源没过期,那么命中缓存,不再请求服务器")]),t._v(" "),e("li",[t._v("如果没有命中,浏览器就会把请求发送给服务器,进入缓存协商阶段。")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("与本地缓存相关的头有:"),e("code",[t._v("Cache-Control")]),t._v("、"),e("code",[t._v("Expires")]),t._v(","),e("code",[t._v("Cache-Control")]),t._v("有多个可选值代表不同的意义,而"),e("code",[t._v("Expires")]),t._v("就是一个日期格式的绝对值。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("3.1 Cache-Control")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("code",[this._v("Cache-Control")]),this._v("是"),s("code",[this._v("HTPP")]),this._v("缓存策略中最重要的头,它是"),s("code",[this._v("HTTP/1.1")]),this._v("中出现的,它由如下几个值")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("no-cache")]),t._v(":不使用本地缓存。需要使用缓存协商,先与服务器确认返回的响应是否被更改,如果之前的响应中存在"),e("code",[t._v("ETag")]),t._v(",那么请求的时候会与服务端验证,如果资源未被更改,则可以避免重新下载")]),t._v(" "),e("li",[e("code",[t._v("no-store")]),t._v(":直接禁止游览器缓存数据,每次用户请求该资源,都会向服务器发送一个请求,每次都会下载完整的资源")]),t._v(" "),e("li",[e("code",[t._v("public")]),t._v(":可以被所有的用户缓存,包括终端用户和"),e("code",[t._v("CDN")]),t._v("等中间代理服务器。")]),t._v(" "),e("li",[e("code",[t._v("private")]),t._v(":只能被终端用户的浏览器缓存,不允许"),e("code",[t._v("CDN")]),t._v("等中继缓存服务器对其缓存。")]),t._v(" "),e("li",[e("code",[t._v("max-age")]),t._v(":从当前请求开始,允许获取的响应被重用的最长时间(秒)。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"language-bash extra-class"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token comment"}},[this._v("# 例如:")]),this._v("\n\nCache-Control: public, max-age"),s("span",{pre:!0,attrs:{class:"token operator"}},[this._v("=")]),this._v("1000 \n"),s("span",{pre:!0,attrs:{class:"token comment"}},[this._v("# 表示资源可以被所有用户以及代理服务器缓存,最长时间为1000秒。")]),this._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("3.2 Expires")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[e("code",[t._v("Expires")]),t._v("是"),e("code",[t._v("HTTP/1.0")]),t._v("出现的头信息,同样是用于决定本地缓存策略的头,它是一个绝对时间,时间格式是如"),e("code",[t._v("Mon, 10 Jun 2015 21:31:12 GMT")]),t._v(",只要发送请求时间是在"),e("code",[t._v("Expires")]),t._v("之前,那么本地缓存始终有效,否则就会去服务器发送请求获取新的资源。如果同时出现"),e("code",[t._v("Cache-Control:max-age")]),t._v("和"),e("code",[t._v("Expires")]),t._v(",那么"),e("code",[t._v("max-age")]),t._v("优先级更高。他们可以这样组合使用")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[this._v("Cache-Control: public\nExpires: Wed, Jan 10 2018 00:27:04 GMT\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("3.3 所谓的缓存协商")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("当第一次请求时服务器返回的响应头中存在以下情况时")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[t._v("没有 "),e("code",[t._v("Cache-Control")]),t._v(" 和 "),e("code",[t._v("Expires")])]),t._v(" "),e("li",[e("code",[t._v("Cache-Control")]),t._v(" 和 "),e("code",[t._v("Expires")]),t._v(" 过期了")]),t._v(" "),e("li",[e("code",[t._v("Cache-Control")]),t._v(" 的属性设置为 "),e("code",[t._v("no-cache")]),t._v(" 时")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("那么浏览器第二次请求时就会与服务器进行协商,询问浏览器中的缓存资源是不是旧版本,需不需要更新,此时,服务器就会做出判断,如果缓存和服务端资源的最新版本是一致的,那么就无需再次下载该资源,服务端直接返回"),e("code",[t._v("304 Not Modified")]),t._v(" 状态码,如果服务器发现浏览器中的缓存已经是旧版本了,那么服务器就会把最新资源的完整内容返回给浏览器,状态码就是"),e("code",[t._v("200 Ok")]),t._v(",那么服务端是根据什么来判断浏览器的缓存是不是最新的呢?其实是根据"),e("code",[t._v("HTTP")]),t._v("的另外两组头信息,分别是:"),e("code",[t._v("Last-Modified/If-Modified-Since")]),t._v(" 与 "),e("code",[t._v("ETag/If-None-Match")]),t._v("。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("Last-Modified 与 If-Modified-Since")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[this._v("浏览器第一次请求资源时,服务器会把资源的最新修改时间"),s("code",[this._v("Last-Modified:Thu, 29 Dec 2011 18:23:55 GMT")]),this._v("放在响应头中返回给浏览器")]),this._v(" "),s("li",[this._v("第二次请求时,浏览器就会把上一次服务器返回的修改时间放在请求头"),s("code",[this._v("If-Modified-Since:Thu, 29 Dec 2011 18:23:55")]),this._v("发送给服务器,服务器就会拿这个时间跟服务器上的资源的最新修改时间进行对比")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("如果两者相等或者大于服务器上的最新修改时间,那么表示浏览器的缓存是有效的,此时缓存会命中,服务器就不再返回内容给浏览器了,同时"),s("code",[this._v("Last-Modified")]),this._v("头也不会返回,因为资源没被修改,返回了也没什么意义。如果没命中缓存则最新修改的资源连同"),s("code",[this._v("Last-Modified")]),this._v("头一起返回")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"language-bash extra-class"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token comment"}},[this._v("# 第一次请求返回的响应头")]),this._v("\nCache-Control:max-age"),s("span",{pre:!0,attrs:{class:"token operator"}},[this._v("=")]),this._v("3600\nExpires: Fri, Jan 12 2018 00:27:04 GMT\nLast-Modified: Wed, Jan 10 2018 00:27:04 GMT\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"language-bash extra-class"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token comment"}},[this._v("# 第二次请求的请求头信息")]),this._v("\nIf-Modified-Since: Wed, Jan 10 2018 00:27:04 GMT\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("这组头信息是基于资源的修改时间来判断资源有没有更新,另一种方式就是根据资源的内容来判断,就是接下来要讨论的 "),s("code",[this._v("ETag")]),this._v(" 与 "),s("code",[this._v("If-None-Match")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("strong",[this._v("ETag与If-None-Match")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[s("code",[this._v("ETag/If-None-Match")]),this._v("与"),s("code",[this._v("Last-Modified/If-Modified-Since")]),this._v("的流程其实是类似的,唯一的区别是它基于资源的内容的摘要信息(比如"),s("code",[this._v("MD5 hash")]),this._v(")来判断")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("blockquote",[e("p",[t._v("浏览器发送第二次请求时,会把第一次的响应头信息"),e("code",[t._v("ETag")]),t._v("的值放在"),e("code",[t._v("If-None-Match")]),t._v("的请求头中发送到服务器,与最新的资源的摘要信息对比,如果相等,取浏览器缓存,否则内容有更新,最新的资源连同最新的摘要信息返回。用"),e("code",[t._v("ETag")]),t._v("的好处是如果因为某种原因到时资源的修改时间没改变,那么用"),e("code",[t._v("ETag")]),t._v("就能区分资源是不是有被更新。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"language-bash extra-class"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token comment"}},[this._v("# 第一次请求返回的响应头:")]),this._v("\n\nCache-Control: public, max-age"),s("span",{pre:!0,attrs:{class:"token operator"}},[this._v("=")]),this._v("31536000\nETag: "),s("span",{pre:!0,attrs:{class:"token string"}},[this._v('"15f0fff99ed5aae4edffdd6496d7131f"')]),this._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"language-bash extra-class"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token comment"}},[this._v("# 第二次请求的请求头信息:")]),this._v("\n\nIf-None-Match: "),s("span",{pre:!0,attrs:{class:"token string"}},[this._v('"15f0fff99ed5aae4edffdd6496d7131f"')]),this._v("\n")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_5-4-cookie-和-session"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_5-4-cookie-和-session","aria-hidden":"true"}},[this._v("#")]),this._v(" 5.4 cookie 和 session")])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("session")]),t._v(": 是一个抽象概念,开发者为了实现中断和继续等操作,将 "),e("code",[t._v("user agent")]),t._v("和 "),e("code",[t._v("server")]),t._v(" 之间一对一的交互,抽象为“会话”,进而衍生出“会话状态”,也就是 "),e("code",[t._v("session")]),t._v(" 的概念")]),t._v(" "),e("li",[e("code",[t._v("cookie")]),t._v(":它是一个世纪存在的东西,"),e("code",[t._v("http")]),t._v(" 协议中定义在 "),e("code",[t._v("header")]),t._v(" 中的字段,可以认为是 "),e("code",[t._v("session")]),t._v(" 的一种后端无状态实现")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("现在我们常说的 "),s("code",[this._v("session")]),this._v(",是为了绕开 "),s("code",[this._v("cookie")]),this._v(" 的各种限制,通常借助 "),s("code",[this._v("cookie")]),this._v("本身和后端存储实现的,一种更高级的会话状态实现")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("p",[s("code",[this._v("session")]),this._v(" 的常见实现要借助"),s("code",[this._v("cookie")]),this._v("来发送 "),s("code",[this._v("sessionID")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("h3",{attrs:{id:"_5-5-安全问题,如-xss-和-csrf"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#_5-5-安全问题,如-xss-和-csrf","aria-hidden":"true"}},[this._v("#")]),this._v(" 5.5 安全问题,如 XSS 和 CSRF")])},function(){var t=this.$createElement,s=this._self._c||t;return s("ul",[s("li",[s("code",[this._v("XSS")]),this._v(":跨站脚本攻击,是一种网站应用程序的安全漏洞攻击,是代码注入的一种。常见方式是将恶意代码注入合法代码里隐藏起来,再诱发恶意代码,从而进行各种各样的非法活动")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("防范:记住一点 “所有用户输入都是不可信的”,所以得做输入过滤和转义")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",[e("li",[e("code",[t._v("CSRF")]),t._v(":跨站请求伪造,也称 "),e("code",[t._v("XSRF")]),t._v(",是一种挟制用户在当前已登录的"),e("code",[t._v("Web")]),t._v("应用程序上执行非本意的操作的攻击方法。与 "),e("code",[t._v("XSS")]),t._v(" 相比,"),e("code",[t._v("XSS")]),t._v("利用的是用户对指定网站的信任,"),e("code",[t._v("CSRF")]),t._v("利用的是网站对用户网页浏览器的信任。")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("blockquote",[s("p",[this._v("防范:用户操作验证(验证码),额外验证机制("),s("code",[this._v("token")]),this._v("使用)等")])])}],!1,null,null,null);s.default=r.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{271:function(t,s,e){t.exports=e.p+"assets/img/640.3b07f3df.gif"},352:function(t,s,e){"use strict";e.r(s);var a=e(33),i=Object(a.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"模板设计器配置流程"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#模板设计器配置流程"}},[this._v("#")]),this._v(" 模板设计器配置流程")]),this._v(" "),s("p",[s("img",{attrs:{src:e(271),alt:"An image"}})])])}),[],!1,null,null,null);s.default=i.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{342:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(33),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-default-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{166:function(n,w,o){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{343:function(t,e,n){"use strict";n.r(e);var s=n(33),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{351:function(t,s,e){"use strict";e.r(s);var a=e(33),i=Object(a.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("blockquote",[s("p",[s("code",[this._v("JavaScript")]),this._v("进阶问题列表")])]),this._v(" "),s("h1",{attrs:{id:"预留"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#预留"}},[this._v("#")]),this._v(" 预留")])])}),[],!1,null,null,null);s.default=i.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{350:function(t,s,e){"use strict";e.r(s);var n=e(33),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"预留"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#预留"}},[this._v("#")]),this._v(" 预留")])])}),[],!1,null,null,null);s.default=r.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{270:function(n,w,o){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{272:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"i",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"k",(function(){return p})),n.d(e,"l",(function(){return d})),n.d(e,"c",(function(){return g})),n.d(e,"j",(function(){return v}));n(18),n(81),n(135),n(289),n(141),n(53),n(34),n(273),n(54),n(290),n(84);var i=/#.*$/,r=/\.(md|html)$/,a=/\/$/,s=/^[a-z]+:/i;function o(t){return decodeURI(t).replace(i,"").replace(r,"")}function u(t){return s.test(t)}function l(t){return/^mailto:/.test(t)}function c(t){return/^tel:/.test(t)}function h(t){if(u(t))return t;var e=t.match(i),n=e?e[0]:"",r=o(t);return a.test(r)?t:r+".html"+n}function f(t,e){var n=decodeURIComponent(t.hash),r=function(t){var e=t.match(i);if(e)return e[0]}(e);return(!r||n===r)&&o(t.path)===o(e)}function p(t,e,n){if(u(e))return{type:"external",path:e};n&&(e=function(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s<a.length;s++){var o=a[s];".."===o?r.pop():"."!==o&&r.push(o)}""!==r[0]&&r.unshift("");return r.join("/")}(e,n));for(var i=o(e),r=0;r<t.length;r++)if(o(t[r].regularPath)===i)return Object.assign({},t[r],{type:"page",path:h(t[r].path)});return console.error('[vuepress] No matching page found for sidebar item "'.concat(e,'"')),{}}function d(t,e,n,i){var r=n.pages,a=n.themeConfig,s=i&&a.locales&&a.locales[i]||a;if("auto"===(t.frontmatter.sidebar||s.sidebar||a.sidebar))return function(t){var e=g(t.headers||[]);return[{type:"group",collapsable:!1,title:t.title,path:null,children:e.map((function(e){return{type:"auto",title:e.title,basePath:t.path,path:t.path+"#"+e.slug,children:e.children||[]}}))}]}(t);var o=s.sidebar||a.sidebar;if(o){var u=function(t,e){if(Array.isArray(e))return{base:"/",config:e};for(var n in e)if(0===(i=t,/(\.html|\/)$/.test(i)?i:i+"/").indexOf(encodeURI(n)))return{base:n,config:e[n]};var i;return{}}(e,o),l=u.base,c=u.config;return c?c.map((function(t){return function t(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return p(n,e,i);if(Array.isArray(e))return Object.assign(p(n,e[0],i),{title:e[1]});var a=e.children||[];return 0===a.length&&e.path?Object.assign(p(n,e.path,i),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,children:a.map((function(e){return t(e,n,i,r+1)})),collapsable:!1!==e.collapsable}}(t,r,l)})):[]}return[]}function g(t){var e;return(t=t.map((function(t){return Object.assign({},t)}))).forEach((function(t){2===t.level?e=t:e&&(e.children||(e.children=[])).push(t)})),t.filter((function(t){return 2===t.level}))}function v(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}},273:function(t,e,n){"use strict";var i=n(138),r=n(12),a=n(15),s=n(17),o=n(139),u=n(140);i("match",1,(function(t,e,n){return[function(e){var n=s(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var s=r(t),l=String(this);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,f=[],p=0;null!==(h=u(s,l));){var d=String(h[0]);f[p]=d,""===d&&(s.lastIndex=o(l,a(s.lastIndex),c)),p++}return 0===p?null:f}]}))},274:function(t,e,n){},275:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},276:function(t,e,n){},277:function(t,e,n){},278:function(t,e,n){},279:function(t,e,n){},280:function(t,e,n){},281:function(t,e,n){},282:function(t,e,n){},283:function(t,e,n){},284:function(t,e,n){},285:function(t,e,n){},286:function(t,e,n){},287:function(t,e,n){},289:function(t,e,n){n(0)({target:"Array",stat:!0},{isArray:n(37)})},290:function(t,e,n){"use strict";var i=n(138),r=n(136),a=n(12),s=n(17),o=n(301),u=n(139),l=n(15),c=n(140),h=n(56),f=n(1),p=[].push,d=Math.min,g=!f((function(){return!RegExp(4294967295,"y")}));i("split",2,(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,a);for(var o,u,l,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=new RegExp(t.source,f+"g");(o=h.call(g,i))&&!((u=g.lastIndex)>d&&(c.push(i.slice(d,o.index)),o.length>1&&o.index<i.length&&p.apply(c,o.slice(1)),l=o[0].length,d=u,c.length>=a));)g.lastIndex===o.index&&g.lastIndex++;return d===i.length?!l&&g.test("")||c.push(""):c.push(i.slice(d)),c.length>a?c.slice(0,a):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=s(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,r,n):i.call(String(r),e,n)},function(t,r){var s=n(i,t,this,r,i!==e);if(s.done)return s.value;var h=a(t),f=String(this),p=o(h,RegExp),v=h.unicode,m=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),b=new p(g?h:"^(?:"+h.source+")",m),k=void 0===r?4294967295:r>>>0;if(0===k)return[];if(0===f.length)return null===c(b,f)?[f]:[];for(var _=0,x=0,C=[];x<f.length;){b.lastIndex=g?x:0;var y,$=c(b,g?f:f.slice(x));if(null===$||(y=d(l(b.lastIndex+(g?0:x)),f.length))===_)x=u(f,x,v);else{if(C.push(f.slice(_,x)),C.length===k)return C;for(var L=1;L<=$.length-1;L++)if(C.push($[L]),C.length===k)return C;x=_=y}}return C.push(f.slice(_)),C}]}),!g)},291:function(t,e,n){var i=n(17),r="["+n(275)+"]",a=RegExp("^"+r+r+"*"),s=RegExp(r+r+"*$"),o=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(a,"")),2&t&&(n=n.replace(s,"")),n}};t.exports={start:o(1),end:o(2),trim:o(3)}},292:function(t,e,n){"use strict";var i=n(0),r=n(291).trim;i({target:"String",proto:!0,forced:n(305)("trim")},{trim:function(){return r(this)}})},293:function(t,e,n){var i=n(6),r=n(3),a=n(142),s=n(306),o=n(7).f,u=n(55).f,l=n(136),c=n(137),h=n(145),f=n(21),p=n(1),d=n(35).set,g=n(307),v=n(2)("match"),m=r.RegExp,b=m.prototype,k=/a/g,_=/a/g,x=new m(k)!==k,C=h.UNSUPPORTED_Y;if(i&&a("RegExp",!x||C||p((function(){return _[v]=!1,m(k)!=k||m(_)==_||"/a/i"!=m(k,"i")})))){for(var y=function(t,e){var n,i=this instanceof y,r=l(t),a=void 0===e;if(!i&&r&&t.constructor===y&&a)return t;x?r&&!a&&(t=t.source):t instanceof y&&(a&&(e=c.call(t)),t=t.source),C&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var o=s(x?new m(t,e):m(t,e),i?this:b,y);return C&&n&&d(o,{sticky:n}),o},$=function(t){t in y||o(y,t,{configurable:!0,get:function(){return m[t]},set:function(e){m[t]=e}})},L=u(m),S=0;L.length>S;)$(L[S++]);b.constructor=y,y.prototype=b,f(r,"RegExp",y)}g("RegExp")},294:function(t,e,n){"use strict";var i=n(21),r=n(12),a=n(1),s=n(137),o=RegExp.prototype,u=o.toString,l=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),c="toString"!=u.name;(l||c)&&i(RegExp.prototype,"toString",(function(){var t=r(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in o)?s.call(t):n)}),{unsafe:!0})},295:function(t,e){t.exports=function(t){return null==t}},296:function(t,e,n){"use strict";n.r(e);n(134);var i=n(272),r={name:"SidebarGroup",components:{DropdownTransition:n(297).a},props:["item","open","collapsable","depth"],beforeCreate:function(){this.$options.components.SidebarLinks=n(296).default},methods:{isActive:i.e}},a=(n(319),n(33)),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"sidebar-group",class:[{collapsable:t.collapsable,"is-sub-group":0!==t.depth},"depth-"+t.depth]},[t.item.path?n("RouterLink",{staticClass:"sidebar-heading clickable",class:{open:t.open,active:t.isActive(t.$route,t.item.path)},attrs:{to:t.item.path},nativeOn:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]):n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:t.item.children,"sidebar-depth":t.item.sidebarDepth,depth:t.depth+1}}):t._e()],1)],1)}),[],!1,null,null,null).exports;n(320),n(53);function o(t,e,n,i,r){var a={props:{to:e,activeClass:"",exactActiveClass:""},class:{active:i,"sidebar-link":!0}};return r>2&&(a.style={"padding-left":r+"rem"}),t("RouterLink",a,n)}function u(t,e,n,r,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!e||s>a?null:t("ul",{class:"sidebar-sub-headers"},e.map((function(e){var l=Object(i.e)(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[o(t,n+"#"+e.slug,e.title,l,e.level-1),u(t,e.children,n,r,a,s+1)])})))}var l={functional:!0,props:["item","sidebarDepth"],render:function(t,e){var n=e.parent,r=n.$page,a=(n.$site,n.$route),s=n.$themeConfig,l=n.$themeLocaleConfig,c=e.props,h=c.item,f=c.sidebarDepth,p=Object(i.e)(a,h.path),d="auto"===h.type?p||h.children.some((function(t){return Object(i.e)(a,h.basePath+"#"+t.slug)})):p,g="external"===h.type?function(t,e,n){return t("a",{attrs:{href:e,target:"_blank",rel:"noopener noreferrer"},class:{"sidebar-link":!0}},[n,t("OutboundLink")])}(t,h.path,h.title||h.path):o(t,h.path,h.title||h.path,d),v=[r.frontmatter.sidebarDepth,f,l.sidebarDepth,s.sidebarDepth,1].find((function(t){return void 0!==t})),m=l.displayAllHeaders||s.displayAllHeaders;return"auto"===h.type?[g,u(t,h.children,h.basePath,a,v)]:(d||m)&&h.headers&&!i.d.test(h.path)?[g,u(t,Object(i.c)(h.headers),h.path,a,v)]:g}};n(321);function c(t,e){return"group"===e.type&&e.children.some((function(e){return"group"===e.type?c(t,e):"page"===e.type&&Object(i.e)(t,e.path)}))}var h={name:"SidebarLinks",components:{SidebarGroup:s,SidebarLink:Object(a.a)(l,void 0,void 0,!1,null,null,null).exports},props:["items","depth","sidebarDepth"],data:function(){return{openGroupIndex:0}},watch:{$route:function(){this.refreshIndex()}},created:function(){this.refreshIndex()},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n<e.length;n++){var i=e[n];if(c(t,i))return n}return-1}(this.$route,this.items);t>-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return Object(i.e)(this.$route,t.regularPath)}}},f=Object(a.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,(function(e,i){return n("li",{key:i},["group"===e.type?n("SidebarGroup",{attrs:{item:e,open:i===t.openGroupIndex,collapsable:e.collapsable||e.collapsible,depth:t.depth},on:{toggle:function(e){return t.toggleGroup(i)}}}):n("SidebarLink",{attrs:{"sidebar-depth":t.sidebarDepth,item:e}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=f.exports},297:function(t,e,n){"use strict";var i={name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}},r=(n(311),n(33)),a=Object(r.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);e.a=a.exports},298:function(t,e,n){"use strict";var i=n(0),r=n(299);i({target:"String",proto:!0,forced:n(300)("link")},{link:function(t){return r(this,"a","href",t)}})},299:function(t,e,n){var i=n(17),r=/"/g;t.exports=function(t,e,n,a){var s=String(i(t)),o="<"+e;return""!==n&&(o+=" "+n+'="'+String(a).replace(r,"&quot;")+'"'),o+">"+s+"</"+e+">"}},300:function(t,e,n){var i=n(1);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},301:function(t,e,n){var i=n(12),r=n(79),a=n(2)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||null==(n=i(s)[a])?e:r(n)}},302:function(t,e,n){"use strict";var i=n(274);n.n(i).a},303:function(t,e,n){var i=n(0),r=n(304);i({global:!0,forced:parseInt!=r},{parseInt:r})},304:function(t,e,n){var i=n(3),r=n(291).trim,a=n(275),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");t.exports=u?function(t,e){var n=r(String(t));return s(n,e>>>0||(o.test(n)?16:10))}:s},305:function(t,e,n){var i=n(1),r=n(275);t.exports=function(t){return i((function(){return!!r[t]()||"​…᠎"!="​…᠎"[t]()||r[t].name!==t}))}},306:function(t,e,n){var i=n(5),r=n(143);t.exports=function(t,e,n){var a,s;return r&&"function"==typeof(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(t,s),t}},307:function(t,e,n){"use strict";var i=n(36),r=n(7),a=n(2),s=n(6),o=a("species");t.exports=function(t){var e=i(t),n=r.f;s&&e&&!e[o]&&n(e,o,{configurable:!0,get:function(){return this}})}},308:function(t,e,n){"use strict";var i,r=n(0),a=n(22).f,s=n(15),o=n(82),u=n(17),l=n(83),c=n(23),h="".endsWith,f=Math.min,p=l("endsWith");r({target:"String",proto:!0,forced:!!(c||p||(i=a(String.prototype,"endsWith"),!i||i.writable))&&!p},{endsWith:function(t){var e=String(u(this));o(t);var n=arguments.length>1?arguments[1]:void 0,i=s(e.length),r=void 0===n?i:f(s(n),i),a=String(t);return h?h.call(e,a,r):e.slice(r-a.length,r)===a}})},309:function(t,e,n){"use strict";var i=n(276);n.n(i).a},310:function(t,e,n){"use strict";var i=n(277);n.n(i).a},311:function(t,e,n){"use strict";var i=n(278);n.n(i).a},312:function(t,e,n){"use strict";var i=n(279);n.n(i).a},313:function(t,e,n){"use strict";var i=n(280);n.n(i).a},314:function(t,e,n){"use strict";var i=n(281);n.n(i).a},315:function(t,e,n){"use strict";var i=n(282);n.n(i).a},316:function(t,e,n){var i=n(25),r=n(9),a=n(19);t.exports=function(t){return"string"==typeof t||!r(t)&&a(t)&&"[object String]"==i(t)}},317:function(t,e,n){"use strict";var i=n(283);n.n(i).a},318:function(t,e,n){"use strict";var i=n(284);n.n(i).a},319:function(t,e,n){"use strict";var i=n(285);n.n(i).a},320:function(t,e,n){"use strict";var i=n(0),r=n(24).find,a=n(80),s=n(13),o=!0,u=s("find");"find"in[]&&Array(1).find((function(){o=!1})),i({target:"Array",proto:!0,forced:o||!u},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("find")},321:function(t,e,n){"use strict";var i=n(286);n.n(i).a},322:function(t,e,n){"use strict";var i=n(287);n.n(i).a},341:function(t,e,n){"use strict";n.r(e);n(134),n(78),n(298);var i=n(272),r={name:"NavLink",props:{item:{required:!0}},computed:{link:function(){return Object(i.b)(this.item.link)},exact:function(){var t=this;return this.$site.locales?Object.keys(this.$site.locales).some((function(e){return e===t.link})):"/"===this.link},isNonHttpURI:function(){return Object(i.g)(this.link)||Object(i.h)(this.link)},isBlankTarget:function(){return"_blank"===this.target},isInternal:function(){return!Object(i.f)(this.link)&&!this.isBlankTarget},target:function(){return this.isNonHttpURI?null:this.item.target?this.item.target:Object(i.f)(this.link)?"_blank":""},rel:function(){return this.isNonHttpURI?null:this.item.rel?this.item.rel:this.isBlankTarget?"noopener noreferrer":""}},methods:{focusoutAction:function(){this.$emit("focusout")}}},a=n(33),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isInternal?n("RouterLink",{staticClass:"nav-link",attrs:{to:t.link,exact:t.exact},nativeOn:{focusout:function(e){return t.focusoutAction(e)}}},[t._v("\n "+t._s(t.item.text)+"\n")]):n("a",{staticClass:"nav-link external",attrs:{href:t.link,target:t.target,rel:t.rel},on:{focusout:t.focusoutAction}},[t._v("\n "+t._s(t.item.text)+"\n "),t.isBlankTarget?n("OutboundLink"):t._e()],1)}),[],!1,null,null,null).exports,o={name:"Home",components:{NavLink:s},computed:{data:function(){return this.$page.frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}}}},u=(n(302),Object(a.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"home",attrs:{"aria-labelledby":"main-title"}},[n("header",{staticClass:"hero"},[t.data.heroImage?n("img",{attrs:{src:t.$withBase(t.data.heroImage),alt:t.data.heroAlt||"hero"}}):t._e(),t._v(" "),null!==t.data.heroText?n("h1",{attrs:{id:"main-title"}},[t._v("\n "+t._s(t.data.heroText||t.$title||"Hello")+"\n ")]):t._e(),t._v(" "),null!==t.data.tagline?n("p",{staticClass:"description"},[t._v("\n "+t._s(t.data.tagline||t.$description||"Welcome to your VuePress site")+"\n ")]):t._e(),t._v(" "),t.data.actionText&&t.data.actionLink?n("p",{staticClass:"action"},[n("NavLink",{staticClass:"action-button",attrs:{item:t.actionLink}})],1):t._e()]),t._v(" "),t.data.features&&t.data.features.length?n("div",{staticClass:"features"},t._l(t.data.features,(function(e,i){return n("div",{key:i,staticClass:"feature"},[n("h2",[t._v(t._s(e.title))]),t._v(" "),n("p",[t._v(t._s(e.details))])])})),0):t._e(),t._v(" "),n("Content",{staticClass:"theme-default-content custom"}),t._v(" "),t.data.footer?n("div",{staticClass:"footer"},[t._v("\n "+t._s(t.data.footer)+"\n ")]):t._e()],1)}),[],!1,null,null,null).exports),l=(n(303),n(18),n(144),n(135),n(289),n(34),n(146),n(273),n(292),n(141),n(53),n(293),n(294),n(308),n(54),n(290),n(148)),c=n.n(l),h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=c()(e,"title","");return c()(e,"frontmatter.tags")&&(i+=" ".concat(e.frontmatter.tags.join(" "))),n&&(i+=" ".concat(n)),f(t,i)},f=function(t,e){var n=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},i=new RegExp("[^\0-]"),r=t.split(/\s+/g).map((function(t){return t.trim()})).filter((function(t){return!!t}));if(i.test(t))return r.some((function(t){return e.toLowerCase().indexOf(t)>-1}));var a=t.endsWith(" ");return new RegExp(r.map((function(t,e){return r.length!==e+1||a?"(?=.*\\b".concat(n(t),"\\b)"):"(?=.*\\b".concat(n(t),")")})).join("")+".+","gi").test(e)},p={name:"SearchBox",data:function(){return{query:"",focused:!1,focusIndex:0,placeholder:void 0}},computed:{showSuggestions:function(){return this.focused&&this.suggestions&&this.suggestions.length},suggestions:function(){var t=this.query.trim().toLowerCase();if(t){for(var e=this.$site.pages,n=this.$site.themeConfig.searchMaxSuggestions||5,i=this.$localePath,r=[],a=0;a<e.length&&!(r.length>=n);a++){var s=e[a];if(this.getPageLocalePath(s)===i&&this.isSearchable(s))if(h(t,s))r.push(s);else if(s.headers)for(var o=0;o<s.headers.length&&!(r.length>=n);o++){var u=s.headers[o];u.title&&h(t,s,u.title)&&r.push(Object.assign({},s,{path:s.path+"#"+u.slug,header:u}))}}return r}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},mounted:function(){this.placeholder=this.$site.themeConfig.searchPlaceholder||"",document.addEventListener("keydown",this.onHotkey)},beforeDestroy:function(){document.removeEventListener("keydown",this.onHotkey)},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},isSearchable:function(t){var e=null;return null===e||(e=Array.isArray(e)?e:new Array(e)).filter((function(e){return t.path.match(e)})).length>0},onHotkey:function(t){t.srcElement===document.body&&["s","/"].includes(t.key)&&(this.$refs.input.focus(),t.preventDefault())},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex<this.suggestions.length-1?this.focusIndex++:this.focusIndex=0)},go:function(t){this.showSuggestions&&(this.$router.push(this.suggestions[t].path),this.query="",this.focusIndex=0)},focus:function(t){this.focusIndex=t},unfocus:function(){this.focusIndex=-1}}},d=(n(309),Object(a.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-box"},[n("input",{ref:"input",class:{focused:t.focused},attrs:{"aria-label":"Search",placeholder:t.placeholder,autocomplete:"off",spellcheck:"false"},domProps:{value:t.query},on:{input:function(e){t.query=e.target.value},focus:function(e){t.focused=!0},blur:function(e){t.focused=!1},keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.go(t.focusIndex)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.onUp(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.onDown(e)}]}}),t._v(" "),t.showSuggestions?n("ul",{staticClass:"suggestions",class:{"align-right":t.alignRight},on:{mouseleave:t.unfocus}},t._l(t.suggestions,(function(e,i){return n("li",{key:i,staticClass:"suggestion",class:{focused:i===t.focusIndex},on:{mousedown:function(e){return t.go(i)},mouseenter:function(e){return t.focus(i)}}},[n("a",{attrs:{href:e.path},on:{click:function(t){t.preventDefault()}}},[n("span",{staticClass:"page-title"},[t._v(t._s(e.title||e.path))]),t._v(" "),e.header?n("span",{staticClass:"header"},[t._v("> "+t._s(e.header.title))]):t._e()])])})),0):t._e()])}),[],!1,null,null,null).exports),g=(n(310),Object(a.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-button",on:{click:function(e){return t.$emit("toggle-sidebar")}}},[n("svg",{staticClass:"icon",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"}},[n("path",{attrs:{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"}})])])}),[],!1,null,null,null).exports),v=(n(147),n(31)),m=n(297),b=n(149),k=n.n(b),_={name:"DropdownLink",components:{NavLink:s,DropdownTransition:m.a},props:{item:{required:!0}},data:function(){return{open:!1}},computed:{dropdownAriaLabel:function(){return this.item.ariaLabel||this.item.text}},watch:{$route:function(){this.open=!1}},methods:{setOpen:function(t){this.open=t},isLastItemOfArray:function(t,e){return k()(e)===t}}},x=(n(312),{name:"NavLinks",components:{NavLink:s,DropdownLink:Object(a.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("button",{staticClass:"dropdown-title",attrs:{type:"button","aria-label":t.dropdownAriaLabel},on:{click:function(e){return t.setOpen(!t.open)}}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,(function(e,i){return n("li",{key:e.link||i,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v("\n "+t._s(e.text)+"\n ")]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,(function(i){return n("li",{key:i.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:i},on:{focusout:function(n){t.isLastItemOfArray(i,e.items)&&t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0):n("NavLink",{attrs:{item:e},on:{focusout:function(n){t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0)])],1)}),[],!1,null,null,null).exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,i=this.$router.options.routes,r=this.$site.themeConfig.locales||{},a={text:this.$themeLocaleConfig.selectText||"Languages",ariaLabel:this.$themeLocaleConfig.ariaLabel||"Select language",items:Object.keys(e).map((function(a){var s,o=e[a],u=r[a]&&r[a].label||o.lang;return o.lang===t.$lang?s=n:(s=n.replace(t.$localeConfig.path,a),i.some((function(t){return t.path===s}))||(s=a)),{text:u,link:s}}))};return[].concat(Object(v.a)(this.userNav),[a])}return this.userNav},userLinks:function(){return(this.nav||[]).map((function(t){return Object.assign(Object(i.j)(t),{items:(t.items||[]).map(i.j)})}))},repoLink:function(){var t=this.$site.themeConfig.repo;return t?/^https?:/.test(t)?t:"https://github.com/".concat(t):null},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;n<e.length;n++){var i=e[n];if(new RegExp(i,"i").test(t))return i}return"Source"}}}}),C=(n(313),Object(a.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.userLinks.length||t.repoLink?n("nav",{staticClass:"nav-links"},[t._l(t.userLinks,(function(t){return n("div",{key:t.link,staticClass:"nav-item"},["links"===t.type?n("DropdownLink",{attrs:{item:t}}):n("NavLink",{attrs:{item:t}})],1)})),t._v(" "),t.repoLink?n("a",{staticClass:"repo-link",attrs:{href:t.repoLink,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.repoLabel)+"\n "),n("OutboundLink")],1):t._e()],2):t._e()}),[],!1,null,null,null).exports);function y(t,e){return t.ownerDocument.defaultView.getComputedStyle(t,null)[e]}var $={name:"Navbar",components:{SidebarButton:g,NavLinks:C,SearchBox:d,AlgoliaSearchBox:{}},data:function(){return{linksWrapMaxWidth:null}},computed:{algolia:function(){return this.$themeLocaleConfig.algolia||this.$site.themeConfig.algolia||{}},isAlgoliaSearch:function(){return this.algolia&&this.algolia.apiKey&&this.algolia.indexName}},mounted:function(){var t=this,e=parseInt(y(this.$el,"paddingLeft"))+parseInt(y(this.$el,"paddingRight")),n=function(){document.documentElement.clientWidth<719?t.linksWrapMaxWidth=null:t.linksWrapMaxWidth=t.$el.offsetWidth-e-(t.$refs.siteName&&t.$refs.siteName.offsetWidth||0)};n(),window.addEventListener("resize",n,!1)}},L=(n(314),Object(a.a)($,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{staticClass:"navbar"},[n("SidebarButton",{on:{"toggle-sidebar":function(e){return t.$emit("toggle-sidebar")}}}),t._v(" "),n("RouterLink",{staticClass:"home-link",attrs:{to:t.$localePath}},[t.$site.themeConfig.logo?n("img",{staticClass:"logo",attrs:{src:t.$withBase(t.$site.themeConfig.logo),alt:t.$siteTitle}}):t._e(),t._v(" "),t.$siteTitle?n("span",{ref:"siteName",staticClass:"site-name",class:{"can-hide":t.$site.themeConfig.logo}},[t._v(t._s(t.$siteTitle))]):t._e()]),t._v(" "),n("div",{staticClass:"links",style:t.linksWrapMaxWidth?{"max-width":t.linksWrapMaxWidth+"px"}:{}},[t.isAlgoliaSearch?n("AlgoliaSearchBox",{attrs:{options:t.algolia}}):!1!==t.$site.themeConfig.search&&!1!==t.$page.frontmatter.search?n("SearchBox"):t._e(),t._v(" "),n("NavLinks",{staticClass:"can-hide"})],1)],1)}),[],!1,null,null,null).exports),S=n(295),w=n.n(S),O={name:"PageEdit",computed:{lastUpdated:function(){return this.$page.lastUpdated},lastUpdatedText:function(){return"string"==typeof this.$themeLocaleConfig.lastUpdated?this.$themeLocaleConfig.lastUpdated:"string"==typeof this.$site.themeConfig.lastUpdated?this.$site.themeConfig.lastUpdated:"Last Updated"},editLink:function(){var t=w()(this.$page.frontmatter.editLink)?this.$site.themeConfig.editLinks:this.$page.frontmatter.editLink,e=this.$site.themeConfig,n=e.repo,i=e.docsDir,r=void 0===i?"":i,a=e.docsBranch,s=void 0===a?"master":a,o=e.docsRepo,u=void 0===o?n:o;return t&&u&&this.$page.relativePath?this.createEditLink(n,u,r,s,this.$page.relativePath):null},editLinkText:function(){return this.$themeLocaleConfig.editLinkText||this.$site.themeConfig.editLinkText||"Edit this page"}},methods:{createEditLink:function(t,e,n,r,a){return/bitbucket.org/.test(t)?(i.i.test(e)?e:t).replace(i.a,"")+"/src"+"/".concat(r,"/")+(n?n.replace(i.a,"")+"/":"")+a+"?mode=edit&spa=0&at=".concat(r,"&fileviewer=file-view-default"):(i.i.test(e)?e:"https://github.com/".concat(e)).replace(i.a,"")+"/edit"+"/".concat(r,"/")+(n?n.replace(i.a,"")+"/":"")+a}}},I=(n(315),Object(a.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"page-edit"},[t.editLink?n("div",{staticClass:"edit-link"},[n("a",{attrs:{href:t.editLink,target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.editLinkText))]),t._v(" "),n("OutboundLink")],1):t._e(),t._v(" "),t.lastUpdated?n("div",{staticClass:"last-updated"},[n("span",{staticClass:"prefix"},[t._v(t._s(t.lastUpdatedText)+":")]),t._v(" "),n("span",{staticClass:"time"},[t._v(t._s(t.lastUpdated))])]):t._e()])}),[],!1,null,null,null).exports),E=n(316),j=n.n(E),N={name:"PageNav",props:["sidebarItems"],computed:{prev:function(){return R(T.PREV,this)},next:function(){return R(T.NEXT,this)}}};var T={NEXT:{resolveLink:function(t,e){return A(t,e,1)},getThemeLinkConfig:function(t){return t.nextLinks},getPageLinkConfig:function(t){return t.frontmatter.next}},PREV:{resolveLink:function(t,e){return A(t,e,-1)},getThemeLinkConfig:function(t){return t.prevLinks},getPageLinkConfig:function(t){return t.frontmatter.prev}}};function R(t,e){var n=e.$themeConfig,r=e.$page,a=e.$route,s=e.$site,o=e.sidebarItems,u=t.resolveLink,l=t.getThemeLinkConfig,c=t.getPageLinkConfig,h=l(n),f=c(r),p=w()(f)?h:f;return!1===p?void 0:j()(p)?Object(i.k)(s.pages,p,a.path):u(r,o)}function A(t,e,n){var i=[];!function t(e,n){for(var i=0,r=e.length;i<r;i++)"group"===e[i].type?t(e[i].children||[],n):n.push(e[i])}(e,i);for(var r=0;r<i.length;r++){var a=i[r];if("page"===a.type&&a.path===decodeURIComponent(t.path))return i[r+n]}}var P=N,D=(n(317),{components:{PageEdit:I,PageNav:Object(a.a)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.prev||t.next?n("div",{staticClass:"page-nav"},[n("p",{staticClass:"inner"},[t.prev?n("span",{staticClass:"prev"},[t._v("\n ←\n "),"external"===t.prev.type?n("a",{staticClass:"prev",attrs:{href:t.prev.path,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.prev.title||t.prev.path)+"\n\n "),n("OutboundLink")],1):n("RouterLink",{staticClass:"prev",attrs:{to:t.prev.path}},[t._v("\n "+t._s(t.prev.title||t.prev.path)+"\n ")])],1):t._e(),t._v(" "),t.next?n("span",{staticClass:"next"},["external"===t.next.type?n("a",{attrs:{href:t.next.path,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.next.title||t.next.path)+"\n\n "),n("OutboundLink")],1):n("RouterLink",{attrs:{to:t.next.path}},[t._v("\n "+t._s(t.next.title||t.next.path)+"\n ")]),t._v("\n →\n ")],1):t._e()])]):t._e()}),[],!1,null,null,null).exports},props:["sidebarItems"]}),U=(n(318),Object(a.a)(D,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"page"},[t._t("top"),t._v(" "),n("Content",{staticClass:"theme-default-content"}),t._v(" "),n("PageEdit"),t._v(" "),n("PageNav",t._b({},"PageNav",{sidebarItems:t.sidebarItems},!1)),t._v(" "),t._t("bottom")],2)}),[],!1,null,null,null).exports),H={name:"Sidebar",components:{SidebarLinks:n(296).default,NavLinks:C},props:["items"]},W=(n(322),{name:"Layout",components:{Home:u,Page:U,Sidebar:Object(a.a)(H,(function(){var t=this.$createElement,e=this._self._c||t;return e("aside",{staticClass:"sidebar"},[e("NavLinks"),this._v(" "),this._t("top"),this._v(" "),e("SidebarLinks",{attrs:{depth:0,items:this.items}}),this._v(" "),this._t("bottom")],2)}),[],!1,null,null,null).exports,Navbar:L},data:function(){return{isSidebarOpen:!1}},computed:{shouldShowNavbar:function(){var t=this.$site.themeConfig;return!1!==this.$page.frontmatter.navbar&&!1!==t.navbar&&(this.$title||t.logo||t.repo||t.nav||this.$themeLocaleConfig.nav)},shouldShowSidebar:function(){var t=this.$page.frontmatter;return!t.home&&!1!==t.sidebar&&this.sidebarItems.length},sidebarItems:function(){return Object(i.l)(this.$page,this.$page.regularPath,this.$site,this.$localePath)},pageClasses:function(){var t=this.$page.frontmatter.pageClass;return[{"no-navbar":!this.shouldShowNavbar,"sidebar-open":this.isSidebarOpen,"no-sidebar":!this.shouldShowSidebar},t]}},mounted:function(){var t=this;this.$router.afterEach((function(){t.isSidebarOpen=!1}))},methods:{toggleSidebar:function(t){this.isSidebarOpen="boolean"==typeof t?t:!this.isSidebarOpen,this.$emit("toggle-sidebar",this.isSidebarOpen)},onTouchStart:function(t){this.touchStart={x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}},onTouchEnd:function(t){var e=t.changedTouches[0].clientX-this.touchStart.x,n=t.changedTouches[0].clientY-this.touchStart.y;Math.abs(e)>Math.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))}}}),B=Object(a.a)(W,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){return t.toggleSidebar(!1)}}}),t._v(" "),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("sidebar-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("sidebar-bottom")]},proxy:!0}],null,!0)}),t._v(" "),t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("page-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("page-bottom")]},proxy:!0}],null,!0)})],1)}),[],!1,null,null,null);e.default=B.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{164:function(t,n,e){},165:function(t,n,e){"use strict";var a=e(164);e.n(a).a},175:function(t,n,e){"use strict";e.r(n);var a={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,n){var e=n.props,a=n.slots;return t("span",{class:["badge",e.type,e.vertical]},e.text||a().default)}},r=(e(165),e(0)),i=Object(r.a)(a,void 0,void 0,!1,null,"099ab69c",null);n.default=i.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{172:function(t,e,n){"use strict";n.r(e);var s={mounted:function(){var t=document.createElement("script");t.type="text/javascript",t.charset="UTF-8",t.src="http://tajs.qq.com/stats?sId=59154049",document.body.appendChild(t)}},c=n(0),a=Object(c.a)(s,function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"content"})},[],!1,null,null,null);e.default=a.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{271:function(t,a,s){t.exports=s.p+"assets/img/640.3b07f3df.gif"},327:function(t,a,s){t.exports=s.p+"assets/img/zmb.8a5c7e57.png"},328:function(t,a,s){t.exports=s.p+"assets/img/xmb.408ebadc.png"},329:function(t,a,s){t.exports=s.p+"assets/img/mb.3975a0b4.png"},330:function(t,a,s){t.exports=s.p+"assets/img/bd.78f8d545.png"},331:function(t,a,s){t.exports=s.p+"assets/img/lb1.42c077ea.png"},332:function(t,a,s){t.exports=s.p+"assets/img/lb2.c5109381.png"},333:function(t,a,s){t.exports=s.p+"assets/img/lb3.5fa2e819.png"},334:function(t,a,s){t.exports=s.p+"assets/img/jt.1a1f5697.png"},345:function(t,a,s){"use strict";s.r(a);var v=s(33),_=Object(v.a)({},(function(){var t=this,a=t.$createElement,v=t._self._c||a;return v("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[v("h1",{attrs:{id:"场景设计器组件介绍"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#场景设计器组件介绍"}},[t._v("#")]),t._v(" 场景设计器组件介绍")]),t._v(" "),v("p",[v("img",{attrs:{src:s(271),alt:"An image"}})]),t._v(" "),v("h2",{attrs:{id:"大数据组件"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#大数据组件"}},[t._v("#")]),t._v(" 大数据组件")]),t._v(" "),v("p",[t._v("  大数据提供dataV组件库,echarts图表组件,页面组件,以及通用的链接组件")]),t._v(" "),v("h3",{attrs:{id:"datav组件"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#datav组件"}},[t._v("#")]),t._v(" dataV组件")]),t._v(" "),v("p",[t._v("  提供多种多样的大数据类组件,提供以下类型组件")]),t._v(" "),v("blockquote",[v("ul",[v("li",[t._v("边框组件")]),t._v(" "),v("li",[t._v("装饰")]),t._v(" "),v("li",[t._v("动态环图")]),t._v(" "),v("li",[t._v("胶囊柱图")]),t._v(" "),v("li",[t._v("矩形水位图")]),t._v(" "),v("li",[t._v("圆角水位图")]),t._v(" "),v("li",[t._v("圆形水位图")]),t._v(" "),v("li",[t._v("进度池")]),t._v(" "),v("li",[t._v("数字翻牌器")]),t._v(" "),v("li",[t._v("基本轮播表")]),t._v(" "),v("li",[t._v("排名轮播表")]),t._v(" "),v("li",[t._v("图表组件")])])]),t._v(" "),v("p",[t._v("除边框组件不支持拖拽布局外,其他组件都支持拖拽布局,并支持8个方向轻微跳转大小")]),t._v(" "),v("h4",{attrs:{id:"组件定位"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#组件定位"}},[t._v("#")]),t._v(" 组件定位")]),t._v(" "),v("p",[t._v("​\t 用户可配置左侧定位,顶部定位,用以微调,进行排列,格式为'1px'")]),t._v(" "),v("h4",{attrs:{id:"样式配置"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#样式配置"}},[t._v("#")]),t._v(" 样式配置")]),t._v(" "),v("p",[t._v("  用户可配置宽度,高度")]),t._v(" "),v("h4",{attrs:{id:"sql配置"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#sql配置"}},[t._v("#")]),t._v(" sql配置")]),t._v(" "),v("p",[t._v("​ 组件内部会将数据的配置提供给配置人员,配置人员只需在每个配置项种进行配置并返回对应格式数据,组件即会动态更新")]),t._v(" "),v("h4",{attrs:{id:"数据配置"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#数据配置"}},[t._v("#")]),t._v(" 数据配置")]),t._v(" "),v("p",[t._v("  组件的基础配置都存在在数据配置中,例如标题内容,标题颜色等各种各样的配置都将存放在数据配置中")]),t._v(" "),v("h2",{attrs:{id:"门户组件"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#门户组件"}},[t._v("#")]),t._v(" 门户组件")]),t._v(" "),v("p",[t._v("门户组件提供不同类的模板,内置了部分不需要配置功能,如登录模板的用户登录,用户注册,修改密码等.")]),t._v(" "),v("p",[t._v("门户组件分为以下几类:")]),t._v(" "),v("h3",{attrs:{id:"登录模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#登录模板"}},[t._v("#")]),t._v(" 登录模板")]),t._v(" "),v("p",[t._v("  登录模板内部提供了用户登录,用户注册,修改密码, 用户可以通过配置项来选择关闭或开启部分功能的开放,")]),t._v(" "),v("h3",{attrs:{id:"门户模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#门户模板"}},[t._v("#")]),t._v(" 门户模板")]),t._v(" "),v("p",[t._v("  门户模板内部提供了顶部导航栏,底部展示栏配置,用户可根据需求,进行tabs配置和底部显示内容的配置,门户模板tabs配置应为"),v("strong",[t._v("子模板ID")]),t._v(",页面主体内容展示应放于子模板之中.")]),t._v(" "),v("h3",{attrs:{id:"个人中心模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#个人中心模板"}},[t._v("#")]),t._v(" 个人中心模板")]),t._v(" "),v("p",[t._v("  个人中心模板提供了tabs配置并且内置了修改密码,修改绑定邮箱,修改绑定手机功能,")]),t._v(" "),v("h2",{attrs:{id:"后台模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#后台模板"}},[t._v("#")]),t._v(" 后台模板")]),t._v(" "),v("p",[t._v("  后台模板提供左部菜单栏,用户可配置左部菜单栏列表实现不同列表页面之间的切换,并支持用户配置展示栏的展示数据")]),t._v(" "),v("h2",{attrs:{id:"链接组件"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#链接组件"}},[t._v("#")]),t._v(" 链接组件")]),t._v(" "),v("p",[t._v("  模板之间的链接都由链接组件链接,链接组件可链接以下多种模板数据:")]),t._v(" "),v("h4",{attrs:{id:"主模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#主模板"}},[t._v("#")]),t._v(" 主模板")]),t._v(" "),v("p",[t._v("  配置人员只需要获取到主模板Id,并将主模板ID放入链接组件的配置值中,即可完成链接并展示在设计器.")]),t._v(" "),v("p",[v("img",{attrs:{src:s(327),alt:"An image"}})]),t._v(" "),v("h4",{attrs:{id:"子模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#子模板"}},[t._v("#")]),t._v(" 子模板")]),t._v(" "),v("p",[t._v("  子模板需要配置人员提前创建子模板.子模板创建应为当前主模板的子类,创建子模板后进行子模板编辑即可获取到子模板ID,之后将Id传入子模板即可展示")]),t._v(" "),v("p",[v("img",{attrs:{src:s(328),alt:"An image"}})]),t._v(" "),v("h4",{attrs:{id:"事务模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#事务模板"}},[t._v("#")]),t._v(" 事务模板")]),t._v(" "),v("p",[t._v("  事务模板指以及配置流程,且可以在页面单独展示的模板,配置人员获取到事务模板ID后,可直接传入Id即可完成链接")]),t._v(" "),v("p",[v("img",{attrs:{src:s(329),alt:"An image"}})]),t._v(" "),v("h4",{attrs:{id:"表单模板"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#表单模板"}},[t._v("#")]),t._v(" 表单模板")]),t._v(" "),v("p",[t._v("  表单模板为表单设计器中设计的模板,并没有进行流程配置,只是单纯的表单,这里需要获取到表单模板ID,并传入即可完成对接")]),t._v(" "),v("p",[v("img",{attrs:{src:s(330),alt:"An image"}})]),t._v(" "),v("h2",{attrs:{id:"特殊模板说明"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#特殊模板说明"}},[t._v("#")]),t._v(" 特殊模板说明")]),t._v(" "),v("h3",{attrs:{id:"轮播组件"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#轮播组件"}},[t._v("#")]),t._v(" 轮播组件")]),t._v(" "),v("p",[t._v("  轮播组件的轮播图应在后台=>门户管理=>广告版位管理新建栏目=>上传图片=>拿取关键字后将关键字传入轮播组件即可")]),t._v(" "),v("p",[t._v("以下为图片说明")]),t._v(" "),v("ol",[v("li",[t._v("创建广告版位管理")])]),t._v(" "),v("p",[v("img",{attrs:{src:s(331),alt:"An image"}})]),t._v(" "),v("ol",{attrs:{start:"2"}},[v("li",[t._v("选择对应栏目并上传")])]),t._v(" "),v("p",[v("img",{attrs:{src:s(332),alt:"An image"}})]),t._v(" "),v("ol",{attrs:{start:"3"}},[v("li",[t._v("拿取关键字")])]),t._v(" "),v("p",[v("img",{attrs:{src:s(333),alt:"An image"}})]),t._v(" "),v("ol",{attrs:{start:"4"}},[v("li",[t._v("将关键字放入轮播图组件的配置项即可")])]),t._v(" "),v("h3",{attrs:{id:"链接模板组件共享数据监听"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#链接模板组件共享数据监听"}},[t._v("#")]),t._v(" 链接模板组件共享数据监听")]),t._v(" "),v("p",[t._v("  sql配置器中注入了 data 变量,该变量所有组件共享")]),t._v(" "),v("p",[t._v("  子模板配置项中存在是否监听组件共享数据,如果开启,当其中一个组件改变了共享组件,那么只要开启监听的链接组件都会进行重新渲染")]),t._v(" "),v("p",[v("img",{attrs:{src:s(334),alt:"An image"}})])])}),[],!1,null,null,null);a.default=_.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{271:function(t,a,s){t.exports=s.p+"assets/img/640.3b07f3df.gif"},335:function(t,a,s){t.exports=s.p+"assets/img/cz1.31d7e381.png"},336:function(t,a,s){t.exports=s.p+"assets/img/cz2.f50c1114.png"},337:function(t,a,s){t.exports=s.p+"assets/img/cz3.59b7202e.png"},338:function(t,a,s){t.exports=s.p+"assets/img/cz4.e7286fe8.png"},339:function(t,a,s){t.exports=s.p+"assets/img/xmb.408ebadc.png"},347:function(t,a,s){"use strict";s.r(a);var r=s(33),e=Object(r.a)({},(function(){var t=this,a=t.$createElement,r=t._self._c||a;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h1",{attrs:{id:"场景设计器配置流程"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#场景设计器配置流程"}},[t._v("#")]),t._v(" 场景设计器配置流程")]),t._v(" "),r("p",[r("img",{attrs:{src:s(271),alt:"An image"}})]),t._v(" "),r("h2",{attrs:{id:"新增主模板"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#新增主模板"}},[t._v("#")]),t._v(" 新增主模板")]),t._v(" "),r("p",[t._v("  进入设计器列表页面点击新增,输入相关配置项,完成新增\n"),r("img",{attrs:{src:s(335),alt:"An image"}})]),t._v(" "),r("p",[t._v("##选择设计器")]),t._v(" "),r("p",[t._v(" 在模板列表找到新建的主模板点击编辑按钮进入,进入后选择对应页面设计器\n"),r("img",{attrs:{src:s(336),alt:"An image"}})]),t._v(" "),r("p",[t._v("##操作栏配置和说明")]),t._v(" "),r("p",[t._v("  选择设计器完成后进入操作栏\n"),r("img",{attrs:{src:s(337),alt:"An image"}})]),t._v(" "),r("h3",{attrs:{id:"主模板选择"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#主模板选择"}},[t._v("#")]),t._v(" 主模板选择")]),t._v(" "),r("p",[t._v("  用户可以点击修改和删除对当前主模板进行删除")]),t._v(" "),r("h3",{attrs:{id:"选中模板详情"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#选中模板详情"}},[t._v("#")]),t._v(" 选中模板详情")]),t._v(" "),r("p",[t._v("  用户可以在这里对当前模板的详细数据进行获取,并进行预览")]),t._v(" "),r("h3",{attrs:{id:"模板页面管理"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#模板页面管理"}},[t._v("#")]),t._v(" 模板页面管理")]),t._v(" "),r("p",[t._v("  配置人员可进行子模板创建,和子模板之间切换分配,也可进行子模板之前的保存,修改,删除等")]),t._v(" "),r("p",[r("img",{attrs:{src:s(338),alt:"An image"}})]),t._v(" "),r("h3",{attrs:{id:"页面展示宽高配置"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#页面展示宽高配置"}},[t._v("#")]),t._v(" 页面展示宽高配置")]),t._v(" "),r("h4",{attrs:{id:"px"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#px"}},[t._v("#")]),t._v(" px")]),t._v(" "),r("p",[t._v("元素外部宽高会按照配置的宽高显示")]),t._v(" "),r("h4",{attrs:{id:"百分比"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#百分比"}},[t._v("#")]),t._v(" 百分比")]),t._v(" "),r("p",[t._v("元素外部宽高会自适应上级元素的框")]),t._v(" "),r("h3",{attrs:{id:"背景配置"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#背景配置"}},[t._v("#")]),t._v(" 背景配置")]),t._v(" "),r("p",[t._v("用户可以选择背景图或者背景颜色进行对应配置")]),t._v(" "),r("h3",{attrs:{id:"尺寸配置"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#尺寸配置"}},[t._v("#")]),t._v(" 尺寸配置")]),t._v(" "),r("p",[t._v("可配置当前模板的宽度,高度")]),t._v(" "),r("h2",{attrs:{id:"创建子模板并获取子模板id"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#创建子模板并获取子模板id"}},[t._v("#")]),t._v(" 创建子模板并获取子模板Id")]),t._v(" "),r("p",[r("img",{attrs:{src:s(339),alt:"An image"}})]),t._v(" "),r("h2",{attrs:{id:"模板对接"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#模板对接"}},[t._v("#")]),t._v(" 模板对接")]),t._v(" "),r("p",[t._v("获取子模板Id后切换到主模板点击组件进入配置项,进行对应子模板的配置项绑定,或者使用链接组件进行子模板绑定")]),t._v(" "),r("h2",{attrs:{id:"绑定完成进行配置"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#绑定完成进行配置"}},[t._v("#")]),t._v(" 绑定完成进行配置")]),t._v(" "),r("p",[t._v("到此模板新建已经完成,配置完成后预览即可")])])}),[],!1,null,null,null);a.default=e.exports}}]);
\ 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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{271:function(t,a,s){t.exports=s.p+"assets/img/640.3b07f3df.gif"},323:function(t,a,s){t.exports=s.p+"assets/img/mh.d9d1243b.png"},324:function(t,a,s){t.exports=s.p+"assets/img/login.a8005b46.png"},325:function(t,a,s){t.exports=s.p+"assets/img/home.27c721f5.png"},326:function(t,a,s){t.exports=s.p+"assets/img/cz.4d6d4902.png"},344:function(t,a,s){"use strict";s.r(a);var n=s(33),r=Object(n.a)({},(function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"场景设计器"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#场景设计器"}},[t._v("#")]),t._v(" 场景设计器")]),t._v(" "),n("p",[n("img",{attrs:{src:s(271),alt:"An image"}})]),t._v(" "),n("p",[t._v("  场景设计器主要用于对组件拖拽定位,并生成一个全新的页面,配置人员可通过不同的配置从而完成对页面进行修改以适应学院的需求,场景设计器细化可分为以下种类:")]),t._v(" "),n("blockquote",[n("ul",[n("li",[t._v("大数据设计器")]),t._v(" "),n("li",[t._v("门户设计器")]),t._v(" "),n("li",[t._v("后台页面设计器")])])]),t._v(" "),n("h2",{attrs:{id:"设计器功能介绍"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#设计器功能介绍"}},[t._v("#")]),t._v(" 设计器功能介绍")]),t._v(" "),n("h3",{attrs:{id:"大数据设计器"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#大数据设计器"}},[t._v("#")]),t._v(" 大数据设计器")]),t._v(" "),n("p",[t._v("  大数据设计器采用平面设计,即单页面,所有数据列表不存在分页,配置只需循序主模板排版定位,子模板数据查询和组件展示原则即可, 大数据模板本身并不支持路由切换")]),t._v(" "),n("h3",{attrs:{id:"门户设计器"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#门户设计器"}},[t._v("#")]),t._v(" 门户设计器")]),t._v(" "),n("p",[t._v("  门户设计器采用多层次,多梯队设计,支持路由之前切换,并可以获取路由携带的各个参数将其参数参入配置项,执行配置人员所配置的对应流程逻辑,门户设计器提供多个"),n("strong",[t._v("登录模板")]),t._v(","),n("strong",[t._v("个人中心模板")]),t._v(","),n("strong",[t._v("门户模板")]),t._v(",并支持多个模板之间指定路由切换")]),t._v(" "),n("h4",{attrs:{id:"登录模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#登录模板"}},[t._v("#")]),t._v(" 登录模板")]),t._v(" "),n("p",[t._v("  内置账号注册,账号登录,密码修改等功能,配置人员只需修改展示文字logo等")]),t._v(" "),n("h4",{attrs:{id:"个人中心模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#个人中心模板"}},[t._v("#")]),t._v(" 个人中心模板")]),t._v(" "),n("p",[t._v("  内置密码修改,手机绑定,邮箱绑定等功能,且支持配置其他点击项,配置人员可根据需求自由调整,修改")]),t._v(" "),n("h4",{attrs:{id:"门户模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#门户模板"}},[t._v("#")]),t._v(" 门户模板")]),t._v(" "),n("p",[t._v("  内置顶部和底部,主体内容由子模板接入,配置人员完成子模板配置后,直接将子模板Id嵌入即可正常显示,顶部和底部所有数据都可以在配置中进行修改")]),t._v(" "),n("h3",{attrs:{id:"后台设计器"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#后台设计器"}},[t._v("#")]),t._v(" 后台设计器")]),t._v(" "),n("p",[t._v("  提供多个后台设计模板,可通过配置路由,动态生成配置路由,并点击时通过切换不同的子模板Id实现路由之间切换")]),t._v(" "),n("h2",{attrs:{id:"设计器模板思路"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#设计器模板思路"}},[t._v("#")]),t._v(" 设计器模板思路")]),t._v(" "),n("p",[t._v("  设计器为达到多人协同开发,所以模板有"),n("strong",[t._v("主模板")]),t._v("和"),n("strong",[t._v("子模板")])]),t._v(" "),n("h3",{attrs:{id:"主模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#主模板"}},[t._v("#")]),t._v(" 主模板")]),t._v(" "),n("p",[t._v("  主模板原则上是做页面定位拼接,用以最后形成一个完整的页面,主模板应避免直接进行数据操作,防止页面配置时数据返回错误时导致数据丢失问题.")]),t._v(" "),n("p",[t._v("  每个主模板都可以创建各自独有的子模板,然后通过链接类组件进行连接,最后通过拖拽完成页面定位最后生成页面")]),t._v(" "),n("h3",{attrs:{id:"子模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#子模板"}},[t._v("#")]),t._v(" 子模板")]),t._v(" "),n("p",[t._v("  子模板作用为数据的接入和配置,用户可根据需要进行对应图表或轮播等组件嵌入,对应子模板只支持修改各自对应数据,子模板之前数据不可通.")]),t._v(" "),n("h2",{attrs:{id:"组件基础介绍"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#组件基础介绍"}},[t._v("#")]),t._v(" 组件基础介绍")]),t._v(" "),n("p",[t._v("  每个组件都有各自不同的配置项,用户可以根据每个组件提供的配置项进行不同参数的配置,从而达到数据的成功战术,组件也根据使用场景不同分为以下几类组件")]),t._v(" "),n("blockquote",[n("ul",[n("li",[t._v("门户级组件")]),t._v(" "),n("li",[t._v("链接类组件")]),t._v(" "),n("li",[t._v("普通展示组件")])])]),t._v(" "),n("h3",{attrs:{id:"门户级组件"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#门户级组件"}},[t._v("#")]),t._v(" 门户级组件")]),t._v(" "),n("p",[t._v("  该组件为门户级组件.不支持拖拽,用户可通过配置组件提供的子组件Id,从而将子模板导入内部,门户级组件也可通过配置项进行直接修改门户页面的部分数据展示")]),t._v(" "),n("p",[n("strong",[t._v("门户模板展示")]),t._v(" "),n("img",{attrs:{src:s(323),alt:"An image"}})]),t._v(" "),n("p",[n("strong",[t._v("登录模板展示:")]),t._v(" "),n("img",{attrs:{src:s(324),alt:"An image"}})]),t._v(" "),n("p",[n("strong",[t._v("个人中心模板展示:")])]),t._v(" "),n("p",[n("img",{attrs:{src:s(325),alt:"An image"}})]),t._v(" "),n("h3",{attrs:{id:"链接类组件"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#链接类组件"}},[t._v("#")]),t._v(" 链接类组件")]),t._v(" "),n("p",[t._v("  子模板和主模板直接链接的重要组成部分,它可以将子模板内容嵌入主模板中展示,子模板中提供4种模板链接:")]),t._v(" "),n("ul",[n("li",[t._v("主模板")]),t._v(" "),n("li",[t._v("子模板")]),t._v(" "),n("li",[t._v("表单模板")]),t._v(" "),n("li",[t._v("事务模板")])]),t._v(" "),n("h4",{attrs:{id:"主模板-子模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#主模板-子模板"}},[t._v("#")]),t._v(" 主模板&&子模板")]),t._v(" "),n("p",[t._v("  配置人员只需要配置主模板Id或者子模板Id即可导入对应模板数据")]),t._v(" "),n("h4",{attrs:{id:"表单模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#表单模板"}},[t._v("#")]),t._v(" 表单模板")]),t._v(" "),n("p",[t._v("  该模板为模板设计器设计的表单,配置人员需要获取到表单Id并进行Id配置才可导入")]),t._v(" "),n("h4",{attrs:{id:"事务模板"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#事务模板"}},[t._v("#")]),t._v(" 事务模板")]),t._v(" "),n("p",[t._v("  该模板不同于表单模板, 该模板指已经配置了流程的,实现了事务流程的模板Id")]),t._v(" "),n("h3",{attrs:{id:"普通展示组件"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#普通展示组件"}},[t._v("#")]),t._v(" 普通展示组件")]),t._v(" "),n("p",[t._v("  原则上数据展示类组件使用模板设计器内提供组件进行编辑,这里展示组件一般表示为大数据类定制性组件(中国地图,世界地图)等,组件内部提供以下三个类型的数据配置")]),t._v(" "),n("blockquote",[n("ul",[n("li",[t._v("组件定位")]),t._v(" "),n("li",[t._v("样式配置")]),t._v(" "),n("li",[t._v("sql配置")]),t._v(" "),n("li",[t._v("数据配置")])])]),t._v(" "),n("h4",{attrs:{id:"组件定位"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#组件定位"}},[t._v("#")]),t._v(" 组件定位")]),t._v(" "),n("p",[t._v("​\t 用户可配置左侧定位,顶部定位,用以微调,进行排列,格式为'1px'")]),t._v(" "),n("h4",{attrs:{id:"样式配置"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#样式配置"}},[t._v("#")]),t._v(" 样式配置")]),t._v(" "),n("p",[t._v("  用户可配置宽度,高度")]),t._v(" "),n("h4",{attrs:{id:"sql配置"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#sql配置"}},[t._v("#")]),t._v(" sql配置")]),t._v(" "),n("p",[t._v("​ 组件内部会将数据的配置提供给配置人员,配置人员只需在每个配置项种进行配置并返回对应格式数据,组件即会动态更新")]),t._v(" "),n("h4",{attrs:{id:"数据配置"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#数据配置"}},[t._v("#")]),t._v(" 数据配置")]),t._v(" "),n("p",[t._v("  组件的基础配置都存在在数据配置中,例如标题内容,标题颜色等各种各样的配置都将存放在数据配置中")]),t._v(" "),n("p",[t._v("配置实例:")]),t._v(" "),n("p",[n("img",{attrs:{src:s(326),alt:"An image"}})]),t._v(" "),n("h2",{attrs:{id:"相关问题说明"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#相关问题说明"}},[t._v("#")]),t._v(" 相关问题说明")]),t._v(" "),n("h3",{attrs:{id:"门户模板的路由切换"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#门户模板的路由切换"}},[t._v("#")]),t._v(" 门户模板的路由切换")]),t._v(" "),n("p",[t._v("门户模板内置相对独立的路由跳转,调用sql配置器自带router进行跳转,方法示例")]),t._v(" "),n("h4",{attrs:{id:"子模板切换函数"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#子模板切换函数"}},[t._v("#")]),t._v(" 子模板切换函数")]),t._v(" "),n("div",{staticClass:"language-js extra-class"},[n("pre",{pre:!0,attrs:{class:"language-js"}},[n("code",[n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// bassicId 为跳转主模板ID")]),t._v("\nrouter"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("push")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n pathname"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token template-string"}},[n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("/portal/previewModule/")]),n("span",{pre:!0,attrs:{class:"token interpolation"}},[n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("${")]),t._v("bassicId"),n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("}")])]),n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")])]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n state"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n modelId"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v("id"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 子模板id")]),t._v("\n modelKey"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("'concealModel'")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 跳转识别值")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 此处可以携带多个参数")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),n("h4",{attrs:{id:"独立主模板切换函数"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#独立主模板切换函数"}},[t._v("#")]),t._v(" 独立主模板切换函数")]),t._v(" "),n("div",{staticClass:"language-js extra-class"},[n("pre",{pre:!0,attrs:{class:"language-js"}},[n("code",[n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// bassicId 为跳转主模板ID")]),t._v("\nrouter"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("push")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n pathname"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token template-string"}},[n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("/portal/previewModule/")]),n("span",{pre:!0,attrs:{class:"token interpolation"}},[n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("${")]),t._v("bassicId"),n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("}")])]),n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")])]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n state"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n modelId"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v("id"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 主模板id")]),t._v("\n modelKey"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("'mainModel'")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 跳转识别值")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),n("h4",{attrs:{id:"内部主模板切换函数"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#内部主模板切换函数"}},[t._v("#")]),t._v(" 内部主模板切换函数")]),t._v(" "),n("div",{staticClass:"language-js extra-class"},[n("pre",{pre:!0,attrs:{class:"language-js"}},[n("code",[n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// bassicId 为跳转主模板ID")]),t._v("\nrouter"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("push")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n pathname"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token template-string"}},[n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("/portal/previewModule/")]),n("span",{pre:!0,attrs:{class:"token interpolation"}},[n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("${")]),t._v("bassicId"),n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("}")])]),n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")])]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n state"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n modelId"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v("id"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 主模板id")]),t._v("\n modelKey"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("'mainInSideModel'")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 跳转识别值")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 此处可以携带多个参数")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),n("h4",{attrs:{id:"事务模板切换函数"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#事务模板切换函数"}},[t._v("#")]),t._v(" 事务模板切换函数")]),t._v(" "),n("div",{staticClass:"language-js extra-class"},[n("pre",{pre:!0,attrs:{class:"language-js"}},[n("code",[n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// bassicId 为跳转主模板ID")]),t._v("\nrouter"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("push")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n pathname"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token template-string"}},[n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("/portal/previewModule/")]),n("span",{pre:!0,attrs:{class:"token interpolation"}},[n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("${")]),t._v("bassicId"),n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("}")])]),n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")])]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n state"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n modelId"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v("id"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 事务模板id")]),t._v("\n modelKey"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("'formModel'")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 跳转识别值")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 此处可以携带多个参数")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),n("h4",{attrs:{id:"表单模板切换函数"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#表单模板切换函数"}},[t._v("#")]),t._v(" 表单模板切换函数")]),t._v(" "),n("div",{staticClass:"language-js extra-class"},[n("pre",{pre:!0,attrs:{class:"language-js"}},[n("code",[n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// bassicId 为跳转主模板ID")]),t._v("\nrouter"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("push")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n pathname"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token template-string"}},[n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("/portal/previewModule/")]),n("span",{pre:!0,attrs:{class:"token interpolation"}},[n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("${")]),t._v("bassicId"),n("span",{pre:!0,attrs:{class:"token interpolation-punctuation punctuation"}},[t._v("}")])]),n("span",{pre:!0,attrs:{class:"token template-punctuation string"}},[t._v("`")])]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n state"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n modelId"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v("id"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 表单模板ID")]),t._v("\n modelKey"),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),n("span",{pre:!0,attrs:{class:"token string"}},[t._v("'formTwoModel'")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 跳转识别值")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 此处可以携带多个参数")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),n("h3",{attrs:{id:"组件内置sql配置自带变量"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#组件内置sql配置自带变量"}},[t._v("#")]),t._v(" 组件内置SQl配置自带变量")]),t._v(" "),n("h4",{attrs:{id:"utils"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#utils"}},[t._v("#")]),t._v(" utils")]),t._v(" "),n("p",[t._v("该变量为一个对象,内置以下数据")]),t._v(" "),n("blockquote",[n("p",[t._v("moment")]),t._v(" "),n("p",[t._v("  时间格式化函数")]),t._v(" "),n("p",[t._v("sql")]),t._v(" "),n("p",[t._v("  sql请求函数")]),t._v(" "),n("p",[t._v("req")]),t._v(" "),n("p",[t._v("  req请求函数")]),t._v(" "),n("p",[t._v("setValues")]),t._v(" "),n("p",[t._v("  参数设置方法")]),t._v(" "),n("p",[t._v("router")]),t._v(" "),n("p",[t._v("  路由跳转方法")]),t._v(" "),n("p",[t._v("message")]),t._v(" "),n("p",[t._v("  消息提示方法")]),t._v(" "),n("p",[t._v("md5")]),t._v(" "),n("p",[t._v("  加密方法")])]),t._v(" "),n("h4",{attrs:{id:""}},[n("a",{staticClass:"header-anchor",attrs:{href:"#"}},[t._v("#")]),t._v(" $")]),t._v(" "),n("p",[n("strong",[t._v("中台自有函数库")])]),t._v(" "),n("h4",{attrs:{id:"router"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#router"}},[t._v("#")]),t._v(" router")]),t._v(" "),n("p",[t._v("为当前路由所携带的"),n("strong",[t._v("路由参数")]),t._v(",调用时应注意")]),t._v(" "),n("p",[t._v("####data")]),t._v(" "),n("p",[t._v("所有属性共享参数,当其中一个组件改变了当前变量,则会重新渲染开启了监听的链接组件")])])}),[],!1,null,null,null);a.default=r.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{170:function(_,e,v){"use strict";v.r(e);var t={mounted:function(){var _=document.createElement("script");_.type="text/javascript",_.charset="UTF-8",_.src="http://tajs.qq.com/stats?sId=59154049",document.body.appendChild(_)}},i=v(0),c=Object(i.a)(t,function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("div",{staticClass:"content"},[_._m(0),_._v(" "),v("blockquote",[v("p",[v("a",{attrs:{href:"https://upload-images.jianshu.io/upload_images/1480597-1f247397539045cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240",target:"_blank",rel:"noopener noreferrer"}},[_._v("如果您觉得有帮助,可以\b打赏我"),v("OutboundLink")],1),_._v(" "),v("img",{attrs:{src:"!%5B%5D(https://upload-images.jianshu.io/upload_images/1480597-1f247397539045cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)",alt:""}})])]),_._v(" "),v("blockquote",[v("p",[v("a",{attrs:{href:"https://upload-images.jianshu.io/upload_images/1480597-933c7247ddac5ed4.png",target:"_blank",rel:"noopener noreferrer"}},[_._v("关注微信公众号获取更多面试题:@静观流叶"),v("OutboundLink")],1),_._v(" "),v("img",{attrs:{src:"!%5B%5D(https://upload-images.jianshu.io/upload_images/1480597-933c7247ddac5ed4.png)",alt:""}})])]),_._v(" "),_._m(1),_._v(" "),_._m(2),_._v(" "),_._m(3),_._v(" "),_._m(4),_._v(" "),_._m(5),_._v(" "),_._m(6),_._v(" "),_._m(7),_._v(" "),_._m(8),_._v(" "),_._m(9),_._v(" "),_._m(10),_._v(" "),_._m(11),_._v(" "),_._m(12),_._v(" "),_._m(13),_._v(" "),_._m(14),_._v(" "),_._m(15),_._v(" "),_._m(16),_._v(" "),_._m(17),_._v(" "),_._m(18),_._v(" "),_._m(19),_._v(" "),v("ul",[_._m(20),_._v(" "),v("li",[_._v("移动端的缓存机制有哪几种?")]),_._v(" "),_._m(21),_._v(" "),v("li",[_._v("过万条数据如何加载和渲染?")]),_._v(" "),v("li",[_._v("如何在前端解析二进制,流媒体、图片二进制数据怎样渲染到页面上?")]),_._v(" "),v("li",[_._v("如何解析二进制音频、视频?")]),_._v(" "),v("li",[_._v("文件如何显示上传百分比?")]),_._v(" "),v("li",[_._v("如何制作一个富文本,需要考虑哪些结构?")]),_._v(" "),_._m(22),_._v(" "),v("li",[_._v("如何在浏览器里面裁剪图片?如何裁剪视频,对视频做逐帧分析?")]),_._v(" "),v("li",[_._v("如何实现一个具有引导功能的组件库?")]),_._v(" "),_._m(23),_._v(" "),_._m(24),_._v(" "),_._m(25),_._v(" "),v("li",[_._v("数据埋点的意义是什么?应当针对哪些数据进行埋点?如何构建一个埋点系统?")]),_._v(" "),v("li",[_._v("小程序的实现原理是什么?"),v("a",{attrs:{href:"https://github.com/phodal/articles/issues/32",target:"_blank",rel:"noopener noreferrer"}},[_._v("这【五篇】文章将带你深入了解「微信小程序」"),v("OutboundLink")],1)])]),_._v(" "),_._m(26),_._v(" "),_._m(27),_._v(" "),_._m(28),_._v(" "),_._m(29),_._v(" "),_._m(30),_._v(" "),_._m(31),_._v(" "),_._m(32),_._v(" "),_._m(33)])},[function(){var _=this.$createElement,e=this._self._c||_;return e("h1",{attrs:{id:"第七部分:综合问题版"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#第七部分:综合问题版","aria-hidden":"true"}},[this._v("#")]),this._v(" 第七部分:综合问题版")])},function(){var _=this.$createElement,e=this._self._c||_;return e("blockquote",[e("p",[this._v("这里不做解答,请自行查阅相关答案。")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h2",{attrs:{id:"一、基础"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#一、基础","aria-hidden":"true"}},[this._v("#")]),this._v(" 一、基础")])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_1-1-html"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-1-html","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.1 HTML")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("html5")]),_._v("新标签有哪些")]),_._v(" "),v("li",[v("code",[_._v("canvas")]),_._v("、"),v("code",[_._v("svg")]),_._v("、"),v("code",[_._v("webGL")])]),_._v(" "),v("li",[_._v("你是如何理解 "),v("code",[_._v("HTML")]),_._v("语义化的,有什么好处")]),_._v(" "),v("li",[_._v("前端需要注意哪些"),v("code",[_._v("SEO")]),_._v("?")]),_._v(" "),v("li",[v("code",[_._v("manifest")]),_._v("、"),v("code",[_._v("worker")]),_._v("、"),v("code",[_._v("socket")])]),_._v(" "),v("li",[v("code",[_._v("input")]),_._v("和"),v("code",[_._v("textarea")]),_._v("的区别")]),_._v(" "),v("li",[_._v("用一个"),v("code",[_._v("div")]),_._v("模拟"),v("code",[_._v("textarea")]),_._v("的实现")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_1-2-css"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-2-css","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.2 CSS")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("css3")]),_._v("有什么新特性,浏览器支持怎么样")]),_._v(" "),v("li",[_._v("伪类是什么?有哪些?会有哪些兼容性问题?如何处理?")]),_._v(" "),v("li",[v("code",[_._v("css")]),_._v("预处理器知道吗?用过哪些?有什么优劣?后处理器知道吗?")]),_._v(" "),v("li",[_._v("盒模型有哪几种?怪异模式和标准模式?")]),_._v(" "),v("li",[v("code",[_._v("less")]),_._v("、"),v("code",[_._v("sass")]),_._v("、"),v("code",[_._v("postcss")]),_._v("、"),v("code",[_._v("prefix")])]),_._v(" "),v("li",[_._v("层叠优先级")]),_._v(" "),v("li",[_._v("圣杯、双飞燕布局")]),_._v(" "),v("li",[v("code",[_._v("float")]),_._v("清除浮动")]),_._v(" "),v("li",[v("code",[_._v("flex")]),_._v("布局、 "),v("code",[_._v("grid")]),_._v("布局、"),v("code",[_._v("table")]),_._v("布局")]),_._v(" "),v("li",[v("code",[_._v("css")]),_._v("以及中轴旋转、动画变换")]),_._v(" "),v("li",[_._v("绘制三角形、矩形、菱形、梯形(奇巧淫技,可以不问)")]),_._v(" "),v("li",[v("code",[_._v("sprite")]),_._v("图(雪碧图)知道吗?"),v("code",[_._v("svg")]),_._v("雪碧图了解吗?")]),_._v(" "),v("li",[v("code",[_._v("px")]),_._v("、"),v("code",[_._v("em")]),_._v("、"),v("code",[_._v("rem")]),_._v("、"),v("code",[_._v("vw")]),_._v("、"),v("code",[_._v("vh")]),_._v("?"),v("code",[_._v("rem")]),_._v("的根节点样式在什么时候设置?")]),_._v(" "),v("li",[v("code",[_._v("position")]),_._v("有哪些?他们的定位原点是什么?")]),_._v(" "),v("li",[_._v("媒体查询用"),v("code",[_._v("css")]),_._v("好还是用"),v("code",[_._v("js")]),_._v("好?")]),_._v(" "),v("li",[v("code",[_._v("link")]),_._v("和"),v("code",[_._v("@import")]),_._v("的区别?")]),_._v(" "),v("li",[_._v("响应式布局的原理")]),_._v(" "),v("li",[v("code",[_._v("css")]),_._v("低版本浏览器兼容问题,额外需要什么后缀来声明浏览器兼容")]),_._v(" "),v("li",[v("code",[_._v("!important")]),_._v("意义,是否应当规避使用?")]),_._v(" "),v("li",[v("code",[_._v("BFC")]),_._v("块级上下文、"),v("code",[_._v("IFC")]),_._v(",实现双栏高度对齐")]),_._v(" "),v("li",[v("code",[_._v("BEM")]),_._v("命名法,有什么优势,有什么劣势")]),_._v(" "),v("li",[v("code",[_._v("1px")]),_._v("边框问题")]),_._v(" "),v("li",[_._v("(水平)居中有哪些实现方式、(垂直)居中有哪些实现方式")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_1-3-javascript"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-3-javascript","aria-hidden":"true"}},[this._v("#")]),this._v(" 1.3 JavaScript")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("typeof")]),_._v("以及弱类型转换规则?"),v("code",[_._v("NaN")]),_._v("、"),v("code",[_._v("undefined")]),_._v("、"),v("code",[_._v("null")])]),_._v(" "),v("li",[v("code",[_._v("dom")]),_._v("的节点操作?能够背"),v("code",[_._v("api")]),_._v("还是知道"),v("code",[_._v("api")]),_._v("?")]),_._v(" "),v("li",[v("code",[_._v("ajax")]),_._v("是什么?知道底层实现原理吗?知道"),v("code",[_._v("fetch")]),_._v("吗?自己封装过吗?")]),_._v(" "),v("li",[v("code",[_._v("GET")]),_._v("、"),v("code",[_._v("POST")]),_._v("意义?"),v("code",[_._v("restful")]),_._v("架构下还有别的什么请求?"),v("code",[_._v("OPTION")]),_._v("请求是什么?")]),_._v(" "),v("li",[_._v("事件冒泡和事件捕获是怎样的?对应的默认方法有什么?一般在什么情况使用?")]),_._v(" "),v("li",[v("code",[_._v("call")]),_._v("、"),v("code",[_._v("apply")]),_._v("、"),v("code",[_._v("bind")])]),_._v(" "),v("li",[_._v("如何判断数据类型?")]),_._v(" "),v("li",[v("code",[_._v("hoisting")]),_._v("是什么?具体表现是怎样的?")]),_._v(" "),v("li",[_._v("匿名函数是什么?函数表达式和函数声明的区别?")]),_._v(" "),v("li",[v("code",[_._v("let")]),_._v("、"),v("code",[_._v("const")]),_._v("暂时性锁区知道吗?表现是怎样的?")]),_._v(" "),v("li",[_._v("严格模式是什么?有什么好处?"),v("code",[_._v("use strict")])]),_._v(" "),v("li",[v("code",[_._v("arguments")]),_._v("是什么类型?"),v("code",[_._v("callee")]),_._v("和"),v("code",[_._v("caller")]),_._v("有什么区别?")]),_._v(" "),v("li",[v("code",[_._v("Date.format")]),_._v("实现过吗?思路是怎样的?")]),_._v(" "),v("li",[_._v("动画:"),v("code",[_._v("setTimeout")]),_._v("何时执行,"),v("code",[_._v("requestAnimationFrame")]),_._v("的优点")]),_._v(" "),v("li",[_._v("你知道"),v("code",[_._v("new")]),_._v("一个对象有几步吗?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h2",{attrs:{id:"二、高级"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#二、高级","aria-hidden":"true"}},[this._v("#")]),this._v(" 二、高级")])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_2-1-browser"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-1-browser","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.1 Browser")])},function(){var _=this.$createElement,e=this._self._c||_;return e("ul",[e("li",[this._v("打开一个网页经历了那些过程?")]),this._v(" "),e("li",[this._v("浏览器加载白屏是什么原因?")]),this._v(" "),e("li",[this._v("千万访问量的项目,前端需要注意些什么?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_2-2-javascript"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-2-javascript","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.2 JavaScript")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[_._v("表达式和语句有什么区别?如何把语句转换为表达式?")]),_._v(" "),v("li",[_._v("什么叫执行上下文栈(·Execution Context Stack)·? 一个函数调用会产生多少个上下文环境?如何激活一个上下文,什么叫caller(调用者),什么叫callee(被调用者)?给你一段代码能否画出执行过程中的上下文堆栈变化?")]),_._v(" "),v("li",[_._v("执行上下文包括哪些结构(状态/属性),如何追踪关联代码的执行进度?")]),_._v(" "),v("li",[v("code",[_._v("eval")]),_._v("在调用的时候有哪些特别的地方?"),v("code",[_._v("eval")]),_._v("函数自身会产生上下文吗?会影响当前的调用上下文吗?")]),_._v(" "),v("li",[_._v("什么叫变量对象?什么叫活动对象?")]),_._v(" "),v("li",[_._v("词法作用域是什么?闭包是如何形成的?")]),_._v(" "),v("li",[v("code",[_._v("var foo = function bar () {}")]),_._v("命名函数表达式中(上述的foo函数)bar变量是定义在哪一层作用域的?")]),_._v(" "),v("li",[v("code",[_._v("(0, 1, 2)")]),_._v(" 的结果是什么?")]),_._v(" "),v("li",[v("code",[_._v("var foo = { value: 2, bar: function () { return this.value; } 中(foo.bar, foo.bar)()")]),_._v("的"),v("code",[_._v("this")]),_._v("值是什么?"),v("code",[_._v("(foo.bar = foo.bar)()、(false || foo.bar)()")]),_._v("呢?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_2-3-http"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-3-http","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.3 HTTP")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("http1.0")]),_._v("和"),v("code",[_._v("http1.1")]),_._v("的区别")]),_._v(" "),v("li",[v("code",[_._v("http")]),_._v("请求码有哪些?"),v("code",[_._v("206")]),_._v("、"),v("code",[_._v("302")]),_._v("、"),v("code",[_._v("303")]),_._v("、"),v("code",[_._v("304")]),_._v("、"),v("code",[_._v("307")])]),_._v(" "),v("li",[_._v("能说下"),v("code",[_._v("304")]),_._v("具体怎样实现吗?")]),_._v(" "),v("li",[v("code",[_._v("http")]),_._v("缓存逻辑是怎样的?协商缓存与强缓存?"),v("code",[_._v("Last-Modified")]),_._v(" / "),v("code",[_._v("Etag")]),_._v(" / "),v("code",[_._v("Expires")]),_._v(" / "),v("code",[_._v("Cache-Control")]),_._v("?")]),_._v(" "),v("li",[v("code",[_._v("osi")]),_._v("七层协议和"),v("code",[_._v("tcp/ip")]),_._v("四层协议")]),_._v(" "),v("li",[_._v("三次握手和四次握手")]),_._v(" "),v("li",[_._v("跨域是什么?http协议中如何判断跨域?如何解决跨域问题?")]),_._v(" "),v("li",[v("code",[_._v("http2")]),_._v("具体内容?"),v("code",[_._v("SDPY")]),_._v("了解么?")]),_._v(" "),v("li",[v("code",[_._v("HTTPS")]),_._v("如何实现?"),v("code",[_._v("tsl/ssl")]),_._v("是什么?对称加密、非对称加密在什么时候、对什么数据加密?")]),_._v(" "),v("li",[v("code",[_._v("DNS")]),_._v("劫持是什么?")]),_._v(" "),v("li",[_._v("浏览器在一次 "),v("code",[_._v("HTTP")]),_._v(" 请求中,需要传输一个 "),v("code",[_._v("4097")]),_._v(" 字节的文本数据给服务端,可以采用那些方式?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_2-4-优化"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-4-优化","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.4 优化")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[_._v("首屏优化")]),_._v(" "),v("li",[_._v("预加载资源、预解析"),v("code",[_._v("DNS")])]),_._v(" "),v("li",[_._v("懒加载图片怎么做")]),_._v(" "),v("li",[v("code",[_._v("iframe")]),_._v("一般怎么使用?")]),_._v(" "),v("li",[v("code",[_._v("window.onload")]),_._v("、"),v("code",[_._v("document.ready")]),_._v("顺序?"),v("code",[_._v("iframe")]),_._v("会阻塞吗?")]),_._v(" "),v("li",[v("code",[_._v("cdn")]),_._v("是什么?如何查找最近的"),v("code",[_._v("cdn")]),_._v("?")]),_._v(" "),v("li",[v("code",[_._v("gzip")]),_._v("、"),v("code",[_._v("chucked")])]),_._v(" "),v("li",[_._v("前端安全:"),v("code",[_._v("xss")]),_._v("攻击和防范、"),v("code",[_._v("CSRF")]),_._v("、"),v("code",[_._v("CORS")])]),_._v(" "),v("li",[_._v("硬件加速怎样开启")]),_._v(" "),v("li",[_._v("优化中会提到缓存的问题,问:静态资源或者接口等如何做缓存优化")]),_._v(" "),v("li",[_._v("页面"),v("code",[_._v("DOM")]),_._v("节点太多,会出现什么问题?如何优化?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_2-5-products"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-5-products","aria-hidden":"true"}},[this._v("#")]),this._v(" 2.5 Products")])},function(){var _=this.$createElement,e=this._self._c||_;return e("blockquote",[e("p",[this._v("这里主要是一些生产中真实存在的问题")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("li",[this._v("一个"),e("code",[this._v("feed")]),this._v("流,有哪些展现方式?如果当前页面可视区有5个格子,而你有"),e("code",[this._v("20")]),this._v("条信息需要展示,请问有哪些自动展示的算法?")])},function(){var _=this.$createElement,e=this._self._c||_;return e("li",[this._v("小程序如何与"),e("code",[this._v("native")]),this._v("通信?"),e("code",[this._v("react-native")]),this._v("实现原理?"),e("code",[this._v("jsbridge")]),this._v("如何实现?")])},function(){var _=this.$createElement,e=this._self._c||_;return e("li",[e("code",[this._v("html5")]),this._v("的播放器怎么做?视频直播如何在浏览器里面实现?"),e("code",[this._v("HLS")]),this._v("、"),e("code",[this._v("RTMP")])])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("li",[_._v("如何封装一个"),v("code",[_._v("Form")]),_._v("和"),v("code",[_._v("FormItem")]),_._v(",使其能够跟"),v("code",[_._v("input")]),_._v("、"),v("code",[_._v("select")]),_._v("、"),v("code",[_._v("checkbox")]),_._v("、"),v("code",[_._v("radio")]),_._v("等组件进行 数据存储、数据校验(自定义逻辑)、校验反馈?")])},function(){var _=this.$createElement,e=this._self._c||_;return e("li",[e("code",[this._v("echart")]),this._v("这类图像库的实现原理?")])},function(){var _=this.$createElement,e=this._self._c||_;return e("li",[e("code",[this._v("i18n")]),this._v("的国际化方案应该是怎样的?")])},function(){var _=this.$createElement,e=this._self._c||_;return e("h2",{attrs:{id:"三、-framework"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#三、-framework","aria-hidden":"true"}},[this._v("#")]),this._v(" 三、 Framework")])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_3-1-react"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-1-react","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.1 React")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("React")]),_._v("的生命周期"),v("code",[_._v("mount")]),_._v("和"),v("code",[_._v("update")]),_._v("描述下")]),_._v(" "),v("li",[v("code",[_._v("React")]),_._v("的生命周期中的"),v("code",[_._v("isBatchingUpdates")]),_._v("了解吗?"),v("code",[_._v("Transaction")]),_._v("知道吗")]),_._v(" "),v("li",[v("code",[_._v("React")]),_._v("的"),v("code",[_._v("vdom")]),_._v("如何实现?"),v("code",[_._v("jsx")]),_._v("是怎样解析的?")]),_._v(" "),v("li",[_._v("React"),v("code",[_._v("的")]),_._v("Fiber`是什么?具有什么样的特性?")]),_._v(" "),v("li",[v("code",[_._v("React")]),_._v("的"),v("code",[_._v("diff/patch")]),_._v("算法原理")]),_._v(" "),v("li",[v("code",[_._v("React")]),_._v("的组件逻辑(受控、非受控)?如何设计一个组件库")]),_._v(" "),v("li",[v("code",[_._v("React")]),_._v("的数据流,"),v("code",[_._v("Redux")]),_._v("、"),v("code",[_._v("Mobx")]),_._v("、"),v("code",[_._v("Rxjs")]),_._v(",发布订阅模式、观察者模式,"),v("code",[_._v("flux")]),_._v("和"),v("code",[_._v("no-flux")])]),_._v(" "),v("li",[v("code",[_._v("React")]),_._v("的事件注册和事件分发知道吗?")]),_._v(" "),v("li",[v("code",[_._v("Redux")]),_._v("解决了什么痛点(有什么优点),又有什么缺点")]),_._v(" "),v("li",[v("code",[_._v("Redux")]),_._v("的中间件有哪些?"),v("code",[_._v("redux-actions")]),_._v("、"),v("code",[_._v("redux-promise")]),_._v("、"),v("code",[_._v("redux-thunk")]),_._v("、"),v("code",[_._v("redux-saga")]),_._v("、"),v("code",[_._v("redux-immutable")]),_._v("了解过哪些?说说中间件的意义")]),_._v(" "),v("li",[v("code",[_._v("Redux")]),_._v("有什么优化方案?")]),_._v(" "),v("li",[v("code",[_._v("SSR")]),_._v("了解过吗?怎样做?了解"),v("code",[_._v("Koa")]),_._v("么?")]),_._v(" "),v("li",[v("code",[_._v("React-Native")]),_._v("了解过吗?"),v("code",[_._v("JavascriptCore")]),_._v("是什么?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_3-2-vue"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-2-vue","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.2 Vue")])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("Vue")]),_._v("是如何设计响应式系统的?(依赖收集)")]),_._v(" "),v("li",[_._v("什么时候使用"),v("code",[_._v("computed")]),_._v(", "),v("code",[_._v("methods")]),_._v(","),v("code",[_._v("watch")]),_._v("?之间有什么样区别?")]),_._v(" "),v("li",[v("code",[_._v("template")]),_._v(" 和 "),v("code",[_._v("render(jsx)")]),_._v(" 有什么的联系?")]),_._v(" "),v("li",[v("code",[_._v("this.$nextTick")]),_._v("是如何设计的?")]),_._v(" "),v("li",[v("code",[_._v("Vue")]),_._v(" 组件 "),v("code",[_._v("data")]),_._v(" 为什么必须是函数?")])])},function(){var _=this.$createElement,e=this._self._c||_;return e("h3",{attrs:{id:"_3-3-angularjs"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-3-angularjs","aria-hidden":"true"}},[this._v("#")]),this._v(" 3.3 AngularJS")])},function(){var _=this.$createElement,e=this._self._c||_;return e("blockquote",[e("p",[this._v("尽管angularJS已经基本退出了历史舞台,但是相信有的同学还是做过相关的项目,并很有可能被面试官问起")])])},function(){var _=this,e=_.$createElement,v=_._self._c||e;return v("ul",[v("li",[v("code",[_._v("angularJS")]),_._v("的数据绑定采用什么机制?详述原理")]),_._v(" "),v("li",[_._v("如果通过"),v("code",[_._v("angularJS")]),_._v("的 "),v("code",[_._v("directive/component")]),_._v(" 规划一套全组件化体系,可能遇到哪些挑战?")]),_._v(" "),v("li",[_._v("一个"),v("code",[_._v("angularJS")]),_._v("应用应当如何良好地分层?")]),_._v(" "),v("li",[v("code",[_._v("ng-click")]),_._v("中写的表达式,能使用JS原生对象上的方法,比如"),v("code",[_._v("Math.max")]),_._v("之类的吗?为什么")])])}],!1,null,null,null);e.default=c.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{288:function(t,e,n){},340:function(t,e,n){"use strict";var a=n(288);n.n(a).a},353:function(t,e,n){"use strict";n.r(e);var a={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,a=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||a().default)}},i=(n(340),n(33)),r=Object(i.a)(a,void 0,void 0,!1,null,"57aa87a4",null);e.default=r.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{271:function(t,s,a){t.exports=a.p+"assets/img/640.3b07f3df.gif"},346:function(t,s,a){"use strict";a.r(s);var _=a(33),v=Object(_.a)({},(function(){var t=this,s=t.$createElement,_=t._self._c||s;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h1",{attrs:{id:"全局配置项说明"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#全局配置项说明"}},[t._v("#")]),t._v(" 全局配置项说明")]),t._v(" "),_("p",[_("img",{attrs:{src:a(271),alt:"An image"}})]),t._v(" "),_("h2",{attrs:{id:"定制事务登录标题-costomaffairtitle"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#定制事务登录标题-costomaffairtitle"}},[t._v("#")]),t._v(" 定制事务登录标题(costomAffairTitle)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("costomAffairTitle")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": string")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":用于配置定制事务内部登录界面参数")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"定制事务logo-customlogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#定制事务logo-customlogo"}},[t._v("#")]),t._v(" 定制事务Logo(customLogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("customLogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": string")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":用于配置定制事务内部登录界面参数")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"微信认证地址-wx-ticket-addr"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#微信认证地址-wx-ticket-addr"}},[t._v("#")]),t._v(" 微信认证地址(wx_ticket_addr)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("wx_ticket_addr")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": string")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":用以获取微信配置地址,调用微信扫一扫等功能")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"关闭查看详情用户基础信息展示-iscloseuserdetail"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#关闭查看详情用户基础信息展示-iscloseuserdetail"}},[t._v("#")]),t._v(" 关闭查看详情用户基础信息展示(isCloseUserDetail)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("isCloseUserDetail")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": true 或 false")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":用以关闭查看详情用户基础信息展示,开启后查看详情页面不会展示用户提交基础信息.")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"系统维护中开关-ismaintain"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#系统维护中开关-ismaintain"}},[t._v("#")]),t._v(" 系统维护中开关(isMaintain)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("isMaintain")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": true 或 false")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":如果开启,除admin账号外,所有账户都不得进入")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"维护结束时间-ismaintaintime"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#维护结束时间-ismaintaintime"}},[t._v("#")]),t._v(" 维护结束时间(isMainTainTime)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("isMainTainTime")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符时间")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":告知用户维护结束时间")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":需要配置isMaintain为true方可生效")]),t._v(" "),_("h2",{attrs:{id:"版本-version"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#版本-version"}},[t._v("#")]),t._v(" 版本(version)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("version")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符版本号")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":每次更新版本应增加版本号")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"域名配置-domainname"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#域名配置-domainname"}},[t._v("#")]),t._v(" 域名配置(domainName)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("domainName")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 当前网页域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于场景设计器预览模板配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"转办-回退-撤回流程控制功能-istrunto"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#转办-回退-撤回流程控制功能-istrunto"}},[t._v("#")]),t._v(" 转办,回退,撤回流程控制功能(isTrunTo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("isTrunTo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": true或false")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于开启转办,回退,撤回流程控制功能")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"关闭流程紧急度显示-iscloseflowpath"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#关闭流程紧急度显示-iscloseflowpath"}},[t._v("#")]),t._v(" 关闭流程紧急度显示(isCloseFlowPath)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("isCloseFlowPath")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": true或false")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于全局关闭流程紧急度显示")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"动态添加门户端导向路由-newhome"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#动态添加门户端导向路由-newhome"}},[t._v("#")]),t._v(" 动态添加门户端导向路由(NewHome)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("NewHome")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串,数组")]),t._v(" "),_("div",{staticClass:"language-js extra-class"},[_("pre",{pre:!0,attrs:{class:"language-js"}},[_("code",[_("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 字符串")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token string"}},[t._v("'1239420590712946688'")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 数组")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// url表明跳转地址")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// id 为场景设计器id")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n name"),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"首页"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n url"),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v("'http://zsjy.cdnkxy.com:9111/index.jsp'")]),t._v("\n\t"),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n name"),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"新增"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n id"),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v("'1239420590712946688'")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n")])])]),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于门户动态配置路由地址")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"后台管理左上角logo旁文字-htlogotext"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#后台管理左上角logo旁文字-htlogotext"}},[t._v("#")]),t._v(" 后台管理左上角logo旁文字(HTlogoText)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("HTlogoText")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于配置后台页面左上角logo旁文字展示")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"大数据平台地址-bigdata"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#大数据平台地址-bigdata"}},[t._v("#")]),t._v(" 大数据平台地址(bigData)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("bigData")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于配置后台页面顶部大数据平台跳转地址")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"首页二维码手机端地址-webmobileadress"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#首页二维码手机端地址-webmobileadress"}},[t._v("#")]),t._v(" 首页二维码手机端地址(webMobileAdress)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webMobileAdress")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于首页手机二维码扫描地址")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"是否开启加密-is-open-base16"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#是否开启加密-is-open-base16"}},[t._v("#")]),t._v(" 是否开启加密(is_open_base16)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("is_open_base16")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": true或false")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于开启全局参数是否加密传输")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"web端首页地址-webadress"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#web端首页地址-webadress"}},[t._v("#")]),t._v(" web端首页地址(webAdress)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webAdress")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于版本号不一致时,清空缓存,定向跳转到首页")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"移动端首页通知弹框-mobilead"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#移动端首页通知弹框-mobilead"}},[t._v("#")]),t._v(" 移动端首页通知弹框(MobileAD)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("MobileAD")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":主要用于版本号不一致时,清空缓存,定向跳转到首页")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"移动端首页通知弹框标题-mobileadtitle"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#移动端首页通知弹框标题-mobileadtitle"}},[t._v("#")]),t._v(" 移动端首页通知弹框标题(mobileADTitle)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("mobileADTitle")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":用于配置移动端首页通知弹框的标题栏数据配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":需要开启移动端首页弹框(MobileAD)才可生效")]),t._v(" "),_("h2",{attrs:{id:"移动端首页通知弹框内容-mobileadcontent"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#移动端首页通知弹框内容-mobileadcontent"}},[t._v("#")]),t._v(" 移动端首页通知弹框内容(MobileADContent)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("MobileADContent")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":用于配置移动端首页通知弹框的标题栏数据配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":需要开启移动端首页弹框(MobileAD)才可生效")]),t._v(" "),_("h2",{attrs:{id:"移动端首页顶部logo配置-newmobilelogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#移动端首页顶部logo配置-newmobilelogo"}},[t._v("#")]),t._v(" 移动端首页顶部logo配置(newMobileLogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("newMobileLogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":新版顶部logo,未配置则会使用旧版配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"全局默认背景logo-getimg"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#全局默认背景logo-getimg"}},[t._v("#")]),t._v(" 全局默认背景logo(getImg)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("getImg")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":web端移动端共用该默认图,当后台图片返回无效时使用该图片展示")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"全局默认应用图标-bgcimg"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#全局默认应用图标-bgcimg"}},[t._v("#")]),t._v(" 全局默认应用图标(bgcImg)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("bgcImg")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":web端移动端事务图标失效后,使用该图片展示")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"后台管理左上角logo-htlogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#后台管理左上角logo-htlogo"}},[t._v("#")]),t._v(" 后台管理左上角logo(HTlogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("HTlogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":后台管理页面左上角图片展示")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"移动端端登录logo-mobilelogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#移动端端登录logo-mobilelogo"}},[t._v("#")]),t._v(" 移动端端登录logo(mobileLogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("mobileLogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":移动端登录,注册界面展示的logo")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"web端登录logo-webloginlogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#web端登录logo-webloginlogo"}},[t._v("#")]),t._v(" web端登录logo(webLoginLogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webLoginLogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":web端登录,注册界面展示的logo")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"web端首页logo-webhomelogin"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#web端首页logo-webhomelogin"}},[t._v("#")]),t._v(" web端首页logo(webHomeLogin)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomeLogin")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":web端首页界面展示的logo")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"门户底部联系电话配置-webhomephone"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#门户底部联系电话配置-webhomephone"}},[t._v("#")]),t._v(" 门户底部联系电话配置(webHomePhone)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomePhone")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":门户底部联系电话配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"门户底部邮编-webhomenumber"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#门户底部邮编-webhomenumber"}},[t._v("#")]),t._v(" 门户底部邮编(webHomeNumber)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomeNumber")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":门户底部邮编配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"门户底部地址-webhomeaddress"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#门户底部地址-webhomeaddress"}},[t._v("#")]),t._v(" 门户底部地址(webHomeAddress)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomeAddress")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":门户底部地址配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"门户底部版权所有-webhomecopyright"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#门户底部版权所有-webhomecopyright"}},[t._v("#")]),t._v(" 门户底部版权所有(webHomeCopyright)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomeCopyright")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":门户底部版权所有配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"后台管理顶部欢迎词-htwelcometext"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#后台管理顶部欢迎词-htwelcometext"}},[t._v("#")]),t._v(" 后台管理顶部欢迎词(HTWelcomeText)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomeCopyright")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":后台管理顶部欢迎词配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"后台顶部中间图片-htheacenter"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#后台顶部中间图片-htheacenter"}},[t._v("#")]),t._v(" 后台顶部中间图片(HTHeaCenter)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("HTHeaCenter")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 图片")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":后台顶部中间图片配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"是否开启单点登录-isssologin"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#是否开启单点登录-isssologin"}},[t._v("#")]),t._v(" 是否开启单点登录(isSSOLogin)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("isSSOLogin")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": true或false")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":是否开启单点登录")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"单点登录路径移动端-ssourlmobile"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#单点登录路径移动端-ssourlmobile"}},[t._v("#")]),t._v(" 单点登录路径移动端(ssoUrlMobile)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("ssoUrlMobile")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":单点登录移动端地址")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":需要开启单点登录(isSSOLogin)才会生效")]),t._v(" "),_("h2",{attrs:{id:"单点登录web路径-ssourl"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#单点登录web路径-ssourl"}},[t._v("#")]),t._v(" 单点登录web路径(ssoUrl)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("ssoUrl")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 域名地址")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":单点登录web端地址")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":需要开启单点登录(isSSOLogin)才会生效")]),t._v(" "),_("h2",{attrs:{id:"微信登录密钥-wx-secret"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#微信登录密钥-wx-secret"}},[t._v("#")]),t._v(" 微信登录密钥(wx_secret)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("wx_secret")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":微信登录密钥配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"微信登录appid-wx-appid"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#微信登录appid-wx-appid"}},[t._v("#")]),t._v(" 微信登录appid(wx_appid)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("wx_appid")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":微信登录appid配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"阿里云短信appid-aly-appid"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#阿里云短信appid-aly-appid"}},[t._v("#")]),t._v(" 阿里云短信appid(aly_appid)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("aly_appid")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":阿里云短信appid配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"阿里云短信密钥-aly-secret"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#阿里云短信密钥-aly-secret"}},[t._v("#")]),t._v(" 阿里云短信密钥(aly_secret)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("aly_secret")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":阿里云短信密钥配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"数据化校园单点登录sso应用密钥-authkey"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#数据化校园单点登录sso应用密钥-authkey"}},[t._v("#")]),t._v(" 数据化校园单点登录SSO应用密钥(authkey)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("authkey")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":数据化校园单点登录SSO应用密钥配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"数据化校园单点登录sso应用id-appid"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#数据化校园单点登录sso应用id-appid"}},[t._v("#")]),t._v(" 数据化校园单点登录SSO应用id(appid)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("appid")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(":数据化校园单点登录SSO应用id配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("p",[t._v("##数据中心数据库id(data_base_save)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("data_base_save")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": 数据中心数据库id配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"ldap服务器ip-ldap-ip"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#ldap服务器ip-ldap-ip"}},[t._v("#")]),t._v(" LDAP服务器ip(ldap_ip)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("ldap_ip")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": LDAP服务器ip配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"ldap服务器端口-ldap-port"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#ldap服务器端口-ldap-port"}},[t._v("#")]),t._v(" LDAP服务器端口(ldap_port)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("ldap_port")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": LDAP服务器端口配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"门户底部邮箱-webhomeemail"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#门户底部邮箱-webhomeemail"}},[t._v("#")]),t._v(" 门户底部邮箱(webHomeEmail)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("webHomeEmail")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": 门户底部邮箱配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"后台管理底部logo-htbottomlogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#后台管理底部logo-htbottomlogo"}},[t._v("#")]),t._v(" 后台管理底部logo(HTBottomLogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("HTBottomLogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": 后台管理底部logo配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"后台管理顶部背景图-htbgclogo"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#后台管理顶部背景图-htbgclogo"}},[t._v("#")]),t._v(" 后台管理顶部背景图(HTBgclogo)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("HTBgclogo")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 字符串")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": 后台管理顶部背景图配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"活跃天数设置-active-days"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#活跃天数设置-active-days"}},[t._v("#")]),t._v(" 活跃天数设置(active_days)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("active_days")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 天数")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": 活跃天数设置配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"任务超时时间-taskduedate"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#任务超时时间-taskduedate"}},[t._v("#")]),t._v(" 任务超时时间(taskDueDate)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("taskDueDate")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 天数或小时")]),t._v(" "),_("p",[_("strong",[t._v("配置说明")]),t._v(": 任务超时时间配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"报表统计时间段设置-reporttimeslot"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#报表统计时间段设置-reporttimeslot"}},[t._v("#")]),t._v(" 报表统计时间段设置(reportTimeSlot)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("reportTimeSlot")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 数组")]),t._v(" "),_("div",{staticClass:"language-js extra-class"},[_("pre",{pre:!0,attrs:{class:"language-js"}},[_("code",[_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"id"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"1"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"name"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"小于1天"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"start"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"end"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"id"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"2"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"name"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"1-3天"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"start"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"end"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("3")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"id"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"3"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"name"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"3-5天"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"start"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("3")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"end"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("5")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"id"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"4"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"name"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"5-10天"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"start"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("5")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"end"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("10")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"id"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"5"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"name"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"大于10天"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"start"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("10")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"end"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("100000")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n")])])]),_("p",[_("strong",[t._v("配置说明")]),t._v(": 报表统计时间段设置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")]),t._v(" "),_("h2",{attrs:{id:"首页指南-homehelp"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#首页指南-homehelp"}},[t._v("#")]),t._v(" 首页指南(homeHelp)")]),t._v(" "),_("p",[_("strong",[t._v("配置key:")]),t._v(" "),_("em",[t._v("homeHelp")])]),t._v(" "),_("p",[_("strong",[t._v("配置值")]),t._v(": 数组")]),t._v(" "),_("div",{staticClass:"language-js extra-class"},[_("pre",{pre:!0,attrs:{class:"language-js"}},[_("code",[_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"blocks"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"key"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"efnre"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"text"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"13131"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),_("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// 内容配置位置")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"type"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"unstyled"')]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"depth"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"inlineStyleRanges"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"entityRanges"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"data"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),_("span",{pre:!0,attrs:{class:"token string"}},[t._v('"entityMap"')]),_("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),_("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),_("p",[_("strong",[t._v("配置说明")]),t._v(": 首页指南配置")]),t._v(" "),_("p",[_("strong",[t._v("配置关联")]),t._v(":无")])])}),[],!1,null,null,null);s.default=v.exports}}]);
\ 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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{271:function(v,_,t){v.exports=t.p+"assets/img/640.3b07f3df.gif"},348:function(v,_,t){"use strict";t.r(_);var s=t(33),l=Object(s.a)({},(function(){var v=this,_=v.$createElement,s=v._self._c||_;return s("ContentSlotsDistributor",{attrs:{"slot-key":v.$parent.slotKey}},[s("h1",{attrs:{id:"模板设计器组件介绍"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#模板设计器组件介绍"}},[v._v("#")]),v._v(" 模板设计器组件介绍")]),v._v(" "),s("p",[s("img",{attrs:{src:t(271),alt:"An image"}})]),v._v(" "),s("h2",{attrs:{id:"表单基础配置"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#表单基础配置"}},[v._v("#")]),v._v(" 表单基础配置")]),v._v(" "),s("h3",{attrs:{id:"页面名称"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#页面名称"}},[v._v("#")]),v._v(" 页面名称")]),v._v(" "),s("p",[v._v("用于设置当前表单名")]),v._v(" "),s("h3",{attrs:{id:"样式"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#样式"}},[v._v("#")]),v._v(" 样式")]),v._v(" "),s("p",[v._v("表单基础样式配置,接收json文本,以下示例")]),v._v(" "),s("div",{staticClass:"language-json extra-class"},[s("pre",{pre:!0,attrs:{class:"language-json"}},[s("code",[s("span",{pre:!0,attrs:{class:"token punctuation"}},[v._v("{")]),v._v("\n "),s("span",{pre:!0,attrs:{class:"token property"}},[v._v('"textAlign"')]),s("span",{pre:!0,attrs:{class:"token operator"}},[v._v(":")]),s("span",{pre:!0,attrs:{class:"token string"}},[v._v('"center"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[v._v(",")]),v._v("\n "),s("span",{pre:!0,attrs:{class:"token property"}},[v._v('"fontSize"')]),s("span",{pre:!0,attrs:{class:"token operator"}},[v._v(":")]),s("span",{pre:!0,attrs:{class:"token string"}},[v._v('"20px"')]),v._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[v._v("}")]),v._v("\n")])])]),s("h3",{attrs:{id:"是否有边框"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#是否有边框"}},[v._v("#")]),v._v(" 是否有边框")]),v._v(" "),s("p",[v._v("可选择是否展示表单边框")]),v._v(" "),s("h3",{attrs:{id:"单元格宽度"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#单元格宽度"}},[v._v("#")]),v._v(" 单元格宽度")]),v._v(" "),s("p",[v._v("配置表单整体宽度")]),v._v(" "),s("h2",{attrs:{id:"配置项说明"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#配置项说明"}},[v._v("#")]),v._v(" 配置项说明")]),v._v(" "),s("h3",{attrs:{id:"布局"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#布局"}},[v._v("#")]),v._v(" 布局")]),v._v(" "),s("p",[v._v("单元格元素布局,提供居左,居中,居右三种配置项")]),v._v(" "),s("h3",{attrs:{id:"默认值配置"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#默认值配置"}},[v._v("#")]),v._v(" 默认值配置")]),v._v(" "),s("p",[v._v(" 当前组件渲染时如果有配置该参数,会默认渲染该参数值")]),v._v(" "),s("h3",{attrs:{id:"是否禁用"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#是否禁用"}},[v._v("#")]),v._v(" 是否禁用")]),v._v(" "),s("p",[v._v(" 该配置参数可规定当前组件是否不可被用户使用或点击")]),v._v(" "),s("h3",{attrs:{id:"sql配置"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#sql配置"}},[v._v("#")]),v._v(" sql配置")]),v._v(" "),s("p",[v._v(" 对组件进行数据库查询,查询后进行配置当前数据默认项")]),v._v(" "),s("h3",{attrs:{id:"单元格样式"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#单元格样式"}},[v._v("#")]),v._v(" 单元格样式")]),v._v(" "),s("p",[v._v(" 该配置接收JSON字符串文本,且key值因为驼峰命名法,以下为示例")]),v._v(" "),s("div",{staticClass:"language-json extra-class"},[s("pre",{pre:!0,attrs:{class:"language-json"}},[s("code",[s("span",{pre:!0,attrs:{class:"token punctuation"}},[v._v("{")]),v._v("\n "),s("span",{pre:!0,attrs:{class:"token property"}},[v._v('"textAlign"')]),s("span",{pre:!0,attrs:{class:"token operator"}},[v._v(":")]),s("span",{pre:!0,attrs:{class:"token string"}},[v._v('"center"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[v._v(",")]),v._v("\n "),s("span",{pre:!0,attrs:{class:"token property"}},[v._v('"fontSize"')]),s("span",{pre:!0,attrs:{class:"token operator"}},[v._v(":")]),s("span",{pre:!0,attrs:{class:"token string"}},[v._v('"20px"')]),v._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[v._v("}")]),v._v("\n")])])]),s("h3",{attrs:{id:"宽度"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#宽度"}},[v._v("#")]),v._v(" 宽度")]),v._v(" "),s("p",[v._v(" 设置组件宽度")]),v._v(" "),s("h3",{attrs:{id:"标签占比"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#标签占比"}},[v._v("#")]),v._v(" 标签占比")]),v._v(" "),s("p",[v._v(" 部分组件分为标签和输入栏,我们把每一行宽度等分为24份,通过配置各自的占比,从而做到宽度相对应,标签占比为左边标签名所占用宽度")]),v._v(" "),s("h3",{attrs:{id:"组件占比"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#组件占比"}},[v._v("#")]),v._v(" 组件占比")]),v._v(" "),s("p",[v._v("  道理同上,我们把每一行宽度等分为24份,然后组件占比通常值接收用户输入的各个操作控件,例如输入框等,组件占比配置应大于标签占比")]),v._v(" "),s("h3",{attrs:{id:"显示标签"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#显示标签"}},[v._v("#")]),v._v(" 显示标签")]),v._v(" "),s("p",[v._v(" 由于存在标签组件,部分组件需要放弃使用自带的标签配置,所以就需要配置当前配置项,用以关闭自带标签显示")]),v._v(" "),s("h3",{attrs:{id:"标题"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#标题"}},[v._v("#")]),v._v(" 标题")]),v._v(" "),s("p",[v._v(" 用以配置组件的标签名")]),v._v(" "),s("h3",{attrs:{id:"渲染方式"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#渲染方式"}},[v._v("#")]),v._v(" 渲染方式")]),v._v(" "),s("p",[v._v(" 该配置属于特殊配置项,可将指定字段按照用户配置的指定组件渲染")]),v._v(" "),s("h3",{attrs:{id:"默认值字段"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#默认值字段"}},[v._v("#")]),v._v(" 默认值字段")]),v._v(" "),s("p",[v._v(" 该字段需要用户自己配置字段并添加入组件即可生效")]),v._v(" "),s("h2",{attrs:{id:"占位文字"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#占位文字"}},[v._v("#")]),v._v(" 占位文字")]),v._v(" "),s("p",[v._v(" 该配置项用于输入框等组件,在用户第一次输入前,提示用户应该做什么输入")]),v._v(" "),s("h3",{attrs:{id:"sql配置-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#sql配置-2"}},[v._v("#")]),v._v(" sql配置")]),v._v(" "),s("h2",{attrs:{id:"标签"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#标签"}},[v._v("#")]),v._v(" 标签")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v(" 布局")]),v._v(" "),s("li",[v._v(" 默认值配置")]),v._v(" "),s("li",[v._v(" sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑")]),v._v(" "),s("p",[s("strong",[v._v("不可编辑")])])]),v._v(" "),s("p",[v._v("标签组件用于展示文本")]),v._v(" "),s("h2",{attrs:{id:"按钮"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#按钮"}},[v._v("#")]),v._v(" 按钮")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("按钮组件用于用户点击执行对应逻辑,并实现与表单互动")]),v._v(" "),s("h2",{attrs:{id:"描述组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#描述组件"}},[v._v("#")]),v._v(" 描述组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("渲染方式")]),v._v(" "),s("li",[v._v("默认值字段")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户不可编辑或点击")])])]),v._v(" "),s("p",[v._v("描述组件用于展示用户基本信息,或展示一些用户不可操作信息.")]),v._v(" "),s("h2",{attrs:{id:"列表组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#列表组件"}},[v._v("#")]),v._v(" 列表组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑或点击")])])]),v._v(" "),s("p",[v._v("将数据以列表(表格)的方式展示给用户观看")]),v._v(" "),s("h2",{attrs:{id:"文本框"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#文本框"}},[v._v("#")]),v._v(" 文本框")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("占位文字")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑或点击")])])]),v._v(" "),s("p",[v._v("接收用户输入的文本框,为常用组件,表单设计器的基础组成组件")]),v._v(" "),s("h2",{attrs:{id:"隐藏值组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#隐藏值组件"}},[v._v("#")]),v._v(" 隐藏值组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户不可编辑或点击且不会展示给用户")])])]),v._v(" "),s("p",[v._v("对用户隐藏,该组件主要用于将部分参数放置于表单中以供使用.")]),v._v(" "),s("h2",{attrs:{id:"数字输入框组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#数字输入框组件"}},[v._v("#")]),v._v(" 数字输入框组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑")])])]),v._v(" "),s("p",[v._v("接收用户数字相关的输入,该组件不可输入英文,符号,中文等,必需确保用户只需要输入数字.")]),v._v(" "),s("h2",{attrs:{id:"文本域组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#文本域组件"}},[v._v("#")]),v._v(" 文本域组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("占位文字")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑")])])]),v._v(" "),s("p",[v._v("当需要用户输入较多且为多行文本时,使用该组件,用以提供用户足够的编写空间和展示空间")]),v._v(" "),s("h2",{attrs:{id:"单选框组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#单选框组件"}},[v._v("#")]),v._v(" 单选框组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件用于展示选择性给用户,用户只需鼠标点击即可,不需要用户二次编辑,且提供的选择项中用户只可以选择一个")]),v._v(" "),s("h2",{attrs:{id:"多选框组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#多选框组件"}},[v._v("#")]),v._v(" 多选框组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件同样用于提供多个选择项给用户,不同的是,该组件支持用户选择多个选择项并提交")]),v._v(" "),s("h2",{attrs:{id:"下拉选择框组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#下拉选择框组件"}},[v._v("#")]),v._v(" 下拉选择框组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("占位文字")]),v._v(" "),s("li",[v._v("数字默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件同样用于展示选择性以供用户选择,与单选框组件不同的是,该组件的选择性不会占用展示位.")]),v._v(" "),s("h2",{attrs:{id:"图表组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#图表组件"}},[v._v("#")]),v._v(" 图表组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("组件")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("占位文字")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("结合echarts数据图表,动态生成各种各样的图表供用户观看,参数配置在sql配置中进行数据配置")]),v._v(" "),s("h2",{attrs:{id:"二维码组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#二维码组件"}},[v._v("#")]),v._v(" 二维码组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("占位文字")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可扫描")])])]),v._v(" "),s("p",[v._v("生成一个带链接的二维码供给用户扫描执行对应操作")]),v._v(" "),s("h2",{attrs:{id:"弹出列表选择框"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#弹出列表选择框"}},[v._v("#")]),v._v(" 弹出列表选择框")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("占位文字")]),v._v(" "),s("li",[v._v("数组默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("弹出一个列表(表格)组件,展示需要用户选择的数据,选择后回到表单执行下步操作")]),v._v(" "),s("h2",{attrs:{id:"开关控件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#开关控件"}},[v._v("#")]),v._v(" 开关控件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("默认值")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件只支持用户选择是否,根据用户选择执行后续处理")]),v._v(" "),s("h2",{attrs:{id:"日期选择器"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#日期选择器"}},[v._v("#")]),v._v(" 日期选择器")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("提供一个日期选择栏,用户可根据选择填写对应时间.")]),v._v(" "),s("h2",{attrs:{id:"起止时间选择器"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#起止时间选择器"}},[v._v("#")]),v._v(" 起止时间选择器")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("默认值时间字段配置")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("提供一个时间选择栏,不同的是该组件需要用户选择开始时间至结束时间,可通过字段配置默认值")]),v._v(" "),s("h2",{attrs:{id:"附件上传组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#附件上传组件"}},[v._v("#")]),v._v(" 附件上传组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件提供用户上传文件或图片,用户可根据需求,上传文件以供流程审核人员进行观看")]),v._v(" "),s("h2",{attrs:{id:"位置组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#位置组件"}},[v._v("#")]),v._v(" 位置组件")]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("是否显示标签")]),v._v(" "),s("li",[v._v("数据字段默认值配置")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件采用高德地图定位,组件可定位当前用户地址并提供给用户展示")]),v._v(" "),s("p",[s("strong",[v._v("注: 使用该组件需要采用https协议")])]),v._v(" "),s("h2",{attrs:{id:"图片上传组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#图片上传组件"}},[v._v("#")]),v._v(" 图片上传组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数据默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可点击")])])]),v._v(" "),s("p",[v._v("该组件用法等同于附件上传组件,不过只接收图片上传")]),v._v(" "),s("h2",{attrs:{id:"签名组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#签名组件"}},[v._v("#")]),v._v(" 签名组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("数组默认值字段")]),v._v(" "),s("li",[v._v("是否必填")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑")])])]),v._v(" "),s("p",[v._v("用户可点击后进行电子签名,确认后会转为图片进行保存")]),v._v(" "),s("h2",{attrs:{id:"组件片段"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#组件片段"}},[v._v("#")]),v._v(" 组件片段")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑")])])]),v._v(" "),s("p",[v._v("将其他表单内部嵌入到当前表单并共享数据的组件")]),v._v(" "),s("h2",{attrs:{id:"子表单组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#子表单组件"}},[v._v("#")]),v._v(" 子表单组件")]),v._v(" "),s("p",[s("strong",[v._v("提供以下配置项")])]),v._v(" "),s("blockquote",[s("ul",[s("li",[v._v("布局")]),v._v(" "),s("li",[v._v("宽度")]),v._v(" "),s("li",[v._v("是否禁用")]),v._v(" "),s("li",[v._v("标题")]),v._v(" "),s("li",[v._v("标签占比")]),v._v(" "),s("li",[v._v("组件占比")]),v._v(" "),s("li",[v._v("显示标签")]),v._v(" "),s("li",[v._v("单元格样式")]),v._v(" "),s("li",[v._v("sql配置")])]),v._v(" "),s("p",[v._v("是否可编辑或点击")]),v._v(" "),s("p",[s("strong",[v._v("用户可编辑")])])]),v._v(" "),s("p",[v._v("将多个表单嵌入进当前表单的组件")])])}),[],!1,null,null,null);_.default=l.exports}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{271:function(t,v,a){t.exports=a.p+"assets/img/640.3b07f3df.gif"},349:function(t,v,a){"use strict";a.r(v);var _=a(33),s=Object(_.a)({},(function(){var t=this,v=t.$createElement,_=t._self._c||v;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h1",{attrs:{id:"模板设计器"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#模板设计器"}},[t._v("#")]),t._v(" 模板设计器")]),t._v(" "),_("p",[_("img",{attrs:{src:a(271),alt:"An image"}})]),t._v(" "),_("h2",{attrs:{id:"简单介绍"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#简单介绍"}},[t._v("#")]),t._v(" 简单介绍")]),t._v(" "),_("p",[t._v("  随着新一代信息技术的发展,学校为了满足当前的教学与管理需求,引入了各类业务系统。教务管理、学生管理、科研管理、OA办公、人事管理等系统陆续完成建设,提高了工作效率,促进了教育变革,也使学校的运转速度从火车提到了高铁。")]),t._v(" "),_("p",[t._v(" 繁琐且麻烦的表格设计与多层次的表单填写,使学校的事务办理即缓慢且低效.")]),t._v(" "),_("p",[t._v(" 因此,模板设计器即应运而生,配置人员可直接在页面上进行配置项配置,通过调用不同的组件,编写不同的sql,从而设计出一个全新可修改表单页面,再搭配流程设计器,在不同流程配置情况下,通过给流程人员展示各自对应的表单供其输入,从而达到无纸化办公,快捷化办公的需求.极大的减少了普通流程办理时所花费的精力以及花费")]),t._v(" "),_("h2",{attrs:{id:"组件简介"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#组件简介"}},[t._v("#")]),t._v(" 组件简介")]),t._v(" "),_("p",[t._v(" 模板设计器提供了非常丰富的组件库,用户可以自主选择自己所需要的组件进行配置,以下为组件列表,组件详情请查看模板组件介绍")]),t._v(" "),_("ul",[_("li",[t._v("标签")]),t._v(" "),_("li",[t._v("按钮")]),t._v(" "),_("li",[t._v("描述组件")]),t._v(" "),_("li",[t._v("列表组件")]),t._v(" "),_("li",[t._v("文本框")]),t._v(" "),_("li",[t._v("隐藏值组件")]),t._v(" "),_("li",[t._v("数字输入框组件")]),t._v(" "),_("li",[t._v("文本域组件")]),t._v(" "),_("li",[t._v("单选框")]),t._v(" "),_("li",[t._v("多选框")]),t._v(" "),_("li",[t._v("下拉选择框")]),t._v(" "),_("li",[t._v("图表")]),t._v(" "),_("li",[t._v("二维码")]),t._v(" "),_("li",[t._v("弹出列表选择框")]),t._v(" "),_("li",[t._v("开关控件")]),t._v(" "),_("li",[t._v("日期选择器")]),t._v(" "),_("li",[t._v("起止时间选择器")]),t._v(" "),_("li",[t._v("附件上传组件")]),t._v(" "),_("li",[t._v("位置组件")]),t._v(" "),_("li",[t._v("图片上传组件")]),t._v(" "),_("li",[t._v("签名组件")]),t._v(" "),_("li",[t._v("组件片段")]),t._v(" "),_("li",[t._v("子表单组件")])]),t._v(" "),_("h2",{attrs:{id:"sql内置变量介绍"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#sql内置变量介绍"}},[t._v("#")]),t._v(" SQL内置变量介绍")]),t._v(" "),_("p",[t._v("以下为内部提供"),_("strong",[t._v("变量")]),t._v(",配置人员可直接调用")]),t._v(" "),_("h3",{attrs:{id:"obj"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#obj"}},[t._v("#")]),t._v(" obj")]),t._v(" "),_("h3",{attrs:{id:"init"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#init"}},[t._v("#")]),t._v(" init")]),t._v(" "),_("h3",{attrs:{id:"defaultvalues"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#defaultvalues"}},[t._v("#")]),t._v(" defaultValues")]),t._v(" "),_("h3",{attrs:{id:"env"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#env"}},[t._v("#")]),t._v(" env")]),t._v(" "),_("h3",{attrs:{id:"index"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[t._v("#")]),t._v(" index")]),t._v(" "),_("h3",{attrs:{id:"fathercode"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#fathercode"}},[t._v("#")]),t._v(" fatherCode")]),t._v(" "),_("h3",{attrs:{id:"utils"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#utils"}},[t._v("#")]),t._v(" utils")]),t._v(" "),_("p",[t._v("该变量为一个对象,内含以下操作项")]),t._v(" "),_("blockquote",[_("p",[t._v("moment")]),t._v(" "),_("p",[t._v("  时间格式化方法,将时间戳传入进行格式化展示")]),t._v(" "),_("p",[t._v("  示例 moment(传入时间戳).format('YYYY-MM-DD HH:mm:ss')")]),t._v(" "),_("p",[t._v("sql")]),t._v(" "),_("p",[t._v("message")]),t._v(" "),_("p",[t._v("setValues")]),t._v(" "),_("p",[t._v("req")]),t._v(" "),_("p",[t._v("md5")]),t._v(" "),_("p",[t._v("render")]),t._v(" "),_("p",[t._v("base64")])]),t._v(" "),_("h3",{attrs:{id:""}},[_("a",{staticClass:"header-anchor",attrs:{href:"#"}},[t._v("#")]),t._v(" $")]),t._v(" "),_("p",[t._v("该变量为中台系统自有函数库,提供数以百计的函数,配置人员可根据提供函数完成对数据的"),_("strong",[t._v("判空")]),t._v(","),_("strong",[t._v("类型判断")]),t._v(","),_("strong",[t._v("数据转换")]),t._v(","),_("strong",[t._v("数据格式化")]),t._v("等操作")]),t._v(" "),_("h3",{attrs:{id:"routerstate"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#routerstate"}},[t._v("#")]),t._v(" routerState")]),t._v(" "),_("p",[t._v("该变量为当前路由中所携带的参数数据,模板通过router.push()跳转后,如果在跳转时传入了参数,即可通过当前变量获取传入的参数")]),t._v(" "),_("h3",{attrs:{id:"sharedata"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#sharedata"}},[t._v("#")]),t._v(" shareData")]),t._v(" "),_("p",[t._v("该变量为多组件之间共享参数,场景设计器会监听该参数是否修改,从而重新渲染表单")]),t._v(" "),_("h2",{attrs:{id:"注意事项"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#注意事项"}},[t._v("#")]),t._v(" 注意事项:")]),t._v(" "),_("p",[_("strong",[t._v("routerState")]),t._v("和"),_("strong",[t._v("shareData")]),t._v("为场景设计器提供的变量,配置人员配置时需对数据进行判断是否存在,测试时应在场景设计器预览模式下进行预览")])])}),[],!1,null,null,null);v.default=s.exports}}]);
\ 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.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,31 +3,73 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>第七部分:综合问题版 | FE-Interview</title>
<meta name="description" content="前端面试题整理">
<title>全局配置项说明 | 知用科技中台系统</title>
<meta name="generator" content="VuePress 1.4.1">
<link rel="preload" href="/FE-Interview-Questions/assets/css/0.styles.826b6fd6.css" as="style"><link rel="preload" href="/FE-Interview-Questions/assets/js/app.988874f4.js" as="script"><link rel="preload" href="/FE-Interview-Questions/assets/js/6.02410588.js" as="script"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/10.5fa31a90.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/11.5bcfe1b7.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/2.8a56b217.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/3.25bd3157.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/4.9fba53f9.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/5.2c24076d.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/7.726d87b3.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/8.4f8e9f80.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/9.0d0e8e6c.js">
<link rel="stylesheet" href="/FE-Interview-Questions/assets/css/0.styles.826b6fd6.css">
<meta name="description" content="知用科技中台系统">
<link rel="preload" href="/doc/assets/css/0.styles.5f72ed93.css" as="style"><link rel="preload" href="/doc/assets/js/app.cb54634a.js" as="script"><link rel="preload" href="/doc/assets/js/2.422d5b79.js" as="script"><link rel="preload" href="/doc/assets/js/7.3042b1d5.js" as="script"><link rel="prefetch" href="/doc/assets/js/10.8d0f82e7.js"><link rel="prefetch" href="/doc/assets/js/11.561f4638.js"><link rel="prefetch" href="/doc/assets/js/12.44240624.js"><link rel="prefetch" href="/doc/assets/js/13.91f29569.js"><link rel="prefetch" href="/doc/assets/js/14.f5b22c2a.js"><link rel="prefetch" href="/doc/assets/js/15.8375844a.js"><link rel="prefetch" href="/doc/assets/js/3.f56667c3.js"><link rel="prefetch" href="/doc/assets/js/4.677b47b9.js"><link rel="prefetch" href="/doc/assets/js/5.e3898624.js"><link rel="prefetch" href="/doc/assets/js/6.f43bf4c2.js"><link rel="prefetch" href="/doc/assets/js/8.e784f1c6.js"><link rel="prefetch" href="/doc/assets/js/9.bbed3ba6.js">
<link rel="stylesheet" href="/doc/assets/css/0.styles.5f72ed93.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container custom-code-highlight"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/FE-Interview-Questions/" class="home-link router-link-active"><!----> <span class="site-name">FE-Interview</span></a> <div class="links" style="max-width:nullpx;"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/FE-Interview-Questions/base/" class="nav-link">基础</a></div><div class="nav-item"><a href="/FE-Interview-Questions/improve/" class="nav-link">进阶</a></div><div class="nav-item"><a href="/FE-Interview-Questions/advance/" class="nav-link">高级</a></div><div class="nav-item"><a href="/FE-Interview-Questions/computed-base/" class="nav-link">通识</a></div><div class="nav-item"><a href="/FE-Interview-Questions/excellent/" class="nav-link">精华</a></div><div class="nav-item"><a href="/FE-Interview-Questions/simply/" class="nav-link">简版</a></div><div class="nav-item"><a href="/FE-Interview-Questions/comprehensive/" class="nav-link router-link-exact-active router-link-active">综合</a></div><div class="nav-item"><a href="http://blog.poetries.top/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Blog
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://github.com/poetries/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Github
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <a href="https://github.com/poetries/FE-Interview-Questions" target="_blank" rel="noopener noreferrer" class="repo-link">
查看源码
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/FE-Interview-Questions/base/" class="nav-link">基础</a></div><div class="nav-item"><a href="/FE-Interview-Questions/improve/" class="nav-link">进阶</a></div><div class="nav-item"><a href="/FE-Interview-Questions/advance/" class="nav-link">高级</a></div><div class="nav-item"><a href="/FE-Interview-Questions/computed-base/" class="nav-link">通识</a></div><div class="nav-item"><a href="/FE-Interview-Questions/excellent/" class="nav-link">精华</a></div><div class="nav-item"><a href="/FE-Interview-Questions/simply/" class="nav-link">简版</a></div><div class="nav-item"><a href="/FE-Interview-Questions/comprehensive/" class="nav-link router-link-exact-active router-link-active">综合</a></div><div class="nav-item"><a href="http://blog.poetries.top/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Blog
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://github.com/poetries/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Github
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <a href="https://github.com/poetries/FE-Interview-Questions" target="_blank" rel="noopener noreferrer" class="repo-link">
查看源码
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><div class="sidebar-group first"><p class="sidebar-heading"><span>基础</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/FE-Interview-Questions/base/" class="sidebar-link">第一部分:基础篇</a></li></ul></div></li><li><div class="sidebar-group collapsable"><p class="sidebar-heading"><span>进阶</span> <span class="arrow right"></span></p> <!----></div></li><li><div class="sidebar-group collapsable"><p class="sidebar-heading"><span>高级</span> <span class="arrow right"></span></p> <!----></div></li><li><div class="sidebar-group collapsable"><p class="sidebar-heading"><span>通识</span> <span class="arrow right"></span></p> <!----></div></li><li><div class="sidebar-group collapsable"><p class="sidebar-heading"><span>精华</span> <span class="arrow right"></span></p> <!----></div></li><li><div class="sidebar-group collapsable"><p class="sidebar-heading"><span>简版</span> <span class="arrow right"></span></p> <!----></div></li><li><div class="sidebar-group collapsable"><p class="sidebar-heading open"><span>综合</span> <span class="arrow down"></span></p> <ul class="sidebar-group-items"><li><a href="/FE-Interview-Questions/comprehensive/" class="active sidebar-link">第七部分:综合问题版</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#一、基础" class="sidebar-link">一、基础</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_1-1-html" class="sidebar-link">1.1 HTML</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_1-2-css" class="sidebar-link">1.2 CSS</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_1-3-javascript" class="sidebar-link">1.3 JavaScript</a></li></ul></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#二、高级" class="sidebar-link">二、高级</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_2-1-browser" class="sidebar-link">2.1 Browser</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_2-2-javascript" class="sidebar-link">2.2 JavaScript</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_2-3-http" class="sidebar-link">2.3 HTTP</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_2-4-优化" class="sidebar-link">2.4 优化</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_2-5-products" class="sidebar-link">2.5 Products</a></li></ul></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#三、-framework" class="sidebar-link">三、 Framework</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_3-1-react" class="sidebar-link">3.1 React</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_3-2-vue" class="sidebar-link">3.2 Vue</a></li><li class="sidebar-sub-header"><a href="/FE-Interview-Questions/comprehensive/#_3-3-angularjs" class="sidebar-link">3.3 AngularJS</a></li></ul></li></ul></li></ul></div></li></ul> </div> <div class="page"> <div class="content"><h1 id="第七部分:综合问题版"><a href="#第七部分:综合问题版" aria-hidden="true" class="header-anchor">#</a> 第七部分:综合问题版</h1> <blockquote><p><a href="https://upload-images.jianshu.io/upload_images/1480597-1f247397539045cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" target="_blank" rel="noopener noreferrer">如果您觉得有帮助,可以打赏我<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> <img src="!%5B%5D(https://upload-images.jianshu.io/upload_images/1480597-1f247397539045cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)" alt></p></blockquote> <blockquote><p><a href="https://upload-images.jianshu.io/upload_images/1480597-933c7247ddac5ed4.png" target="_blank" rel="noopener noreferrer">关注微信公众号获取更多面试题:@静观流叶<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> <img src="!%5B%5D(https://upload-images.jianshu.io/upload_images/1480597-933c7247ddac5ed4.png)" alt></p></blockquote> <blockquote><p>这里不做解答,请自行查阅相关答案。</p></blockquote> <h2 id="一、基础"><a href="#一、基础" aria-hidden="true" class="header-anchor">#</a> 一、基础</h2> <h3 id="_1-1-html"><a href="#_1-1-html" aria-hidden="true" class="header-anchor">#</a> 1.1 HTML</h3> <ul><li><code>html5</code>新标签有哪些</li> <li><code>canvas</code><code>svg</code><code>webGL</code></li> <li>你是如何理解 <code>HTML</code>语义化的,有什么好处</li> <li>前端需要注意哪些<code>SEO</code>?</li> <li><code>manifest</code><code>worker</code><code>socket</code></li> <li><code>input</code><code>textarea</code>的区别</li> <li>用一个<code>div</code>模拟<code>textarea</code>的实现</li></ul> <h3 id="_1-2-css"><a href="#_1-2-css" aria-hidden="true" class="header-anchor">#</a> 1.2 CSS</h3> <ul><li><code>css3</code>有什么新特性,浏览器支持怎么样</li> <li>伪类是什么?有哪些?会有哪些兼容性问题?如何处理?</li> <li><code>css</code>预处理器知道吗?用过哪些?有什么优劣?后处理器知道吗?</li> <li>盒模型有哪几种?怪异模式和标准模式?</li> <li><code>less</code><code>sass</code><code>postcss</code><code>prefix</code></li> <li>层叠优先级</li> <li>圣杯、双飞燕布局</li> <li><code>float</code>清除浮动</li> <li><code>flex</code>布局、 <code>grid</code>布局、<code>table</code>布局</li> <li><code>css</code>以及中轴旋转、动画变换</li> <li>绘制三角形、矩形、菱形、梯形(奇巧淫技,可以不问)</li> <li><code>sprite</code>图(雪碧图)知道吗?<code>svg</code>雪碧图了解吗?</li> <li><code>px</code><code>em</code><code>rem</code><code>vw</code><code>vh</code><code>rem</code>的根节点样式在什么时候设置?</li> <li><code>position</code>有哪些?他们的定位原点是什么?</li> <li>媒体查询用<code>css</code>好还是用<code>js</code>好?</li> <li><code>link</code><code>@import</code>的区别?</li> <li>响应式布局的原理</li> <li><code>css</code>低版本浏览器兼容问题,额外需要什么后缀来声明浏览器兼容</li> <li><code>!important</code>意义,是否应当规避使用?</li> <li><code>BFC</code>块级上下文、<code>IFC</code>,实现双栏高度对齐</li> <li><code>BEM</code>命名法,有什么优势,有什么劣势</li> <li><code>1px</code>边框问题</li> <li>(水平)居中有哪些实现方式、(垂直)居中有哪些实现方式</li></ul> <h3 id="_1-3-javascript"><a href="#_1-3-javascript" aria-hidden="true" class="header-anchor">#</a> 1.3 JavaScript</h3> <ul><li><code>typeof</code>以及弱类型转换规则?<code>NaN</code><code>undefined</code><code>null</code></li> <li><code>dom</code>的节点操作?能够背<code>api</code>还是知道<code>api</code></li> <li><code>ajax</code>是什么?知道底层实现原理吗?知道<code>fetch</code>吗?自己封装过吗?</li> <li><code>GET</code><code>POST</code>意义?<code>restful</code>架构下还有别的什么请求?<code>OPTION</code>请求是什么?</li> <li>事件冒泡和事件捕获是怎样的?对应的默认方法有什么?一般在什么情况使用?</li> <li><code>call</code><code>apply</code><code>bind</code></li> <li>如何判断数据类型?</li> <li><code>hoisting</code>是什么?具体表现是怎样的?</li> <li>匿名函数是什么?函数表达式和函数声明的区别?</li> <li><code>let</code><code>const</code>暂时性锁区知道吗?表现是怎样的?</li> <li>严格模式是什么?有什么好处?<code>use strict</code></li> <li><code>arguments</code>是什么类型?<code>callee</code><code>caller</code>有什么区别?</li> <li><code>Date.format</code>实现过吗?思路是怎样的?</li> <li>动画:<code>setTimeout</code>何时执行,<code>requestAnimationFrame</code>的优点</li> <li>你知道<code>new</code>一个对象有几步吗?</li></ul> <h2 id="二、高级"><a href="#二、高级" aria-hidden="true" class="header-anchor">#</a> 二、高级</h2> <h3 id="_2-1-browser"><a href="#_2-1-browser" aria-hidden="true" class="header-anchor">#</a> 2.1 Browser</h3> <ul><li>打开一个网页经历了那些过程?</li> <li>浏览器加载白屏是什么原因?</li> <li>千万访问量的项目,前端需要注意些什么?</li></ul> <h3 id="_2-2-javascript"><a href="#_2-2-javascript" aria-hidden="true" class="header-anchor">#</a> 2.2 JavaScript</h3> <ul><li>表达式和语句有什么区别?如何把语句转换为表达式?</li> <li>什么叫执行上下文栈(·Execution Context Stack)·? 一个函数调用会产生多少个上下文环境?如何激活一个上下文,什么叫caller(调用者),什么叫callee(被调用者)?给你一段代码能否画出执行过程中的上下文堆栈变化?</li> <li>执行上下文包括哪些结构(状态/属性),如何追踪关联代码的执行进度?</li> <li><code>eval</code>在调用的时候有哪些特别的地方?<code>eval</code>函数自身会产生上下文吗?会影响当前的调用上下文吗?</li> <li>什么叫变量对象?什么叫活动对象?</li> <li>词法作用域是什么?闭包是如何形成的?</li> <li><code>var foo = function bar () {}</code>命名函数表达式中(上述的foo函数)bar变量是定义在哪一层作用域的?</li> <li><code>(0, 1, 2)</code> 的结果是什么?</li> <li><code>var foo = { value: 2, bar: function () { return this.value; } 中(foo.bar, foo.bar)()</code><code>this</code>值是什么?<code>(foo.bar = foo.bar)()、(false || foo.bar)()</code>呢?</li></ul> <h3 id="_2-3-http"><a href="#_2-3-http" aria-hidden="true" class="header-anchor">#</a> 2.3 HTTP</h3> <ul><li><code>http1.0</code><code>http1.1</code>的区别</li> <li><code>http</code>请求码有哪些?<code>206</code><code>302</code><code>303</code><code>304</code><code>307</code></li> <li>能说下<code>304</code>具体怎样实现吗?</li> <li><code>http</code>缓存逻辑是怎样的?协商缓存与强缓存?<code>Last-Modified</code> / <code>Etag</code> / <code>Expires</code> / <code>Cache-Control</code></li> <li><code>osi</code>七层协议和<code>tcp/ip</code>四层协议</li> <li>三次握手和四次握手</li> <li>跨域是什么?http协议中如何判断跨域?如何解决跨域问题?</li> <li><code>http2</code>具体内容?<code>SDPY</code>了解么?</li> <li><code>HTTPS</code>如何实现?<code>tsl/ssl</code>是什么?对称加密、非对称加密在什么时候、对什么数据加密?</li> <li><code>DNS</code>劫持是什么?</li> <li>浏览器在一次 <code>HTTP</code> 请求中,需要传输一个 <code>4097</code> 字节的文本数据给服务端,可以采用那些方式?</li></ul> <h3 id="_2-4-优化"><a href="#_2-4-优化" aria-hidden="true" class="header-anchor">#</a> 2.4 优化</h3> <ul><li>首屏优化</li> <li>预加载资源、预解析<code>DNS</code></li> <li>懒加载图片怎么做</li> <li><code>iframe</code>一般怎么使用?</li> <li><code>window.onload</code><code>document.ready</code>顺序?<code>iframe</code>会阻塞吗?</li> <li><code>cdn</code>是什么?如何查找最近的<code>cdn</code></li> <li><code>gzip</code><code>chucked</code></li> <li>前端安全:<code>xss</code>攻击和防范、<code>CSRF</code><code>CORS</code></li> <li>硬件加速怎样开启</li> <li>优化中会提到缓存的问题,问:静态资源或者接口等如何做缓存优化</li> <li>页面<code>DOM</code>节点太多,会出现什么问题?如何优化?</li></ul> <h3 id="_2-5-products"><a href="#_2-5-products" aria-hidden="true" class="header-anchor">#</a> 2.5 Products</h3> <blockquote><p>这里主要是一些生产中真实存在的问题</p></blockquote> <ul><li>一个<code>feed</code>流,有哪些展现方式?如果当前页面可视区有5个格子,而你有<code>20</code>条信息需要展示,请问有哪些自动展示的算法?</li> <li>移动端的缓存机制有哪几种?</li> <li>小程序如何与<code>native</code>通信?<code>react-native</code>实现原理?<code>jsbridge</code>如何实现?</li> <li>过万条数据如何加载和渲染?</li> <li>如何在前端解析二进制,流媒体、图片二进制数据怎样渲染到页面上?</li> <li>如何解析二进制音频、视频?</li> <li>文件如何显示上传百分比?</li> <li>如何制作一个富文本,需要考虑哪些结构?</li> <li><code>html5</code>的播放器怎么做?视频直播如何在浏览器里面实现?<code>HLS</code><code>RTMP</code></li> <li>如何在浏览器里面裁剪图片?如何裁剪视频,对视频做逐帧分析?</li> <li>如何实现一个具有引导功能的组件库?</li> <li>如何封装一个<code>Form</code><code>FormItem</code>,使其能够跟<code>input</code><code>select</code><code>checkbox</code><code>radio</code>等组件进行 数据存储、数据校验(自定义逻辑)、校验反馈?</li> <li><code>echart</code>这类图像库的实现原理?</li> <li><code>i18n</code>的国际化方案应该是怎样的?</li> <li>数据埋点的意义是什么?应当针对哪些数据进行埋点?如何构建一个埋点系统?</li> <li>小程序的实现原理是什么?<a href="https://github.com/phodal/articles/issues/32" target="_blank" rel="noopener noreferrer">这【五篇】文章将带你深入了解「微信小程序」<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul> <h2 id="三、-framework"><a href="#三、-framework" aria-hidden="true" class="header-anchor">#</a> 三、 Framework</h2> <h3 id="_3-1-react"><a href="#_3-1-react" aria-hidden="true" class="header-anchor">#</a> 3.1 React</h3> <ul><li><code>React</code>的生命周期<code>mount</code><code>update</code>描述下</li> <li><code>React</code>的生命周期中的<code>isBatchingUpdates</code>了解吗?<code>Transaction</code>知道吗</li> <li><code>React</code><code>vdom</code>如何实现?<code>jsx</code>是怎样解析的?</li> <li>React<code></code>Fiber`是什么?具有什么样的特性?</li> <li><code>React</code><code>diff/patch</code>算法原理</li> <li><code>React</code>的组件逻辑(受控、非受控)?如何设计一个组件库</li> <li><code>React</code>的数据流,<code>Redux</code><code>Mobx</code><code>Rxjs</code>,发布订阅模式、观察者模式,<code>flux</code><code>no-flux</code></li> <li><code>React</code>的事件注册和事件分发知道吗?</li> <li><code>Redux</code>解决了什么痛点(有什么优点),又有什么缺点</li> <li><code>Redux</code>的中间件有哪些?<code>redux-actions</code><code>redux-promise</code><code>redux-thunk</code><code>redux-saga</code><code>redux-immutable</code>了解过哪些?说说中间件的意义</li> <li><code>Redux</code>有什么优化方案?</li> <li><code>SSR</code>了解过吗?怎样做?了解<code>Koa</code>么?</li> <li><code>React-Native</code>了解过吗?<code>JavascriptCore</code>是什么?</li></ul> <h3 id="_3-2-vue"><a href="#_3-2-vue" aria-hidden="true" class="header-anchor">#</a> 3.2 Vue</h3> <ul><li><code>Vue</code>是如何设计响应式系统的?(依赖收集)</li> <li>什么时候使用<code>computed</code>, <code>methods</code>,<code>watch</code>?之间有什么样区别?</li> <li><code>template</code><code>render(jsx)</code> 有什么的联系?</li> <li><code>this.$nextTick</code>是如何设计的?</li> <li><code>Vue</code> 组件 <code>data</code> 为什么必须是函数?</li></ul> <h3 id="_3-3-angularjs"><a href="#_3-3-angularjs" aria-hidden="true" class="header-anchor">#</a> 3.3 AngularJS</h3> <blockquote><p>尽管angularJS已经基本退出了历史舞台,但是相信有的同学还是做过相关的项目,并很有可能被面试官问起</p></blockquote> <ul><li><code>angularJS</code>的数据绑定采用什么机制?详述原理</li> <li>如果通过<code>angularJS</code><code>directive/component</code> 规划一套全组件化体系,可能遇到哪些挑战?</li> <li>一个<code>angularJS</code>应用应当如何良好地分层?</li> <li><code>ng-click</code>中写的表达式,能使用JS原生对象上的方法,比如<code>Math.max</code>之类的吗?为什么</li></ul></div> <div class="page-edit"><div class="edit-link"><a href="https://github.com/poetries/FE-Interview-Questions/edit/dev/docs/comprehensive/README.md" target="_blank" rel="noopener noreferrer">帮助我们改善此页面!</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">1/10/2019, 11:27:52 AM</span></div></div> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/FE-Interview-Questions/simply/" class="prev">
第六部分:精简版
</a></span> <!----></p></div> </div> <!----></div></div>
<script src="/FE-Interview-Questions/assets/js/app.988874f4.js" defer></script><script src="/FE-Interview-Questions/assets/js/6.02410588.js" defer></script>
<div id="app" data-server-rendered="true"><div class="theme-container custom-code-highlight"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/doc/" class="home-link router-link-active"><!----> <span class="site-name">知用科技中台系统</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/doc/improve/" class="nav-link">
模板设计器
</a></div><div class="nav-item"><a href="/doc/base/" class="nav-link">
场景设计器
</a></div><div class="nav-item"><a href="/doc/advance/" class="nav-link">
场景组件介绍
</a></div><div class="nav-item"><a href="/doc/computed-base/" class="nav-link">
模板组件介绍
</a></div><div class="nav-item"><a href="/doc/excellent/" class="nav-link">
场景配置流程
</a></div><div class="nav-item"><a href="/doc/simply/" class="nav-link">
模板配置流程
</a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/doc/improve/" class="nav-link">
模板设计器
</a></div><div class="nav-item"><a href="/doc/base/" class="nav-link">
场景设计器
</a></div><div class="nav-item"><a href="/doc/advance/" class="nav-link">
场景组件介绍
</a></div><div class="nav-item"><a href="/doc/computed-base/" class="nav-link">
模板组件介绍
</a></div><div class="nav-item"><a href="/doc/excellent/" class="nav-link">
场景配置流程
</a></div><div class="nav-item"><a href="/doc/simply/" class="nav-link">
模板配置流程
</a></div> <!----></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>模板设计器</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/doc/improve/" class="sidebar-link">模板设计器</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>模板组件介绍</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>模板配置流程</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>场景设计器</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>场景组件介绍</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>场景配置流程</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>中台系统说明</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/doc/comprehensive/" class="active sidebar-link">全局配置项说明</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/doc/comprehensive/#定制事务登录标题-costomaffairtitle" class="sidebar-link">定制事务登录标题(costomAffairTitle)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#定制事务logo-customlogo" class="sidebar-link">定制事务Logo(customLogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#微信认证地址-wx-ticket-addr" class="sidebar-link">微信认证地址(wxticketaddr)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#关闭查看详情用户基础信息展示-iscloseuserdetail" class="sidebar-link">关闭查看详情用户基础信息展示(isCloseUserDetail)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#系统维护中开关-ismaintain" class="sidebar-link">系统维护中开关(isMaintain)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#维护结束时间-ismaintaintime" class="sidebar-link">维护结束时间(isMainTainTime)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#版本-version" class="sidebar-link">版本(version)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#域名配置-domainname" class="sidebar-link">域名配置(domainName)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#转办-回退-撤回流程控制功能-istrunto" class="sidebar-link">转办,回退,撤回流程控制功能(isTrunTo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#关闭流程紧急度显示-iscloseflowpath" class="sidebar-link">关闭流程紧急度显示(isCloseFlowPath)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#动态添加门户端导向路由-newhome" class="sidebar-link">动态添加门户端导向路由(NewHome)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#后台管理左上角logo旁文字-htlogotext" class="sidebar-link">后台管理左上角logo旁文字(HTlogoText)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#大数据平台地址-bigdata" class="sidebar-link">大数据平台地址(bigData)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#首页二维码手机端地址-webmobileadress" class="sidebar-link">首页二维码手机端地址(webMobileAdress)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#是否开启加密-is-open-base16" class="sidebar-link">是否开启加密(isopenbase16)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#web端首页地址-webadress" class="sidebar-link">web端首页地址(webAdress)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#移动端首页通知弹框-mobilead" class="sidebar-link">移动端首页通知弹框(MobileAD)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#移动端首页通知弹框标题-mobileadtitle" class="sidebar-link">移动端首页通知弹框标题(mobileADTitle)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#移动端首页通知弹框内容-mobileadcontent" class="sidebar-link">移动端首页通知弹框内容(MobileADContent)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#移动端首页顶部logo配置-newmobilelogo" class="sidebar-link">移动端首页顶部logo配置(newMobileLogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#全局默认背景logo-getimg" class="sidebar-link">全局默认背景logo(getImg)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#全局默认应用图标-bgcimg" class="sidebar-link">全局默认应用图标(bgcImg)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#后台管理左上角logo-htlogo" class="sidebar-link">后台管理左上角logo(HTlogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#移动端端登录logo-mobilelogo" class="sidebar-link">移动端端登录logo(mobileLogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#web端登录logo-webloginlogo" class="sidebar-link">web端登录logo(webLoginLogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#web端首页logo-webhomelogin" class="sidebar-link">web端首页logo(webHomeLogin)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#门户底部联系电话配置-webhomephone" class="sidebar-link">门户底部联系电话配置(webHomePhone)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#门户底部邮编-webhomenumber" class="sidebar-link">门户底部邮编(webHomeNumber)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#门户底部地址-webhomeaddress" class="sidebar-link">门户底部地址(webHomeAddress)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#门户底部版权所有-webhomecopyright" class="sidebar-link">门户底部版权所有(webHomeCopyright)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#后台管理顶部欢迎词-htwelcometext" class="sidebar-link">后台管理顶部欢迎词(HTWelcomeText)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#后台顶部中间图片-htheacenter" class="sidebar-link">后台顶部中间图片(HTHeaCenter)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#是否开启单点登录-isssologin" class="sidebar-link">是否开启单点登录(isSSOLogin)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#单点登录路径移动端-ssourlmobile" class="sidebar-link">单点登录路径移动端(ssoUrlMobile)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#单点登录web路径-ssourl" class="sidebar-link">单点登录web路径(ssoUrl)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#微信登录密钥-wx-secret" class="sidebar-link">微信登录密钥(wx_secret)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#微信登录appid-wx-appid" class="sidebar-link">微信登录appid(wx_appid)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#阿里云短信appid-aly-appid" class="sidebar-link">阿里云短信appid(aly_appid)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#阿里云短信密钥-aly-secret" class="sidebar-link">阿里云短信密钥(aly_secret)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#数据化校园单点登录sso应用密钥-authkey" class="sidebar-link">数据化校园单点登录SSO应用密钥(authkey)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#数据化校园单点登录sso应用id-appid" class="sidebar-link">数据化校园单点登录SSO应用id(appid)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#ldap服务器ip-ldap-ip" class="sidebar-link">LDAP服务器ip(ldap_ip)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#ldap服务器端口-ldap-port" class="sidebar-link">LDAP服务器端口(ldap_port)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#门户底部邮箱-webhomeemail" class="sidebar-link">门户底部邮箱(webHomeEmail)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#后台管理底部logo-htbottomlogo" class="sidebar-link">后台管理底部logo(HTBottomLogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#后台管理顶部背景图-htbgclogo" class="sidebar-link">后台管理顶部背景图(HTBgclogo)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#活跃天数设置-active-days" class="sidebar-link">活跃天数设置(active_days)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#任务超时时间-taskduedate" class="sidebar-link">任务超时时间(taskDueDate)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#报表统计时间段设置-reporttimeslot" class="sidebar-link">报表统计时间段设置(reportTimeSlot)</a></li><li class="sidebar-sub-header"><a href="/doc/comprehensive/#首页指南-homehelp" class="sidebar-link">首页指南(homeHelp)</a></li></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="全局配置项说明"><a href="#全局配置项说明" class="header-anchor">#</a> 全局配置项说明</h1> <p><img src="/doc/assets/img/640.3b07f3df.gif" alt="An image"></p> <h2 id="定制事务登录标题-costomaffairtitle"><a href="#定制事务登录标题-costomaffairtitle" class="header-anchor">#</a> 定制事务登录标题(costomAffairTitle)</h2> <p><strong>配置key:</strong> <em>costomAffairTitle</em></p> <p><strong>配置值</strong>: string</p> <p><strong>配置说明</strong>:用于配置定制事务内部登录界面参数</p> <p><strong>配置关联</strong>:无</p> <h2 id="定制事务logo-customlogo"><a href="#定制事务logo-customlogo" class="header-anchor">#</a> 定制事务Logo(customLogo)</h2> <p><strong>配置key:</strong> <em>customLogo</em></p> <p><strong>配置值</strong>: string</p> <p><strong>配置说明</strong>:用于配置定制事务内部登录界面参数</p> <p><strong>配置关联</strong>:无</p> <h2 id="微信认证地址-wx-ticket-addr"><a href="#微信认证地址-wx-ticket-addr" class="header-anchor">#</a> 微信认证地址(wx_ticket_addr)</h2> <p><strong>配置key:</strong> <em>wx_ticket_addr</em></p> <p><strong>配置值</strong>: string</p> <p><strong>配置说明</strong>:用以获取微信配置地址,调用微信扫一扫等功能</p> <p><strong>配置关联</strong>:无</p> <h2 id="关闭查看详情用户基础信息展示-iscloseuserdetail"><a href="#关闭查看详情用户基础信息展示-iscloseuserdetail" class="header-anchor">#</a> 关闭查看详情用户基础信息展示(isCloseUserDetail)</h2> <p><strong>配置key:</strong> <em>isCloseUserDetail</em></p> <p><strong>配置值</strong>: true 或 false</p> <p><strong>配置说明</strong>:用以关闭查看详情用户基础信息展示,开启后查看详情页面不会展示用户提交基础信息.</p> <p><strong>配置关联</strong>:无</p> <h2 id="系统维护中开关-ismaintain"><a href="#系统维护中开关-ismaintain" class="header-anchor">#</a> 系统维护中开关(isMaintain)</h2> <p><strong>配置key:</strong> <em>isMaintain</em></p> <p><strong>配置值</strong>: true 或 false</p> <p><strong>配置说明</strong>:如果开启,除admin账号外,所有账户都不得进入</p> <p><strong>配置关联</strong>:无</p> <h2 id="维护结束时间-ismaintaintime"><a href="#维护结束时间-ismaintaintime" class="header-anchor">#</a> 维护结束时间(isMainTainTime)</h2> <p><strong>配置key:</strong> <em>isMainTainTime</em></p> <p><strong>配置值</strong>: 字符时间</p> <p><strong>配置说明</strong>:告知用户维护结束时间</p> <p><strong>配置关联</strong>:需要配置isMaintain为true方可生效</p> <h2 id="版本-version"><a href="#版本-version" class="header-anchor">#</a> 版本(version)</h2> <p><strong>配置key:</strong> <em>version</em></p> <p><strong>配置值</strong>: 字符版本号</p> <p><strong>配置说明</strong>:每次更新版本应增加版本号</p> <p><strong>配置关联</strong>:无</p> <h2 id="域名配置-domainname"><a href="#域名配置-domainname" class="header-anchor">#</a> 域名配置(domainName)</h2> <p><strong>配置key:</strong> <em>domainName</em></p> <p><strong>配置值</strong>: 当前网页域名地址</p> <p><strong>配置说明</strong>:主要用于场景设计器预览模板配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="转办-回退-撤回流程控制功能-istrunto"><a href="#转办-回退-撤回流程控制功能-istrunto" class="header-anchor">#</a> 转办,回退,撤回流程控制功能(isTrunTo)</h2> <p><strong>配置key:</strong> <em>isTrunTo</em></p> <p><strong>配置值</strong>: true或false</p> <p><strong>配置说明</strong>:主要用于开启转办,回退,撤回流程控制功能</p> <p><strong>配置关联</strong>:无</p> <h2 id="关闭流程紧急度显示-iscloseflowpath"><a href="#关闭流程紧急度显示-iscloseflowpath" class="header-anchor">#</a> 关闭流程紧急度显示(isCloseFlowPath)</h2> <p><strong>配置key:</strong> <em>isCloseFlowPath</em></p> <p><strong>配置值</strong>: true或false</p> <p><strong>配置说明</strong>:主要用于全局关闭流程紧急度显示</p> <p><strong>配置关联</strong>:无</p> <h2 id="动态添加门户端导向路由-newhome"><a href="#动态添加门户端导向路由-newhome" class="header-anchor">#</a> 动态添加门户端导向路由(NewHome)</h2> <p><strong>配置key:</strong> <em>NewHome</em></p> <p><strong>配置值</strong>: 字符串,数组</p> <div class="language-js extra-class"><pre class="language-js"><code><span class="token comment">// 字符串</span>
<span class="token string">'1239420590712946688'</span>
<span class="token comment">// 数组</span>
<span class="token comment">// url表明跳转地址</span>
<span class="token comment">// id 为场景设计器id</span>
<span class="token punctuation">[</span><span class="token punctuation">{</span>
name<span class="token operator">:</span><span class="token string">&quot;首页&quot;</span><span class="token punctuation">,</span>
url<span class="token operator">:</span><span class="token string">'http://zsjy.cdnkxy.com:9111/index.jsp'</span>
<span class="token punctuation">}</span>
<span class="token punctuation">,</span>
<span class="token punctuation">{</span>
name<span class="token operator">:</span><span class="token string">&quot;新增&quot;</span><span class="token punctuation">,</span>
id<span class="token operator">:</span><span class="token string">'1239420590712946688'</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span>
</code></pre></div><p><strong>配置说明</strong>:主要用于门户动态配置路由地址</p> <p><strong>配置关联</strong>:无</p> <h2 id="后台管理左上角logo旁文字-htlogotext"><a href="#后台管理左上角logo旁文字-htlogotext" class="header-anchor">#</a> 后台管理左上角logo旁文字(HTlogoText)</h2> <p><strong>配置key:</strong> <em>HTlogoText</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:主要用于配置后台页面左上角logo旁文字展示</p> <p><strong>配置关联</strong>:无</p> <h2 id="大数据平台地址-bigdata"><a href="#大数据平台地址-bigdata" class="header-anchor">#</a> 大数据平台地址(bigData)</h2> <p><strong>配置key:</strong> <em>bigData</em></p> <p><strong>配置值</strong>: 域名地址</p> <p><strong>配置说明</strong>:主要用于配置后台页面顶部大数据平台跳转地址</p> <p><strong>配置关联</strong>:无</p> <h2 id="首页二维码手机端地址-webmobileadress"><a href="#首页二维码手机端地址-webmobileadress" class="header-anchor">#</a> 首页二维码手机端地址(webMobileAdress)</h2> <p><strong>配置key:</strong> <em>webMobileAdress</em></p> <p><strong>配置值</strong>: 域名地址</p> <p><strong>配置说明</strong>:主要用于首页手机二维码扫描地址</p> <p><strong>配置关联</strong>:无</p> <h2 id="是否开启加密-is-open-base16"><a href="#是否开启加密-is-open-base16" class="header-anchor">#</a> 是否开启加密(is_open_base16)</h2> <p><strong>配置key:</strong> <em>is_open_base16</em></p> <p><strong>配置值</strong>: true或false</p> <p><strong>配置说明</strong>:主要用于开启全局参数是否加密传输</p> <p><strong>配置关联</strong>:无</p> <h2 id="web端首页地址-webadress"><a href="#web端首页地址-webadress" class="header-anchor">#</a> web端首页地址(webAdress)</h2> <p><strong>配置key:</strong> <em>webAdress</em></p> <p><strong>配置值</strong>: 域名地址</p> <p><strong>配置说明</strong>:主要用于版本号不一致时,清空缓存,定向跳转到首页</p> <p><strong>配置关联</strong>:无</p> <h2 id="移动端首页通知弹框-mobilead"><a href="#移动端首页通知弹框-mobilead" class="header-anchor">#</a> 移动端首页通知弹框(MobileAD)</h2> <p><strong>配置key:</strong> <em>MobileAD</em></p> <p><strong>配置值</strong>: 域名地址</p> <p><strong>配置说明</strong>:主要用于版本号不一致时,清空缓存,定向跳转到首页</p> <p><strong>配置关联</strong>:无</p> <h2 id="移动端首页通知弹框标题-mobileadtitle"><a href="#移动端首页通知弹框标题-mobileadtitle" class="header-anchor">#</a> 移动端首页通知弹框标题(mobileADTitle)</h2> <p><strong>配置key:</strong> <em>mobileADTitle</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:用于配置移动端首页通知弹框的标题栏数据配置</p> <p><strong>配置关联</strong>:需要开启移动端首页弹框(MobileAD)才可生效</p> <h2 id="移动端首页通知弹框内容-mobileadcontent"><a href="#移动端首页通知弹框内容-mobileadcontent" class="header-anchor">#</a> 移动端首页通知弹框内容(MobileADContent)</h2> <p><strong>配置key:</strong> <em>MobileADContent</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:用于配置移动端首页通知弹框的标题栏数据配置</p> <p><strong>配置关联</strong>:需要开启移动端首页弹框(MobileAD)才可生效</p> <h2 id="移动端首页顶部logo配置-newmobilelogo"><a href="#移动端首页顶部logo配置-newmobilelogo" class="header-anchor">#</a> 移动端首页顶部logo配置(newMobileLogo)</h2> <p><strong>配置key:</strong> <em>newMobileLogo</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:新版顶部logo,未配置则会使用旧版配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="全局默认背景logo-getimg"><a href="#全局默认背景logo-getimg" class="header-anchor">#</a> 全局默认背景logo(getImg)</h2> <p><strong>配置key:</strong> <em>getImg</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:web端移动端共用该默认图,当后台图片返回无效时使用该图片展示</p> <p><strong>配置关联</strong>:无</p> <h2 id="全局默认应用图标-bgcimg"><a href="#全局默认应用图标-bgcimg" class="header-anchor">#</a> 全局默认应用图标(bgcImg)</h2> <p><strong>配置key:</strong> <em>bgcImg</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:web端移动端事务图标失效后,使用该图片展示</p> <p><strong>配置关联</strong>:无</p> <h2 id="后台管理左上角logo-htlogo"><a href="#后台管理左上角logo-htlogo" class="header-anchor">#</a> 后台管理左上角logo(HTlogo)</h2> <p><strong>配置key:</strong> <em>HTlogo</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:后台管理页面左上角图片展示</p> <p><strong>配置关联</strong>:无</p> <h2 id="移动端端登录logo-mobilelogo"><a href="#移动端端登录logo-mobilelogo" class="header-anchor">#</a> 移动端端登录logo(mobileLogo)</h2> <p><strong>配置key:</strong> <em>mobileLogo</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:移动端登录,注册界面展示的logo</p> <p><strong>配置关联</strong>:无</p> <h2 id="web端登录logo-webloginlogo"><a href="#web端登录logo-webloginlogo" class="header-anchor">#</a> web端登录logo(webLoginLogo)</h2> <p><strong>配置key:</strong> <em>webLoginLogo</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:web端登录,注册界面展示的logo</p> <p><strong>配置关联</strong>:无</p> <h2 id="web端首页logo-webhomelogin"><a href="#web端首页logo-webhomelogin" class="header-anchor">#</a> web端首页logo(webHomeLogin)</h2> <p><strong>配置key:</strong> <em>webHomeLogin</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:web端首页界面展示的logo</p> <p><strong>配置关联</strong>:无</p> <h2 id="门户底部联系电话配置-webhomephone"><a href="#门户底部联系电话配置-webhomephone" class="header-anchor">#</a> 门户底部联系电话配置(webHomePhone)</h2> <p><strong>配置key:</strong> <em>webHomePhone</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:门户底部联系电话配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="门户底部邮编-webhomenumber"><a href="#门户底部邮编-webhomenumber" class="header-anchor">#</a> 门户底部邮编(webHomeNumber)</h2> <p><strong>配置key:</strong> <em>webHomeNumber</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:门户底部邮编配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="门户底部地址-webhomeaddress"><a href="#门户底部地址-webhomeaddress" class="header-anchor">#</a> 门户底部地址(webHomeAddress)</h2> <p><strong>配置key:</strong> <em>webHomeAddress</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:门户底部地址配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="门户底部版权所有-webhomecopyright"><a href="#门户底部版权所有-webhomecopyright" class="header-anchor">#</a> 门户底部版权所有(webHomeCopyright)</h2> <p><strong>配置key:</strong> <em>webHomeCopyright</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:门户底部版权所有配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="后台管理顶部欢迎词-htwelcometext"><a href="#后台管理顶部欢迎词-htwelcometext" class="header-anchor">#</a> 后台管理顶部欢迎词(HTWelcomeText)</h2> <p><strong>配置key:</strong> <em>webHomeCopyright</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:后台管理顶部欢迎词配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="后台顶部中间图片-htheacenter"><a href="#后台顶部中间图片-htheacenter" class="header-anchor">#</a> 后台顶部中间图片(HTHeaCenter)</h2> <p><strong>配置key:</strong> <em>HTHeaCenter</em></p> <p><strong>配置值</strong>: 图片</p> <p><strong>配置说明</strong>:后台顶部中间图片配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="是否开启单点登录-isssologin"><a href="#是否开启单点登录-isssologin" class="header-anchor">#</a> 是否开启单点登录(isSSOLogin)</h2> <p><strong>配置key:</strong> <em>isSSOLogin</em></p> <p><strong>配置值</strong>: true或false</p> <p><strong>配置说明</strong>:是否开启单点登录</p> <p><strong>配置关联</strong>:无</p> <h2 id="单点登录路径移动端-ssourlmobile"><a href="#单点登录路径移动端-ssourlmobile" class="header-anchor">#</a> 单点登录路径移动端(ssoUrlMobile)</h2> <p><strong>配置key:</strong> <em>ssoUrlMobile</em></p> <p><strong>配置值</strong>: 域名地址</p> <p><strong>配置说明</strong>:单点登录移动端地址</p> <p><strong>配置关联</strong>:需要开启单点登录(isSSOLogin)才会生效</p> <h2 id="单点登录web路径-ssourl"><a href="#单点登录web路径-ssourl" class="header-anchor">#</a> 单点登录web路径(ssoUrl)</h2> <p><strong>配置key:</strong> <em>ssoUrl</em></p> <p><strong>配置值</strong>: 域名地址</p> <p><strong>配置说明</strong>:单点登录web端地址</p> <p><strong>配置关联</strong>:需要开启单点登录(isSSOLogin)才会生效</p> <h2 id="微信登录密钥-wx-secret"><a href="#微信登录密钥-wx-secret" class="header-anchor">#</a> 微信登录密钥(wx_secret)</h2> <p><strong>配置key:</strong> <em>wx_secret</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:微信登录密钥配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="微信登录appid-wx-appid"><a href="#微信登录appid-wx-appid" class="header-anchor">#</a> 微信登录appid(wx_appid)</h2> <p><strong>配置key:</strong> <em>wx_appid</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:微信登录appid配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="阿里云短信appid-aly-appid"><a href="#阿里云短信appid-aly-appid" class="header-anchor">#</a> 阿里云短信appid(aly_appid)</h2> <p><strong>配置key:</strong> <em>aly_appid</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:阿里云短信appid配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="阿里云短信密钥-aly-secret"><a href="#阿里云短信密钥-aly-secret" class="header-anchor">#</a> 阿里云短信密钥(aly_secret)</h2> <p><strong>配置key:</strong> <em>aly_secret</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:阿里云短信密钥配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="数据化校园单点登录sso应用密钥-authkey"><a href="#数据化校园单点登录sso应用密钥-authkey" class="header-anchor">#</a> 数据化校园单点登录SSO应用密钥(authkey)</h2> <p><strong>配置key:</strong> <em>authkey</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:数据化校园单点登录SSO应用密钥配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="数据化校园单点登录sso应用id-appid"><a href="#数据化校园单点登录sso应用id-appid" class="header-anchor">#</a> 数据化校园单点登录SSO应用id(appid)</h2> <p><strong>配置key:</strong> <em>appid</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>:数据化校园单点登录SSO应用id配置</p> <p><strong>配置关联</strong>:无</p> <p>##数据中心数据库id(data_base_save)</p> <p><strong>配置key:</strong> <em>data_base_save</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>: 数据中心数据库id配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="ldap服务器ip-ldap-ip"><a href="#ldap服务器ip-ldap-ip" class="header-anchor">#</a> LDAP服务器ip(ldap_ip)</h2> <p><strong>配置key:</strong> <em>ldap_ip</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>: LDAP服务器ip配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="ldap服务器端口-ldap-port"><a href="#ldap服务器端口-ldap-port" class="header-anchor">#</a> LDAP服务器端口(ldap_port)</h2> <p><strong>配置key:</strong> <em>ldap_port</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>: LDAP服务器端口配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="门户底部邮箱-webhomeemail"><a href="#门户底部邮箱-webhomeemail" class="header-anchor">#</a> 门户底部邮箱(webHomeEmail)</h2> <p><strong>配置key:</strong> <em>webHomeEmail</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>: 门户底部邮箱配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="后台管理底部logo-htbottomlogo"><a href="#后台管理底部logo-htbottomlogo" class="header-anchor">#</a> 后台管理底部logo(HTBottomLogo)</h2> <p><strong>配置key:</strong> <em>HTBottomLogo</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>: 后台管理底部logo配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="后台管理顶部背景图-htbgclogo"><a href="#后台管理顶部背景图-htbgclogo" class="header-anchor">#</a> 后台管理顶部背景图(HTBgclogo)</h2> <p><strong>配置key:</strong> <em>HTBgclogo</em></p> <p><strong>配置值</strong>: 字符串</p> <p><strong>配置说明</strong>: 后台管理顶部背景图配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="活跃天数设置-active-days"><a href="#活跃天数设置-active-days" class="header-anchor">#</a> 活跃天数设置(active_days)</h2> <p><strong>配置key:</strong> <em>active_days</em></p> <p><strong>配置值</strong>: 天数</p> <p><strong>配置说明</strong>: 活跃天数设置配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="任务超时时间-taskduedate"><a href="#任务超时时间-taskduedate" class="header-anchor">#</a> 任务超时时间(taskDueDate)</h2> <p><strong>配置key:</strong> <em>taskDueDate</em></p> <p><strong>配置值</strong>: 天数或小时</p> <p><strong>配置说明</strong>: 任务超时时间配置</p> <p><strong>配置关联</strong>:无</p> <h2 id="报表统计时间段设置-reporttimeslot"><a href="#报表统计时间段设置-reporttimeslot" class="header-anchor">#</a> 报表统计时间段设置(reportTimeSlot)</h2> <p><strong>配置key:</strong> <em>reportTimeSlot</em></p> <p><strong>配置值</strong>: 数组</p> <div class="language-js extra-class"><pre class="language-js"><code><span class="token punctuation">[</span><span class="token punctuation">{</span><span class="token string">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;小于1天&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;start&quot;</span><span class="token operator">:</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token string">&quot;end&quot;</span><span class="token operator">:</span><span class="token number">1</span><span class="token punctuation">}</span><span class="token punctuation">,</span><span class="token punctuation">{</span><span class="token string">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;2&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;1-3天&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;start&quot;</span><span class="token operator">:</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token string">&quot;end&quot;</span><span class="token operator">:</span><span class="token number">3</span><span class="token punctuation">}</span><span class="token punctuation">,</span><span class="token punctuation">{</span><span class="token string">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;3&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;3-5天&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;start&quot;</span><span class="token operator">:</span><span class="token number">3</span><span class="token punctuation">,</span><span class="token string">&quot;end&quot;</span><span class="token operator">:</span><span class="token number">5</span><span class="token punctuation">}</span><span class="token punctuation">,</span><span class="token punctuation">{</span><span class="token string">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;4&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;5-10天&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;start&quot;</span><span class="token operator">:</span><span class="token number">5</span><span class="token punctuation">,</span><span class="token string">&quot;end&quot;</span><span class="token operator">:</span><span class="token number">10</span><span class="token punctuation">}</span><span class="token punctuation">,</span><span class="token punctuation">{</span><span class="token string">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;5&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;大于10天&quot;</span><span class="token punctuation">,</span><span class="token string">&quot;start&quot;</span><span class="token operator">:</span><span class="token number">10</span><span class="token punctuation">,</span><span class="token string">&quot;end&quot;</span><span class="token operator">:</span><span class="token number">100000</span><span class="token punctuation">}</span><span class="token punctuation">]</span>
</code></pre></div><p><strong>配置说明</strong>: 报表统计时间段设置</p> <p><strong>配置关联</strong>:无</p> <h2 id="首页指南-homehelp"><a href="#首页指南-homehelp" class="header-anchor">#</a> 首页指南(homeHelp)</h2> <p><strong>配置key:</strong> <em>homeHelp</em></p> <p><strong>配置值</strong>: 数组</p> <div class="language-js extra-class"><pre class="language-js"><code><span class="token punctuation">{</span>
<span class="token string">&quot;blocks&quot;</span><span class="token operator">:</span><span class="token punctuation">[</span>
<span class="token punctuation">{</span>
<span class="token string">&quot;key&quot;</span><span class="token operator">:</span><span class="token string">&quot;efnre&quot;</span><span class="token punctuation">,</span>
<span class="token string">&quot;text&quot;</span><span class="token operator">:</span><span class="token string">&quot;13131&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 内容配置位置</span>
<span class="token string">&quot;type&quot;</span><span class="token operator">:</span><span class="token string">&quot;unstyled&quot;</span><span class="token punctuation">,</span>
<span class="token string">&quot;depth&quot;</span><span class="token operator">:</span><span class="token number">0</span><span class="token punctuation">,</span>
<span class="token string">&quot;inlineStyleRanges&quot;</span><span class="token operator">:</span><span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;entityRanges&quot;</span><span class="token operator">:</span><span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;data&quot;</span><span class="token operator">:</span><span class="token punctuation">{</span><span class="token punctuation">}</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;entityMap&quot;</span><span class="token operator">:</span><span class="token punctuation">{</span><span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre></div><p><strong>配置说明</strong>: 首页指南配置</p> <p><strong>配置关联</strong>:无</p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/doc/excellent/" class="prev">
场景设计器配置流程
</a></span> <!----></p></div> </main></div><div class="global-ui"></div></div>
<script src="/doc/assets/js/app.cb54634a.js" defer></script><script src="/doc/assets/js/2.422d5b79.js" defer></script><script src="/doc/assets/js/7.3042b1d5.js" defer></script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论