mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
1 line
47 KiB
Plaintext
1 line
47 KiB
Plaintext
{"version":3,"sources":["webpack:///./docs ^\\.\\/examples.*\\.md$","webpack:///sample-2.vue","webpack:///switch-3.vue","webpack:///./~/vue-markdown-loader/_cache/button-1.vue?4296","webpack:///./~/vue-markdown-loader/_cache/switch-3.vue?2ff1","webpack:///./~/vue-markdown-loader/_cache/button-1.vue","webpack:///./~/vue-markdown-loader/_cache/sample-2.vue","webpack:///./~/vue-markdown-loader/_cache/switch-3.vue","webpack:///./~/vue-markdown-loader/_cache/sample-2.vue?3eb6","webpack:///./~/vue-markdown-loader/_cache/button-1.vue?94f7","webpack:///./~/vue-markdown-loader/_cache/switch-3.vue?a6e5","webpack:///./~/vue-markdown-loader/_cache/button-1.vue?6740","webpack:///./~/vue-markdown-loader/_cache/switch-3.vue?8b0b","webpack:///./docs/examples/button.md","webpack:///./docs/examples/sample.md","webpack:///./docs/examples/switch.md"],"names":[],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgBA;;;wBAEA;;cAGA;AAFA;AAGA;AALA,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6DA;;;wBAEA;;mBAGA;AAFA;AAGA;;;gDAEA;uCACA;AAEA;AAJA;;gDAMA;kBACA;yBACA;AAEA;AALA;AAXA,E;;;;;;;AClGA;AACA;;;AAGA;AACA,sCAAuC,oBAAoB,wCAAwC,mBAAmB;;AAEtH;;;;;;;;ACPA;AACA;;;AAGA;AACA,sCAAuC,oBAAoB,oBAAoB,cAAc,kBAAkB,kBAAkB;;AAEjI;;;;;;;;;ACNA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACVA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,gBAAgB,mBAAmB,aAAa,0BAA0B;AAC1E;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH,CAAC,+BAA+B,aAAa,0BAA0B;AACvE;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA,GAAG;AACH,CAAC,E;;;;;;;ACpED,gBAAgB,mBAAmB,aAAa,0BAA0B;AAC1E;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH,CAAC,+BAA+B,aAAa,0BAA0B;AACvE;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA,GAAG;AACH,CAAC,E;;;;;;;AC5WD,gBAAgB,mBAAmB,aAAa,0BAA0B;AAC1E;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG,oGAAoG,uDAAuD;AAC9J;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG,kCAAkC,YAAY;AACjD;AACA,GAAG,iCAAiC;AACpC;AACA,GAAG;AACH;AACA,GAAG,sCAAsC,KAAK;AAC9C;AACA,GAAG,oCAAoC,yBAAyB;AAChE;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG,+BAA+B,OAAO,KAAK;AAC9C;AACA,GAAG,mCAAmC,6BAA6B;AACnE;AACA,GAAG;AACH;AACA,GAAG,qCAAqC;AACxC;AACA,GAAG,qDAAqD,OAAO,KAAK,IAAI;AACxE,CAAC,+BAA+B,aAAa,0BAA0B;AACvE;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC,aAAa,aAAa,0BAA0B;AACrD;AACA;AACA,GAAG,ilCAAilC;AACplC,CAAC,E;;;;;;;AClKD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,gCAAgC,UAAU,EAAE;AAC5C,C;;;;;;;ACpBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,gCAAgC,UAAU,EAAE;AAC5C,C;;;;;;;ACpBA,0C;;;;;;;ACAA,0C;;;;;;;ACAA,0C","file":"0.js","sourcesContent":["var map = {\n\t\"./examples/button.md\": 225,\n\t\"./examples/sample.md\": 226,\n\t\"./examples/switch.md\": 227\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 212;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./docs ^\\.\\/examples.*\\.md$\n// module id = 212\n// module chunks = 0","<template><section>\n<h2 id=\"sample-zu-jian\"><a class=\"header-anchor\" href=\"#sample-zu-jian\" aria-hidden=\"true\">¶</a> sample组件</h2>\n<h3 id=\"ji-chu-yong-fa\"><a class=\"header-anchor\" href=\"#ji-chu-yong-fa\" aria-hidden=\"true\">¶</a> 基础用法</h3>\n<p>author设置为test</p>\n<demo-block class=\"demo-box\">\n <div class=\"source\" slot=\"source\"><sample :author=\"author\"></sample>\n</div>\n <p>样例代码</p>\n\n <div class=\"highlight\" slot=\"highlight\"><pre><code class=\"hljs language-html\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">sample</span> <span class=\"hljs-attr\">:author</span>=<span class=\"hljs-string\">\"author\"</span>></span><span class=\"hljs-tag\"></<span class=\"hljs-name\">sample</span>></span>\n</code></pre>\n</div></demo-block>\n<h3 id=\"api\"><a class=\"header-anchor\" href=\"#api\" aria-hidden=\"true\">¶</a> API</h3>\n<table class=\"table\"><thead>\n<tr>\n<th>参数</th>\n<th>说明</th>\n<th>类型</th>\n<th>默认值</th>\n<th>可选值</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>className</td>\n<td>自定义额外类名</td>\n<td>string</td>\n<td>''</td>\n<td>''</td>\n</tr>\n</tbody>\n</table>\n</section></template>\n\n<script>\nexport default {\n data() {\n return {\n author: 'pangxie'\n };\n }\n};\n</script>\n\n\n// WEBPACK FOOTER //\n// sample-2.vue?49b9e114","<template><section>\n\n<h2 id=\"switch-zu-jian\"><a class=\"header-anchor\" href=\"#switch-zu-jian\" aria-hidden=\"true\">¶</a> Switch组件</h2>\n<h3 id=\"ji-chu-yong-fa\"><a class=\"header-anchor\" href=\"#ji-chu-yong-fa\" aria-hidden=\"true\">¶</a> 基础用法</h3>\n<demo-block class=\"demo-box\">\n <div class=\"source\" slot=\"source\"><div class=\"page-switch\">\n <span class=\"page-switch-text\">Switch state: {{switchStateText}}</span>\n <o2-switch class=\"page-switch-sample\" :checked=\"switchState\" :onchange=\"updateState\"></o2-switch>\n <o2-switch class=\"page-switch-sample\" :checked=\"false\" :disabled=\"true\"></o2-switch>\n</div>\n</div>\n <p>样例代码</p>\n\n <div class=\"highlight\" slot=\"highlight\"><pre><code class=\"hljs language-html\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">div</span> <span class=\"hljs-attr\">class</span>=<span class=\"hljs-string\">\"page-switch\"</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">span</span> <span class=\"hljs-attr\">class</span>=<span class=\"hljs-string\">\"page-switch-text\"</span>></span>Switch state: <span>{{</span>switchStateText<span>}}</span><span class=\"hljs-tag\"></<span class=\"hljs-name\">span</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">o2-switch</span> <span class=\"hljs-attr\">class</span>=<span class=\"hljs-string\">\"page-switch-sample\"</span> <span class=\"hljs-attr\">:checked</span>=<span class=\"hljs-string\">\"switchState\"</span> <span class=\"hljs-attr\">:onChange</span>=<span class=\"hljs-string\">\"updateState\"</span>></span><span class=\"hljs-tag\"></<span class=\"hljs-name\">o2-switch</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">o2-switch</span> <span class=\"hljs-attr\">class</span>=<span class=\"hljs-string\">\"page-switch-sample\"</span> <span class=\"hljs-attr\">:checked</span>=<span class=\"hljs-string\">\"false\"</span> <span class=\"hljs-attr\">:disabled</span>=<span class=\"hljs-string\">\"true\"</span>></span><span class=\"hljs-tag\"></<span class=\"hljs-name\">o2-switch</span>></span>\n<span class=\"hljs-tag\"></<span class=\"hljs-name\">div</span>></span>\n</code></pre>\n<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">export</span> <span class=\"hljs-keyword\">default</span> {\n data() {\n <span class=\"hljs-keyword\">return</span> {\n <span class=\"hljs-attr\">switchState</span>: <span class=\"hljs-literal\">false</span>\n };\n },\n <span class=\"hljs-attr\">computed</span>: {\n switchStateText() {\n <span class=\"hljs-keyword\">return</span> <span class=\"hljs-keyword\">this</span>.switchState ? <span class=\"hljs-string\">'on'</span> : <span class=\"hljs-string\">'off'</span>;\n }\n },\n <span class=\"hljs-attr\">methods</span>: {\n updateState(newState) {\n <span class=\"hljs-built_in\">console</span>.log(<span class=\"hljs-string\">'changing'</span>);\n <span class=\"hljs-keyword\">this</span>.switchState = newState;\n }\n }\n};\n</code></pre>\n</div></demo-block>\n<h3 id=\"api\"><a class=\"header-anchor\" href=\"#api\" aria-hidden=\"true\">¶</a> API</h3>\n<table class=\"table\"><thead>\n<tr>\n<th>参数</th>\n<th>说明</th>\n<th>类型</th>\n<th>默认值</th>\n<th>可选值</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>checked</td>\n<td>开关状态</td>\n<td>boolean</td>\n<td>false</td>\n<td>true,false</td>\n</tr>\n<tr>\n<td>loading</td>\n<td>loading状态</td>\n<td>boolean</td>\n<td>false</td>\n<td>true,false</td>\n</tr>\n<tr>\n<td>disabled</td>\n<td>禁用状态</td>\n<td>boolean</td>\n<td>false</td>\n<td>true,false</td>\n</tr>\n<tr>\n<td>onChange</td>\n<td>回调</td>\n<td>function</td>\n<td>function(){}</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</section></template>\n<style lang=\"css\">\n @component-namespace page {\n @component switch {\n padding: 0 15px 15px;\n\n @descendent sample {\n margin: 0 15px;\n }\n\n @descendent text {\n margin-right: 20px;\n }\n }\n }\n</style>\n<script>\nexport default {\n data() {\n return {\n switchState: true\n };\n },\n computed: {\n switchStateText() {\n return this.switchState ? 'ON' : 'OFF';\n }\n },\n methods: {\n updateState(newState) {\n console.log('changing');\n this.switchState = newState;\n }\n }\n};\n</script>\n\n\n// WEBPACK FOOTER //\n// switch-3.vue?34d79a48","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".page-button{padding:0 15px 15px}.page-button-group,.page-button-group>*{margin-bottom:15px}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?minimize!./~/vue-loader/lib/style-rewriter.js?id=data-v-33792b69!./~/vue-loader/lib/selector.js?type=styles&index=0!./~/vue-markdown-loader/_cache/button-1.vue\n// module id = 215\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".page-switch{padding:0 15px 15px}.page-switch-sample{margin:0 15px}.page-switch-text{margin-right:20px}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?minimize!./~/vue-loader/lib/style-rewriter.js?id=data-v-450f60ed!./~/vue-loader/lib/selector.js?type=styles&index=0!./~/vue-markdown-loader/_cache/switch-3.vue\n// module id = 216\n// module chunks = 0","\n/* styles */\nrequire(\"!!vue-loader/node_modules/vue-style-loader!css-loader?minimize!./../../vue-loader/lib/style-rewriter?id=data-v-33792b69!./../../vue-loader/lib/selector?type=styles&index=0!./button-1.vue\")\n\nvar Component = require(\"!./../../vue-loader/lib/component-normalizer\")(\n /* script */\n null,\n /* template */\n require(\"!!./../../vue-loader/lib/template-compiler?id=data-v-33792b69!./../../vue-loader/lib/selector?type=template&index=0!./button-1.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader!./~/vue-markdown-loader/_cache/button-1.vue\n// module id = 217\n// module chunks = 0","var Component = require(\"!./../../vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../vue-loader/lib/selector?type=script&index=0!./sample-2.vue\"),\n /* template */\n require(\"!!./../../vue-loader/lib/template-compiler?id=data-v-01a5d762!./../../vue-loader/lib/selector?type=template&index=0!./sample-2.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader!./~/vue-markdown-loader/_cache/sample-2.vue\n// module id = 218\n// module chunks = 0","\n/* styles */\nrequire(\"!!vue-loader/node_modules/vue-style-loader!css-loader?minimize!./../../vue-loader/lib/style-rewriter?id=data-v-450f60ed!./../../vue-loader/lib/selector?type=styles&index=0!./switch-3.vue\")\n\nvar Component = require(\"!./../../vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../vue-loader/lib/selector?type=script&index=0!./switch-3.vue\"),\n /* template */\n require(\"!!./../../vue-loader/lib/template-compiler?id=data-v-450f60ed!./../../vue-loader/lib/selector?type=template&index=0!./switch-3.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader!./~/vue-markdown-loader/_cache/switch-3.vue\n// module id = 219\n// module chunks = 0","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('section', [_vm._m(0), _vm._v(\" \"), _vm._m(1), _vm._v(\" \"), _c('p', [_vm._v(\"author设置为test\")]), _vm._v(\" \"), _c('demo-block', {\n staticClass: \"demo-box\"\n }, [_c('div', {\n staticClass: \"source\",\n slot: \"source\"\n }, [_c('sample', {\n attrs: {\n \"author\": _vm.author\n }\n })], 1), _vm._v(\" \"), _c('p', [_vm._v(\"样例代码\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"highlight\",\n slot: \"highlight\"\n }, [_c('pre', [_c('code', {\n staticClass: \"hljs language-html\"\n }, [_c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"sample\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\":author\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"author\\\"\")]), _vm._v(\">\")]), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"sample\")]), _vm._v(\">\")]), _vm._v(\"\\n\")])])])]), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), _vm._m(3)], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h2', {\n attrs: {\n \"id\": \"sample-zu-jian\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#sample-zu-jian\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" sample组件\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h3', {\n attrs: {\n \"id\": \"ji-chu-yong-fa\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#ji-chu-yong-fa\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" 基础用法\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h3', {\n attrs: {\n \"id\": \"api\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#api\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" API\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('table', {\n staticClass: \"table\"\n }, [_c('thead', [_c('tr', [_c('th', [_vm._v(\"参数\")]), _vm._v(\" \"), _c('th', [_vm._v(\"说明\")]), _vm._v(\" \"), _c('th', [_vm._v(\"类型\")]), _vm._v(\" \"), _c('th', [_vm._v(\"默认值\")]), _vm._v(\" \"), _c('th', [_vm._v(\"可选值\")])])]), _vm._v(\" \"), _c('tbody', [_c('tr', [_c('td', [_vm._v(\"className\")]), _vm._v(\" \"), _c('td', [_vm._v(\"自定义额外类名\")]), _vm._v(\" \"), _c('td', [_vm._v(\"string\")]), _vm._v(\" \"), _c('td', [_vm._v(\"''\")]), _vm._v(\" \"), _c('td', [_vm._v(\"''\")])])])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-01a5d762!./~/vue-loader/lib/selector.js?type=template&index=0!./~/vue-markdown-loader/_cache/sample-2.vue\n// module id = 220\n// module chunks = 0","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('section', [_vm._m(0), _vm._v(\" \"), _vm._m(1), _vm._v(\" \"), _c('demo-block', {\n staticClass: \"demo-box\"\n }, [_c('div', {\n staticClass: \"source\",\n slot: \"source\"\n }, [_c('div', {\n staticClass: \"page-button\"\n }, [_c('h1', {\n staticClass: \"page-title\"\n }, [_vm._v(\"Button\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"page-button-group\"\n }, [_c('o2-button', {\n attrs: {\n \"size\": \"large\"\n }\n }, [_vm._v(\"default\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"size\": \"large\",\n \"type\": \"primary\"\n }\n }, [_vm._v(\"primary\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"size\": \"large\",\n \"type\": \"danger\"\n }\n }, [_vm._v(\"danger\")])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"page-button-group\"\n }, [_c('o2-button', [_vm._v(\"default\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"type\": \"primary\"\n }\n }, [_vm._v(\"primary\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"type\": \"danger\"\n }\n }, [_vm._v(\"danger\")])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"page-button-group\"\n }, [_c('o2-button', {\n attrs: {\n \"size\": \"small\"\n }\n }, [_vm._v(\"default\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"size\": \"small\",\n \"type\": \"primary\"\n }\n }, [_vm._v(\"primary\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"size\": \"small\",\n \"type\": \"danger\"\n }\n }, [_vm._v(\"danger\")])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"page-button-group\"\n }, [_c('o2-button', {\n attrs: {\n \"disabled\": \"\",\n \"size\": \"large\"\n }\n }, [_vm._v(\"default\")]), _vm._v(\" \"), _c('o2-button', {\n attrs: {\n \"disabled\": \"\",\n \"size\": \"large\",\n \"type\": \"primary\"\n }\n }, [_vm._v(\"primary\")]), _vm._v(\" \"), _c('o2-button', {\n staticClass: \"aaa\",\n attrs: {\n \"disabled\": \"\",\n \"size\": \"large\",\n \"type\": \"danger\"\n }\n }, [_vm._v(\"danger\")])], 1)])]), _vm._v(\" \"), _c('p', [_vm._v(\"样例代码\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"highlight\",\n slot: \"highlight\"\n }, [_c('pre', [_c('code', {\n staticClass: \"hljs language-html\"\n }, [_c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-button\\\"\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"h1\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-title\\\"\")]), _vm._v(\">\")]), _vm._v(\"Button\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"h1\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-button-group\\\"\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"large\\\"\")]), _vm._v(\">\")]), _vm._v(\"default\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"large\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"primary\\\"\")]), _vm._v(\">\")]), _vm._v(\"primary\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"large\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"danger\\\"\")]), _vm._v(\">\")]), _vm._v(\"danger\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\">\")]), _vm._v(\"\\n\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-button-group\\\"\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"default\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"primary\\\"\")]), _vm._v(\">\")]), _vm._v(\"primary\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"danger\\\"\")]), _vm._v(\">\")]), _vm._v(\"danger\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\">\")]), _vm._v(\"\\n\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-button-group\\\"\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"small\\\"\")]), _vm._v(\">\")]), _vm._v(\"default\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"small\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"primary\\\"\")]), _vm._v(\">\")]), _vm._v(\"primary\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"small\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"danger\\\"\")]), _vm._v(\">\")]), _vm._v(\"danger\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\">\")]), _vm._v(\"\\n\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-button-group\\\"\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"disabled\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"large\\\"\")]), _vm._v(\">\")]), _vm._v(\"default\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"disabled\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"large\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"primary\\\"\")]), _vm._v(\">\")]), _vm._v(\"primary\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"disabled\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"size\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"large\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"type\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"danger\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"aaa\\\"\")]), _vm._v(\">\")]), _vm._v(\"danger\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-button\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\">\")]), _vm._v(\"\\n\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\">\")]), _vm._v(\"\\n\")])])])]), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), _vm._m(3)], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h2', {\n attrs: {\n \"id\": \"button-zu-jian\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#button-zu-jian\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" Button组件\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h3', {\n attrs: {\n \"id\": \"ji-chu-yong-fa\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#ji-chu-yong-fa\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" 基础用法\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h3', {\n attrs: {\n \"id\": \"api\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#api\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" API\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('table', {\n staticClass: \"table\"\n }, [_c('thead', [_c('tr', [_c('th', [_vm._v(\"参数\")]), _vm._v(\" \"), _c('th', [_vm._v(\"说明\")]), _vm._v(\" \"), _c('th', [_vm._v(\"类型\")]), _vm._v(\" \"), _c('th', [_vm._v(\"默认值\")]), _vm._v(\" \"), _c('th', [_vm._v(\"可选值\")])])]), _vm._v(\" \"), _c('tbody', [_c('tr', [_c('td', [_vm._v(\"className\")]), _vm._v(\" \"), _c('td', [_vm._v(\"自定义额外类名\")]), _vm._v(\" \"), _c('td', [_vm._v(\"string\")]), _vm._v(\" \"), _c('td', [_vm._v(\"''\")]), _vm._v(\" \"), _c('td', [_vm._v(\"''\")])])])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-33792b69!./~/vue-loader/lib/selector.js?type=template&index=0!./~/vue-markdown-loader/_cache/button-1.vue\n// module id = 221\n// module chunks = 0","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('section', [_vm._m(0), _vm._v(\" \"), _vm._m(1), _vm._v(\" \"), _c('demo-block', {\n staticClass: \"demo-box\"\n }, [_c('div', {\n staticClass: \"source\",\n slot: \"source\"\n }, [_c('div', {\n staticClass: \"page-switch\"\n }, [_c('span', {\n staticClass: \"page-switch-text\"\n }, [_vm._v(\"Switch state: \" + _vm._s(_vm.switchStateText))]), _vm._v(\" \"), _c('o2-switch', {\n staticClass: \"page-switch-sample\",\n attrs: {\n \"checked\": _vm.switchState,\n \"onchange\": _vm.updateState\n }\n }), _vm._v(\" \"), _c('o2-switch', {\n staticClass: \"page-switch-sample\",\n attrs: {\n \"checked\": false,\n \"disabled\": true\n }\n })], 1)]), _vm._v(\" \"), _c('p', [_vm._v(\"样例代码\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"highlight\",\n slot: \"highlight\"\n }, [_c('pre', [_c('code', {\n staticClass: \"hljs language-html\"\n }, [_c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-switch\\\"\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"span\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-switch-text\\\"\")]), _vm._v(\">\")]), _vm._v(\"Switch state: \"), _c('span', [_vm._v(\"{{\")]), _vm._v(\"switchStateText\"), _c('span', [_vm._v(\"}}\")]), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"span\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-switch\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-switch-sample\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\":checked\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"switchState\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\":onChange\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"updateState\\\"\")]), _vm._v(\">\")]), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-switch\")]), _vm._v(\">\")]), _vm._v(\"\\n \"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"<\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-switch\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"class\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"page-switch-sample\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\":checked\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"false\\\"\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\":disabled\")]), _vm._v(\"=\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"\\\"true\\\"\")]), _vm._v(\">\")]), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"o2-switch\")]), _vm._v(\">\")]), _vm._v(\"\\n\"), _c('span', {\n staticClass: \"hljs-tag\"\n }, [_vm._v(\"</\"), _c('span', {\n staticClass: \"hljs-name\"\n }, [_vm._v(\"div\")]), _vm._v(\">\")]), _vm._v(\"\\n\")])]), _vm._v(\" \"), _c('pre', [_c('code', {\n staticClass: \"hljs language-javascript\"\n }, [_c('span', {\n staticClass: \"hljs-keyword\"\n }, [_vm._v(\"export\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-keyword\"\n }, [_vm._v(\"default\")]), _vm._v(\" {\\n data() {\\n \"), _c('span', {\n staticClass: \"hljs-keyword\"\n }, [_vm._v(\"return\")]), _vm._v(\" {\\n \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"switchState\")]), _vm._v(\": \"), _c('span', {\n staticClass: \"hljs-literal\"\n }, [_vm._v(\"false\")]), _vm._v(\"\\n };\\n },\\n \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"computed\")]), _vm._v(\": {\\n switchStateText() {\\n \"), _c('span', {\n staticClass: \"hljs-keyword\"\n }, [_vm._v(\"return\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hljs-keyword\"\n }, [_vm._v(\"this\")]), _vm._v(\".switchState ? \"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"'on'\")]), _vm._v(\" : \"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"'off'\")]), _vm._v(\";\\n }\\n },\\n \"), _c('span', {\n staticClass: \"hljs-attr\"\n }, [_vm._v(\"methods\")]), _vm._v(\": {\\n updateState(newState) {\\n \"), _c('span', {\n staticClass: \"hljs-built_in\"\n }, [_vm._v(\"console\")]), _vm._v(\".log(\"), _c('span', {\n staticClass: \"hljs-string\"\n }, [_vm._v(\"'changing'\")]), _vm._v(\");\\n \"), _c('span', {\n staticClass: \"hljs-keyword\"\n }, [_vm._v(\"this\")]), _vm._v(\".switchState = newState;\\n }\\n }\\n};\\n\")])])])]), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), _vm._m(3)], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h2', {\n attrs: {\n \"id\": \"switch-zu-jian\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#switch-zu-jian\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" Switch组件\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h3', {\n attrs: {\n \"id\": \"ji-chu-yong-fa\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#ji-chu-yong-fa\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" 基础用法\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h3', {\n attrs: {\n \"id\": \"api\"\n }\n }, [_c('a', {\n staticClass: \"header-anchor\",\n attrs: {\n \"href\": \"#api\",\n \"aria-hidden\": \"true\"\n }\n }, [_vm._v(\"¶\")]), _vm._v(\" API\")])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('table', {\n staticClass: \"table\"\n }, [_c('thead', [_c('tr', [_c('th', [_vm._v(\"参数\")]), _vm._v(\" \"), _c('th', [_vm._v(\"说明\")]), _vm._v(\" \"), _c('th', [_vm._v(\"类型\")]), _vm._v(\" \"), _c('th', [_vm._v(\"默认值\")]), _vm._v(\" \"), _c('th', [_vm._v(\"可选值\")])])]), _vm._v(\" \"), _c('tbody', [_c('tr', [_c('td', [_vm._v(\"checked\")]), _vm._v(\" \"), _c('td', [_vm._v(\"开关状态\")]), _vm._v(\" \"), _c('td', [_vm._v(\"boolean\")]), _vm._v(\" \"), _c('td', [_vm._v(\"false\")]), _vm._v(\" \"), _c('td', [_vm._v(\"true,false\")])]), _vm._v(\" \"), _c('tr', [_c('td', [_vm._v(\"loading\")]), _vm._v(\" \"), _c('td', [_vm._v(\"loading状态\")]), _vm._v(\" \"), _c('td', [_vm._v(\"boolean\")]), _vm._v(\" \"), _c('td', [_vm._v(\"false\")]), _vm._v(\" \"), _c('td', [_vm._v(\"true,false\")])]), _vm._v(\" \"), _c('tr', [_c('td', [_vm._v(\"disabled\")]), _vm._v(\" \"), _c('td', [_vm._v(\"禁用状态\")]), _vm._v(\" \"), _c('td', [_vm._v(\"boolean\")]), _vm._v(\" \"), _c('td', [_vm._v(\"false\")]), _vm._v(\" \"), _c('td', [_vm._v(\"true,false\")])]), _vm._v(\" \"), _c('tr', [_c('td', [_vm._v(\"onChange\")]), _vm._v(\" \"), _c('td', [_vm._v(\"回调\")]), _vm._v(\" \"), _c('td', [_vm._v(\"function\")]), _vm._v(\" \"), _c('td', [_vm._v(\"function(){}\")]), _vm._v(\" \"), _c('td', [_vm._v(\"-\")])])])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-450f60ed!./~/vue-loader/lib/selector.js?type=template&index=0!./~/vue-markdown-loader/_cache/switch-3.vue\n// module id = 222\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../css-loader/index.js?minimize!./../../vue-loader/lib/style-rewriter.js?id=data-v-33792b69!./../../vue-loader/lib/selector.js?type=styles&index=0!./button-1.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = require(\"!./../../vue-loader/node_modules/vue-style-loader/lib/addStylesClient.js\")(\"07b8cfeb\", content, true);\n// Hot Module Replacement\nif(module.hot) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../css-loader/index.js?minimize!./../../vue-loader/lib/style-rewriter.js?id=data-v-33792b69!./../../vue-loader/lib/selector.js?type=styles&index=0!./button-1.vue\", function() {\n var newContent = require(\"!!./../../css-loader/index.js?minimize!./../../vue-loader/lib/style-rewriter.js?id=data-v-33792b69!./../../vue-loader/lib/selector.js?type=styles&index=0!./button-1.vue\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/~/vue-style-loader!./~/css-loader?minimize!./~/vue-loader/lib/style-rewriter.js?id=data-v-33792b69!./~/vue-loader/lib/selector.js?type=styles&index=0!./~/vue-markdown-loader/_cache/button-1.vue\n// module id = 223\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../css-loader/index.js?minimize!./../../vue-loader/lib/style-rewriter.js?id=data-v-450f60ed!./../../vue-loader/lib/selector.js?type=styles&index=0!./switch-3.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = require(\"!./../../vue-loader/node_modules/vue-style-loader/lib/addStylesClient.js\")(\"0ce6222c\", content, true);\n// Hot Module Replacement\nif(module.hot) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../css-loader/index.js?minimize!./../../vue-loader/lib/style-rewriter.js?id=data-v-450f60ed!./../../vue-loader/lib/selector.js?type=styles&index=0!./switch-3.vue\", function() {\n var newContent = require(\"!!./../../css-loader/index.js?minimize!./../../vue-loader/lib/style-rewriter.js?id=data-v-450f60ed!./../../vue-loader/lib/selector.js?type=styles&index=0!./switch-3.vue\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/~/vue-style-loader!./~/css-loader?minimize!./~/vue-loader/lib/style-rewriter.js?id=data-v-450f60ed!./~/vue-loader/lib/selector.js?type=styles&index=0!./~/vue-markdown-loader/_cache/switch-3.vue\n// module id = 224\n// module chunks = 0","module.exports = require(\"!!vue-loader!./../../node_modules/vue-markdown-loader/_cache/button-1.vue\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./docs/examples/button.md\n// module id = 225\n// module chunks = 0","module.exports = require(\"!!vue-loader!./../../node_modules/vue-markdown-loader/_cache/sample-2.vue\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./docs/examples/sample.md\n// module id = 226\n// module chunks = 0","module.exports = require(\"!!vue-loader!./../../node_modules/vue-markdown-loader/_cache/switch-3.vue\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./docs/examples/switch.md\n// module id = 227\n// module chunks = 0"],"sourceRoot":""} |