element/app.cab3c91.js

35 lines
1.1 MiB
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

webpackJsonp([0,2],[function(s,t,a){s.exports=a(1)},function(s,t,a){(function(s){"use strict";function t(s){return s&&s.__esModule?s:{"default":s}}var e=a(2),n=t(e),l=a(3),i=t(l),h=a(14),r=t(h),c=a(15),o=t(c),p=a(300),_=t(p);a(618);var d=a(625),u=t(d),C=a(630),g=t(C),m=a(635),j=t(m),f=a(640),v=t(f),b=a(645),y=t(b);n["default"].use(_["default"]),n["default"].use(r["default"]),n["default"].component("demo-block",u["default"]),n["default"].component("main-footer",g["default"]),n["default"].component("main-header",j["default"]),n["default"].component("side-nav",v["default"]),n["default"].component("footer-nav",y["default"]);var w=new r["default"]({mode:"hash",base:s,routes:o["default"]});new n["default"]({render:function(s){return s(i["default"])},router:w}).$mount("#app")}).call(t,"/")},function(s,t){s.exports=Vue},function(s,t,a){var e,n;a(4),e=a(12);var l=a(13);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,,,,,,,function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"app",created:function(){window.addEventListener("hashchange",function(){document.body.scrollTop=0,document.documentElement.scrollTop=0})}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{attrs:{id:"app"}},[_h("main-header")," ",_h("div",{staticClass:"main-cnt"},[_h("router-view")])," ",_h("main-footer")])},staticRenderFns:[]}},function(s,t){s.exports=VueRouter},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0,t.navs=void 0;var n=a(16),l=e(n),i=function(s){function t(s){var t="/changelog"===s.path?a(22):a(30)("./docs"+s.path+".md"),n={path:s.path.slice(1),meta:{title:s.title||s.name,description:s.description},component:t["default"]||t};e[0].children.push(n)}var e=[{path:"/component",redirect:"/component/quickstart",component:a(17),children:[]}];return s.map(function(s){s.groups?s.groups.map(function(s){s.list.map(function(s){t(s)})}):s.children?s.children.map(function(s){t(s)}):t(s)}),{route:e,navs:s}},h=i(l["default"]),r={path:"/guide",name:"指南",redirect:"/guide/design",component:a(259),children:[{path:"design",name:"设计原则",component:a(264)},{path:"nav",name:"导航",component:a(272)}]},c={path:"/resource",name:"资源",component:a(281)},o={path:"/",name:"首页",component:a(288)};h.route=h.route.concat([o,r,c]),h.route.push({path:"*",component:a(105)});t.navs=h.navs;t["default"]=h.route},function(s,t){s.exports=[{name:"安装指南",children:[{path:"/quickstart",name:"快速上手"},{path:"/development",name:"开发指南"}]},{name:"更新日志",path:"/changelog"},{name:"基础组件",groups:[{groupName:"Basic",list:[{path:"/layout",name:"布局 (layout)",title:"Layout 布局",description:""},{path:"/color",name:"色彩 (color)",title:"Color 色彩",description:""},{path:"/typography",name:"字体 (typography)",title:"Typography 字体",description:""},{path:"/icon",name:"图标 (icon)",title:"Icon 图标"},{path:"/button",name:"按钮 (button)",title:"Button 按钮",description:"常用的操作按钮"}]},{groupName:"Form",list:[{path:"/radio",name:"单选框 (radio)",title:"Radio 单选框",description:"用于在多个备选项选中单个选项。"},{path:"/checkbox",name:"多选框 (checkbox)",title:"Checkbox 多选框",description:"用于在多个可选项中进行多项选择。"},{path:"/input",name:"输入框 (input)",title:"Input 输入框"},{path:"/input-number",name:"计数器 (input-number)",title:"Input Number 计数器"},{path:"/select",name:"选择器 (select)",title:"Select 选择器",description:"当选项过多时, 使用下拉菜单展示并选择内容"},{path:"/switch",name:"开关 (switch)",title:"Switch 开关",description:"用于两种对立状态的切换。"},{path:"/slider",name:"滑块 (slider)",title:"Slider 滑块",description:"通过拖动滑块在一个固定区间内进行选择"},{path:"/time-picker",name:"时间选择器time-picker",title:"Time Picker 时间选择器",description:"用于选择或输入时间"},{path:"/date-picker",name:"日期选择器date-picker",title:"Date Picker 日期选择器",description:"用于选择或输入时间"},{path:"/datetime-picker",name:"日期时间选择器",title:"Datetime Picker 日期时间选择器",description:"用于选择或输入日期时间"},{path:"/upload",name:"上传 (upload)",title:"Upload 上传",description:"文件上传组件"},{path:"/form",name:"表单 (form)",title:"Form 表单",description:"一个多功能的并带有字段验证的表单组件"},{path:"/rate",name:"评分 (rate)",title:"Rate 评分"}]},{groupName:"Data",list:[{path:"/table",name:"表格 (table)",title:"Table 表格",description:"用于展示多条结构类似的数据, 可对数据进行排序、筛选、对比或其他自定义操作。"},{path:"/tag",name:"标签 (tag)",title:"Tag 标签",description:"Tag 标签"},{path:"/progress",name:"进度条 (progress)",title:"Progress 进度条",description:""},{path:"/tree",name:"tree (tree)",title:"Tree 树形控件"},{path:"/pagination",name:"分页 (pagination)",title:"Pagination 分页",description:"当数据量过多时, 使用分页分解数据"},{path:"/badge",name:"标记 (badge)",title:" Badge 标记",description:"出现在按钮、图标旁的数字或状态标记"}]},{groupName:"Notice",list:[{path:"/alert",name:"警告 (alert)",title:"Alert 警告",description:"用于页面中展示重要的提示信息"},{path:"/loading",name:"加载 (loading)",title:"Loading 加载",description:"加载数据时显示"},{path:"/message",name:"消息提示 (message)",title:"Message 消息提示",description:"对用户的操作进行反馈提示,包含成功、反馈或错误等消息提示"},{path:"/message-box",name:"弹框 (message-box)",title:"Message Box 弹框"},{path:"/notification",name:"通知 (notification)",title:"Notification 通知",description:"悬浮出现在页面右上角, 显示全局的通知提醒消息"}]},{groupName:"Nav",list:[{path:"/menu",name:"导航菜单 (menu)",title:"NavMenu 导航菜单",description:"富展现的标签页"},{path:"/tabs",name:"标签页 (tabs)",title:"Tabs 标签页",description:"富展现的标签页"},{path:"/breadcrumb",name:"面包屑 (breadcrumb)",title:"Breadcrumb 面包屑",description:""},{path:"/dropdown",name:"下拉菜单 (dropdown)",title:"Dropdown 下拉菜单"},{path:"/steps",name:"步骤条 (steps)",title:"Steps 步骤",description:"引导用户按照流程完成任务的分步导航条,可根据实际应用场景设定步骤,步骤不得少于 2 步。"}]},{groupName:"Others",list:[{path:"/dialog",name:"对话框 (dialog)",title:"Dialog 对话框",description:"在保留当前页面状态的情况下, 告知用户信息并承载相关操作。"},{path:"/tooltip",name:"文字提示 (tooltip)",title:"Tooltip 文字提示",description:"优雅地展示文字提示信息"},{path:"/popover",name:"弹出框 (popover)",title:"Popover 弹出框",description:"收纳具体内容和相关操作, 激活后弹出展现"},{path:"/card",name:"卡片 (card)",title:"Card 卡片",description:"将信息聚合在卡片容器中展示"}]}]}]},function(s,t,a){var e,n;a(18),e=a(20);var l=a(21);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t,a){"use strict";t.__esModule=!0;var e=a(15);t["default"]={data:function(){return{navsData:e.navs}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"page-container page-component"},[_h("el-row",[_h("el-col",{attrs:{span:6}},[_h("side-nav",{attrs:{data:navsData,base:"/component"}})])," ",_h("el-col",{attrs:{span:18}},[_h("router-view",{staticClass:"content"})," ",_h("footer-nav")])])])},staticRenderFns:[]}},function(s,t,a){var e,n;a(23),e=a(25);var l=a(29);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(26),l=e(n);t["default"]={components:{ChangeLog:l["default"]},data:function(){return{count:3}},mounted:function(){for(var s=this.$refs.changeLog,t=s.$el.children,a="<li>"+t[1].outerHTML,e=t.length,n=2;n<e;n++){var l=t[n];a+="H3"!==l.tagName?t[n].outerHTML:"</li><li>"+t[n].outerHTML}this.$refs.timeline.innerHTML=a+"</li>",s.$el.remove()}}},function(s,t,a){s.exports=a(27)},function(s,t,a){var e,n,l=a(28);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(module,exports){module.exports={render:function(){with(this)return _m(0)},staticRenderFns:[function(){with(this)return _h("section",[_h("h2",["更新日志"])," ",_h("h3",["1.0.0-rc.4"])," ",_h("p",[_h("em",["2016-09-21"])])," ",_h("ul",[_h("li",["修复 Select 多选时选项变为空数组后 placeholder 不出现的问题"])," ",_h("li",["修复 Time Picker 时间选择可滚动"])," ",_h("li",["修复 Tooltip 有时会错位的问题"])," ",_h("li",["修复 丢失的组件 css 文件"])," ",_h("li",["修复 Table 在 Safari 下边框没对齐"])," ",_h("li",["修复 TimePicker 图标样式被默认图标样式覆盖"])," ",_h("li",["修复 在 mounted 钩子函数中改变 Select 绑定值不生效的问题"])," ",_h("li",["修复 在多个依次出现的 Dialog 或 Message Box 全部关闭后页面有几率不可滚动的问题"])," ",_h("li",["新增 时间、日期选择器增加 align 属性,可设置对齐方式"])," ",_h("li",["新增 TableColumn 的 align 属性"])," ",_h("li",["新增 autocomplete 的 select 事件"])])," ",_h("h4",["非兼容性更新"])," ",_h("ul",[_h("li",["Select 组件样式的 ",_h("code",["display"])," 属性默认值修改为 ",_h("code",["block"])])])," ",_h("h3",["1.0.0-rc.3"])," ",_h("p",[_h("em",["2016-09-09"])])," ",_h("ul",[_h("li",["修复 Slider 存在输入框时,输入框与 Slider 的值不同步的问题"])," ",_h("li",["修复 Steps 样式"])," ",_h("li",["修复 无法安装的问题"])])," ",_h("h3",["1.0.0-rc.2"])," ",_h("p",[_h("em",["2016-09-09"])])," ",_h("ul",[_h("li",["修复 Upload 上传的问题,并增加上传成功和失败的钩子函数"])," ",_h("li",["Button 组件增加 ",_h("code",["nativeType"])," 属性,用于组件内 ",_h("code",["<button>"])," 标签的原生 ",_h("code",["type"])," 属性,默认值为 ",_h("code",["button"])])," ",_h("li",["修复 Table 自定义模板中渲染静态数据错误"])," ",_h("li",["修复 Table 中被固定列的高度不与其他列的高度协调的问题"])," ",_h("li",["修复 Time Picker 的 ",_h("code",["picker-options"])," 属性"])," ",_h("li",["修复一些组件图标丢失的问题"])," ",_h("li",["修复 远程搜索的 Select 在 Form 中的显示问题"])," ",_h("li",["修复 Input Number 输入小数和非数字值时的问题"])," ",_h("li",["修复 Select 选中 value 为 0 的值时绑定值不更新的问题"])," ",_h("li",["修复 Tree 取消选择某节点后,其同级节点均被取消的问题"])," ",_h("li",["修复 Upload 的 headers 属性设置无效"])," ",_h("li",["修复 Pagination 包含 sizes 子组件时 page-size 无效的问题"])," ",_h("li",["优化 增加打包成 commonjs 且不压缩的文件,默认引入 commonjs"])])," ",_h("h4",["非兼容性更新"])," ",_h("ul",[_h("li",["Menu 组件 ",_h("code",["mode"])," 属性默认值修改为 ",_h("code",["vertical"])])," ",_h("li",["Progress 组件升级,增加环形进度条的类型,以及增加了诸多属性,详细请查阅文档"])," ",_h("li",["Popover 现在可以通过 slot 指定 reference"])])," ",_h("h3",["1.0.0-rc.1"])," ",_h("p",[_h("em",["2016-08-30"])])," ",_h("p",["Element 1.0.0-rc.1 发布"])])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"page-changelog"},[_h("h2",[_h("el-button",{staticClass:"fr"},[_m(0)]),"\n 更新日志\n "])," ",_h("ul",{ref:"timeline",staticClass:"timeline"})," ",_h("change-log",{ref:"changeLog"})])},staticRenderFns:[function(){with(this)return _h("a",{attrs:{href:"https://github.com/ElemeFE/element/releases",target:"_blank"}},["Github Releases"])}]}},function(s,t,a){function e(s){return a(n(s))}function n(s){return l[s]||function(){throw new Error("Cannot find module '"+s+"'.")}()}var l={"./docs/alert.md":31,"./docs/badge.md":37,"./docs/breadcrumb.md":44,"./docs/button.md":47,"./docs/card.md":53,"./docs/checkbox.md":61,"./docs/color.md":67,"./docs/date-picker.md":72,"./docs/datetime-picker.md":78,"./docs/development.md":84,"./docs/dialog.md":87,"./docs/dropdown.md":93,"./docs/form.md":99,"./docs/home.md":105,"./docs/icon.md":110,"./docs/input-number.md":117,"./docs/input.md":123,"./docs/layout.md":129,"./docs/loading.md":134,"./docs/menu.md":140,"./docs/message-box.md":146,"./docs/message.md":150,"./docs/notification.md":156,"./docs/pagination.md":162,"./docs/popover.md":168,"./docs/progress.md":174,"./docs/quickstart.md":179,"./docs/radio.md":182,"./docs/rate.md":186,"./docs/select.md":192,"./docs/slider.md":198,"./docs/steps.md":204,"./docs/switch.md":208,"./docs/table.md":214,"./docs/tabs.md":218,"./docs/tag.md":222,"./docs/time-picker.md":228,"./docs/tooltip.md":234,"./docs/tree.md":242,"./docs/typography.md":248,"./docs/upload.md":253};e.keys=function(){return Object.keys(l)},e.resolve=n,s.exports=e,e.id=30},function(s,t,a){s.exports=a(32)},function(s,t,a){var e,n;a(33),e=a(35);var l=a(36);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={methods:{hello:function(){alert("Hello World!")}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-alert",{attrs:{title:"成功提示的文案",type:"success"}})," ",_h("el-alert",{attrs:{title:"消息提示的文案",type:"info"}})," ",_h("el-alert",{attrs:{title:"警告提示的文案",type:"warning"}})," ",_h("el-alert",{attrs:{title:"错误提示的文案",type:"error"}})]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-alert",{attrs:{title:"不可关闭的 alert",type:"success",closable:!1}})," ",_h("el-alert",{attrs:{title:"自定义 close-text",type:"info","close-text":"知道了"}})," ",_h("el-alert",{attrs:{title:"设置了回调的 alert",type:"warning"},on:{close:hello}})]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-alert",{attrs:{title:"成功提示的文案",type:"success","show-icon":""}})," ",_h("el-alert",{attrs:{title:"消息提示的文案",type:"info","show-icon":""}})," ",_h("el-alert",{attrs:{title:"警告提示的文案",type:"warning","show-icon":""}})," ",_h("el-alert",{attrs:{title:"错误提示的文案",type:"error","show-icon":""}})]])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-alert",{attrs:{title:"带辅助性文字介绍",type:"success",description:"这是一句绕口令:黑灰化肥会挥发发灰黑化肥挥发;灰黑化肥会挥发发黑灰化肥发挥。 黑灰化肥会挥发发灰黑化肥黑灰挥发化为灰……"}})]])," ",_m(13)])," ",_m(14)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-alert",{attrs:{title:"成功提示的文案",type:"success",description:"文字说明文字说明文字说明文字说明文字说明文字说明","show-icon":""}})," ",_h("el-alert",{attrs:{title:"消息提示的文案",type:"info",description:"文字说明文字说明文字说明文字说明文字说明文字说明","show-icon":""}})," ",_h("el-alert",{attrs:{title:"警告提示的文案",type:"warning",description:"文字说明文字说明文字说明文字说明文字说明文字说明","show-icon":""}})," ",_h("el-alert",{attrs:{title:"错误提示的文案",type:"error",description:"文字说明文字说明文字说明文字说明文字说明文字说明","show-icon":""}})]])," ",_m(15)])," ",_m(16)," ",_m(17)," ",_m(18)," ",_m(19)])},staticRenderFns:[function(){with(this)return _h("h2",["Alert 警告"])},function(){with(this)return _h("p",["用于页面中展示重要的提示信息。"])},function(){with(this)return _h("h3",["基本用法"])},function(){with(this)return _h("p",["页面中的非浮层元素,不会自动消失。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Alert 组件提供四种主题,由",_h("code",["type"]),"属性指定,默认值为",_h("code",["info"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"成功提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"消息提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"info"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"警告提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"错误提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"error"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义关闭按钮"])},function(){with(this)return _h("p",["自定义关闭按钮为文字或其他符号。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在 Alert 组件中,你可以设置是否可关闭,关闭按钮的文本以及关闭时的回调函数。",_h("code",["closable"]),"属性决定是否可关闭,接受",_h("code",["boolean"]),",默认为",_h("code",["true"]),"。你可以设置",_h("code",["close-text"]),"属性来代替右侧的关闭图标,注意:",_h("code",["close-text"]),"必须为文本。设置",_h("code",["close"]),"事件来设置关闭时的回调。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"不可关闭的 alert"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":closable"]),"=",_h("span",{staticClass:"hljs-string"},['"false"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"自定义 close-text"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"info"']),"\n ",_h("span",{staticClass:"hljs-attr"},["close-text"]),"=",_h("span",{staticClass:"hljs-string"},['"知道了"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"设置了回调的 alert"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@close"]),"=",_h("span",{staticClass:"hljs-string"},['"hello"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n hello() {\n alert(",_h("span",{staticClass:"hljs-string"},["'Hello World!'"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带有 icon"])},function(){with(this)return _h("p",["表示某种状态时提升可读性。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置",_h("code",["show-icon"]),"属性来显示 Alert 的 icon这能更有效地向用户展示你的显示意图。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"成功提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"消息提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"info"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"警告提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"错误提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"error"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带有辅助性文字介绍"])},function(){with(this)return _h("p",["包含标题和内容,解释更详细的警告。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["除了必填的",_h("code",["title"]),"属性外,你可以设置",_h("code",["description"]),"属性来帮助你更好地介绍,我们称之为辅助性文字。辅助性文字只能存放单行文本,会自动换行显示。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"带辅助性文字介绍"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),"\n ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一句绕口令:黑灰化肥会挥发发灰黑化肥挥发;灰黑化肥会挥发发黑灰化肥发挥。 黑灰化肥会挥发发灰黑化肥黑灰挥发化为灰……"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带有 icon 和辅助性文字介绍"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["最后,这是一个同时具有 icon 和辅助性文字的样例。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"成功提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),"\n ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"文字说明文字说明文字说明文字说明文字说明文字说明"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"消息提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"info"']),"\n ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"文字说明文字说明文字说明文字说明文字说明文字说明"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"警告提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),"\n ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"文字说明文字说明文字说明文字说明文字说明文字说明"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-alert"]),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"错误提示的文案"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"error"']),"\n ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"文字说明文字说明文字说明文字说明文字说明文字说明"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-icon"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-alert"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",[_h("strong",["title"])])," ",_h("td",["标题,",_h("strong",["必选参数"])])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["主题"])," ",_h("td",["string"])," ",_h("td",["success/warning/info/error"])," ",_h("td",["info"])])," ",_h("tr",[_h("td",["description"])," ",_h("td",["辅助性文字"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["closable"])," ",_h("td",["是否可关闭"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["close-text"])," ",_h("td",["关闭按钮自定义文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["show-icon"])," ",_h("td",["是否显示图标"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["close"])," ",_h("td",["关闭alert时触发的事件"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(38)},function(s,t,a){var e,n;a(39),a(41);var l=a(43);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-63",s.exports=e},function(s,t){},,function(s,t){},,function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-badge",{staticClass:"item",domProps:{value:12}},[_h("el-button",{attrs:{size:"small"}},["评论"])])," ",_h("el-badge",{staticClass:"item",domProps:{value:3}},[_h("el-button",{attrs:{size:"small"}},["回复"])])," ",_h("el-dropdown",{attrs:{text:"点我查看",type:"text","icon-separate":!1,trigger:"click"}},[_h("el-dropdown-item",{staticClass:"clearfix"},["\n 评论\n ",_h("el-badge",{staticClass:"mark",domProps:{value:12}})])," ",_h("el-dropdown-item",{staticClass:"clearfix"},["\n 回复\n ",_h("el-badge",{staticClass:"mark",domProps:{value:3}})])])])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-badge",{staticClass:"item",attrs:{max:99},domProps:{value:200}},[_h("el-button",{attrs:{size:"small"}},["评论"])])," ",_h("el-badge",{staticClass:"item",attrs:{max:10},domProps:{value:100}},[_h("el-button",{attrs:{size:"small"}},["回复"])])])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-badge",{staticClass:"item",attrs:{value:"new"}},[_h("el-button",{attrs:{size:"small"}},["评论"])])," ",_h("el-badge",{staticClass:"item",attrs:{value:"hot"}},[_h("el-button",{attrs:{size:"small"}},["回复"])])])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-badge",{staticClass:"item",attrs:{"is-dot":""}},["数据查询"])," ",_h("el-badge",{staticClass:"item",attrs:{"is-dot":""}},[_h("el-button",{staticClass:"share-button",attrs:{icon:"share",type:"primary"}})])])," ",_m(13)])," ",_m(14)," ",_m(15)])},staticRenderFns:[function(){with(this)return _h("h2",["Badge 标记"])},function(){with(this)return _h("p",["出现在按钮、图标旁的数字或状态标记。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["展示新消息数量。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["定义",_h("code",["value"]),"属性,它接受",_h("code",["Number"]),"或者",_h("code",["String"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"12"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"评论",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"3"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"回复",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown"])," ",_h("span",{staticClass:"hljs-attr"},["text"]),"=",_h("span",{staticClass:"hljs-string"},['"点我查看"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},[":icon-separate"]),"=",_h("span",{staticClass:"hljs-string"},['"false"'])," ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"click"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"
},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"clearfix"']),">"]),"\n 评论\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"mark"'])," ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"12"'])," />"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"clearfix"']),">"]),"\n 回复\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"mark"'])," ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"3"'])," />"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["最大值"])},function(){with(this)return _h("p",["可自定义最大值。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["由",_h("code",["max"]),"属性定义,它接受一个",_h("code",["Number"]),",需要注意的是,只有当",_h("code",["value"]),"为",_h("code",["Number"]),"时,它才会生效。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"200"'])," ",_h("span",{staticClass:"hljs-attr"},[":max"]),"=",_h("span",{staticClass:"hljs-string"},['"99"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"评论",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},[":max"]),"=",_h("span",{staticClass:"hljs-string"},['"10"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"回复",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义内容"])},function(){with(this)return _h("p",["可以显示数字以外的文本内容。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["定义",_h("code",["value"]),"为",_h("code",["String"]),"类型是时可以用于显示自定义文本。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"new"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"评论",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"hot"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"回复",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["小红点"])},function(){with(this)return _h("p",["以红点的形式标注需要关注的内容。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["除了数字外,设置",_h("code",["is-dot"]),"属性,它接受一个",_h("code",["Boolean"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},["is-dot"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"数据查询",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-badge"])," ",_h("span",{staticClass:"hljs-attr"},["is-dot"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"share-button"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"share"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-badge"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["value"])," ",_h("td",["显示值"])," ",_h("td",["string, number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["max"])," ",_h("td",["最大值,超过最大值会显示 '{max}+',要求 value 是 Number 类型"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["is-dot"])," ",_h("td",["小圆点"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])}]}},function(s,t,a){s.exports=a(45)},function(s,t,a){var e,n,l=a(46);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-breadcrumb",{attrs:{separator:"/"}},[_h("el-breadcrumb-item",["首页"])," ",_h("el-breadcrumb-item",["活动管理"])," ",_h("el-breadcrumb-item",["活动列表"])," ",_h("el-breadcrumb-item",["活动详情"])])])," ",_m(4)])," ",_m(5)," ",_m(6)])},staticRenderFns:[function(){with(this)return _h("h2",["Breadcrumb 面包屑"])},function(){with(this)return _h("p",["显示当前页面的路径,快速返回之前的任意页面。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["适用广泛的基础用法。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在",_h("code",["el-breadcrumb"]),"中使用",_h("code",["el-breadcrumb-item"]),"标签表示从首页开始的每一级。Element 提供了一个",_h("code",["separator"]),"属性,在",_h("code",["el-breadcrumb"]),"标签中设置它来决定分隔符,它只能是字符串,默认为斜杠",_h("code",["/"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-breadcrumb"])," ",_h("span",{staticClass:"hljs-attr"},["separator"]),"=",_h("span",{staticClass:"hljs-string"},['"/"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"首页",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"活动管理",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"活动列表",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"活动详情",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-breadcrumb-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-breadcrumb"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["separator"])," ",_h("td",["分隔符"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["斜杠'/'"])])])])}]}},function(s,t,a){s.exports=a(48)},function(s,t,a){var e,n;a(49),e=a(51);var l=a(52);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{isLoading:!1,isLoading2:!1}},methods:{handleClick:function(s){console.log(s),alert("button clicked!")}},mounted:function(){this.$nextTick(function(){var s=document.querySelectorAll(".source"),t=s[2];t.classList.add("intro-block")})}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",["默认按钮"])," ",_h("el-button",{attrs:{type:"primary"}},["主要按钮"])," ",_h("el-button",{attrs:{type:"text"}},["文字按钮"])])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",{attrs:{plain:!0,disabled:!0}},["主要按钮"])," ",_h("el-button",{attrs:{type:"primary",disabled:!0}},["主要按钮"])," ",_h("el-button",{attrs:{type:"text",disabled:!0}},["文字按钮"])])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"block"},[_m(10)," ",_h("span",{staticClass:"wrapper"},[_h("el-button",{attrs:{type:"success"}},["成功按钮"])," ",_h("el-button",{attrs:{type:"warning"}},["警告按钮"])," ",_h("el-button",{attrs:{type:"danger"}},["危险按钮"])," ",_h("el-button",{attrs:{type:"info"}},["信息按钮"])])])," ",_h("div",{staticClass:"block"},[_m(11)," ",_h("span",{staticClass:"wrapper"},[_h("el-button",{attrs:{plain:!0,type:"success"}},["成功按钮"])," ",_h("el-button",{attrs:{plain:!0,type:"warning"}},["警告按钮"])," ",_h("el-button",{attrs:{plain:!0,type:"danger"}},["危险按钮"])," ",_h("el-button",{attrs:{plain:!0,type:"info"}},["信息按钮"])])])])," ",_m(12)])," ",_m(13)," ",_m(14)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",{attrs:{type:"primary",icon:"edit"}})," ",_h("el-button",{attrs:{type:"primary",icon:"share"}})," ",_h("el-button",{attrs:{type:"primary",icon:"delete"}})," ",_h("el-button",{attrs:{type:"primary",icon:"search"}},["搜索"])," ",_h("el-button",{attrs:{type:"primary"}},["上传",_m(15)])])," ",_m(16)])," ",_m(17)," ",_m(18)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button-group",[_h("el-button",{attrs:{type:"primary",icon:"arrow-left"}},["上一页"])," ",_h("el-button",{attrs:{type:"primary"}},["下一页",_m(19)])])," ",_h("el-button-group",[_h("el-button",{attrs:{type:"primary",icon:"edit"}})," ",_h("el-button",{attrs:{type:"primary",icon:"share"}})," ",_h("el-button",{attrs:{type:"primary",icon:"delete"}})])])," ",_m(20)])," ",_m(21)," ",_m(22)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",{attrs:{type:"primary",loading:!0}},["加载中"])])," ",_m(23)])," ",_m(24)," ",_m(25)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",{attrs:{type:"primary",size:"large"}},["大型按钮"])," ",_h("el-button",{attrs:{type:"primary"}},["正常按钮"])," ",_h("el-button",{attrs:{type:"primary",size:"small"}},["小型按钮"])," ",_h("el-button",{attrs:{type:"primary",size:"mini"}},["超小按钮"])])," ",_m(26)])," ",_m(27)," ",_m(28)])},staticRenderFns:[function(){with(this)return _h("h2",["Button 按钮"])},function(){with(this)return _h("p",["常用的操作按钮。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["基础的按钮用法。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Button 组件默认提供7种主题由",_h("code",["type"]),"属性来定义,默认为",_h("code",["default"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"默认按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"主要按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"']),">"]),"文字按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["禁用状态"])},function(){with(this)return _h("p",["按钮不可用状态。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["你可以使用",_h("code",["disabled"]),"属性来定义按钮是否可用,它接受一个",_h("code",["Boolean"]),"值。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),"主要按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),"主要按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),"文字按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["有颜色倾向"])},function(){with(this)return _h("p",["不同的颜色倾向代表不同的提示"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认显示颜色"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["hover 显示颜色"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["朴素按钮同样设置了不同的",_h("code",["type"]),"属性对应的样式(可选值同上),默认为",_h("code",["info"]),"。设置",_h("code",["plain"]),"属性,它接受一个",_h("code",["Boolean"]),"。注意,在该情况下,",_h("code",["type"]),"虽然可以为",_h("code",["text"]),",但是是没有意义的,会显示为",_h("code",["text button"]),"的样式。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认显示颜色",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"wrapper"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),"成功按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),">"]),"警告按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"danger"']),">"]),"危险按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"info"']),">"]),"信息按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"hover 显示颜色",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"wrapper"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),"成功按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),">"]),"警告按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"danger"']),">"]),"危险按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"info"']),">"]),"信息按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["图标按钮"])},function(){with(this)return _h("p",["带图标的按钮可增强辨识度(有文字)或节省空间(无文字)。"])},function(){with(this)return _h("i",{staticClass:"el-icon-upload el-icon-right"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["icon"]),"属性即可icon 的列表可以参考 Element 的 icon 组件,也可以设置在文字右边的 icon ,只要使用",_h("code",["i"]),"标签即可,可以使用自定义图标。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"edit"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"share"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"delete"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"search"']),">"]),"搜索",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"上传",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-upload el-icon-right"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["按钮组"])},function(){with(this)return _h("p",["以按钮组的方式出现,常用于多项类似操作。"])},function(){with(this)return _h("i",{staticClass:"el-icon-arrow-right el-icon-right"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["使用",_h("code",["<el-button-group>"]),"标签来嵌套你的按钮。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"arrow-left"']),">"]),"上一页",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"下一页",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-arrow-right el-icon-right"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button-group"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"edit"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"share"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"delete"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button-group"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["加载中"])},function(){with(this)return _h("p",["点击按钮后进行数据加载操作,在按钮上显示加载状态。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["要设置为 loading 状态,只要设置",_h("code",["loading"]),"属性为",_h("code",["true"]),"即可。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},[":loading"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),"加载中",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["不同尺寸"])},function(){with(this)return _h("p",["Button 组件提供除了默认值以外的三种尺寸,可以在不同场景下选择合适的按钮尺寸。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["额外的尺寸:",_h("code",["large"]),"、",_h("code",["small"]),"、",_h("code",["mini"]),",通过设置",_h("code",["size"]),"属性来配置它们。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"large"']),">"]),"大型按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"正常按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),">"]),"小型按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"mini"']),">"]),"超小按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["size"])," ",_h("td",["尺寸"])," ",_h("td",["string"])," ",_h("td",["large,small,mini"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["类型"])," ",_h("td",["string"])," ",_h("td",["primary,success,warning,danger,info,text"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["plain"])," ",_h("td",["是否朴素按钮"])," ",_h("td",["Boolean"])," ",_h("td",["true,false"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["禁用"])," ",_h("td",["boolean"])," ",_h("td",["true, false"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["icon"])," ",_h("td",["图标,已有的图标库中的图标名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["native-type"])," ",_h("td",["原生 type 属性"])," ",_h("td",["string"])," ",_h("td",["button,submit,reset"])," ",_h("td",["button"])])])]);
}]}},function(s,t,a){s.exports=a(54)},function(s,t,a){var e,n;a(55),e=a(57);var l=a(59);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-65",s.exports=e},function(s,t){},,function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(58),l=e(n);t["default"]={data:function(){return{currentDate:l["default"].format(new Date,"yyyy-MM-dd HH:mm")}}}},function(s,t,a){var e;!function(n){"use strict";function l(s,t){for(var a=[],e=0,n=s.length;e<n;e++)a.push(s[e].substr(0,t));return a}function i(s){return function(t,a,e){var n=e[s].indexOf(a.charAt(0).toUpperCase()+a.substr(1).toLowerCase());~n&&(t.month=n)}}function h(s,t){for(s=String(s),t=t||2;s.length<t;)s="0"+s;return s}var r={},c=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,o=/\d\d?/,p=/\d{3}/,_=/\d{4}/,d=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,u=function(){},C=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],g=["January","February","March","April","May","June","July","August","September","October","November","December"],m=l(g,3),j=l(C,3);r.i18n={dayNamesShort:j,dayNames:C,monthNamesShort:m,monthNames:g,amPm:["am","pm"],DoFn:function(s){return s+["th","st","nd","rd"][s%10>3?0:(s-s%10!==10)*s%10]}};var f={D:function(s){return s.getDay()},DD:function(s){return h(s.getDay())},Do:function(s,t){return t.DoFn(s.getDate())},d:function(s){return s.getDate()},dd:function(s){return h(s.getDate())},ddd:function(s,t){return t.dayNamesShort[s.getDay()]},dddd:function(s,t){return t.dayNames[s.getDay()]},M:function(s){return s.getMonth()+1},MM:function(s){return h(s.getMonth()+1)},MMM:function(s,t){return t.monthNamesShort[s.getMonth()]},MMMM:function(s,t){return t.monthNames[s.getMonth()]},yy:function(s){return String(s.getFullYear()).substr(2)},yyyy:function(s){return s.getFullYear()},h:function(s){return s.getHours()%12||12},hh:function(s){return h(s.getHours()%12||12)},H:function(s){return s.getHours()},HH:function(s){return h(s.getHours())},m:function(s){return s.getMinutes()},mm:function(s){return h(s.getMinutes())},s:function(s){return s.getSeconds()},ss:function(s){return h(s.getSeconds())},S:function(s){return Math.round(s.getMilliseconds()/100)},SS:function(s){return h(Math.round(s.getMilliseconds()/10),2)},SSS:function(s){return h(s.getMilliseconds(),3)},a:function(s,t){return s.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(s,t){return s.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(s){var t=s.getTimezoneOffset();return(t>0?"-":"+")+h(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},v={d:[o,function(s,t){s.day=t}],M:[o,function(s,t){s.month=t-1}],yy:[o,function(s,t){var a=new Date,e=+(""+a.getFullYear()).substr(0,2);s.year=""+(t>68?e-1:e)+t}],h:[o,function(s,t){s.hour=t}],m:[o,function(s,t){s.minute=t}],s:[o,function(s,t){s.second=t}],yyyy:[_,function(s,t){s.year=t}],S:[/\d/,function(s,t){s.millisecond=100*t}],SS:[/\d{2}/,function(s,t){s.millisecond=10*t}],SSS:[p,function(s,t){s.millisecond=t}],D:[o,u],ddd:[d,u],MMM:[d,i("monthNamesShort")],MMMM:[d,i("monthNames")],a:[d,function(s,t,a){var e=t.toLowerCase();e===a.amPm[0]?s.isPm=!1:e===a.amPm[1]&&(s.isPm=!0)}],ZZ:[/[\+\-]\d\d:?\d\d/,function(s,t){var a,e=(t+"").match(/([\+\-]|\d\d)/gi);e&&(a=+(60*e[1])+parseInt(e[2],10),s.timezoneOffset="+"===e[0]?a:-a)}]};v.DD=v.DD,v.dddd=v.ddd,v.Do=v.dd=v.d,v.mm=v.m,v.hh=v.H=v.HH=v.h,v.MM=v.M,v.ss=v.s,v.A=v.a,r.masks={"default":"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},r.format=function(s,t,a){var e=a||r.i18n;if("number"==typeof s&&(s=new Date(s)),"[object Date]"!==Object.prototype.toString.call(s)||isNaN(s.getTime()))throw new Error("Invalid Date in fecha.format");return t=r.masks[t]||t||r.masks["default"],t.replace(c,function(t){return t in f?f[t](s,e):t.slice(1,t.length-1)})},r.parse=function(s,t,a){var e=a||r.i18n;if("string"!=typeof t)throw new Error("Invalid format in fecha.parse");if(t=r.masks[t]||t,s.length>1e3)return!1;var n=!0,l={};if(t.replace(c,function(t){if(v[t]){var a=v[t],i=s.search(a[0]);~i?s.replace(a[0],function(t){return a[1](l,t,e),s=s.substr(i+t.length),t}):n=!1}return v[t]?"":t.slice(1,t.length-1)}),!n)return!1;var i=new Date;l.isPm===!0&&null!=l.hour&&12!==+l.hour?l.hour=+l.hour+12:l.isPm===!1&&12===+l.hour&&(l.hour=0);var h;return null!=l.timezoneOffset?(l.minute=+(l.minute||0)-+l.timezoneOffset,h=new Date(Date.UTC(l.year||i.getFullYear(),l.month||0,l.day||1,l.hour||0,l.minute||0,l.second||0,l.millisecond||0))):h=new Date(l.year||i.getFullYear(),l.month||0,l.day||1,l.hour||0,l.minute||0,l.second||0,l.millisecond||0),h},"undefined"!=typeof s&&s.exports?s.exports=r:(e=function(){return r}.call(t,a,t,s),!(void 0!==e&&(s.exports=e)))}(void 0)},function(module,exports,__webpack_require__){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-card",{staticClass:"box-card"},[_h("div",{slot:"header",staticClass:"clearfix"},[_m(4)," ",_h("el-button",{attrs:{style:"float: right;",type:"primary"}},["操作按钮"])])," ",_l(4,function(s){return _h("div",{staticClass:"text item"},["\n "+_s("列表内容 "+s)+"\n "])})])])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-card",{staticClass:"box-card"},[_l(4,function(s){return _h("div",{staticClass:"text item"},["\n "+_s("列表内容 "+s)+"\n "])})])])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",[_l(2,function(s,t){return _h("el-col",{attrs:{span:8,offset:t>0?2:0}},[_h("el-card",{attrs:{"body-style":{padding:"0px"}}},[_m(11)," ",_h("div",{attrs:{style:"padding: 14px;"}},[_m(12)," ",_h("div",{staticClass:"bottom clearfix"},[_h("time",{staticClass:"time"},[_s(currentDate)])," ",_h("el-button",{staticClass:"button",attrs:{type:"text"}},["操作按钮"])])])])])})])])," ",_m(13)])," ",_m(14)," ",_m(15)])},staticRenderFns:[function(){with(this)return _h("h2",["Card 卡片"])},function(){with(this)return _h("p",["将信息聚合在卡片容器中展示。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["包含标题,内容和操作。"])},function(){with(this)return _h("span",{attrs:{style:"line-height: 36px;"}},["卡片名称"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Card 组件包括",_h("code",["header"]),"和",_h("code",["body"]),"部分,",_h("code",["header"]),"部分需要有显式具名 slot 分发,同时也是可选的。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-card"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"box-card"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"header"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"clearfix"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"line-height: 36px;"']),">"]),"卡片名称",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"float: right;"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"操作按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"o in 4"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"text item"']),">"]),"\n ",_h("span",["{{"]),"'列表内容 ' + o ",_h("span",["}}"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-card"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["简单卡片"])},function(){with(this)return _h("p",["卡片可以只有内容区域。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-card"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"box-card"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"o in 4"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"text item"']),">"]),"\n ",_h("span",["{{"]),"'列表内容 ' + o ",_h("span",["}}"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-card"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带图片"])},function(){with(this)return _h("p",["可配置定义更丰富的内容展示。"])},function(){with(this)return _h("img",{staticClass:"image",attrs:{src:__webpack_require__(60)}})},function(){with(this)return _h("span",["好吃的汉堡"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["配置",_h("code",["body-style"]),"属性来自定义",_h("code",["body"]),"部分的",_h("code",["style"]),",我们还使用了布局组件。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"'])," ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"(o, index) in 2"'])," ",_h("span",{staticClass:"hljs-attr"},[":offset"]),"=",_h("span",{staticClass:"hljs-string"},['"index > 0 ? 2 : 0"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-card"])," ",_h("span",{staticClass:"hljs-attr"},[":body-style"]),"=",_h("span",{staticClass:"hljs-string"},["\"{ padding: '0px' }\""]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["img"])," ",_h("span",{staticClass:"hljs-attr"},["src"]),"=",_h("span",{staticClass:"hljs-string"},['"~examples/assets/images/hamburger.png"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"image"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"padding: 14px;"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"好吃的汉堡",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom clearfix"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["time"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"time"']),">"]),_h("span",["{{"])," currentDate ",_h("span",["}}"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["time"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"button"']),">"]),"操作按钮",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-card"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["header"])," ",_h("td",["设置 header也可以通过 ",_h("code",["slot#header"])," 传入 DOM"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["body-style"])," ",_h("td",["设置 body 的样式"])," ",_h("td",["object"])," ",_h("td",["—"])," ",_h("td",["{ padding: '20px' }"])])])])}]}},function(s,t,a){s.exports=a.p+"static/hamburger.50e4091.png"},function(s,t,a){s.exports=a(62)},function(s,t,a){var e,n;a(63),e=a(65);var l=a(66);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";s.exports={data:function(){return{checkList:["选中且禁用","复选框 A"],checked:!0,checked1:!1,checked2:!0,isValid:"可用"}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-checkbox",{directives:[{name:"model",value:checked,expression:"checked"}],staticClass:"checkbox",domProps:{value:checked},on:{input:function(s){checked=s}}},["备选项"])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-checkbox",{directives:[{name:"model",value:checked1,expression:"checked1"}],staticClass:"checkbox",attrs:{disabled:""},domProps:{value:checked1},on:{input:function(s){checked1=s}}},["备选项"])," ",_h("el-checkbox",{directives:[{name:"model",value:checked2,expression:"checked2"}],staticClass:"checkbox",attrs:{disabled:""},domProps:{value:checked2},on:{input:function(s){checked2=s}}},["备选项"])]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-checkbox-group",{directives:[{name:"model",value:checkList,expression:"checkList"}],domProps:{value:checkList},on:{input:function(s){checkList=s}}},[_h("el-checkbox",{staticClass:"checkbox",attrs:{label:"复选框 A"}})," ",_h("el-checkbox",{staticClass:"checkbox",attrs:{label:"复选框 B"}})," ",_h("el-checkbox",{staticClass:"checkbox",attrs:{label:"复选框 C"}})," ",_h("el-checkbox",{staticClass:"checkbox",attrs:{label:"禁用",disabled:""}})," ",_h("el-checkbox",{staticClass:"checkbox",attrs:{label:"选中且禁用",disabled:""}})])]])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-checkbox",{directives:[{name:"model",value:isValid,expression:"isValid"}],staticClass:"checkbox",attrs:{"true-label":"可用","false-label":"不可用"},domProps:{value:isValid},on:{input:function(s){isValid=s}}},["\n "+_s(isValid)+"\n "])]])," ",_m(13)])," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)])},staticRenderFns:[function(){with(this)return _h("h2",["Checkbox 多选框"])},function(){with(this)return _h("p",["一组备选项中进行多选"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["单独使用可以表示两种状态之间的切换"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在",_h("code",["el-checkbox"]),"元素中定义",_h("code",["v-model"]),"绑定变量,单一的",_h("code",["checkbox"]),"中,默认绑定变量的值会是",_h("code",["Boolean"]),",选中为",_h("code",["true"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-comment"},["<!-- `checked` 为 true 或 false -->"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"checked"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n checked: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h2",["禁用状态"])},function(){with(this)return _h("p",["多选框不可用状态。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["disabled"]),"属性即可。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"checked1"'])," ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"checked2"'])," ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n checked1: ",_h("span",{staticClass:"hljs-literal"},["false"]),",\n checked2: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["多选框组"])},function(){with(this)return _h("p",["适用于多个勾选框绑定到同一个数组的情景,通过是否勾选来表示这一组选项中选中的项。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",[_h("code",["checkbox-group"]),"元素能把多个 checkbox 管理为一组,只需要在 Group 中使用",_h("code",["v-model"]),"绑定",_h("code",["Array"]),"类型的变量即可,",_h("code",["label"]),"属性除了改变 checkbox 按钮后的介绍外,同时也是该 checkbox 对应的值,",_h("code",["label"]),"与数组中的元素值相对应,如果存在指定的值则为选中状态,否则为不选中。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox-group"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"checkList"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"复选框 A"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"复选框 B"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"复选框 C"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"禁用"'])," ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"选中且禁用"'])," ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox-group"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data () {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n checkList: [",_h("span",{staticClass:"hljs-string"},["'选中且禁用'"]),",",_h("span",{staticClass:"hljs-string"},["'复选框 A'"]),"]\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可切换值的多选框"])},function(){with(this)return _h("p",["多选框单独时,除了可以表示为是否选中的逻辑值以外,你还可以设定其选中和未选中所表示的值。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["使用",_h("code",["true-label"]),"和",_h("code",["false-label"]),"可以自定义选中时和未选中时的值,可以为",_h("code",["String"]),"或",_h("code",["Number"]),"类型。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),"\n ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"checkbox"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"isValid"']),"\n ",_h("span",{staticClass:"hljs-attr"},["true-label"]),"=",_h("span",{staticClass:"hljs-string"},['"可用"']),"\n ",_h("span",{staticClass:"hljs-attr"},["false-label"]),"=",_h("span",{staticClass:"hljs-string"},['"不可用"']),">"]),"\n ",_h("span",["{{"]),"isValid",_h("span",["}}"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n isValid: ",_h("span",{staticClass:"hljs-string"},["'可用'"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Checkbox Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["选中状态的值(只有在",_h("code",["checkbox-group"]),"下有意义)"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["true-label"])," ",_h("td",["选中时的值"])," ",_h("td",["string, number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["false-label"])," ",_h("td",["没有选中时的值"])," ",_h("td",["string, number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["按钮禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Checkbox-group Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["当绑定值变化时触发的事件"])," ",_h("td",["选中的 Checkbox Label 值"])])])])}]}},function(s,t,a){s.exports=a(68)},function(s,t,a){var e,n;a(69);var l=a(71);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("el-row",{attrs:{gutter:12}},[_h("el-col",{attrs:{span:8}},[_m(4)])," ",_h("el-col",{attrs:{span:8}},[_m(5)])," ",_h("el-col",{attrs:{span:8}},[_m(6)])])," ",_m(7)," ",_m(8)," ",_h("el-row",{attrs:{gutter:12}},[_h("el-col",{attrs:{span:6}},[_m(9)])," ",_h("el-col",{attrs:{span:6}},[_m(10)])," ",_h("el-col",{attrs:{span:6}},[_m(11)])," ",_h("el-col",{attrs:{span:6}},[_m(12)])])," ",_m(13)," ",_m(14)," ",_h("el-row",{attrs:{gutter:12}},[_h("el-col",{attrs:{span:6}},[_m(15)])," ",_h("el-col",{attrs:{span:6}},[_m(16)])," ",_h("el-col",{attrs:{span:6}},[_m(17)])," ",_h("el-col",{attrs:{span:6}},[_m(18)])])])},staticRenderFns:[function(){with(this)return _h("h2",["Color 色彩"])},function(){with(this)return _h("p",["Element 为了避免视觉传达差异,使用一套特定的调色板来规定颜色,为你所搭建的产品提供一致的外观视觉感受。"])},function(){with(this)return _h("h3",["主色"])},function(){with(this)return _h("p",["Element 主要品牌颜色是鲜艳、友好的蓝色。"])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-blue-light"},["Light Blue",_h("div",{staticClass:"value"},["#58B7FF"])])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-blue"},["Blue",_h("div",{staticClass:"value"},["#20A0FF"])])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-blue-dark"},["Dark Blue",_h("div",{staticClass:"value"},["#1D8CE0"])])},function(){with(this)return _h("h3",["辅助色"])},function(){with(this)return _h("p",["除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。"])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-info"},["Blue",_h("div",{staticClass:"value"},["#20A0FF"])])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-success"},["Success",_h("div",{staticClass:"value"},["#13CE66"])])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-warning"},["Warning",_h("div",{staticClass:"value"},["#F7BA2A"])])},function(){with(this)return _h("div",{staticClass:"demo-color-box bg-danger"},["Danger",_h("div",{staticClass:"value"},["#FF4949"])])},function(){with(this)return _h("h3",["中性色"])},function(){with(this)return _h("p",["中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。"])},function(){with(this)return _h("div",{staticClass:"demo-color-box-group"},[_h("div",{staticClass:"demo-color-box bg-black"},["Black",_h("div",{staticClass:"value"},["#1F2D3D"])])," ",_h("div",{staticClass:"demo-color-box bg-black-light"},["Light Black",_h("div",{staticClass:"value"},["#324057"])])," ",_h("div",{staticClass:"demo-color-box bg-black-lighter"},["Extra Light Black",_h("div",{staticClass:"value"},["#475669"])])])},function(){with(this)return _h("div",{staticClass:"demo-color-box-group"},[_h("div",{staticClass:"demo-color-box bg-silver"},["Silver",_h("div",{staticClass:"value"},["#8492A6"])])," ",_h("div",{staticClass:"demo-color-box bg-silver-light"},["Light Silver",_h("div",{staticClass:"value"},["#99A9BF"])])," ",_h("div",{staticClass:"demo-color-box bg-silver-lighter"},["Extra Light Silver",_h("div",{staticClass:"value"},["#C0CCDA"])])])},function(){with(this)return _h("div",{staticClass:"demo-color-box-group"},[_h("div",{staticClass:"demo-color-box color-gray bg-gray"},["Gray",_h("div",{staticClass:"value"},["#D3DCE6"])])," ",_h("div",{staticClass:"demo-color-box color-gray bg-gray-light"},["Light Gray",_h("div",{staticClass:"value"},["#E5E9F2"])])," ",_h("div",{staticClass:"demo-color-box color-gray bg-gray-lighter"},["Extra Light Gray",_h("div",{staticClass:"value"},["#EFF2F7"])])])},function(){with(this)return _h("div",{staticClass:"demo-color-box-group",attrs:{style:"border: 1px solid #e0e6ed;border-radius: 4px;"}},[_h("div",{staticClass:"demo-color-box color-gray bg-white-dark"},["Dark White",_h("div",{staticClass:"value"},["#F9FAFC"])])," ",_h("div",{staticClass:"demo-color-box color-gray bg-white"},["White",_h("div",{staticClass:"value"},["#FFFFFF"])])])}]}},function(s,t,a){s.exports=a(73)},function(s,t,a){var e,n;a(74),e=a(76);var l=a(77);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,
s.exports=e},function(s,t){},,function(s,t){"use strict";s.exports={data:function(){return{pickerOptions1:{shortcuts:[{text:"今天",onClick:function(s){s.$emit("pick",new Date)}},{text:"昨天",onClick:function(s){var t=new Date;t.setTime(t.getTime()-864e5),s.$emit("pick",t)}},{text:"一周前",onClick:function(s){var t=new Date;t.setTime(t.getTime()-6048e5),s.$emit("pick",t)}}]},pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(s){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),s.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(s){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),s.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(s){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),s.$emit("pick",[a,t])}}]},value1:"",value2:"",value3:"",value4:"",value5:"",value6:"",value7:""}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(4)," ",_h("el-date-picker",{directives:[{name:"model",value:value1,expression:"value1"}],attrs:{type:"date",placeholder:"选择日期"},domProps:{value:value1},on:{input:function(s){value1=s}}})])," ",_h("div",{staticClass:"block"},[_m(5)," ",_h("el-date-picker",{directives:[{name:"model",value:value2,expression:"value2"}],attrs:{type:"date",placeholder:"选择日期","picker-options":pickerOptions1},domProps:{value:value2},on:{input:function(s){value2=s}}})])]])," ",_m(6)])," ",_m(7)," ",_m(8)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"block"},[_m(9)," ",_h("el-date-picker",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{type:"week",format:"yyyy 第 WW 周",placeholder:"选择周"},domProps:{value:value3},on:{input:function(s){value3=s}}})])," ",_h("div",{staticClass:"block"},[_m(10)," ",_h("el-date-picker",{directives:[{name:"model",value:value4,expression:"value4"}],attrs:{type:"month",placeholder:"选择月"},domProps:{value:value4},on:{input:function(s){value4=s}}})])," ",_h("div",{staticClass:"block"},[_m(11)," ",_h("el-date-picker",{directives:[{name:"model",value:value5,expression:"value5"}],attrs:{type:"year",placeholder:"选择年"},domProps:{value:value5},on:{input:function(s){value5=s}}})])])," ",_m(12)])," ",_m(13)," ",_m(14)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(15)," ",_h("el-date-picker",{directives:[{name:"model",value:value6,expression:"value6"}],attrs:{type:"daterange",placeholder:"选择日期范围",style:"width: 220px"},domProps:{value:value6},on:{input:function(s){value6=s}}})])," ",_h("div",{staticClass:"block"},[_m(16)," ",_h("el-date-picker",{directives:[{name:"model",value:value7,expression:"value7"}],attrs:{type:"daterange",align:"right",placeholder:"选择日期范围","picker-options":pickerOptions2,style:"width: 220px"},domProps:{value:value7},on:{input:function(s){value7=s}}})])]])," ",_m(17)])," ",_m(18)," ",_m(19)," ",_m(20)," ",_m(21)])},staticRenderFns:[function(){with(this)return _h("h2",["Date Picker 日期选择器"])},function(){with(this)return _h("p",["用于选择或输入日期"])},function(){with(this)return _h("h3",["选择日"])},function(){with(this)return _h("p",["以「日」为基本单位,基础的日期选择控件"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["带快捷选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["基本单位由",_h("code",["type"]),"属性指定。快捷选项需配置",_h("code",["picker-options"]),"对象中的",_h("code",["shortcuts"])])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value1"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"带快捷选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},['"pickerOptions1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n pickerOptions1: {\n shortcuts: [{\n text: ",_h("span",{staticClass:"hljs-string"},["'今天'"]),",\n onClick(picker) {\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"());\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'昨天'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," date = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n date.setTime(date.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", date);\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'一周前'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," date = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n date.setTime(date.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["7"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", date);\n }\n }]\n },\n value1: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n value2: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["其他日期单位"])},function(){with(this)return _h("p",["通过扩展基础的日期选择,可以选择周、月、年"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["周"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["月"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["年"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"周",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"week"']),"\n ",_h("span",{staticClass:"hljs-attr"},["format"]),"=",_h("span",{staticClass:"hljs-string"},['"yyyy 第 WW 周"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择周"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"月",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value4"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"month"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择月"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"年",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value5"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"year"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择年"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["选择日期范围"])},function(){with(this)return _h("p",["可在一个选择器中便捷地选择一个时间范围"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["带快捷选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value6"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"daterange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期范围"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 220px"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"带快捷选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value7"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"daterange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["align"]),"=",_h("span",{staticClass:"hljs-string"},['"right"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期范围"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},['"pickerOptions2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 220px"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n pickerOptions2: {\n shortcuts: [{\n text: ",_h("span",{staticClass:"hljs-string"},["'最近一周'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," end = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," start = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n start.setTime(start.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["7"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", [start, end]);\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'最近一个月'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," end = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," start = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n start.setTime(start.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["30"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", [start, end]);\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'最近三个月'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," end = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," start = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n start.setTime(start.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["90"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", [start, end]);\n }\n }]\n },\n value6: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n value7: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["readonly"])," ",_h("td",["只读"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["placeholder"])," ",_h("td",["占位内容"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["显示类型"])," ",_h("td",["string"])," ",_h("td",["year/month/date/datetime/week"])," ",_h("td",["date"])])," ",_h("tr",[_h("td",["format"])," ",_h("td",["时间日期格式化"])," ",_h("td",["string"])," ",_h("td",["年 ",_h("code",["yyyy"]),",月 ",_h("code",["MM"]),",日 ",_h("code",["dd"]),"",_h("br"),"小时 ",_h("code",["HH"]),",分 ",_h("code",["mm"]),",秒 ",_h("code",["ss"])])," ",_h("td",["yyyy-MM-dd"])])," ",_h("tr",[_h("td",["shortcuts"])," ",_h("td",["快捷选项列表,配置信息",_h("br"),"查看下表"])," ",_h("td",["object[]"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["align"])," ",_h("td",["对齐方式"])," ",_h("td",["left, center, right"])," ",_h("td",["left"])," ",_h("td")])])])},function(){with(this)return _h("h3",["Shortcuts"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["text"])," ",_h("td",["标题文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["onClick"])," ",_h("td",["选中后的回调函数,参数是 vm可通过触发 'pick' 事件设置",_h("br"),"选择器的值。例如 vm.$emit('pick', new Date())"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(79)},function(s,t,a){var e,n;a(80),e=a(82);var l=a(83);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";s.exports={data:function(){return{pickerOptions1:{shortcuts:[{text:"今天",onClick:function(s){s.$emit("pick",new Date)}},{text:"昨天",onClick:function(s){var t=new Date;t.setTime(t.getTime()-864e5),s.$emit("pick",t)}},{text:"一周前",onClick:function(s){var t=new Date;t.setTime(t.getTime()-6048e5),s.$emit("pick",t)}}]},pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(s){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),s.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(s){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),s.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(s){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),s.$emit("pick",[a,t])}}]},value1:"",value2:"",value3:new Date,value4:"",value5:"",value6:"",value7:"",value8:"",value9:"",value10:"",value11:"",value12:"",value13:"",value14:"",value15:"",value16:""}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(3)," ",_h("el-date-picker",{directives:[{name:"model",value:value1,expression:"value1"}],attrs:{type:"datetime",placeholder:"选择日期时间"},domProps:{value:value1},on:{input:function(s){value1=s}}})])," ",_h("div",{staticClass:"block"},[_m(4)," ",_h("el-date-picker",{directives:[{name:"model",value:value2,expression:"value2"}],attrs:{type:"datetime",placeholder:"选择日期时间","picker-options":pickerOptions1},domProps:{value:value2},on:{input:function(s){value2=s}}})])]])," ",_m(5)])," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(7)," ",_h("el-date-picker",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{type:"datetimerange",placeholder:"选择时间范围",style:"width:350px"},domProps:{value:value3},on:{input:function(s){value3=s}}})])," ",_h("div",{staticClass:"block"},[_m(8)," ",_h("el-date-picker",{directives:[{name:"model",value:value4,expression:"value4"}],attrs:{type:"datetimerange","picker-options":pickerOptions2,placeholder:"选择时间范围",align:"right",style:"width:350px"},domProps:{value:value4},on:{input:function(s){value4=s}}})])]])," ",_m(9)])," ",_m(10)," ",_m(11)," ",_m(12)," ",_m(13)])},staticRenderFns:[function(){with(this)return _h("h2",["日期时间选择器"])},function(){with(this)return _h("p",["在同一个选择器里选择日期和时间"])},function(){with(this)return _h("h3",["日期和时间点"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["带快捷选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置",_h("code",["type"]),"属性为",_h("code",["datetime"]),",即可在同一个选择器里同时进行日期和时间的选择。快捷选项的使用方法与 Date Picker 相同。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value1"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"datetime"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期时间"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"带快捷选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"datetime"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期时间"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},['"pickerOptions1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n pickerOptions1: {\n shortcuts: [{\n text: ",_h("span",{staticClass:"hljs-string"},["'今天'"]),",\n onClick(picker) {\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"());\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'昨天'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," date = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n date.setTime(date.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", date);\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'一周前'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," date = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n date.setTime(date.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["7"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", date);\n }\n }]\n },\n value1: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n value2: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["日期和时间范围"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["带快捷选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["type"]),"为",_h("code",["datetimerange"]),"即可选择日期和时间范围"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"datetimerange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择时间范围"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width:350px"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"带快捷选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{
staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value4"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"datetimerange"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},['"pickerOptions2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择时间范围"']),"\n ",_h("span",{staticClass:"hljs-attr"},["align"]),"=",_h("span",{staticClass:"hljs-string"},['"right"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width:350px"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n pickerOptions2: {\n shortcuts: [{\n text: ",_h("span",{staticClass:"hljs-string"},["'最近一周'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," end = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," start = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n start.setTime(start.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["7"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", [start, end]);\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'最近一个月'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," end = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," start = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n start.setTime(start.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["30"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", [start, end]);\n }\n }, {\n text: ",_h("span",{staticClass:"hljs-string"},["'最近三个月'"]),",\n onClick(picker) {\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," end = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n ",_h("span",{staticClass:"hljs-keyword"},["const"])," start = ",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Date"]),"();\n start.setTime(start.getTime() - ",_h("span",{staticClass:"hljs-number"},["3600"])," * ",_h("span",{staticClass:"hljs-number"},["1000"])," * ",_h("span",{staticClass:"hljs-number"},["24"])," * ",_h("span",{staticClass:"hljs-number"},["90"]),");\n picker.$emit(",_h("span",{staticClass:"hljs-string"},["'pick'"]),", [start, end]);\n }\n }]\n },\n value3: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n value4: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["readonly"])," ",_h("td",["只读"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["placeholder"])," ",_h("td",["占位内容"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["显示类型"])," ",_h("td",["string"])," ",_h("td",["year/month/date/datetime/week"])," ",_h("td",["date"])])," ",_h("tr",[_h("td",["format"])," ",_h("td",["时间日期格式化"])," ",_h("td",["string"])," ",_h("td",["年 ",_h("code",["yyyy"]),",月 ",_h("code",["MM"]),",日 ",_h("code",["dd"]),"",_h("br"),"小时 ",_h("code",["HH"]),",分 ",_h("code",["mm"]),",秒 ",_h("code",["ss"])])," ",_h("td",["yyyy-MM-dd"])])," ",_h("tr",[_h("td",["shortcuts"])," ",_h("td",["快捷选项列表,配置信息",_h("br"),"查看下表"])," ",_h("td",["object[]"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Shortcuts"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["text"])," ",_h("td",["标题文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["onClick"])," ",_h("td",["选中后的回调函数,参数是 vm可通过触发 'pick' 事件设置",_h("br"),"选择器的值。例如 vm.$emit('pick', new Date())"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(85)},function(s,t,a){var e,n,l=a(86);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(module,exports){module.exports={render:function(){with(this)return _m(0)},staticRenderFns:[function(){with(this)return _h("section",[_h("h2",["开发指南"])," ",_h("p",["开发之前需要配置好 Node.js 和 npm 环境,其中 npm 需要 3.0 或以上版本。"])," ",_h("h3",["目录结构"])," ",_h("pre",[_h("code",{staticClass:"hljs language-text"},["|- examples/ -------------- 文档及示例页\n |- docs/ -------------- 文档\n|- component/\n |- src/ --------------- 组件源码\n|- packages/ -------------- 组件\n|- scripts/ --------------- 打包配置\n|- src/ ------------------- 公用代码\n|- components.json -------- 组件列表\n"])])," ",_h("h3",["安装依赖"])," ",_h("p",["安装项目所需要的依赖以及子项目内的依赖。"])," ",_h("pre",[_h("code",{staticClass:"hljs language-bash"},["npm run bootstrap\n"])])," ",_h("p",["如果网络不是很理想,可以用国内镜像下载。新建一个 ",_h("code",[".npmrc"])," 文件在当前项目下,同时配置镜像地址,例如:"])," ",_h("pre",[_h("code",{staticClass:"hljs language-text"},["registry=https://registry.npm.taobao.org\n"])])," ",_h("p",["然后再运行 ",_h("code",["npm run bootstrap"])," 安装依赖。"])," ",_h("h3",["启动开发环境"])," ",_h("p",["启动完成后浏览器访问 ",_h("a",{attrs:{href:"http://localhost:8085"}},["http://localhost:8085"])])," ",_h("pre",[_h("code",{staticClass:"hljs language-bash"},["npm run dev\n"])])," ",_h("h3",["npm scripts"])," ",_h("pre",[_h("code",{staticClass:"hljs language-bash"},["npm run dev ",_h("span",{staticClass:"hljs-comment"},["# 启动开发环境"]),"\nnpm run dist ",_h("span",{staticClass:"hljs-comment"},["# 打包组件"]),"\nnpm run dist:all ",_h("span",{staticClass:"hljs-comment"},["# 单独打包每个子项目"]),"\nnpm run lint ",_h("span",{staticClass:"hljs-comment"},["# 检测 js 代码风格"]),"\nnode bin/new.js [组件名] ",_h("span",{staticClass:"hljs-comment"},["# 创建新组件"]),"\n"])])," ",_h("h3",["贡献代码"])," ",_h("p",["参考 ",_h("a",{attrs:{href:"https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md"}},["贡献者文档"]),"。"])])}]}},function(s,t,a){s.exports=a(88)},function(s,t,a){var e,n;a(89),e=a(91);var l=a(92);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";s.exports={data:function(){return{gridData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"}],dialogVisible:!1,dialogTinyVisible:!1,dialogFullVisible:!1,dialogStubbornVisible:!1,dialogTableVisible:!1,dialogBindVisible:!1,dialogFormVisible:!1,form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},formLabelWidth:"80px"}},methods:{openDialog:function(){this.$refs.dialogBind.open()}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){dialogVisible=!0}}},["点击打开 Dialog"])," ",_h("el-dialog",{directives:[{name:"model",value:dialogVisible,expression:"dialogVisible"}],attrs:{title:"提示",size:"tiny"},domProps:{value:dialogVisible},on:{input:function(s){dialogVisible=s}}},[_m(4)," ",_h("span",{slot:"footer",staticClass:"dialog-footer"},[_h("el-button",{nativeOn:{click:function(s){dialogVisible=!1}}},["取 消"])," ",_h("el-button",{attrs:{type:"primary"},nativeOn:{click:function(s){dialogVisible=!1}}},["确 定"])])])])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){dialogTableVisible=!0}}},["打开嵌套表格的 Dialog"])," ",_h("el-dialog",{directives:[{name:"model",value:dialogTableVisible,expression:"dialogTableVisible"}],attrs:{title:"收货地址"},domProps:{value:dialogTableVisible},on:{input:function(s){dialogTableVisible=s}}},[_h("el-table",{attrs:{data:gridData}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"150"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"200"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])])," "," ",_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){dialogFormVisible=!0}}},["打开嵌套表单的 Dialog"])," ",_h("el-dialog",{directives:[{name:"model",value:dialogFormVisible,expression:"dialogFormVisible"}],attrs:{title:"收货地址"},domProps:{value:dialogFormVisible},on:{input:function(s){dialogFormVisible=s}}},[_h("el-form",{attrs:{model:form}},[_h("el-form-item",{attrs:{label:"活动名称","label-width":formLabelWidth}},[_h("el-input",{directives:[{name:"model",value:form.name,expression:"form.name"}],attrs:{"auto-complete":"off"},domProps:{value:form.name},on:{input:function(s){form.name=s}}})])," ",_h("el-form-item",{attrs:{label:"活动区域","label-width":formLabelWidth}},[_h("el-select",{directives:[{name:"model",value:form.region,expression:"form.region"}],attrs:{placeholder:"请选择活动区域"},domProps:{value:form.region},on:{input:function(s){form.region=s}}},[_h("el-option",{attrs:{label:"区域一",value:"shanghai"}})," ",_h("el-option",{attrs:{label:"区域二",value:"beijing"}})])])])," ",_h("span",{slot:"footer",staticClass:"dialog-footer"},[_h("el-button",{nativeOn:{click:function(s){dialogFormVisible=!1}}},["取 消"])," ",_h("el-button",{attrs:{type:"primary"},nativeOn:{click:function(s){dialogFormVisible=!1}}},["确 定"])])])])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_m(11)," ",_m(12)," ",_m(13)," ",_m(14)," ",_m(15)])},staticRenderFns:[function(){with(this)return _h("h2",["Dialog 对话框"])},function(){with(this)return _h("p",["在保留当前页面状态的情况下,告知用户并承载相关操作。"])},function(){with(this)return _h("h3",["基本用法"])},function(){with(this)return _h("p",["Dialog 弹出一个对话框,适合需要定制性更大的场景。"])},function(){with(this)return _h("span",["这是一段信息"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["需要设置",_h("code",["v-model"]),"属性,它接收",_h("code",["Boolean"]),",当为",_h("code",["true"]),"时显示 Dialog。Dialog 分为两个部分:",_h("code",["body"]),"和",_h("code",["footer"]),"",_h("code",["footer"]),"需要具名为",_h("code",["footer"]),"的",_h("code",["slot"]),"。",_h("code",["title"]),"属性用于定义标题,它是可选的,默认值为空。本例通过显式改变",_h("code",["v-model"]),"的值来打开 Dialog此外我们还为 Dialog 实例提供了",_h("code",["open"]),"和",_h("code",["close"]),"方法,可以通过调用它们来打开/关闭 Dialog。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogVisible = true"']),">"]),"点击打开 Dialog",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dialog"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"提示"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogVisible"'])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"tiny"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"这是一段信息",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"footer"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"dialog-footer"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogVisible = false"']),">"]),"取 消",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogVisible = false"']),">"]),"确 定",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dialog"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义内容"])},function(){with(this)return _h("p",["Dialog 组件的内容可以是任意的,甚至可以是表格或表单,下面是应用了 Element Table 和 Form 组件的两个样例。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-comment"},["<!-- Table -->"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogTableVisible = true"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"']),">"]),"打开嵌套表格的 Dialog",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dialog"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"收货地址"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogTableVisible"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"])," ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"gridData"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"])," ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"'])," ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"150"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"])," ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"'])," ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"200"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"])," ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dialog"]),">"]),"\n\n",_h("span",{staticClass:"hljs-comment"},["<!-- Form -->"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogFormVisible = true"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"']),">"]),"打开嵌套表单的 Dialog",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dialog"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"收货地址"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogFormVisible"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"form"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动名称"'])," ",_h("span",{staticClass:"hljs-attr"},[":label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"formLabelWidth"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.name"'])," ",_h("span",{staticClass:"hljs-attr"},["auto-complete"]),"=",_h("span",{staticClass:"hljs-string"},['"off"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动区域"'])," ",_h("span",{staticClass:"hljs-attr"},[":label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"formLabelWidth"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.region"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请选择活动区域"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域一"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"shanghai"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域二"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"beijing"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"footer"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"dialog-footer"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogFormVisible = false"']),">"]),"取 消",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"dialogFormVisible = false"']),">"]),"确 定",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dialog"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["title"])," ",_h("td",["Dialog 的标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["size"])," ",_h("td",["Dialog 的大小"])," ",_h("td",["string"])," ",_h("td",["tiny/small/large/full"])," ",_h("td",["small"])])," ",_h("tr",[_h("td",["modal"])," ",_h("td",["是否需要遮罩层"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["custom-class"])," ",_h("td",["Dialog 的自定义类名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["close-on-click-modal"])," ",_h("td",["是否可以通过点击 modal 关闭 Dialog"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["close-on-press-escape"])," ",_h("td",["是否可以通过按下 ESC 关闭 Dialog"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])])])},function(){with(this)return _h("h3",["Slot"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["name"])," ",_h("th",["说明"])])])," ",_h("tbody",[_h("tr",[_h("td",["—"])," ",_h("td",["Dialog 的内容"])])," ",_h("tr",[_h("td",["footer"])," ",_h("td",["Dialog 按钮操作区的内容"])])])])},function(){with(this)return _h("h3",["方法"])},function(){with(this)return _h("p",["每个 ",_h("code",["el-dialog"])," 实例都暴露了如下方法,用于在不显式改变 ",_h("code",["v-model"])," 值的情况下打开 / 关闭实例:"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["方法名"])," ",_h("th",["说明"])])])," ",_h("tbody",[_h("tr",[_h("td",["open"])," ",_h("td",["打开当前实例"])])," ",_h("tr",[_h("td",["close"])," ",_h("td",["关闭当前实例"])])])])}]}},function(s,t,a){s.exports=a(94)},function(s,t,a){var e,n;a(95),e=a(97);var l=a(98);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={methods:{handleMainClick:function(){alert("click main button")}},mounted:function(){this.$nextTick(function(){var s=document.querySelectorAll(".source"),t=s[s.length-1];t.style.padding="0",t.style.display="flex"})}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-dropdown",{attrs:{text:"下拉菜单",type:"text","icon-separate":!1},on:{mainclick:function(s){handleMainClick()}}},[_h("el-dropdown-item",["黄金糕"])," ",_h("el-dropdown-item",["狮子头"])," ",_h("el-dropdown-item",["螺蛳粉"])," ",_h("el-dropdown-item",["双皮奶"])," ",_h("el-dropdown-item",["蚵仔煎"])])])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-dropdown",{attrs:{text:"更多菜单",type:"primary","icon-separate":!1}},[_h("el-dropdown-item",["选项一"])," ",_h("el-dropdown-item",["选项二"])," ",_h("el-dropdown-item",["选项三"])," ",_h("el-dropdown-item",{staticClass:"divider"},["选项四"])])," ",_h("el-dropdown",{attrs:{text:"主要按钮",type:"primary"},on:{mainclick:function(s){handleMainClick()}}},[_h("el-dropdown-item",["选项一"])," ",_h("el-dropdown-item",["选项二"])," ",_h("el-dropdown-item",["选项三"])," ",_h("el-dropdown-item",["选项四"])])])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"block"},[_m(10)," ",_h("el-dropdown",{attrs:{text:"下拉菜单",type:"text","icon-separate":!1,trigger:"hover"}},[_h("el-dropdown-item",["选项一"])," ",_h("el-dropdown-item",["选项二"])," ",_h("el-dropdown-item",["选项三"])," ",_h("el-dropdown-item",["选项四"])])])," ",_h("div",{staticClass:"block"},[_m(11)," ",_h("el-dropdown",{attrs:{text:"下拉菜单",type:"text","icon-separate":!1,trigger:"click"}},[_h("el-dropdown-item",["选项一"])," ",_h("el-dropdown-item",["选项二"])," ",_h("el-dropdown-item",["选项三"])," ",_h("el-dropdown-item",{staticClass:"divider"},["选项四"])])])])," ",_m(12)])," ",_m(13)," ",_m(14)])},staticRenderFns:[function(){with(this)return _h("h2",["Dropdown 下拉菜单"])},function(){with(this)return _h("p",["将动作或菜单折叠到下拉菜单中。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["移动到下拉菜单上,展开更多操作。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过",_h("code",["text"]),"属性来设置按钮文字。默认条件下,他由一个主要按钮和一个下拉按钮组成,",_h("code",["el-dropdown"]),"中的主要按钮同样可以设置点击事件,只要使用",_h("code",["mainclick"]),"事件即可。默认情况下,下拉按钮只要",_h("code",["hover"]),"即可,无需点击也会显示下拉菜单。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown"])," ",_h("span",{staticClass:"hljs-attr"},["text"]),"=",_h("span",{staticClass:"hljs-string"},['"下拉菜单"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},[":icon-separate"]),"=",_h("span",{staticClass:"hljs-string"},['"false"'])," ",_h("span",{staticClass:"hljs-attr"},["@mainclick"]),"=",_h("span",{staticClass:"hljs-string"},['"handleMainClick()"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"黄金糕",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"狮子头",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"螺蛳粉",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"双皮奶",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"蚵仔煎",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["触发对象"])},function(){with(this)return _h("p",["可使用按钮触发下拉菜单。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["icon-separate"]),"属性来呈现不带独立按钮的下拉菜单,设置为",_h("code",["false"]),"即可。在选项三和选项四中插入了一条分割线,只需要在选项四中设置",_h("code",["class"]),"为",_h("code",["divider"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown"])," ",_h("span",{staticClass:"hljs-attr"},["text"]),"=",_h("span",{staticClass:"hljs-string"},['"更多菜单"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},[":icon-separate"]),"=",_h("span",{staticClass:"hljs-string"},['"false"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"divider"']),">"]),"选项四",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"
},["el-dropdown"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown"])," ",_h("span",{staticClass:"hljs-attr"},["text"]),"=",_h("span",{staticClass:"hljs-string"},['"主要按钮"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["@mainclick"]),"=",_h("span",{staticClass:"hljs-string"},['"handleMainClick()"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项四",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["触发方式"])},function(){with(this)return _h("p",["可以配置 click 激活或者 hover 激活。"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["hover 激活"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["click 激活"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在",_h("code",["trigger"]),"属性设置为",_h("code",["click"]),"即可。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"hover 激活",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown"])," ",_h("span",{staticClass:"hljs-attr"},["text"]),"=",_h("span",{staticClass:"hljs-string"},['"下拉菜单"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},[":icon-separate"]),"=",_h("span",{staticClass:"hljs-string"},['"false"'])," ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"hover"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项四",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"click 激活",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown"])," ",_h("span",{staticClass:"hljs-attr"},["text"]),"=",_h("span",{staticClass:"hljs-string"},['"下拉菜单"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},[":icon-separate"]),"=",_h("span",{staticClass:"hljs-string"},['"false"'])," ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"click"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"选项三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"divider"']),">"]),"选项四",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-dropdown"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["text"])," ",_h("td",["菜单按钮文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["菜单按钮类型,同 Button 组件"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["trigger"])," ",_h("td",["触发下拉菜单的方式"])," ",_h("td",["string"])," ",_h("td",["hover,click"])," ",_h("td",["hover"])])," ",_h("tr",[_h("td",["icon-separate"])," ",_h("td",["独立的下拉菜单按钮"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["size"])," ",_h("td",["菜单按钮尺寸,同 Button 组件"])," ",_h("td",["string"])," ",_h("td",["large, small, mini"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["menu-align"])," ",_h("td",["菜单水平对齐方向"])," ",_h("td",["string"])," ",_h("td",["start, end"])," ",_h("td",["end"])])])])}]}},function(s,t,a){s.exports=a(100)},function(s,t,a){var e,n;a(101),e=a(103);var l=a(104);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){var s=this,t=function(s,t,a){var e=parseInt(t,10);setTimeout(function(){Number.isInteger(e)?e<18?a(new Error("必须年满18岁")):a():a(new Error("请输入数字值"))},1e3)},a=function(t,a,e){""===a?e(new Error("请输入密码")):(""!==s.ruleForm2.checkPass&&s.$refs.ruleForm2.validateField("checkPass"),e())},e=function(t,a,e){""===a?e(new Error("请再次输入密码")):a!==s.ruleForm2.pass?e(new Error("两次输入密码不一致!")):e()};return{form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},formInline:{user:"",region:""},formStacked:{name:"",region:"",type:"",remark:""},formAlignRight:{name:"",region:"",type:""},formAlignLeft:{name:"",region:"",type:""},ruleForm:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},ruleForm2:{pass:"",checkPass:"",age:""},formLabelWidth:"80px",options:[],rules:{name:[{required:!0,message:"请输入活动名称",trigger:"blur"}],region:[{required:!0,message:"请选择活动区域",trigger:"change"}],date1:[{type:"date",required:!0,message:"请选择日期",trigger:"change"}],date2:[{type:"date",required:!0,message:"请选择时间",trigger:"change"}],type:[{type:"array",required:!0,message:"请至少选择一个活动性质",trigger:"change"}],resource:[{required:!0,message:"请选择活动资源",trigger:"change"}],desc:[{required:!0,message:"请填写活动形式",trigger:"blur"}]},rules2:{pass:[{required:!0,message:"请输入密码",trigger:"blur"},{validator:a}],checkPass:[{required:!0,message:"请再次输入密码",trigger:"blur"},{validator:e}],age:[{required:!0,message:"请填写年龄",trigger:"blur"},{validator:t,trigger:"change"}]},dynamicForm:{domains:[{key:1,value:""}],email:""},dynamicRule:{email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"},{type:"email",message:"请输入正确的邮箱地址",trigger:"blur,change"}]}}},methods:{handleSubmit:function(s){this.$refs.ruleForm.validate(function(s){return s?void alert("submit!"):(console.log("error submit!!"),!1)})},handleSubmit2:function(s){this.$refs.ruleForm2.validate(function(s){return s?void alert("申请已提交"):(console.log("error submit!!"),!1)})},handleSubmit3:function(s){this.$refs.dynamicForm.validate(function(s){return s?void alert("申请已提交"):(console.log("error submit!!"),!1)})},handleReset:function(){this.$refs.ruleForm.resetFields()},handleReset2:function(){this.$refs.ruleForm2.resetFields()},handleValidate:function(s,t){console.log(s,t)},onSubmit:function(){console.log("submit!")},onRuleFormSubmit:function(){console.log("onRuleFormSubmit")},removeDomain:function(s){var t=this.dynamicForm.domains.indexOf(s);t!==-1&&this.dynamicForm.domains.splice(t,1)},addDomain:function(){this.dynamicForm.domains.push({key:this.dynamicForm.domains.length,value:""})}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{ref:"form",attrs:{model:form,"label-width":"80px"},on:{submit:function(s){s.preventDefault(),onSubmit(s)}}},[_h("el-form-item",{attrs:{label:"活动名称"}},[_h("el-input",{directives:[{name:"model",value:form.name,expression:"form.name"}],domProps:{value:form.name},on:{input:function(s){form.name=s}}})])," ",_h("el-form-item",{attrs:{label:"活动区域"}},[_h("el-select",{directives:[{name:"model",value:form.region,expression:"form.region"}],attrs:{placeholder:"请选择活动区域"},domProps:{value:form.region},on:{input:function(s){form.region=s}}},[_h("el-option",{attrs:{label:"区域一",value:"shanghai"}})," ",_h("el-option",{attrs:{label:"区域二",value:"beijing"}})])])," ",_h("el-form-item",{attrs:{label:"活动时间"}},[_h("el-col",{attrs:{span:11}},[_h("el-date-picker",{directives:[{name:"model",value:form.date1,expression:"form.date1"}],attrs:{type:"date",placeholder:"选择日期",style:"width: 100%;"},domProps:{value:form.date1},on:{input:function(s){form.date1=s}}})])," ",_h("el-col",{staticClass:"line",attrs:{span:2}},["-"])," ",_h("el-col",{attrs:{span:11}},[_h("el-time-picker",{directives:[{name:"model",value:form.date2,expression:"form.date2"}],attrs:{type:"fixed-time",placeholder:"选择时间",style:"width: 100%;"},domProps:{value:form.date2},on:{input:function(s){form.date2=s}}})])])," ",_h("el-form-item",{attrs:{label:"即时配送"}},[_h("el-switch",{directives:[{name:"model",value:form.delivery,expression:"form.delivery"}],attrs:{"on-text":"","off-text":""},domProps:{value:form.delivery},on:{input:function(s){form.delivery=s}}})])," ",_h("el-form-item",{attrs:{label:"活动性质"}},[_h("el-checkbox-group",{directives:[{name:"model",value:form.type,expression:"form.type"}],domProps:{value:form.type},on:{input:function(s){form.type=s}}},[_h("el-checkbox",{attrs:{label:"美食/餐厅线上活动",name:"type"}})," ",_h("el-checkbox",{attrs:{label:"地推活动",name:"type"}})," ",_h("el-checkbox",{attrs:{label:"线下主题活动",name:"type"}})," ",_h("el-checkbox",{attrs:{label:"单纯品牌曝光",name:"type"}})])])," ",_h("el-form-item",{attrs:{label:"特殊资源"}},[_h("el-radio-group",{directives:[{name:"model",value:form.resource,expression:"form.resource"}],domProps:{value:form.resource},on:{input:function(s){form.resource=s}}},[_h("el-radio",{attrs:{label:"线上品牌商赞助"}})," ",_h("el-radio",{attrs:{label:"线下场地免费"}})])])," ",_h("el-form-item",{attrs:{label:"活动形式"}},[_h("el-input",{directives:[{name:"model",value:form.desc,expression:"form.desc"}],attrs:{type:"textarea"},domProps:{value:form.desc},on:{input:function(s){form.desc=s}}})])," ",_h("el-form-item",[_h("el-button",{attrs:{type:"primary"}},["立即创建"])," ",_h("el-button",{nativeOn:{click:function(s){s.preventDefault()}}},["取消"])])])])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:formInline},on:{submit:function(s){s.preventDefault(),onSubmit(s)}}},[_h("el-form-item",[_h("el-input",{directives:[{name:"model",value:formInline.user,expression:"formInline.user"}],attrs:{placeholder:"审批人"},domProps:{value:formInline.user},on:{input:function(s){formInline.user=s}}})]),_h("el-form-item",[_h("el-select",{directives:[{name:"model",value:formInline.region,expression:"formInline.region"}],attrs:{placeholder:"活动区域"},domProps:{value:formInline.region},on:{input:function(s){formInline.region=s}}},[_h("el-option",{attrs:{label:"区域一",value:"shanghai"}})," ",_h("el-option",{attrs:{label:"区域二",value:"beijing"}})])]),_h("el-form-item",[_h("el-button",{attrs:{type:"primary"}},["查询"])])])])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_m(10)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{staticClass:"demo-form-stacked",attrs:{"label-position":"top",model:formStacked}},[_h("el-form-item",{attrs:{label:"名称"}},[_h("el-input",{directives:[{name:"model",value:formStacked.name,expression:"formStacked.name"}],domProps:{value:formStacked.name},on:{input:function(s){formStacked.name=s}}})])," ",_h("el-form-item",{attrs:{label:"活动区域"}},[_h("el-input",{directives:[{name:"model",value:formStacked.region,expression:"formStacked.region"}],domProps:{value:formStacked.region},on:{input:function(s){formStacked.region=s}}})])," ",_h("el-form-item",{attrs:{label:"活动展开形式"}},[_h("el-input",{directives:[{name:"model",value:formStacked.type,expression:"formStacked.type"}],domProps:{value:formStacked.type},on:{input:function(s){formStacked.type=s}}})])])])," ",_m(11)])," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{attrs:{model:formAlignRight,"label-width":"80px"}},[_h("el-form-item",{attrs:{label:"活动名称"}},[_h("el-input",{directives:[{name:"model",value:formAlignRight.name,expression:"formAlignRight.name"}],domProps:{value:formAlignRight.name},on:{input:function(s){formAlignRight.name=s}}})])," ",_h("el-form-item",{attrs:{label:"推广地"}},[_h("el-input",{directives:[{name:"model",value:formAlignRight.region,expression:"formAlignRight.region"}],domProps:{value:formAlignRight.region},on:{input:function(s){formAlignRight.region=s}}})])," ",_h("el-form-item",{attrs:{label:"活动形式"}},[_h("el-input",{directives:[{name:"model",value:formAlignRight.type,expression:"formAlignRight.type"}],domProps:{value:formAlignRight.type},on:{input:function(s){formAlignRight.type=s}}})])])])," ",_m(13)])," ",_m(14)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{attrs:{model:formAlignLeft,"label-position":"left","label-width":"80px"},on:{submit:function(s){s.preventDefault(),onSubmit(s)}}},[_h("el-form-item",{attrs:{label:"活动名称"}},[_h("el-input",{directives:[{name:"model",value:formAlignLeft.name,expression:"formAlignLeft.name"}],domProps:{value:formAlignLeft.name},on:{input:function(s){formAlignLeft.name=s}}})])," ",_h("el-form-item",{attrs:{label:"推广地"}},[_h("el-input",{directives:[{name:"model",value:formAlignLeft.region,expression:"formAlignLeft.region"}],domProps:{value:formAlignLeft.region},on:{input:function(s){formAlignLeft.region=s}}})])," ",_h("el-form-item",{attrs:{label:"活动形式"}},[_h("el-input",{directives:[{name:"model",value:formAlignLeft.type,expression:"formAlignLeft.type"}],domProps:{value:formAlignLeft.type},on:{input:function(s){formAlignLeft.type=s}}})])])])," ",_m(15)])," ",_m(16)," ",_m(17)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:ruleForm,rules:rules,"label-width":"100px"}},[_h("el-form-item",{attrs:{label:"活动名称",prop:"name"}},[_h("el-input",{directives:[{name:"model",value:ruleForm.name,expression:"ruleForm.name"}],domProps:{value:ruleForm.name},on:{input:function(s){ruleForm.name=s}}})])," ",_h("el-form-item",{attrs:{label:"活动区域",prop:"region"}},[_h("el-select",{directives:[{name:"model",value:ruleForm.region,expression:"ruleForm.region"}],attrs:{placeholder:"请选择活动区域"},domProps:{value:ruleForm.region},on:{input:function(s){ruleForm.region=s}}},[_h("el-option",{attrs:{label:"区域一",value:"shanghai"}})," ",_h("el-option",{attrs:{label:"区域二",value:"beijing"}})])])," ",_h("el-form-item",{attrs:{label:"活动时间"}},[_h("el-col",{attrs:{span:11}},[_h("el-form-item",{attrs:{prop:"date1"}},[_h("el-date-picker",{directives:[{name:"model",value:ruleForm.date1,expression:"ruleForm.date1"}],attrs:{type:"date",placeholder:"选择日期",style:"width: 100%;"},domProps:{value:ruleForm.date1},on:{input:function(s){ruleForm.date1=s}}})])])," ",_h("el-col",{staticClass:"line",attrs:{span:2}},["-"])," ",_h("el-col",{attrs:{span:11}},[_h("el-form-item",{attrs:{prop:"date2"}},[_h("el-time-picker",{directives:[{name:"model",value:ruleForm.date2,expression:"ruleForm.date2"}],attrs:{type:"fixed-time",placeholder:"选择时间",style:"width: 100%;"},domProps:{value:ruleForm.date2},on:{input:function(s){ruleForm.date2=s}}})])])])," ",_h("el-form-item",{attrs:{label:"即时配送"}},[_h("el-switch",{directives:[{name:"model",value:ruleForm.delivery,expression:"ruleForm.delivery"}],attrs:{"on-text":"","off-text":""},domProps:{value:ruleForm.delivery},on:{input:function(s){ruleForm.delivery=s}}})])," ",_h("el-form-item",{attrs:{label:"活动性质",prop:"type"}},[_h("el-checkbox-group",{directives:[{name:"model",value:ruleForm.type,expression:"ruleForm.type"}],domProps:{value:ruleForm.type},on:{input:function(s){ruleForm.type=s}}},[_h("el-checkbox",{attrs:{label:"美食/餐厅线上活动",name:"type"}})," ",_h("el-checkbox",{attrs:{label:"地推活动",name:"type"}})," ",_h("el-checkbox",{attrs:{label:"线下主题活动",name:"type"}})," ",_h("el-checkbox",{attrs:{label:"单纯品牌曝光",name:"type"}})])])," ",_h("el-form-item",{attrs:{label:"特殊资源",prop:"resource"}},[_h("el-radio-group",{directives:[{name:"model",value:ruleForm.resource,expression:"ruleForm.resource"}],domProps:{value:ruleForm.resource},on:{input:function(s){ruleForm.resource=s}}},[_h("el-radio",{attrs:{label:"线上品牌商赞助"}})," ",_h("el-radio",{attrs:{label:"线下场地免费"}})])])," ",_h("el-form-item",{attrs:{label:"活动形式",prop:"desc"}},[_h("el-input",{directives:[{name:"model",value:ruleForm.desc,expression:"ruleForm.desc"}],attrs:{type:"textarea"},domProps:{value:ruleForm.desc},on:{input:function(s){ruleForm.desc=s}}})])," ",_h("el-form-item",[_h("el-button",{attrs:{type:"primary"},nativeOn:{click:function(s){s.preventDefault(),handleSubmit(s)}}},["立即创建"])," ",_h("el-button",{nativeOn:{click:function(s){s.preventDefault(),handleReset(s)}}},["重置"])])])])," ",_m(18)])," ",_m(19)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{ref:"ruleForm2",staticClass:"demo-ruleForm",attrs:{model:ruleForm2,rules:rules2,"label-width":"100px"}},[_h("el-form-item",{attrs:{label:"密码",prop:"pass"}},[_h("el-input",{directives:[{name:"model",value:ruleForm2.pass,expression:"ruleForm2.pass"}],attrs:{type:"password","auto-complete":"off"},domProps:{value:ruleForm2.pass},on:{input:function(s){ruleForm2.pass=s}}})])," ",_h("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[_h("el-input",{directives:[{name:"model",value:ruleForm2.checkPass,expression:"ruleForm2.checkPass"}],attrs:{type:"password","auto-complete":"off"},domProps:{value:ruleForm2.checkPass},on:{input:function(s){ruleForm2.checkPass=s}}})])," ",_h("el-form-item",{attrs:{label:"年龄",prop:"age"}},[_h("el-input",{directives:[{name:"model",value:ruleForm2.age,expression:"ruleForm2.age"}],domProps:{value:ruleForm2.age},on:{input:function(s){ruleForm2.age=s}}})])," ",_h("el-form-item",[_h("el-button",{attrs:{type:"primary"},nativeOn:{click:function(s){s.preventDefault(),handleSubmit2(s)}}},["提交"])," ",_h("el-button",{nativeOn:{click:function(s){s.preventDefault(),handleReset2(s)}}},["重置"])])])])," ",_m(20)])," ",_m(21)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-form",{ref:"dynamicForm",staticClass:"demo-dynamic",attrs:{model:dynamicForm,rules:dynamicRule,"label-width":"100px"}},[_h("el-form-item",{attrs:{prop:"email",label:"邮箱"}},[_h("el-input",{directives:[{name:"model",value:dynamicForm.email,expression:"dynamicForm.email"}],domProps:{value:dynamicForm.email},on:{input:function(s){dynamicForm.email=s}}})])," ",dynamicForm.domains&&_l(dynamicForm.domains,function(s,t){return _h("el-form-item",{key:s.key,attrs:{label:"域名"+t,prop:"domains:"+t,rules:{type:"object",required:!0,fields:{value:{required:!0,message:"域名不能为空",trigger:"blur"}}}}},[_h("el-input",{directives:[{name:"model",value:s.value,expression:"domain.value"}],domProps:{value:s.value},on:{input:function(t){s.value=t}}}),_h("el-button",{nativeOn:{click:function(t){t.preventDefault(),removeDomain(s)}}},["删除"])])})," ",_h("el-form-item",[_h("el-button",{attrs:{type:"primary"},nativeOn:{click:function(s){s.preventDefault(),handleSubmit3(s)}}},["提交"])," ",_h("el-button",{nativeOn:{click:function(s){s.preventDefault(),addDomain(s)}}},["新增域名"])])])])," ",_m(22)])," ",_m(23)," ",_m(24)," ",_m(25)," ",_m(26)," ",_m(27)," ",_m(28)])},staticRenderFns:[function(){with(this)return _h("h2",["Form 表单"])},function(){with(this)return _h("p",["由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据"])},function(){with(this)return _h("h3",["典型表单"])},function(){with(this)return _h("p",["包括各种表单项,比如输入框、选择器、开关、单选框、多选框等。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在 Form 组件中,每一个表单域由一个 Form-Item 组件构成,表单域中可以放置各种类型的表单控件,包括 Input、Select、Checkbox、Radio、Switch、DatePicker、TimePicker"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"form"'])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"form"'])," ",_h("span",{staticClass:"hljs-attr"},["label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"80px"'])," ",_h("span",{staticClass:"hljs-attr"},["@submit.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"onSubmit"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动名称"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.name"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动区域"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.region"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请选择活动区域"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域一"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"shanghai"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域二"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"beijing"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动时间"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"11"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"date"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.date1"'])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%;"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"line"'])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),"-",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"11"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-picker"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"fixed-time"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择时间"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.date2"'])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%;"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"即时配送"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-switch"])," ",_h("span",{staticClass:"hljs-attr"},["on-text"]),"=",_h("span",{staticClass:"hljs-string"},['""'])," ",_h("span",{staticClass:"hljs-attr"},["off-text"]),"=",_h("span",{staticClass:"hljs-string"},['""'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.delivery"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-switch"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动性质"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox-group"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.type"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"美食/餐厅线上活动"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地推活动"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"线下主题活动"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"单纯品牌曝光"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"特殊资源"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-group"])," ",_h("span",{
staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.resource"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"线上品牌商赞助"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"线下场地免费"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动形式"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"textarea"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"form.desc"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"立即创建",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),">"]),"取消",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n form: {\n name: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n region: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n date1: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n date2: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n delivery: ",_h("span",{staticClass:"hljs-literal"},["false"]),",\n type: [],\n resource: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n desc: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n },\n methods: {\n onSubmit() {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["'submit!'"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["行内表单"])},function(){with(this)return _h("p",["当垂直方向空间受限且表单较简单时,可以在一行内放置表单。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Form 组件的 ",_h("code",["type"])," 属性可以控制表单的类型,当设为 ",_h("code",["inline"])," 时可以让表单域变为行内的表单域"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":inline"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"formInline"'])," ",_h("span",{staticClass:"hljs-attr"},["@submit.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"onSubmit"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demo-form-inline"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formInline.user"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"审批人"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formInline.region"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"活动区域"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域一"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"shanghai"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域二"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"beijing"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"查询",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n formInline: {\n user: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n region: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n },\n methods: {\n onSubmit() {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["'submit!'"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["对齐方式"])},function(){with(this)return _h("p",["根据具体目标和制约因素,选择最佳的标签对齐方式。"])},function(){with(this)return _h("p",["顶部对齐"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置 ",_h("code",["label-position"])," 属性可以改变表单域标签的位置,可选值为 ",_h("code",["top"]),"、",_h("code",["left"]),",当设为 ",_h("code",["top"])," 时标签会置于表单域的顶部"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},["label-position"]),"=",_h("span",{staticClass:"hljs-string"},['"top"'])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"formStacked"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demo-form-stacked"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"名称"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formStacked.name"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动区域"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formStacked.region"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动展开形式"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formStacked.type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n formStacked: {\n name: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n region: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n };\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("p",["右对齐"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置 ",_h("code",["label-position"])," 属性可以改变表单域标签的位置,默认不设置的情况下标签是右对齐的"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignRight"'])," ",_h("span",{staticClass:"hljs-attr"},["label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"80px"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动名称"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignRight.name"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"推广地"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignRight.region"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动形式"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignRight.type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n formAlignRight: {\n name: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n region: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n };\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("p",["左对齐"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置 ",_h("code",["label-position"])," 属性可以改变表单域标签的位置,可选值为 ",_h("code",["top"]),"、",_h("code",["left"]),",当设为 ",_h("code",["left"])," 时标签会变为左对齐"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignLeft"'])," ",_h("span",{staticClass:"hljs-attr"},["label-position"]),"=",_h("span",{staticClass:"hljs-string"},['"left"'])," ",_h("span",{staticClass:"hljs-attr"},["@submit.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"onSubmit"'])," ",_h("span",{staticClass:"hljs-attr"},["label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"80px"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动名称"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignLeft.name"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"推广地"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignLeft.region"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动形式"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"formAlignLeft.type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n formAlignLeft: {\n name: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n region: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n };\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["表单验证"])},function(){with(this)return _h("p",["在防止用户犯错的前提下,尽可能让用户更早地发现并纠正错误。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Form 组件提供了表单验证的功能,只需要通过 ",_h("code",["rule"])," 属性传入约定的验证规则,并 Form-Item 的 ",_h("code",["prop"])," 属相设置为需校验的字段名即可。校验规则参见 ",_h("a",{attrs:{href:"https://github.com/yiminghe/async-validator"}},["async-validator"])])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm"'])," ",_h("span",{staticClass:"hljs-attr"},[":rules"]),"=",_h("span",{staticClass:"hljs-string"},['"rules"'])," ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm"'])," ",_h("span",{staticClass:"hljs-attr"},["label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"100px"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demo-ruleForm"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动名称"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.name"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动区域"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"region"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.region"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请选择活动区域"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域一"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"shanghai"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"区域二"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"beijing"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动时间"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"11"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"date1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-date-picker"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"date"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择日期"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.date1"'])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%;"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-date-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"line"'])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),"-",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"11"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"date2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-picker"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"fixed-time"'])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择时间"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.date2"'])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%;"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-picker"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"即时配送"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-switch"])," ",_h("span",{staticClass:"hljs-attr"},["on-text"]),"=",_h("span",{staticClass:"hljs-string"},['""'])," ",_h("span",{staticClass:"hljs-attr"},["off-text"]),"=",_h("span",{staticClass:"hljs-string"},['""'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.delivery"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-switch"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动性质"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox-group"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.type"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"美食/餐厅线上活动"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地推活动"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"线下主题活动"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-checkbox"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"单纯品牌曝光"'])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"type"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-checkbox-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"特殊资源"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"resource"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-group"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.resource"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"线上品牌商赞助"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"线下场地免费"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"活动形式"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"desc"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"textarea"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm.desc"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{
staticClass:"hljs-string"},['"handleSubmit"']),">"]),"立即创建",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"handleReset"']),">"]),"重置",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n ruleForm: {\n name: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n region: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n date1: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n date2: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n delivery: ",_h("span",{staticClass:"hljs-literal"},["false"]),",\n type: [],\n resource: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n desc: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n },\n rules: {\n name: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请输入活动名称'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur'"])," }\n ],\n region: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请选择活动区域'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'change'"])," }\n ],\n date1: [\n { type: ",_h("span",{staticClass:"hljs-string"},["'date'"]),", required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请选择日期'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'change'"])," }\n ],\n date2: [\n { type: ",_h("span",{staticClass:"hljs-string"},["'date'"]),", required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请选择时间'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'change'"])," }\n ],\n type: [\n { type: ",_h("span",{staticClass:"hljs-string"},["'array'"]),", required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请至少选择一个活动性质'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'change'"])," }\n ],\n resource: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请选择活动资源'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'change'"])," }\n ],\n desc: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请填写活动形式'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur'"])," }\n ]\n }\n };\n },\n methods: {\n handleReset() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.ruleForm.resetFields();\n },\n handleSubmit(ev) {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.ruleForm.validate((valid) => {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (valid) {\n alert(",_h("span",{staticClass:"hljs-string"},["'submit!'"]),");\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["'error submit!!'"]),");\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," ",_h("span",{staticClass:"hljs-literal"},["false"]),";\n }\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义校验规则"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["这个例子中展示了如何使用自定义验证规则来完成密码的二次验证"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm2"'])," ",_h("span",{staticClass:"hljs-attr"},[":rules"]),"=",_h("span",{staticClass:"hljs-string"},['"rules2"'])," ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm2"'])," ",_h("span",{staticClass:"hljs-attr"},["label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"100px"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demo-ruleForm"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"密码"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"pass"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"password"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm2.pass"'])," ",_h("span",{staticClass:"hljs-attr"},["auto-complete"]),"=",_h("span",{staticClass:"hljs-string"},['"off"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"确认密码"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"checkPass"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"password"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm2.checkPass"'])," ",_h("span",{staticClass:"hljs-attr"},["auto-complete"]),"=",_h("span",{staticClass:"hljs-string"},['"off"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"年龄"'])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"age"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"ruleForm2.age"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSubmit2"']),">"]),"提交",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"handleReset2"']),">"]),"重置",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," checkAge = (rule, value, callback) => {\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," age = ",_h("span",{staticClass:"hljs-built_in"},["parseInt"]),"(value, ",_h("span",{staticClass:"hljs-number"},["10"]),");\n\n setTimeout(() => {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (!",_h("span",{staticClass:"hljs-built_in"},["Number"]),".isInteger(age)) {\n callback(",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Error"]),"(",_h("span",{staticClass:"hljs-string"},["'请输入数字值'"]),"));\n } ",_h("span",{staticClass:"hljs-keyword"},["else"]),"{\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (age < ",_h("span",{staticClass:"hljs-number"},["18"]),") {\n callback(",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Error"]),"(",_h("span",{staticClass:"hljs-string"},["'必须年满18岁'"]),"));\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n callback();\n }\n } \n }, ",_h("span",{staticClass:"hljs-number"},["1000"]),");\n };\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," validaePass = (rule, value, callback) => {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (value === ",_h("span",{staticClass:"hljs-string"},["''"]),") {\n callback(",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Error"]),"(",_h("span",{staticClass:"hljs-string"},["'请输入密码'"]),"));\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (",_h("span",{staticClass:"hljs-keyword"},["this"]),".ruleForm2.checkPass !== ",_h("span",{staticClass:"hljs-string"},["''"]),") {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.ruleForm2.validateField(",_h("span",{staticClass:"hljs-string"},["'checkPass'"]),");\n }\n callback();\n }\n };\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," validaePass2 = (rule, value, callback) => {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (value === ",_h("span",{staticClass:"hljs-string"},["''"]),") {\n callback(",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Error"]),"(",_h("span",{staticClass:"hljs-string"},["'请再次输入密码'"]),"));\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," ",_h("span",{staticClass:"hljs-keyword"},["if"])," (value !== ",_h("span",{staticClass:"hljs-keyword"},["this"]),".ruleForm2.pass) {\n callback(",_h("span",{staticClass:"hljs-keyword"},["new"])," ",_h("span",{staticClass:"hljs-built_in"},["Error"]),"(",_h("span",{staticClass:"hljs-string"},["'两次输入密码不一致!'"]),"));\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n callback();\n }\n };\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n ruleForm2: {\n pass: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n checkPass: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n age: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n },\n rules2: {\n pass: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请输入密码'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur'"])," },\n { validator: validaePass }\n ],\n checkPass: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请再次输入密码'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur'"])," },\n { validator: validaePass2 }\n ],\n age: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请填写年龄'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur'"])," },\n { validator: checkAge, trigger: ",_h("span",{staticClass:"hljs-string"},["'change'"])," }\n ]\n }\n };\n },\n methods: {\n handleReset2() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.ruleForm2.resetFields();\n },\n handleSubmit2(ev) {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.ruleForm2.validate((valid) => {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (valid) {\n alert(",_h("span",{staticClass:"hljs-string"},["'submit!'"]),");\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["'error submit!!'"]),");\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," ",_h("span",{staticClass:"hljs-literal"},["false"]),";\n }\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["动态增减表单项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["除了在 Form 组件上一次性传递所有的验证规则外还可以在单个的表单域上传递属性的验证规则"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form"])," ",_h("span",{staticClass:"hljs-attr"},[":model"]),"=",_h("span",{staticClass:"hljs-string"},['"dynamicForm"'])," ",_h("span",{staticClass:"hljs-attr"},[":rules"]),"=",_h("span",{staticClass:"hljs-string"},['"dynamicRule"'])," ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"dynamicForm"'])," ",_h("span",{staticClass:"hljs-attr"},["label-width"]),"=",_h("span",{staticClass:"hljs-string"},['"100px"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demo-dynamic"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"])," ",_h("span",{staticClass:"hljs-attr"},["prop"]),"=",_h("span",{staticClass:"hljs-string"},['"email"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"邮箱"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"dynamicForm.email"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"(domain, index) in dynamicForm.domains"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},["\"'域名' + index\""]),"\n ",_h("span",{staticClass:"hljs-attr"},[":key"]),"=",_h("span",{staticClass:"hljs-string"},['"domain.key"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":prop"]),"=",_h("span",{staticClass:"hljs-string"},["\"'domains:' + index\""]),"\n ",_h("span",{staticClass:"hljs-attr"},[":rules"]),"=",_h("span",{staticClass:"hljs-string"},["\"{\n type: 'object', required: true,\n fields: {\n value: { required: true, message: '域名不能为空', trigger: 'blur' }\n }\n }\""]),"\n >"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"domain.value"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"removeDomain(domain)"']),">"]),"删除",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSubmit3"']),">"]),"提交",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native.prevent"]),"=",_h("span",{staticClass:"hljs-string"},['"addDomain"']),">"]),"新增域名",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-form"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n dynamicForm: {\n domains: [{\n key: ",_h("span",{staticClass:"hljs-number"},["1"]),",\n value: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }],\n email: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n },\n dynamicRule: {\n email: [\n { required: ",_h("span",{staticClass:"hljs-literal"},["true"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请输入邮箱地址'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur'"])," },\n { type: ",_h("span",{staticClass:"hljs-string"},["'email'"]),", message: ",_h("span",{staticClass:"hljs-string"},["'请输入正确的邮箱地址'"]),", trigger: ",_h("span",{staticClass:"hljs-string"},["'blur,change'"])," }\n ]\n }\n };\n },\n methods: {\n handleSubmit3(ev) {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.ruleForm.validate((valid) => {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (valid) {\n alert(",_h("span",{staticClass:"hljs-string"},["'submit!'"]),");\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["'error submit!!'"]),");\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," ",_h("span",{staticClass:"hljs-literal"},["false"]),";\n }\n });\n },\n removeDomain(item) {\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," index = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".dynamicForm.domains.indexOf(item)\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (index !== ",_h("span",{staticClass:"hljs-number"},["-1"]),") {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".dynamicForm.domains.splice(index, ",_h("span",{staticClass:"hljs-number"},["1"]),")\n }\n },\n addDomain() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".dynamicForm.domains.push({\n key: ",_h("span",{staticClass:"hljs-keyword"},["this"]),".dynamicForm.domains.length,\n value: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Form Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["model"])," ",_h("td",["表单数据对象"])," ",_h("td",["object"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["rules"])," ",_h("td",["表单验证规则"])," ",_h("td",["object"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["表单类型"])," ",_h("td",["string"])," ",_h("td",["stacked, inline, horizontal"])," ",_h("td",["horizontal"])])," ",_h("tr",[_h("td",["label-align"])," ",_h("td",["表单域标签的水平对齐位置"])," ",_h("td",["string"])," ",_h("td",["right,left"])," ",_h("td",["right"])])," ",_h("tr",[_h("td",["label-width"])," ",_h("td",["表单域标签的宽度,所有的 form-item 都会继承 form 组件的 labelWidth 的值"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["label-suffix"])," ",_h("td",["表单域标签的后缀"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Form Methods"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["方法名"])," ",_h("th",["说明"])])])," ",_h("tbody",[_h("tr",[_h("td",["validate(cb)"])," ",_h("td",["对整个表单进行校验的方法"])])," ",_h("tr",[_h("td",["validateField(prop, cb)"])," ",_h("td",["对部分表单字段进行校验的方法"])])," ",_h("tr",[_h("td",["resetFields"])," ",_h("td",["对整个表单进行重置,将所有字段值重置为空并移除校验结果"])])])])},function(){with(this)return _h("h3",["Form-Item Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["prop"])," ",_h("td",["表单域 model 字段"])," ",_h("td",["string"])," ",_h("td",["传入 Form 组件的 ",_h("code",["model"])," 中的字段"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["label"])," ",_h("td",["标签文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["label-width"])," ",_h("td",["表单域标签的的宽度,例如 '50px'"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["required"])," ",_h("td",["是否必填,如不设置,则会根据校验规则自动生成"])," ",_h("td",["bolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])}]}},function(s,t,a){s.exports=a(106)},function(s,t,a){var e,n;e=a(107);var l=a(109);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";var e=a(108);s.exports={ready:function(){(0,e.addClass)(this.$el.parentNode,"no-toc")}}},function(s,t){"use strict";t.__esModule=!0;var a=t.hasClass=function(s,t){return s.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))},e=t.addClass=function(s,t){a(s,t)||(s.className+=" "+t)},n=t.removeClass=function(s,t){if(a(s,t)){var e=new RegExp("(\\s|^)"+t+"(\\s|$)");s.className=s.className.replace(e," ")}};t.toggleClass=function(s,t){a(s,t)?n(s,t):e(s,t)}},function(module,exports){module.exports={render:function(){with(this)return _m(0)},staticRenderFns:[function(){with(this)return _h("section",[_h("h1",["组件说明文档"])])}]}},function(s,t,a){s.exports=a(111)},function(s,t,a){var e,n;a(112),e=a(114);var l=a(116);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t,a){"use strict";t.__esModule=!0;var e=a(115);t["default"]={data:function(){return{icons:e}}}},function(s,t){s.exports=["arrow-down","arrow-left","arrow-right","arrow-up","caret-bottom","caret-left","caret-right","caret-top","check","circle-check","circle-close","circle-cross","close","upload","d-arrow-left","d-arrow-right","d-caret","date","delete","document","edit","information","loading","menu","message","minus","more","picture","plus","search","setting","share","star-off","star-on","time","warning","delete2","upload2","view"]},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_m(4)," ",_m(5)," ",_m(6)," ",_h("el-button",{attrs:{type:"primary",icon:"search"}},["搜索"])])," ",_m(7)])," ",_m(8)," ",_h("ul",{staticClass:"icon-list"},[icons&&_l(icons,function(s){return _h("li",[_h("span",[_h("i",{"class":"el-icon-"+s}),"\n "+_s("el-icon-"+s)+"\n "])])})])])},staticRenderFns:[function(){with(this)return _h("h2",["Icon 图标"])},function(){with(this)return _h("p",["提供了一套常用的图标集合。"])},function(){with(this)return _h("h3",["使用方法"])},function(){with(this)return _h("p",["直接通过设置类名为 ",_h("code",["el-icon-iconName"])," 来使用即可。例如:"])},function(){with(this)return _h("i",{staticClass:"el-icon-edit"})},function(){with(this)return _h("i",{staticClass:"el-icon-share"})},function(){with(this)return _h("i",{staticClass:"el-icon-delete"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-edit"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-share"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-delete"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"search"']),">"]),"搜索",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n\n"])])])])},function(){with(this)return _h("h3",["图标集合"])}]}},function(s,t,a){s.exports=a(118)},function(s,t,a){var e,n;a(119),e=a(121);var l=a(122);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{num1:1,num2:1,num3:5}},methods:{handleChange:function(s){console.log(s)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-input-number",{directives:[{name:"model",value:num1,expression:"num1"}],domProps:{value:num1},on:{change:handleChange,input:function(s){num1=s}}})]])," ",_m(3)])," ",_m(4)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input-number",{directives:[{name:"model",value:num1,expression:"num1"}],attrs:{disabled:!0},domProps:{value:num1},on:{input:function(s){num1=s}}})])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input-number",{directives:[{name:"model",value:num2,expression:"num2"}],attrs:{step:2},domProps:{value:num2},on:{input:function(s){num2=s}}})])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_m(11)," ",_m(12)])},staticRenderFns:[function(){with(this)return _h("h2",["Input Number 数字输入框"])},function(){with(this)return _h("p",["仅允许输入标准的数字值,可定义范围"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["要使用它,只需要在",_h("code",["el-input-number"]),"元素中使用",_h("code",["v-model"]),"绑定变量即可,变量的初始值即为默认值。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input-number"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"num1"'])," ",_h("span",{staticClass:"hljs-attr"},["@change"]),"=",_h("span",{staticClass:"hljs-string"},['"handleChange"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input-number"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n num1: ",_h("span",{staticClass:"hljs-number"},["1"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["禁用状态"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",[_h("code",["disabled"]),"属性接受一个",_h("code",["Boolean"]),",设置为",_h("code",["true"]),"即可禁用整个组件,如果你只需要控制数值在某一范围内,可以设置",_h("code",["min"]),"属性和",_h("code",["max"]),"属性,不设置",_h("code",["min"]),"和",_h("code",["max"]),"时,最小值为 0。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input-number"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"num1"'])," ",_h("span",{
staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input-number"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["步数"])},function(){with(this)return _h("p",["允许定义递增递减的步数控制"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["step"]),"属性可以控制步长,接受一个",_h("code",["Number"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input-number"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"num2"'])," ",_h("span",{staticClass:"hljs-attr"},[":step"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input-number"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["value"])," ",_h("td",["绑定值"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["min"])," ",_h("td",["设置计数器允许的最小值"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["max"])," ",_h("td",["设置计数器允许的最大值"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["Infinity"])])," ",_h("tr",[_h("td",["step"])," ",_h("td",["计数器步长"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["1"])])," ",_h("tr",[_h("td",["size"])," ",_h("td",["计数器尺寸"])," ",_h("td",["string"])," ",_h("td",["large, small"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否禁用计数器"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["绑定值被改变时触发"])," ",_h("td",["最后变更的值"])])])])}]}},function(s,t,a){s.exports=a(124)},function(s,t,a){var e,n;a(125),e=a(127);var l=a(128);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t,a){"use strict";t.__esModule=!0;var e=a(2);e.component("my-item",{functional:!0,render:function(s,t){var a=t.props.item;return s("li",t.data,[s("div",{attrs:{"class":"name"}},[a.value]),s("span",{attrs:{"class":"addr"}},[a.address])])},props:{item:{type:Object,required:!0}}}),t["default"]={data:function(){return{input:"",input1:"",input2:"",input3:"",input4:"",input5:"",input6:"",input7:"",input8:"",input9:"",textarea:"",select:"",state1:"",state2:"",state3:"",state4:""}},methods:{loadAll:function(){return[{value:"三全鲜食(北新泾店)",address:"长宁区新渔路144号"},{value:"Hot honey 首尔炸鸡(仙霞路)",address:"上海市长宁区淞虹路661号"},{value:"新旺角茶餐厅",address:"上海市普陀区真北路988号创邑金沙谷6号楼113"},{value:"泷千家(天山西路店)",address:"天山西路438号"},{value:"胖仙女纸杯蛋糕(上海凌空店)",address:"上海市长宁区金钟路968号1幢18号楼一层商铺18-101"},{value:"贡茶",address:"上海市长宁区金钟路633号"},{value:"豪大大香鸡排超级奶爸",address:"上海市嘉定区曹安公路曹安路1685号"},{value:"茶芝兰(奶茶,手抓饼)",address:"上海市普陀区同普路1435号"},{value:"十二泷町",address:"上海市北翟路1444弄81号B幢-107"},{value:"星移浓缩咖啡",address:"上海市嘉定区新郁路817号"},{value:"阿姨奶茶/豪大大",address:"嘉定区曹安路1611号"},{value:"新麦甜四季甜品炸鸡",address:"嘉定区曹安公路2383弄55号"},{value:"Monica摩托主题咖啡店",address:"嘉定区江桥镇曹安公路2409号1F2383弄62号1F"},{value:"浮生若茶凌空soho店",address:"上海长宁区金钟路968号9号楼地下一层"},{value:"NONO JUICE 鲜榨果汁",address:"上海市长宁区天山西路119号"},{value:"CoCo都可(北新泾店)",address:"上海市长宁区仙霞西路"},{value:"快乐柠檬(神州智慧店)",address:"上海市长宁区天山西路567号1层R117号店铺"},{value:"Merci Paul cafe",address:"上海市普陀区光复西路丹巴路28弄6号楼819"},{value:"猫山王(西郊百联店)",address:"上海市长宁区仙霞西路88号第一层G05-F01-1-306"},{value:"枪会山",address:"上海市普陀区棕榈路"},{value:"纵食",address:"元丰天山花园(东门) 双流路267号"},{value:"钱记",address:"上海市长宁区天山西路"},{value:"壹杯加",address:"上海市长宁区通协路"},{value:"唦哇嘀咖",address:"上海市长宁区新泾镇金钟路999号2幢B幢第01层第1-02A单元"},{value:"爱茜茜里(西郊百联)",address:"长宁区仙霞西路88号1305室"},{value:"爱茜茜里(近铁广场)",address:"上海市普陀区真北路818号近铁城市广场北区地下二楼N-B2-O2-C商铺"},{value:"鲜果榨汁(金沙江路和美广店)",address:"普陀区金沙江路2239号金沙和美广场B1-10-6"},{value:"开心丽果(缤谷店)",address:"上海市长宁区威宁路天山路341号"},{value:"超级鸡车(丰庄路店)",address:"上海市嘉定区丰庄路240号"},{value:"妙生活果园(北新泾店)",address:"长宁区新渔路144号"},{value:"香宜度麻辣香锅",address:"长宁区淞虹路148号"},{value:"凡仔汉堡(老真北路店)",address:"上海市普陀区老真北路160号"},{value:"港式小铺",address:"上海市长宁区金钟路968号15楼15-105室"},{value:"蜀香源麻辣香锅(剑河路店)",address:"剑河路443-1"},{value:"北京饺子馆",address:"长宁区北新泾街道天山西路490-1号"},{value:"饭典*新简餐凌空SOHO店",address:"上海市长宁区金钟路968号9号楼地下一层9-83室"},{value:"焦耳·川式快餐(金钟路店)",address:"上海市金钟路633号地下一层甲部"},{value:"动力鸡车",address:"长宁区仙霞西路299弄3号101B"},{value:"浏阳蒸菜",address:"天山西路430号"},{value:"四海游龙(天山西路店)",address:"上海市长宁区天山西路"},{value:"樱花食堂(凌空店)",address:"上海市长宁区金钟路968号15楼15-105室"},{value:"壹分米客家传统调制米粉(天山店)",address:"天山西路428号"},{value:"福荣祥烧腊(平溪路店)",address:"上海市长宁区协和路福泉路255弄57-73号"},{value:"速记黄焖鸡米饭",address:"上海市长宁区北新泾街道金钟路180号1层01号摊位"},{value:"红辣椒麻辣烫",address:"上海市长宁区天山西路492号"},{value:"(小杨生煎)西郊百联餐厅",address:"长宁区仙霞西路88号百联2楼"},{value:"阳阳麻辣烫",address:"天山西路389号"},{value:"南拳妈妈龙虾盖浇饭",address:"普陀区金沙江路1699号鑫乐惠美食广场A13"}]},querySearch:function(s,t){var a=this.restaurants,e=s?a.filter(this.createStateFilter(s)):a;t(e)},querySearchAsync:function(s,t){var a=this.restaurants,e=s?a.filter(this.createStateFilter(s)):a;clearTimeout(this.timeout),this.timeout=setTimeout(function(){t(e)},3e3*Math.random())},createStateFilter:function(s){return function(t){return 0===t.value.indexOf(s.toLowerCase())}},handleSelect:function(s){console.log(s)}},mounted:function(){this.restaurants=this.loadAll()}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input",{directives:[{name:"model",value:input,expression:"input"}],attrs:{placeholder:"请输入内容"},domProps:{value:input},on:{input:function(s){input=s}}})])," ",_m(3)])," ",_m(4)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input",{directives:[{name:"model",value:input1,expression:"input1"}],attrs:{placeholder:"请输入内容",disabled:!0},domProps:{value:input1},on:{input:function(s){input1=s}}})])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input",{directives:[{name:"model",value:input2,expression:"input2"}],attrs:{placeholder:"请选择日期",icon:"time"},domProps:{value:input2},on:{input:function(s){input2=s}}})])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input",{directives:[{name:"model",value:textarea,expression:"textarea"}],attrs:{type:"textarea"},domProps:{value:textarea},on:{input:function(s){textarea=s}}})])," ",_m(11)])," ",_m(12)," ",_m(13)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-input",{directives:[{name:"model",value:input3,expression:"input3"}],attrs:{placeholder:"请输入内容"},domProps:{value:input3},on:{input:function(s){input3=s}}},[_h("template",{slot:"prepend"},["Http://"])])," ",_h("el-input",{directives:[{name:"model",value:input4,expression:"input4"}],attrs:{placeholder:"请输入内容"},domProps:{value:input4},on:{input:function(s){input4=s}}},[_h("template",{slot:"append"},[".com"])])," ",_h("el-input",{directives:[{name:"model",value:input5,expression:"input5"}],attrs:{placeholder:"请输入内容",style:"width: 300px;"},domProps:{value:input5},on:{input:function(s){input5=s}}},[_h("el-select",{directives:[{name:"model",value:select,expression:"select"}],slot:"prepend",domProps:{value:select},on:{input:function(s){select=s}}},[_h("el-option",{attrs:{label:"餐厅名",value:"1"}})," ",_h("el-option",{attrs:{label:"订单号",value:"2"}})," ",_h("el-option",{attrs:{label:"用户电话",value:"3"}})])," ",_h("el-button",{slot:"append",attrs:{icon:"search"}})])])," ",_m(14)])," ",_m(15)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"inline-input"},[_h("el-input",{directives:[{name:"model",value:input6,expression:"input6"}],attrs:{size:"large",placeholder:"请输入内容"},domProps:{value:input6},on:{input:function(s){input6=s}}})," ",_h("el-input",{directives:[{name:"model",value:input7,expression:"input7"}],attrs:{placeholder:"请输入内容"},domProps:{value:input7},on:{input:function(s){input7=s}}})," ",_h("el-input",{directives:[{name:"model",value:input8,expression:"input8"}],attrs:{size:"small",placeholder:"请输入内容"},domProps:{value:input8},on:{input:function(s){input8=s}}})," ",_h("el-input",{directives:[{name:"model",value:input9,expression:"input9"}],attrs:{size:"mini",placeholder:"请输入内容"},domProps:{value:input9},on:{input:function(s){input9=s}}})])])," ",_m(16)])," ",_m(17)," ",_m(18)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",{staticClass:"inline-input border-grid"},[_h("el-col",{staticClass:"tac",attrs:{span:12}},[_m(19)," ",_h("el-autocomplete",{directives:[{name:"model",value:state1,expression:"state1"}],attrs:{"fetch-suggestions":querySearch,placeholder:"请输入内容"},domProps:{value:state1},on:{select:handleSelect,input:function(s){state1=s}}})])," ",_h("el-col",{staticClass:"tac",attrs:{span:12}},[_m(20)," ",_h("el-autocomplete",{directives:[{name:"model",value:state2,expression:"state2"}],attrs:{"fetch-suggestions":querySearch,placeholder:"请输入内容","trigger-on-focus":!1},domProps:{value:state2},on:{select:handleSelect,input:function(s){state2=s}}})])])])," ",_m(21)])," ",_m(22)," ",_m(23)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-autocomplete",{directives:[{name:"model",value:state3,expression:"state3"}],staticClass:"my-autocomplete",attrs:{"fetch-suggestions":querySearch,"custom-item":"my-item",placeholder:"请输入内容"},domProps:{value:state3},on:{select:handleSelect,input:function(s){state3=s}}})])," ",_m(24)])," ",_m(25)," ",_m(26)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-autocomplete",{directives:[{name:"model",value:state4,expression:"state4"}],attrs:{"fetch-suggestions":querySearchAsync,placeholder:"请输入内容"},domProps:{value:state4},on:{select:handleSelect,input:function(s){state4=s}}})])," ",_m(27)])," ",_m(28)," ",_m(29)," ",_m(30)," ",_m(31)," ",_m(32)," ",_m(33)])},staticRenderFns:[function(){with(this)return _h("h2",["Input 输入框"])},function(){with(this)return _h("p",["通过鼠标或键盘输入字符"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["禁用状态"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过 ",_h("code",["disabled"])," 属性指定是否禁用 input 组件"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input1"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带 icon 的输入框"])},function(){with(this)return _h("p",["带有图标标记输入类型"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["可以通过 ",_h("code",["icon"])," 属性在 input 组件尾部增加显示图标。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请选择日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"time"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input2"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["文本域"])},function(){with(this)return _h("p",["可调整大小,用于输入多行文本信息"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过将 ",_h("code",["type"])," 属性的值指定为 textarea。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"textarea"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"textarea"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["复合型输入框"])},function(){with(this)return _h("p",["可前置或后置元素,一般为标签或按钮"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["可通过 slot 来指定在 input 中前置或者后置内容。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input3"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"prepend"']),">"]),"Http://",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input4"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"append"']),">"]),".com",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"])," ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input5"'])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 300px;"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"select"'])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"prepend"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"餐厅名"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"订单号"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"用户电话"'])," ",_h("span",{staticClass:"hljs-attr"},["value"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"append"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"search"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["尺寸"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["可通过 ",_h("code",["size"])," 属性指定输入框的尺寸,除了默认的大小外,还提供了 large、small 和 mini 三种尺寸。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"inline-input"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"large"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input6"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input7"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input8"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-input"]),"\n ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"mini"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"input9"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-input"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带输入建议"])},function(){with(this)return _h("p",["根据输入内容提供对应的输入建议"])},function(){with(this)return _h("div",{staticClass:"text"},["激活即列出输入建议"])},function(){with(this)return _h("div",{staticClass:"text"},["输入后匹配输入建议"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["autocomplete 是一个可带输入建议的输入框组件,",_h("code",["fetch-suggestions"])," 是一个返回输入建议的方法属性,如 querySearch(queryString, cb),在该方法中你可以在你的输入建议数据准备好时通过 cb(data) 返回到 autocomplete 组件中。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"inline-input border-grid"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"12"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"tac"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"text"']),">"]),"激活即列出输入建议",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"state1"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":fetch-suggestions"]),"=",_h("span",{staticClass:"hljs-string"},['"querySearch"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@select"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSelect"']),"\n >"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"12"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"tac"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"text"']),">"]),"输入后匹配输入建议",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"state2"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":fetch-suggestions"]),"=",_h("span",{staticClass:"hljs-string"},['"querySearch"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":trigger-on-focus"]),"=",_h("span",{staticClass:"hljs-string"},['"false"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@select"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSelect"']),"\n >"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n restaurants: [],\n state1: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n state2: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n };\n },\n methods: {\n querySearch(queryString, cb) {\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," restaurants = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".restaurants;\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," results = queryString ? restaurants.filter(",_h("span",{staticClass:"hljs-keyword"},["this"]),".createFilter(queryString)) : restaurants;\n ",_h("span",{staticClass:"hljs-comment"},["// 调用 callback 返回建议列表的数据"]),"\n cb(results);\n },\n createFilter(queryString) {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," (restaurant) => {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," (restaurant.value.indexOf(queryString.toLowerCase()) === ",_h("span",{staticClass:"hljs-number"},["0"]),");\n };\n },\n loadAll() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," [\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"三全鲜食(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区新渔路144号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Hot honey 首尔炸鸡(仙霞路)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区淞虹路661号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"新旺角茶餐厅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区真北路988号创邑金沙谷6号楼113"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"泷千家(天山西路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路438号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"胖仙女纸杯蛋糕(上海凌空店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号1幢18号楼一层商铺18-101"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"贡茶"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路633号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"豪大大香鸡排超级奶爸"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区曹安公路曹安路1685号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"茶芝兰(奶茶,手抓饼)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区同普路1435号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"十二泷町"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市北翟路1444弄81号B幢-107"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"星移浓缩咖啡"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区新郁路817号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"阿姨奶茶/豪大大"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区曹安路1611号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"新麦甜四季甜品炸鸡"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区曹安公路2383弄55号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Monica摩托主题咖啡店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区江桥镇曹安公路2409号1F2383弄62号1F"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"浮生若茶凌空soho店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海长宁区金钟路968号9号楼地下一层"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"NONO JUICE 鲜榨果汁"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路119号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"CoCo都可(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区仙霞西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"快乐柠檬(神州智慧店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路567号1层R117号店铺"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Merci Paul cafe"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区光复西路丹巴路28弄6号楼819"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"猫山王(西郊百联店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区仙霞西路88号第一层G05-F01-1-306"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"枪会山"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区棕榈路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"纵食"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"元丰天山花园(东门) 双流路267号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"钱记"']),", ",_h("span",{
staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"壹杯加"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区通协路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"唦哇嘀咖"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区新泾镇金钟路999号2幢B幢第01层第1-02A单元"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"爱茜茜里(西郊百联)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路88号1305室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"爱茜茜里(近铁广场)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区真北路818号近铁城市广场北区地下二楼N-B2-O2-C商铺"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"鲜果榨汁(金沙江路和美广店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"普陀区金沙江路2239号金沙和美广场B1-10-6"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"开心丽果(缤谷店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区威宁路天山路341号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"超级鸡车(丰庄路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区丰庄路240号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"妙生活果园(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区新渔路144号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"香宜度麻辣香锅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区淞虹路148号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"凡仔汉堡(老真北路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区老真北路160号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"港式小铺"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号15楼15-105室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"蜀香源麻辣香锅(剑河路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"剑河路443-1"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"北京饺子馆"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区北新泾街道天山西路490-1号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"饭典*新简餐凌空SOHO店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号9号楼地下一层9-83室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"焦耳·川式快餐(金钟路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市金钟路633号地下一层甲部"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"动力鸡车"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路299弄3号101B"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"浏阳蒸菜"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路430号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"四海游龙(天山西路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"樱花食堂(凌空店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号15楼15-105室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"壹分米客家传统调制米粉(天山店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路428号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"福荣祥烧腊(平溪路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区协和路福泉路255弄57-73号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"速记黄焖鸡米饭"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区北新泾街道金钟路180号1层01号摊位"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"红辣椒麻辣烫"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路492号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"(小杨生煎)西郊百联餐厅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路88号百联2楼"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"阳阳麻辣烫"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路389号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"南拳妈妈龙虾盖浇饭"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"普陀区金沙江路1699号鑫乐惠美食广场A13"'])," }\n ];\n },\n handleSelect(item) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(item);\n }\n },\n mounted() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".restaurants = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".loadAll();\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义模板"])},function(){with(this)return _h("p",["可自定义输入建议的显示"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),"\n ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"my-autocomplete"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"state3"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":fetch-suggestions"]),"=",_h("span",{staticClass:"hljs-string"},['"querySearch"']),"\n ",_h("span",{staticClass:"hljs-attr"},["custom-item"]),"=",_h("span",{staticClass:"hljs-string"},['"my-item"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@select"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSelect"']),"\n>"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"actionscript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," Vue = require(",_h("span",{staticClass:"hljs-string"},["'vue'"]),");\n Vue.component(",_h("span",{staticClass:"hljs-string"},["'my-item'"]),", {\n functional: ",_h("span",{staticClass:"hljs-literal"},["true"]),",\n render: ",_h("span",{staticClass:"hljs-function"},[_h("span",{staticClass:"hljs-keyword"},["function"])," ",_h("span",{staticClass:"hljs-params"},["(h, ctx)"])]),"{\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," item = ctx.props.item;\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," h(",_h("span",{staticClass:"hljs-string"},["'li'"]),", ctx.data, [\n h(",_h("span",{staticClass:"hljs-string"},["'div'"]),", { attrs: { ",_h("span",{staticClass:"hljs-class"},[_h("span",{staticClass:"hljs-keyword"},["class"]),": '",_h("span",{staticClass:"hljs-title"},["name"]),"' } }, [",_h("span",{staticClass:"hljs-title"},["item"]),".",_h("span",{staticClass:"hljs-title"},["value"]),"]),\n ",_h("span",{staticClass:"hljs-title"},["h"]),"('",_h("span",{staticClass:"hljs-title"},["span"]),"', "]),"{ attrs: { ",_h("span",{staticClass:"hljs-class"},[_h("span",{staticClass:"hljs-keyword"},["class"]),": '",_h("span",{staticClass:"hljs-title"},["addr"]),"' } }, [",_h("span",{staticClass:"hljs-title"},["item"]),".",_h("span",{staticClass:"hljs-title"},["address"]),"])\n ]);\n },\n ",_h("span",{staticClass:"hljs-title"},["props"]),": "]),"{\n item: { type: Object, required: ",_h("span",{staticClass:"hljs-literal"},["true"])," }\n }\n });\n export ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n restaurants: [],\n state3: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n };\n },\n methods: {\n querySearch(queryString, cb) {\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," restaurants = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".restaurants;\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," results = queryString ? restaurants.filter(",_h("span",{staticClass:"hljs-keyword"},["this"]),".createFilter(queryString)) : restaurants;\n ",_h("span",{staticClass:"hljs-comment"},["// 调用 callback 返回建议列表的数据"]),"\n cb(results);\n },\n createFilter(queryString) {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," (restaurant) => {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," (restaurant.value.indexOf(queryString.toLowerCase()) === ",_h("span",{staticClass:"hljs-number"},["0"]),");\n };\n },\n loadAll() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," [\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"三全鲜食(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区新渔路144号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Hot honey 首尔炸鸡(仙霞路)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区淞虹路661号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"新旺角茶餐厅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区真北路988号创邑金沙谷6号楼113"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"泷千家(天山西路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路438号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"胖仙女纸杯蛋糕(上海凌空店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号1幢18号楼一层商铺18-101"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"贡茶"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路633号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"豪大大香鸡排超级奶爸"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区曹安公路曹安路1685号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"茶芝兰(奶茶,手抓饼)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区同普路1435号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"十二泷町"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市北翟路1444弄81号B幢-107"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"星移浓缩咖啡"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区新郁路817号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"阿姨奶茶/豪大大"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区曹安路1611号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"新麦甜四季甜品炸鸡"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区曹安公路2383弄55号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Monica摩托主题咖啡店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区江桥镇曹安公路2409号1F2383弄62号1F"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"浮生若茶凌空soho店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海长宁区金钟路968号9号楼地下一层"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"NONO JUICE 鲜榨果汁"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路119号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"CoCo都可(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区仙霞西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"快乐柠檬(神州智慧店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路567号1层R117号店铺"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Merci Paul cafe"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区光复西路丹巴路28弄6号楼819"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"猫山王(西郊百联店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区仙霞西路88号第一层G05-F01-1-306"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"枪会山"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区棕榈路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"纵食"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"元丰天山花园(东门) 双流路267号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"钱记"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"壹杯加"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区通协路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"唦哇嘀咖"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区新泾镇金钟路999号2幢B幢第01层第1-02A单元"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"爱茜茜里(西郊百联)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路88号1305室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"爱茜茜里(近铁广场)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区真北路818号近铁城市广场北区地下二楼N-B2-O2-C商铺"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"鲜果榨汁(金沙江路和美广店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"普陀区金沙江路2239号金沙和美广场B1-10-6"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"开心丽果(缤谷店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区威宁路天山路341号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"超级鸡车(丰庄路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区丰庄路240号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"妙生活果园(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区新渔路144号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"香宜度麻辣香锅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区淞虹路148号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"凡仔汉堡(老真北路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区老真北路160号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"港式小铺"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号15楼15-105室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"蜀香源麻辣香锅(剑河路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"剑河路443-1"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"北京饺子馆"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区北新泾街道天山西路490-1号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"饭典*新简餐凌空SOHO店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号9号楼地下一层9-83室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"焦耳·川式快餐(金钟路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市金钟路633号地下一层甲部"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"动力鸡车"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路299弄3号101B"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"浏阳蒸菜"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路430号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"四海游龙(天山西路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"樱花食堂(凌空店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号15楼15-105室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"壹分米客家传统调制米粉(天山店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路428号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"福荣祥烧腊(平溪路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区协和路福泉路255弄57-73号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"速记黄焖鸡米饭"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区北新泾街道金钟路180号1层01号摊位"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"红辣椒麻辣烫"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路492号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"(小杨生煎)西郊百联餐厅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路88号百联2楼"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"阳阳麻辣烫"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路389号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"南拳妈妈龙虾盖浇饭"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"普陀区金沙江路1699号鑫乐惠美食广场A13"'])," }\n ];\n },\n handleSelect(item) {\n console.log(item);\n }\n },\n mounted() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".restaurants = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".loadAll();\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["远程搜索"])},function(){with(this)return _h("p",["从服务端搜索数据"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"state4"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":fetch-suggestions"]),"=",_h("span",{staticClass:"hljs-string"},['"querySearchAsync"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入内容"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@select"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSelect"']),"\n>"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-autocomplete"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n restaurants: [],\n state4: ",_h("span",{staticClass:"hljs-string"},["''"]),",\n timeout: ",_h("span",{staticClass:"hljs-literal"},["null"]),"\n };\n },\n methods: {\n loadAll() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," [\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"三全鲜食(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区新渔路144号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Hot honey 首尔炸鸡(仙霞路)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区淞虹路661号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"新旺角茶餐厅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区真北路988号创邑金沙谷6号楼113"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"泷千家(天山西路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路438号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"胖仙女纸杯蛋糕(上海凌空店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号1幢18号楼一层商铺18-101"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"贡茶"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路633号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"豪大大香鸡排超级奶爸"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区曹安公路曹安路1685号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"茶芝兰(奶茶,手抓饼)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区同普路1435号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"十二泷町"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市北翟路1444弄81号B幢-107"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"星移浓缩咖啡"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区新郁路817号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"阿姨奶茶/豪大大"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区曹安路1611号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"新麦甜四季甜品炸鸡"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区曹安公路2383弄55号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Monica摩托主题咖啡店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"嘉定区江桥镇曹安公路2409号1F2383弄62号1F"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"浮生若茶凌空soho店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海长宁区金钟路968号9号楼地下一层"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"NONO JUICE 鲜榨果汁"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路119号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"CoCo都可(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区仙霞西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"快乐柠檬(神州智慧店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路567号1层R117号店铺"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"Merci Paul cafe"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区光复西路丹巴路28弄6号楼819"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"猫山王(西郊百联店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区仙霞西路88号第一层G05-F01-1-306"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"枪会山"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区棕榈路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"纵食"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"元丰天山花园(东门) 双流路267号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"钱记"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"壹杯加"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区通协路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"唦哇嘀咖"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区新泾镇金钟路999号2幢B幢第01层第1-02A单元"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"爱茜茜里(西郊百联)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路88号1305室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{
staticClass:"hljs-string"},['"爱茜茜里(近铁广场)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区真北路818号近铁城市广场北区地下二楼N-B2-O2-C商铺"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"鲜果榨汁(金沙江路和美广店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"普陀区金沙江路2239号金沙和美广场B1-10-6"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"开心丽果(缤谷店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区威宁路天山路341号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"超级鸡车(丰庄路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市嘉定区丰庄路240号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"妙生活果园(北新泾店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区新渔路144号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"香宜度麻辣香锅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区淞虹路148号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"凡仔汉堡(老真北路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市普陀区老真北路160号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"港式小铺"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号15楼15-105室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"蜀香源麻辣香锅(剑河路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"剑河路443-1"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"北京饺子馆"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区北新泾街道天山西路490-1号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"饭典*新简餐凌空SOHO店"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号9号楼地下一层9-83室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"焦耳·川式快餐(金钟路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市金钟路633号地下一层甲部"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"动力鸡车"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路299弄3号101B"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"浏阳蒸菜"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路430号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"四海游龙(天山西路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"樱花食堂(凌空店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区金钟路968号15楼15-105室"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"壹分米客家传统调制米粉(天山店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路428号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"福荣祥烧腊(平溪路店)"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区协和路福泉路255弄57-73号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"速记黄焖鸡米饭"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区北新泾街道金钟路180号1层01号摊位"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"红辣椒麻辣烫"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"上海市长宁区天山西路492号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"(小杨生煎)西郊百联餐厅"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"长宁区仙霞西路88号百联2楼"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"阳阳麻辣烫"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"天山西路389号"'])," },\n { ",_h("span",{staticClass:"hljs-string"},['"value"']),": ",_h("span",{staticClass:"hljs-string"},['"南拳妈妈龙虾盖浇饭"']),", ",_h("span",{staticClass:"hljs-string"},['"address"']),": ",_h("span",{staticClass:"hljs-string"},['"普陀区金沙江路1699号鑫乐惠美食广场A13"'])," }\n ];\n },\n querySearchAsync(queryString, cb) {\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," restaurants = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".restaurants;\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," results = queryString ? restaurants.filter(",_h("span",{staticClass:"hljs-keyword"},["this"]),".createStateFilter(queryString)) : restaurants;\n\n clearTimeout(",_h("span",{staticClass:"hljs-keyword"},["this"]),".timeout);\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".timeout = setTimeout(() => {\n cb(results);\n }, ",_h("span",{staticClass:"hljs-number"},["3000"])," * ",_h("span",{staticClass:"hljs-built_in"},["Math"]),".random());\n },\n createStateFilter(queryString) {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," (state) => {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," (state.value.indexOf(queryString.toLowerCase()) === ",_h("span",{staticClass:"hljs-number"},["0"]),");\n };\n },\n handleSelect(item) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(item);\n }\n },\n mounted() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".restaurants = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".loadAll();\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Input API"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["type"])," ",_h("td",["同原生的 input 的 type 属性,如果为 textarea 则显示为 textarea"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["value"])," ",_h("td",["绑定值"])," ",_h("td",["string, number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["maxlength"])," ",_h("td",["最大输入长度"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["minlength"])," ",_h("td",["最小输入长度"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["placeholder"])," ",_h("td",["输入框占位文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["size"])," ",_h("td",["输入框尺寸"])," ",_h("td",["string"])," ",_h("td",["large, small, mini"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["icon"])," ",_h("td",["输入框尾部图标"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["number"])," ",_h("td",["指定model值为number类型"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Autocomplete API"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["placeholder"])," ",_h("td",["输入框占位文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["value"])," ",_h("td",["必填值输入绑定值"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["custom-item"])," ",_h("td",["通过该参数指定自定义的输入建议列表项的组件名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["fetch-suggestions"])," ",_h("td",["返回输入建议的方法,仅当你的输入建议数据 resolve 时,通过调用 callback(data:[]) 来返回它"])," ",_h("td",["Function(queryString, callback)"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Autocomplete Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["select"])," ",_h("td",["点击选中建议项时触发"])," ",_h("td",["选中建议项"])])])])}]}},function(s,t,a){s.exports=a(130)},function(s,t,a){var e,n;a(131);var l=a(133);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",[_h("el-col",{attrs:{span:24}},[_m(4)])])," ",_h("el-row",[_h("el-col",{attrs:{span:12}},[_m(5)])," ",_h("el-col",{attrs:{span:12}},[_m(6)])])," ",_h("el-row",[_h("el-col",{attrs:{span:8}},[_m(7)])," ",_h("el-col",{attrs:{span:8}},[_m(8)])," ",_h("el-col",{attrs:{span:8}},[_m(9)])])," ",_h("el-row",[_h("el-col",{attrs:{span:6}},[_m(10)])," ",_h("el-col",{attrs:{span:6}},[_m(11)])," ",_h("el-col",{attrs:{span:6}},[_m(12)])," ",_h("el-col",{attrs:{span:6}},[_m(13)])])," ",_h("el-row",[_h("el-col",{attrs:{span:4}},[_m(14)])," ",_h("el-col",{attrs:{span:4}},[_m(15)])," ",_h("el-col",{attrs:{span:4}},[_m(16)])," ",_h("el-col",{attrs:{span:4}},[_m(17)])," ",_h("el-col",{attrs:{span:4}},[_m(18)])," ",_h("el-col",{attrs:{span:4}},[_m(19)])])])," ",_m(20)])," ",_m(21)," ",_m(22)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:6}},[_m(23)])," ",_h("el-col",{attrs:{span:6}},[_m(24)])," ",_h("el-col",{attrs:{span:6}},[_m(25)])," ",_h("el-col",{attrs:{span:6}},[_m(26)])])])," ",_m(27)])," ",_m(28)," ",_m(29)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:16}},[_m(30)])," ",_h("el-col",{attrs:{span:8}},[_m(31)])])," ",_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:8}},[_m(32)])," ",_h("el-col",{attrs:{span:8}},[_m(33)])," ",_h("el-col",{attrs:{span:4}},[_m(34)])," ",_h("el-col",{attrs:{span:4}},[_m(35)])])," ",_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:4}},[_m(36)])," ",_h("el-col",{attrs:{span:16}},[_m(37)])," ",_h("el-col",{attrs:{span:4}},[_m(38)])])])," ",_m(39)])," ",_m(40)," ",_m(41)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:6}},[_m(42)])," ",_h("el-col",{attrs:{span:6,offset:6}},[_m(43)])])," ",_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:6,offset:6}},[_m(44)])," ",_h("el-col",{attrs:{span:6,offset:6}},[_m(45)])])," ",_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:12,offset:6}},[_m(46)])])])," ",_m(47)])," ",_m(48)," ",_m(49)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",{staticClass:"row-bg",attrs:{type:"flex"}},[_h("el-col",{attrs:{span:6}},[_m(50)])," ",_h("el-col",{attrs:{span:6}},[_m(51)])," ",_h("el-col",{attrs:{span:6}},[_m(52)])])," ",_h("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"center"}},[_h("el-col",{attrs:{span:6}},[_m(53)])," ",_h("el-col",{attrs:{span:6}},[_m(54)])," ",_h("el-col",{attrs:{span:6}},[_m(55)])])," ",_h("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"end"}},[_h("el-col",{attrs:{span:6}},[_m(56)])," ",_h("el-col",{attrs:{span:6}},[_m(57)])," ",_h("el-col",{attrs:{span:6}},[_m(58)])])," ",_h("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"space-between"}},[_h("el-col",{attrs:{span:6}},[_m(59)])," ",_h("el-col",{attrs:{span:6}},[_m(60)])," ",_h("el-col",{attrs:{span:6}},[_m(61)])])," ",_h("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"space-around"}},[_h("el-col",{attrs:{span:6}},[_m(62)])," ",_h("el-col",{attrs:{span:6}},[_m(63)])," ",_h("el-col",{attrs:{span:6}},[_m(64)])])])," ",_m(65)])," ",_m(66)," ",_m(67)," ",_m(68)," ",_m(69)])},staticRenderFns:[function(){with(this)return _h("h2",["Layout 布局"])},function(){with(this)return _h("p",["通过基础的 24 分栏,迅速简便地创建布局。"])},function(){with(this)return _h("h3",["基础布局"])},function(){with(this)return _h("p",["使用单一分栏创建基础的栅格布局。"])},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-dark"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过 row 和 col 组件,并通过 col 组件的 ",_h("code",["span"])," 属性我们就可以自由地组合布局。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"24"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-dark"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"12"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"12"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["分栏间隔"])},function(){with(this)return _h("p",["分栏之间存在间隔。"])},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Row 组件 提供 ",_h("code",["gutter"])," 属性来指定每一栏之间的间隔,默认间隔为 0。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["混合布局"])},function(){with(this)return _h("p",["通过基础的 1/24 分栏任意扩展组合形成较为复杂的混合布局。"])},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"16"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{
staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"16"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["分栏偏移"])},function(){with(this)return _h("p",["支持偏移指定的栏数。"])},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过制定 col 组件的 ",_h("code",["offset"])," 属性可以指定分栏偏移的栏数。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"'])," ",_h("span",{staticClass:"hljs-attr"},[":offset"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"'])," ",_h("span",{staticClass:"hljs-attr"},[":offset"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"'])," ",_h("span",{staticClass:"hljs-attr"},[":offset"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},[":gutter"]),"=",_h("span",{staticClass:"hljs-string"},['"20"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"12"'])," ",_h("span",{staticClass:"hljs-attr"},[":offset"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["对齐方式"])},function(){with(this)return _h("p",["对分栏进行灵活的对齐。"])},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple-light"})},function(){with(this)return _h("div",{staticClass:"grid-content bg-purple"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["将 ",_h("code",["type"])," 属性赋值为 'flex',可以启用 flex 布局,并可通过 ",_h("code",["justify"])," 属性来指定 start, center, end, space-between, space-around 其中的值来定义子元素的排版方式。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"flex"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"row-bg"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"flex"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"row-bg"'])," ",_h("span",{staticClass:"hljs-attr"},["justify"]),"=",_h("span",{staticClass:"hljs-string"},['"center"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"flex"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"row-bg"'])," ",_h("span",{staticClass:"hljs-attr"},["justify"]),"=",_h("span",{staticClass:"hljs-string"},['"end"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"flex"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"row-bg"'])," ",_h("span",{staticClass:"hljs-attr"},["justify"]),"=",_h("span",{staticClass:"hljs-string"},['"space-between"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"flex"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"row-bg"'])," ",_h("span",{staticClass:"hljs-attr"},["justify"]),"=",_h("span",{staticClass:"hljs-string"},['"space-around"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple-light"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"grid-content bg-purple"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Row Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["gutter"])," ",_h("td",["栅格间隔"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["布局模式,可选 flex现代浏览器下有效"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["justify"])," ",_h("td",["flex 布局下的水平排列方式"])," ",_h("td",["string"])," ",_h("td",["start/end/center/space-around/space-between"])," ",_h("td",["start"])])," ",_h("tr",[_h("td",["align"])," ",_h("td",["flex 布局下的垂直排列方式"])," ",_h("td",["string"])," ",_h("td",["top/middle/bottom"])," ",_h("td",["top"])])])])},function(){with(this)return _h("h3",["Col Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",[_h("strong",["span"])])," ",_h("td",["栅格占据的列数,",_h("strong",["必选参数"])])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["offset"])," ",_h("td",["栅格左侧的间隔格数"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["push"])," ",_h("td",["栅格向右移动格数"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["pull"])," ",_h("td",["栅格向左移动格数"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])])])}]}},function(s,t,a){s.exports=a(135)},function(s,t,a){var e,n;a(136),e=a(138);var l=a(139);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{loading:!0,loading2:!1,fullscreenLoading:!1}},methods:{openFullScreen:function(){var s=this;this.fullscreenLoading=!0,setTimeout(function(){s.fullscreenLoading=!1},3e3)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{directives:[{name:"loading",value:loading,expression:"loading"}],staticClass:"el-loading-demo"})]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{directives:[{name:"loading",value:fullscreenLoading,expression:"fullscreenLoading",modifiers:{fullscreen:!0}}],attrs:{type:"primary"},nativeOn:{click:function(s){openFullScreen(s)}}},["\n 显示整页加载3 秒后消失\n "])]])," ",_m(7)])])},staticRenderFns:[function(){with(this)return _h("h2",["Loading 加载"])},function(){with(this)return _h("p",["加载数据时显示动效。"])},function(){with(this)return _h("h3",["区域加载"])},function(){with(this)return _h("p",["在表格等容器中加载数据时显示。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在 Loading 组件中Element 准备了自定义命令",_h("code",["v-loading"]),",只需要绑定",_h("code",["Boolean"]),"即可。默认状况下Loading 遮罩会插入到绑定元素的子节点,通过添加",_h("code",["body"]),"修饰符,可以使遮罩插入至 DOM 中的 body 上。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["v-loading"]),"=",_h("span",{staticClass:"hljs-string"},['"loading"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-loading-demo"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n loading: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["整页加载"])},function(){with(this)return _h("p",["页面数据加载时显示。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["当需要全屏遮罩时,可使用",_h("code",["fullscreen"]),"修饰符(此时遮罩会插入至 body 上)"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"openFullScreen"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-loading.fullscreen"]),"=",_h("span",{staticClass:"hljs-string"},['"fullscreenLoading"']),">"]),"\n 显示整页加载3 秒后消失\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n fullscreenLoading: ",_h("span",{staticClass:"hljs-literal"},["false"]),"\n }\n }\n methods: {\n openFullScreen() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".fullscreenLoading = ",_h("span",{staticClass:"hljs-literal"},["true"]),";\n setTimeout(() => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".fullscreenLoading = ",_h("span",{staticClass:"hljs-literal"},["false"]),";\n }, ",_h("span",{staticClass:"hljs-number"},["3000"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])}]}},function(s,t,a){s.exports=a(141)},function(s,t,a){var e,n;a(142),e=a(144);var l=a(145);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{search:"",search2:""}},methods:{handleopen:function(s,t){console.log(s,t)},handleclose:function(s,t){console.log(s,t)},handleselect:function(s,t){console.log(s,t)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-menu",{staticClass:"el-menu-demo",attrs:{theme:"dark","default-active":"1",mode:"horizontal"},on:{select:handleselect}},[_h("el-menu-item",{attrs:{index:"1"}},["处理中心"])," ",_h("el-submenu",{attrs:{index:"2"}},[_h("template",{slot:"title"},["我的工作台"])," ",_h("el-menu-item",{attrs:{index:"2-1"}},["选项1"])," ",_h("el-menu-item",{attrs:{index:"2-2"}},["选项2"])," ",_h("el-menu-item",{attrs:{index:"2-3"}},["选项3"])])," ",_h("el-menu-item",{attrs:{index:"3"}},["订单管理"])])," ",_m(4)," ",_h("el-menu",{staticClass:"el-menu-demo",attrs:{"default-active":"1",mode:"horizontal"},on:{select:handleselect}},[_h("el-menu-item",{attrs:{index:"1"}},["处理中心"])," ",_h("el-submenu",{attrs:{index:"2"}},[_h("template",{slot:"title"},["我的工作台"])," ",_h("el-menu-item",{attrs:{index:"2-1"}},["选项1"])," ",_h("el-menu-item",{attrs:{index:"2-2"}},["选项2"])," ",_h("el-menu-item",{attrs:{index:"2-3"}},["选项3"])])," ",_h("el-menu-item",{attrs:{index:"3"}},["订单管理"])])])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-row",{staticClass:"tac"},[_h("el-col",{
attrs:{span:8}},[_m(8)," ",_h("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":"2"},on:{open:handleopen,close:handleclose}},[_h("el-submenu",{attrs:{index:"1"}},[_h("template",{slot:"title"},[_m(9),"导航一"])," ",_h("el-menu-item-group",{attrs:{title:"分组一"}},[_h("el-menu-item",{attrs:{index:"1-1"}},["选项1"])," ",_h("el-menu-item",{attrs:{index:"1-2"}},["选项2"])])," ",_h("el-menu-item-group",{attrs:{title:"分组2"}},[_h("el-menu-item",{attrs:{index:"1-3"}},["选项3"])])])," ",_h("el-menu-item",{attrs:{index:"2"}},[_m(10),"导航二"])," ",_h("el-menu-item",{attrs:{index:"3"}},[_m(11),"导航三"])])])," ",_h("el-col",{attrs:{span:8}},[_m(12)," ",_h("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":"2",theme:"dark"},on:{open:handleopen,close:handleclose}},[_h("el-submenu",{attrs:{index:"1"}},[_h("template",{slot:"title"},["导航一"])," ",_h("el-menu-item-group",{attrs:{title:"分组一"}},[_h("el-menu-item",{attrs:{index:"1-1"}},["选项1"])," ",_h("el-menu-item",{attrs:{index:"1-2"}},["选项2"])])," ",_h("el-menu-item-group",{attrs:{title:"分组2"}},[_h("el-menu-item",{attrs:{index:"1-3"}},["选项3"])])])," ",_h("el-menu-item",{attrs:{index:"2"}},["导航二"])," ",_h("el-menu-item",{attrs:{index:"3"}},["导航三"])])])," ",_h("el-col",{attrs:{span:8}},[_m(13)," ",_h("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{mode:"vertical","default-active":"1"}},[_h("el-menu-item-group",{attrs:{title:"分组一"}},[_h("el-menu-item",{attrs:{index:"1"}},[_m(14),"导航一"])," ",_h("el-menu-item",{attrs:{index:"2"}},[_m(15),"导航二"])])," ",_h("el-menu-item-group",{attrs:{title:"分组二"}},[_h("el-menu-item",{attrs:{index:"3"}},[_m(16),"导航三"])," ",_h("el-menu-item",{attrs:{index:"4"}},[_m(17),"导航四"])," "])])])])])," ",_m(18)])," ",_m(19)," ",_m(20)," ",_m(21)," ",_m(22)," ",_m(23)," ",_m(24)," ",_m(25)," ",_m(26)," ",_m(27)," ",_m(28)])},staticRenderFns:[function(){with(this)return _h("h2",["NavMenu 导航菜单"])},function(){with(this)return _h("p",["为网站提供导航功能的菜单。"])},function(){with(this)return _h("h3",["顶栏"])},function(){with(this)return _h("p",["适用广泛的基础用法。"])},function(){with(this)return _h("div",{staticClass:"line"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu"])," ",_h("span",{staticClass:"hljs-attr"},["theme"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["default-active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-menu-demo"'])," ",_h("span",{staticClass:"hljs-attr"},["mode"]),"=",_h("span",{staticClass:"hljs-string"},['"horizontal"'])," ",_h("span",{staticClass:"hljs-attr"},["@select"]),"=",_h("span",{staticClass:"hljs-string"},['"handleselect"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"处理中心",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-submenu"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"title"']),">"]),"我的工作台",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2-1"']),">"]),"选项1",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2-2"']),">"]),"选项2",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2-3"']),">"]),"选项3",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-submenu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),"订单管理",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"line"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu"])," ",_h("span",{staticClass:"hljs-attr"},["default-active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-menu-demo"'])," ",_h("span",{staticClass:"hljs-attr"},["mode"]),"=",_h("span",{staticClass:"hljs-string"},['"horizontal"'])," ",_h("span",{staticClass:"hljs-attr"},["@select"]),"=",_h("span",{staticClass:"hljs-string"},['"handleselect"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"处理中心",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-submenu"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"title"']),">"]),"我的工作台",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2-1"']),">"]),"选项1",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2-2"']),">"]),"选项2",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2-3"']),">"]),"选项3",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-submenu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),"订单管理",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["侧栏"])},function(){with(this)return _h("p",["垂直菜单,可内嵌子菜单。"])},function(){with(this)return _h("h5",["带 icon"])},function(){with(this)return _h("i",{staticClass:"el-icon-message"})},function(){with(this)return _h("i",{staticClass:"el-icon-menu"})},function(){with(this)return _h("i",{staticClass:"el-icon-setting"})},function(){with(this)return _h("h5",["不带 icon"])},function(){with(this)return _h("h5",["分组"])},function(){with(this)return _h("i",{staticClass:"el-icon-message"})},function(){with(this)return _h("i",{staticClass:"el-icon-message"})},function(){with(this)return _h("i",{staticClass:"el-icon-message"})},function(){with(this)return _h("i",{staticClass:"el-icon-message"})},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-row"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"tac"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["h5"]),">"]),"带 icon",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["h5"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu"])," ",_h("span",{staticClass:"hljs-attr"},["default-active"]),"=",_h("span",{staticClass:"hljs-string"},['"2"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-menu-vertical-demo"'])," ",_h("span",{staticClass:"hljs-attr"},["@open"]),"=",_h("span",{staticClass:"hljs-string"},['"handleopen"'])," ",_h("span",{staticClass:"hljs-attr"},["@close"]),"=",_h("span",{staticClass:"hljs-string"},['"handleclose"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-submenu"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"title"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-message"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"分组一"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1-1"']),">"]),"选项1",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1-2"']),">"]),"选项2",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"分组2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1-3"']),">"]),"选项3",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-submenu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-menu"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-setting"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["h5"]),">"]),"不带 icon",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["h5"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu"])," ",_h("span",{staticClass:"hljs-attr"},["default-active"]),"=",_h("span",{staticClass:"hljs-string"},['"2"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-menu-vertical-demo"'])," ",_h("span",{staticClass:"hljs-attr"},["@open"]),"=",_h("span",{staticClass:"hljs-string"},['"handleopen"'])," ",_h("span",{staticClass:"hljs-attr"},["@close"]),"=",_h("span",{staticClass:"hljs-string"},['"handleclose"'])," ",_h("span",{staticClass:"hljs-attr"},["theme"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-submenu"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"title"']),">"]),"导航一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"分组一"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1-1"']),">"]),"选项1",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1-2"']),">"]),"选项2",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"分组2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1-3"']),">"]),"选项3",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-submenu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),"导航二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),"导航三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-col"])," ",_h("span",{staticClass:"hljs-attr"},[":span"]),"=",_h("span",{staticClass:"hljs-string"},['"8"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["h5"]),">"]),"分组",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["h5"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu"])," ",_h("span",{staticClass:"hljs-attr"},["mode"]),"=",_h("span",{staticClass:"hljs-string"},['"vertical"'])," ",_h("span",{staticClass:"hljs-attr"},["default-active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"'])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-menu-vertical-demo"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"分组一"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-message"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-message"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"分组二"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-message"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-menu-item"])," ",_h("span",{staticClass:"hljs-attr"},["index"]),"=",_h("span",{staticClass:"hljs-string"},['"4"']),">"]),_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-message"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"导航四",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item"]),">"]),"\n ",_h("span",{staticClass:"hljs-comment"},['<!-- <el-submenu index="5">\n <template slot="title">导航五</template>\n <el-menu-item-group title="分组一">\n <el-menu-item index="5-1">选项1</el-menu-item>\n <el-menu-item index="5-2">选项2</el-menu-item>\n </el-menu-item-group>\n <el-menu-item-group title="分组二">\n <el-menu-item index="5-3">选项3</el-menu-item>\n </el-menu-item-group>\n </el-submenu> -->']),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu-item-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-menu"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-col"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-row"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Menu Attribute"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["mode"])," ",_h("td",["模式"])," ",_h("td",["string"])," ",_h("td",["horizontal,vertical"])," ",_h("td",["vertical"])])," ",_h("tr",[_h("td",["theme"])," ",_h("td",["主题色"])," ",_h("td",["string"])," ",_h("td",["light,dark"])," ",_h("td",["light"])])," ",_h("tr",[_h("td",["default-active"])," ",_h("td",["当前激活菜单的 index"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["default-openeds"])," ",_h("td",["当前打开的submenu的 key 数组"])," ",_h("td",["Array"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["unique-opend"])," ",_h("td",["是否只保持一个子菜单的展开"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["router"])," ",_h("td",["是否使用 vue-router 的模式,启用该模式会在激活导航时以 index 作为 path 进行路由跳转"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Menu Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["select"])," ",_h("td",["菜单激活回调"])," ",_h("td",["index: 选中菜单项的 indexPath: 选中菜单项的 index path"])])," ",_h("tr",[_h("td",["open"])," ",_h("td",["SubMenu 展开的回调"])," ",_h("td",["index: 打开的 subMenu 的 index indexPath: 打开的 subMenu 的 index path"])])," ",_h("tr",[_h("td",["close"])," ",_h("td",["SubMenu 收起的回调"])," ",_h("td",["index: 收起的 subMenu 的 index indexPath: 收起的 subMenu 的 index path"])])])])},function(){with(this)return _h("h3",["SubMenu Attribute"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["index"])," ",_h("td",["唯一标志"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Menu-Item Attribute"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["index"])," ",_h("td",["唯一标志"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Menu-Group Attribute"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["title"])," ",_h("td",["分组标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(147)},function(s,t,a){var e,n;e=a(148);var l=a(149);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={methods:{open:function(){this.$alert("这是一段内容","标题名称")},open2:function(){var s=this;this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{type:"warning"}).then(function(){s.$message({message:"删除成功!",type:"success"})})["catch"](function(){s.$message({message:"已取消删除",type:"info"})})},open3:function(){var s=this;this.$prompt("请输入邮箱","提示",{inputPattern:/[\w!#$%&'*+\/=?^_`{|}~-]+(?:\.[\w!#$%&'*+\/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,inputErrorMessage:"邮箱格式不正确"}).then(function(t){var a=t.value;s.$message({type:"success",message:"你的邮箱是: "+a})})["catch"](function(){s.$message({type:"info",message:"取消输入"})})},open4:function(){var s=this;this.$msgbox({title:"消息",message:"这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容",showCancelButton:!0}).then(function(t){s.$message({type:"info",message:"action: "+t})})}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){open(s)}}},["点击打开 Message Box"])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){open2(s)}}},["点击打开 Message Box"])]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){open3(s)}}},["点击打开 Message Box"])]])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{type:"text"},nativeOn:{click:function(s){open4(s)}}},["点击打开 Message Box"])]])," ",_m(13)])," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)," ",_m(19)," ",_m(20)," ",_m(21)])},staticRenderFns:[function(){with(this)return _h("h2",["Message box 信息提示"])},function(){with(this)return _h("p",["模拟系统的消息提示框而实现的一套模态对话框组件,用于消息提示、成功提示、错误提示、询问信息。"])},function(){with(this)return _h("h3",["消息提示"])},function(){with(this)return _h("p",["当用户进行操作时会被触发,该对话框中断用户操作,直到用户确认知晓后才可关闭。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["调用",_h("code",["$alert"]),"方法即可打开消息提示,它模拟了系统的 ",_h("code",["alert"]),",无法通过按下 ESC 或点击框外关闭。此例中接收了两个参数,",_h("code",["message"]),"和",_h("code",["title"]),"。值得一提的是,窗口被关闭后,它会返回一个",_h("code",["Promise"]),"对象便于进行后续操作的处理。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open"']),">"]),"点击打开 Message Box",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$alert(",_h("span",{staticClass:"hljs-string"},["'这是一段内容'"]),", ",_h("span",{staticClass:"hljs-string"},["'标题名称'"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["确认消息"])},function(){with(this)return _h("p",["提示用户确认其已经触发的动作,并询问是否进行此操作时会用到此对话框。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["调用",_h("code",["$confirm"]),"方法即可打开消息提示,它模拟了系统的 ",_h("code",["confirm"]),"。Message Box 组件也拥有极高的定制性,我们可以传入",_h("code",["options"]),"作为第三个参数,它是一个字面量对象。",_h("code",["type"]),"字段表明消息类型,可以为",_h("code",["success"]),"",_h("code",["error"]),"",_h("code",["info"]),"和",_h("code",["warning"]),",无效的设置将会被忽略。注意,第二个参数",_h("code",["title"]),"必须定义为",_h("code",["String"]),"类型,如果是",_h("code",["Object"]),",会被理解为",_h("code",["options"]),"。在这里我们用了 Promise 来处理后续响应。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open2"']),">"]),"点击打开 Message Box",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{
staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open2() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$confirm(",_h("span",{staticClass:"hljs-string"},["'此操作将永久删除该文件, 是否继续?'"]),", ",_h("span",{staticClass:"hljs-string"},["'提示'"]),", {\n type: ",_h("span",{staticClass:"hljs-string"},["'warning'"]),"\n }).then(() => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n type: ",_h("span",{staticClass:"hljs-string"},["'success'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'删除成功!'"]),"\n });\n }).catch(() => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n type: ",_h("span",{staticClass:"hljs-string"},["'info'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'已取消删除'"]),"\n }); \n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["提交内容"])},function(){with(this)return _h("p",["当用户进行操作时会被触发,中断用户操作,提示用户进行输入的对话框。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["调用",_h("code",["$prompt"]),"方法即可打开消息提示,它模拟了系统的 ",_h("code",["prompt"]),"。可以用",_h("code",["inputPattern"]),"字段自己规定匹配模式,或者用",_h("code",["inputValidator"]),"规定校验函数,可以返回",_h("code",["Boolean"]),"或",_h("code",["String"]),"",_h("code",["Boolean"]),"为",_h("code",["false"]),"或字符串时均表示校验未通过,",_h("code",["String"]),"相当于定义了",_h("code",["inputErrorMessage"]),"字段。此外,可以用",_h("code",["inputPlaceholder"]),"字段来定义输入框的占位符。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open3"']),">"]),"点击打开 Message Box",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open3() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$prompt(",_h("span",{staticClass:"hljs-string"},["'请输入邮箱'"]),", ",_h("span",{staticClass:"hljs-string"},["'提示'"]),", {\n inputPattern: ",_h("span",{staticClass:"hljs-regexp"},["/[\\w!#$%&'*+/=?^_`{|}~-]+(?:\\.[\\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\\w](?:[\\w-]*[\\w])?\\.)+[\\w](?:[\\w-]*[\\w])?/"]),",\n inputErrorMessage: ",_h("span",{staticClass:"hljs-string"},["'邮箱格式不正确'"]),"\n }).then(value => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n type: ",_h("span",{staticClass:"hljs-string"},["'success'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'你的邮箱是: '"])," + value\n });\n }).catch(() => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n type: ",_h("span",{staticClass:"hljs-string"},["'info'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'取消输入'"]),"\n }); \n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义"])},function(){with(this)return _h("p",["可自定义配置不同内容。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["以上三个方法都是对",_h("code",["$msgbox"]),"方法的再包装。本例直接调用",_h("code",["$msgbox"]),"方法,使用了",_h("code",["showCancelButton"]),"字段,用于显示取消按钮。另外可使用",_h("code",["cancelButtonClass"]),"为其添加自定义样式,使用",_h("code",["cancelButtonText"]),"来自定义按钮文本。Confirm 按钮也具有相同的字段,在文末的字段说明中有完整的字段列表。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open4"']),">"]),"点击打开 Message Box",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open4() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$msgbox({\n title: ",_h("span",{staticClass:"hljs-string"},["'消息'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容, 这是一段内容'"]),",\n showCancelButton: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n }).then(action => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n type: ",_h("span",{staticClass:"hljs-string"},["'info'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'action: '"])," + action\n });\n });\n },\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["全局方法"])},function(){with(this)return _h("p",["Element 为 Vue.prototype 添加了如下全局方法:$msgbox, $alert, $confirm 和 $prompt。因此在 vue instance 中可以采用本页面中的方式调用 ",_h("code",["MessageBox"]),"。"])},function(){with(this)return _h("h3",["单独引用"])},function(){with(this)return _h("p",["单独引入 ",_h("code",["MessageBox"]),""])},function(){with(this)return _h("pre",[_h("code",{staticClass:"hljs language-javascript"},[_h("span",{staticClass:"hljs-keyword"},["import"])," { MessageBox } ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui'"]),";\n"])])},function(){with(this)return _h("p",["对应于上述四个全局方法的调用方法依次为MessageBox, MessageBox.alert, MessageBox.confirm 和 MessageBox.prompt。"])},function(){with(this)return _h("h3",["Options"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["title"])," ",_h("td",["MessageBox标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["message"])," ",_h("td",["MessageBox消息正文内容"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["消息类型,用于显示图标"])," ",_h("td",["string"])," ",_h("td",["success/info/",_h("br"),"warning/error"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["showCancelButton"])," ",_h("td",["是否显示取消按钮"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false以 confirm 和 prompt 方式调用时为 true"])])," ",_h("tr",[_h("td",["showConfirmButton"])," ",_h("td",["是否显示确定按钮"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["cancelButtonText"])," ",_h("td",["取消按钮的文本内容"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["取消"])])," ",_h("tr",[_h("td",["confirmButtonText"])," ",_h("td",["确定按钮的文本内容"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["确定"])])," ",_h("tr",[_h("td",["cancelButtonClass"])," ",_h("td",["取消按钮的自定义类名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["confirmButtonClass"])," ",_h("td",["确定按钮的自定义类名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["showInput"])," ",_h("td",["是否显示输入框"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false以 prompt 方式调用时为 true"])])," ",_h("tr",[_h("td",["inputPlaceholder"])," ",_h("td",["输入框的占位符"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["inputPattern"])," ",_h("td",["输入框的校验表达式"])," ",_h("td",["regexp"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["inputValidator"])," ",_h("td",["输入框的校验函数。可以返回布尔值或字符串,若返回一个字符串, 则返回结果会被赋值给 inputErrorMessage"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["inputErrorMessage"])," ",_h("td",["校验未通过时的提示文本"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["输入的数据不合法!"])])])])}]}},function(s,t,a){s.exports=a(151)},function(s,t,a){var e,n;a(152),e=a(154);var l=a(155);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";s.exports={methods:{open:function(){this.$message("这是一条消息提示")},open2:function(){this.$message({message:"恭喜你,这是一条成功消息",type:"success"})},open3:function(){this.$message({message:"警告哦,这是一条警告消息",type:"warning"})},open4:function(){this.$message({message:"错了哦,这是一条错误消息",type:"error"})},open5:function(){this.$message({showClose:!0,message:"这是一条消息提示"})},open6:function(){this.$message({showClose:!0,message:"恭喜你,这是一条成功消息",type:"success"})},open7:function(){this.$message({showClose:!0,message:"警告哦,这是一条警告消息",type:"warning"})},open8:function(){this.$message({showClose:!0,message:"错了哦,这是一条错误消息",type:"error"})}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open(s)}}},["打开消息提示"])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open2(s)}}},["成功"])," ",_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open3(s)}}},["警告"])," ",_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open(s)}}},["消息"])," ",_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open4(s)}}},["错误"])]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open5(s)}}},["消息"])," ",_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open6(s)}}},["成功"])," ",_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open7(s)}}},["警告"])," ",_h("el-button",{attrs:{plain:!0},nativeOn:{click:function(s){open8(s)}}},["错误"])]])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_m(13)," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)])},staticRenderFns:[function(){with(this)return _h("h2",["Message 消息提示"])},function(){with(this)return _h("p",["常用于主动操作后的反馈提示。与 Notification 的区别是后者更多用于系统级通知的被动提醒。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["从顶部出现3 秒后自动消失。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Message 在配置上与 Notification 非常类似,所以部分 options 在此不做详尽解释,文末有 options 列表,可以结合 Notification 的文档理解它们。Element 注册了一个",_h("code",["$message"]),"方法用于调用Message 可以接收一个字符串作为参数,它会被显示为正文内容。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open"']),">"]),"打开消息提示",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message(",_h("span",{staticClass:"hljs-string"},["'这是一条消息提示'"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["不同状态"])},function(){with(this)return _h("p",["用来显示「成功、警告、消息、错误」类的操作反馈。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["当需要自定义更多属性时Message 也可以接收一个对象为参数。比如,设置",_h("code",["type"]),"字段可以定义不同的状态,默认为",_h("code",["info"]),"。此时正文内容以",_h("code",["message"]),"的值传入。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open2"']),">"]),"成功",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open3"']),">"]),"警告",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open"']),">"]),"消息",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open4"']),">"]),"错误",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open2() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n message: ",_h("span",{staticClass:"hljs-string"},["'恭喜你,这是一条成功消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'success'"]),"\n });\n },\n\n open3() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n message: ",_h("span",{staticClass:"hljs-string"},["'警告哦,这是一条警告消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'warning'"]),"\n });\n },\n\n open4() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n message: ",_h("span",{staticClass:"hljs-string"},["'错了哦,这是一条错误消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'error'"]),"\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可关闭"])},function(){with(this)return _h("p",["可以添加关闭按钮。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["默认的 Message 是不可以被人工关闭的,如果需要可手动关闭的 Message可以使用",_h("code",["showClose"]),"字段。此外,和 Notification 一样Message 拥有可控的",_h("code",["duration"]),",设置",_h("code",["0"]),"为不会被自动关闭,默认为 3000 毫秒。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open5"']),">"]),"消息",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open6"']),">"]),"成功",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open7"']),">"]),"警告",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},[":plain"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open8"']),">"]),"错误",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open5() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n showClose: ",_h("span",{staticClass:"hljs-literal"},["true"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'恭喜你,这是一条成功消息'"]),"\n });\n },\n\n open6() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n showClose: ",_h("span",{staticClass:"hljs-literal"},["true"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'警告哦,这是一条警告消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'warning'"]),"\n });\n },\n\n open7() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n showClose: ",_h("span",{staticClass:"hljs-literal"},["true"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'错了哦,这是一条错误消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'error'"]),"\n });\n },\n\n open8() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$message({\n showClose: ",_h("span",{staticClass:"hljs-literal"},["true"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'错了哦,这是一条错误消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'error'"]),"\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["全局方法"])},function(){with(this)return _h("p",["element 为 Vue.prototype 添加了全局方法 $message。因此在 vue instance 中可以采用本页面中的方式调用 ",_h("code",["Message"]),"。"])},function(){with(this)return _h("h3",["单独引用"])},function(){with(this)return _h("p",["单独引入 ",_h("code",["Message"]),""])},function(){with(this)return _h("pre",[_h("code",{staticClass:"hljs language-javascript"},[_h("span",{staticClass:"hljs-keyword"},["import"])," { Message } ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui'"]),";\n"])])},function(){with(this)return _h("p",["此时调用方法为 ",_h("code",["Message(options)"]),"。"])},function(){with(this)return _h("h3",["Options"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["message"])," ",_h("td",["消息文字"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["主题"])," ",_h("td",["string"])," ",_h("td",["success/warning/info/error"])," ",_h("td",["info"])])," ",_h("tr",[_h("td",["duration"])," ",_h("td",["显示时间, 毫秒。设为 0 则不会自动关闭"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["3000"])])," ",_h("tr",[_h("td",["showClose"])," ",_h("td",["是否显示关闭按钮"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["onClose"])," ",_h("td",["关闭时的回调函数, 参数为被关闭的 message 实例"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(157)},function(s,t,a){var e,n;a(158),e=a(160);var l=a(161);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";s.exports={methods:{open:function(){this.$notify({title:"标题名称",message:"这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案"})},open2:function(){this.$notify({title:"提示",message:"这是一条不会自动关闭的消息",duration:0})},open3:function(){this.$notify({title:"成功",message:"这是一条成功的提示消息",type:"success"})},open4:function(){this.$notify({title:"警告",message:"这是一条警告的提示消息",type:"warning"})},open5:function(){this.$notify({title:"消息",message:"这是一条消息的提示消息",type:"info"})},open6:function(){this.$notify({title:"错误",message:"这是一条错误的提示消息",type:"error"})},onClose:function(){console.log("Notification 已关闭")}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{plain:""},nativeOn:{click:function(s){open(s)}}},["\n 可自动关闭\n "])," ",_h("el-button",{attrs:{plain:""},nativeOn:{click:function(s){open2(s)}}},["\n 不会自动关闭\n "])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-button",{attrs:{plain:""},nativeOn:{click:function(s){open3(s)}}},["\n 成功\n "])," ",_h("el-button",{attrs:{plain:""},nativeOn:{click:function(s){open4(s)}}},["\n 警告\n "])," ",_h("el-button",{attrs:{plain:""},nativeOn:{click:function(s){open5(s)}}},["\n 消息\n "])," ",_h("el-button",{attrs:{plain:""},nativeOn:{click:function(s){open6(s)}}},["\n 错误\n "])]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_m(10)," ",_m(11)," ",_m(12)," ",_m(13)," ",_m(14)," ",_m(15)])},staticRenderFns:[function(){with(this)return _h("h2",["Notification 通知"])},function(){with(this)return _h("p",["悬浮出现在页面右上角,显示全局的通知提醒消息。"])},function(){with(this)return _h("h3",["基本用法"])},function(){with(this)return _h("p",["适用性广泛的通知栏"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Notification 组件提供通知功能Element 注册了",_h("code",["$notify"]),"方法,接收一个",_h("code",["options"]),"字面量参数,在最简单的情况下,你可以设置",_h("code",["title"]),"字段和",_h("code",["message"]),"字段,用于设置通知的标题和正文。默认情况下,经过一段时间后 Notification 组件会自动关闭,但是通过设置",_h("code",["duration"]),",可以控制关闭的时间间隔,特别的是,如果设置为",_h("code",["0"]),",则不会自动关闭。注意:",_h("code",["duration"]),"接收一个",_h("code",["Number"]),",单位为毫秒,默认为",_h("code",["4500"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["plain"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open"']),">"]),"\n 可自动关闭\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["plain"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open2"']),">"]),"\n 不会自动关闭\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$notify({\n title: ",_h("span",{staticClass:"hljs-string"},["'标题名称'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案'"]),"\n });\n },\n\n open2() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$notify({\n title: ",_h("span",{staticClass:"hljs-string"},["'提示'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是一条不会自动关闭的消息'"]),",\n duration: ",_h("span",{staticClass:"hljs-number"},["0"]),"\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带有倾向性"])},function(){with(this)return _h("p",["带有 icon常用来显示「成功、警告、消息、错误」类的系统消息"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Element 为 Notification 组件准备了四种通知类型:",_h("code",["success"]),", ",_h("code",["warning"]),", ",_h("code",["info"]),", ",_h("code",["error"]),"。通过",_h("code",["type"]),"字段来设置,除此以外的值将被忽略。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["plain"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open3"']),">"]),"\n 成功\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["plain"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open4"']),">"]),"\n 警告\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["plain"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open5"']),">"]),"\n 消息\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),"\n ",_h("span",{staticClass:"hljs-attr"},["plain"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"open6"']),">"]),"\n 错误\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n open3() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$notify({\n title: ",_h("span",{staticClass:"hljs-string"},["'成功'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是一条成功的提示消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'success'"]),"\n });\n },\n\n open4() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$notify({\n title: ",_h("span",{staticClass:"hljs-string"},["'警告'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是一条警告的提示消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'warning'"]),"\n });\n },\n\n open5() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$notify({\n title: ",_h("span",{staticClass:"hljs-string"},["'消息'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是一条消息的提示消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'info'"]),"\n });\n },\n\n open6() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".$notify({\n title: ",_h("span",{staticClass:"hljs-string"},["'错误'"]),",\n message: ",_h("span",{staticClass:"hljs-string"},["'这是一条错误的提示消息'"]),",\n type: ",_h("span",{staticClass:"hljs-string"},["'error'"]),"\n });\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["全局方法"])},function(){with(this)return _h("p",["Element 为 ",_h("code",["Vue.prototype"])," 添加了全局方法 ",_h("code",["$notify"]),"。因此在 vue instance 中可以采用本页面中的方式调用 Notification。"])},function(){with(this)return _h("h3",["单独引用"])},function(){with(this)return _h("p",["单独引入 Notification"])},function(){with(this)return _h("pre",[_h("code",{staticClass:"hljs language-javascript"},[_h("span",{staticClass:"hljs-keyword"},["import"])," { Notification } ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui'"]),";\n"])]);
},function(){with(this)return _h("p",["此时调用方法为 ",_h("code",["Notification(options)"]),"。"])},function(){with(this)return _h("h3",["Options"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["title"])," ",_h("td",["标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["message"])," ",_h("td",["说明文字"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["主题样式,如果不在可选值内将被忽略"])," ",_h("td",["string"])," ",_h("td",["success/warning/info/error"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["duration"])," ",_h("td",["显示时间, 毫秒。设为 0 则不会自动关闭"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["4500"])])," ",_h("tr",[_h("td",["onClose"])," ",_h("td",["关闭时的回调函数"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(163)},function(s,t,a){var e,n;a(164),e=a(166);var l=a(167);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={methods:{handleSizeChange:function(s){console.log("每页 "+s+" 条")},handleCurrentChange:function(s){console.log("当前页: "+s)}},mounted:function(){this.$nextTick(function(){var s=document.querySelectorAll(".source"),t=s[0],a=s[s.length-1];t.classList.add("first"),a.classList.add("last")})}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"block"},[_m(3)," ",_h("el-pagination",{attrs:{layout:"prev, pager, next",total:50}})])," ",_h("div",{staticClass:"block"},[_m(4)," ",_h("el-pagination",{attrs:{layout:"prev, pager, next",total:1e3}})])])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-pagination",{attrs:{small:"",layout:"prev, pager, next",total:50}})])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(11)," ",_h("el-pagination",{attrs:{"current-page":5,"page-size":100,layout:"total, prev, pager, next",total:1e3},on:{sizechange:handleSizeChange,currentchange:handleCurrentChange}})])," ",_h("div",{staticClass:"block"},[_m(12)," ",_h("el-pagination",{attrs:{"current-page":5,"page-sizes":[100,200,300,400],"page-size":100,layout:"sizes, prev, pager, next",total:1e3},on:{sizechange:handleSizeChange,currentchange:handleCurrentChange}})])," ",_h("div",{staticClass:"block"},[_m(13)," ",_h("el-pagination",{attrs:{"current-page":5,"page-size":100,layout:"prev, pager, next, jumper",total:1e3},on:{sizechange:handleSizeChange,currentchange:handleCurrentChange}})])," ",_h("div",{staticClass:"block"},[_m(14)," ",_h("el-pagination",{attrs:{"current-page":5,"page-sizes":[100,200,300,400],"page-size":100,layout:"total, sizes, prev, pager, next, jumper",total:400},on:{sizechange:handleSizeChange,currentchange:handleCurrentChange}})])]])," ",_m(15)])," ",_m(16)," ",_m(17)," ",_m(18)," ",_m(19)])},staticRenderFns:[function(){with(this)return _h("h2",["Pagination 分页"])},function(){with(this)return _h("p",["当数据量过多时,使用分页分解数据。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["页数较少时的效果"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["大于 7 页时的效果"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["layout"]),",表示需要显示的内容,用逗号分隔,布局元素会依次显示。",_h("code",["prev"]),"表示上一页,",_h("code",["next"]),"为上一页,",_h("code",["pager"]),"表示页码列表,除此以外还提供了",_h("code",["jumper"]),"和",_h("code",["total"]),"",_h("code",["size"]),"和特殊的布局符号",_h("code",["->"]),"",_h("code",["->"]),"后的元素会靠右显示,",_h("code",["jumper"]),"表示跳页元素,",_h("code",["total"]),"表示显示页码总数,",_h("code",["size"]),"用于设置每页显示的页码数量。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"页数较少时的效果",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"prev, pager, next"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"50"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"大于 7 页时的效果",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"prev, pager, next"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"1000"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["小型分页"])},function(){with(this)return _h("p",["在空间有限的情况下,可以使用简单的小型分页。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["只需要一个",_h("code",["small"]),"属性,它接受一个",_h("code",["Boolean"]),",默认为",_h("code",["false"]),",设为",_h("code",["true"]),"即可启用。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["small"]),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"prev, pager, next"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"50"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["附加功能"])},function(){with(this)return _h("p",["根据场景需要,可以添加其他功能模块。"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["显示总数"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["调整每页显示条数"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["直接前往"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["完整功能"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["此例是一个完整的用例,使用了",_h("code",["sizechange"]),"和",_h("code",["currentchange"]),"事件来处理页码大小和当前页变动时候触发的事件。",_h("code",["page-sizes"]),"接受一个整型数组,数组元素为展示的选择每页显示个数的选项,",_h("code",["[100, 200, 300, 400]"]),"表示四个选项,每页显示 100 个200 个300 个或者 400 个。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"显示总数",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@sizechange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSizeChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@currentchange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleCurrentChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":current-page"]),"=",_h("span",{staticClass:"hljs-string"},['"5"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":page-size"]),"=",_h("span",{staticClass:"hljs-string"},['"100"']),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"total, prev, pager, next"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"1000"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"调整每页显示条数",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@sizechange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSizeChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@currentchange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleCurrentChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":current-page"]),"=",_h("span",{staticClass:"hljs-string"},['"5"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":page-sizes"]),"=",_h("span",{staticClass:"hljs-string"},['"[100, 200, 300, 400]"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":page-size"]),"=",_h("span",{staticClass:"hljs-string"},['"100"']),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"sizes, prev, pager, next"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"1000"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"直接前往",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@sizechange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSizeChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@currentchange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleCurrentChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":current-page"]),"=",_h("span",{staticClass:"hljs-string"},['"5"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":page-size"]),"=",_h("span",{staticClass:"hljs-string"},['"100"']),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"prev, pager, next, jumper"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"1000"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"完整功能",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-pagination"]),"\n ",_h("span",{staticClass:"hljs-attr"},["@sizechange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSizeChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@currentchange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleCurrentChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":current-page"]),"=",_h("span",{staticClass:"hljs-string"},['"5"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":page-sizes"]),"=",_h("span",{staticClass:"hljs-string"},['"[100, 200, 300, 400]"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":page-size"]),"=",_h("span",{staticClass:"hljs-string"},['"100"']),"\n ",_h("span",{staticClass:"hljs-attr"},["layout"]),"=",_h("span",{staticClass:"hljs-string"},['"total, sizes, prev, pager, next, jumper"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":total"]),"=",_h("span",{staticClass:"hljs-string"},['"400"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-pagination"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n handleSizeChange(val) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["`每页 ",_h("span",{staticClass:"hljs-subst"},["${val}"])," 条`"]),");\n },\n handleCurrentChange(val) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-string"},["`当前页: ",_h("span",{staticClass:"hljs-subst"},["${val}"]),"`"]),");\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["small"])," ",_h("td",["是否使用小型分页样式"])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["page-size"])," ",_h("td",["每页显示条目个数"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["10"])])," ",_h("tr",[_h("td",["total"])," ",_h("td",["总条目数"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["current-page"])," ",_h("td",["当前页数"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["layout"])," ",_h("td",["组件布局,子组件名用逗号分隔。"])," ",_h("td",["String"])," ",_h("td",[_h("code",["sizes"]),", ",_h("code",["prev"]),", ",_h("code",["pager"]),", ",_h("code",["next"]),", ",_h("code",["jumper"]),", ",_h("code",["->"]),", ",_h("code",["total"])])," ",_h("td",["'prev, pager, next, jumper, ->, total'"])])," ",_h("tr",[_h("td",["page-sizes"])," ",_h("td",["每页显示个数选择器的选项设置"])," ",_h("td",["Number[]"])," ",_h("td",["—"])," ",_h("td",["[10, 20, 30, 40, 50, 100]"])])])])},function(){with(this)return _h("h3",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["sizechange"])," ",_h("td",["pageSize 改变时会触发"])," ",_h("td",["每页条数",_h("code",["size"])])])," ",_h("tr",[_h("td",["currentchange"])," ",_h("td",["currentPage 改变时会触发"])," ",_h("td",["当前页",_h("code",["currentPage"])])])])])}]}},function(s,t,a){s.exports=a(169)},function(s,t,a){var e,n;a(170),e=a(172);var l=a(173);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{visible2:!1,gridData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"}],gridData2:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄",$info:!0},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄",$positive:!0}],gridData3:[{tag:"家",date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{tag:"公司",date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{tag:"公司",date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{tag:"家",date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{tag:"公司",date:"2016-05-08",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{tag:"家",date:"2016-05-06",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{tag:"公司",date:"2016-05-07",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"}],singleSelection:{},multipleSelection:[],model:""}},watch:{singleSelection:function(s){console.log("selection: ",s)},multipleSelection:function(s){console.log("selection: ",s)}},events:{handleClick:function(s){console.log("you clicked ",s)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-popover",{ref:"popover1",attrs:{placement:"top-start",title:"标题",width:"200",trigger:"hover",content:"这是一段容,这是一段容,这是一段容,这是一段容。"}})," ",_h("el-popover",{ref:"popover2",attrs:{placement:"bottom",title:"标题",width:"200",trigger:"click",content:"这是一段容,这是一段容,这是一段容,这是一段容。"}})," ",_h("el-button",{directives:[{name:"popover",arg:"popover1"}]},["hover 激活"])," ",_h("el-button",{directives:[{name:"popover",arg:"popover2"}]},["click 激活"])," ",_h("el-popover",{attrs:{placement:"right",title:"标题",width:"200",trigger:"focus",content:"这是一段容,这是一段容,这是一段容,这是一段容。"}},[_h("el-button",{slot:"reference"},["focus 激活"])])])," ",_m(3)])," ",_m(4)," ",_m(5)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-popover",{ref:"popover4",attrs:{placement:"right",width:"400",trigger:"click"}},[_h("el-table",{attrs:{data:gridData}},[_h("el-table-column",{attrs:{width:"150",property:"date",label:"日期"}})," ",_h("el-table-column",{attrs:{width:"100",property:"name",label:"姓名"}})," ",_h("el-table-column",{attrs:{width:"300",property:"address",label:"地址"}})])])," ",_h("el-button",{directives:[{name:"popover",arg:"popover4"}]},["click 激活"])])," ",_m(6)])," ",_m(7)," ",_m(8)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-popover",{directives:[{name:"model",value:visible2,expression:"visible2"}],ref:"popover5",attrs:{placement:"top",width:"160"},domProps:{value:visible2},on:{input:function(s){visible2=s}}},[_m(9)," ",_h("div",{attrs:{style:"text-align: right; margin: 0"}},[_h("el-button",{attrs:{size:"mini",type:"text"},nativeOn:{click:function(s){visible2=!1}}},["取消"])," ",_h("el-button",{attrs:{type:"primary",size:"mini"},nativeOn:{click:function(s){visible2=!1}}},["确定"])])])," ",_h("el-button",{directives:[{name:"popover",arg:"popover5"}]},["删除"])])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_m(13)," ",_m(14)])},staticRenderFns:[function(){with(this)return _h("h2",["Popover 弹出框"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["Popover 的属性与 Tooltip 很类似,它们都是基于",_h("code",["Vue-popper"]),"开发的,因此对于重复属性,请参考 Tooltip 的文档,在此文档中不做详尽解释。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置索引",_h("code",["ref"]),",在按钮中,我们注册了自定义指令",_h("code",["v-popover"]),"指向索引ID。",_h("code",["trigger"]),"属性用于设置何时触发 Popover ,提供三种触发方式:",_h("code",["hover"]),", ",_h("code",["click"])," 和 ",_h("code",["focus"]),"。或者通过 ",_h("code",["slot"])," 指定 reference。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-popover"]),"\n ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"popover1"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top-start"']),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"标题"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"200"']),"\n ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"hover"']),"\n ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一段容,这是一段容,这是一段容,这是一段容。"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-popover"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-popover"]),"\n ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"popover2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom"']),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"标题"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"200"']),"\n ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"click"']),"\n ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一段容,这是一段容,这是一段容,这是一段容。"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-popover"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["v-popover:popover1"]),">"]),"hover 激活",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["v-popover:popover2"]),">"]),"click 激活",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-popover"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"right"']),"\n ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"标题"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"200"']),"\n ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"focus"']),"\n ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一段容,这是一段容,这是一段容,这是一段容。"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"reference"']),">"]),"focus 激活",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-popover"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["嵌套信息"])},function(){with(this)return _h("p",["可以在 Popover 中嵌套多种类型信息,以下为嵌套表格的例子。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["利用分发取代",_h("code",["content"]),"属性"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-popover"]),"\n ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"popover4"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"right"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"400"']),"\n ",_h("span",{staticClass:"hljs-attr"},["trigger"]),"=",_h("span",{staticClass:"hljs-string"},['"click"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"])," ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"gridData"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"])," ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"150"'])," ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"])," ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"])," ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"300"'])," ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-popover"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["v-popover:popover4"]),">"]),"click 激活",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["嵌套操作"])},function(){with(this)return _h("p",["当然,你还可以嵌套操作,这相比 Dialog 更为轻量:"])},function(){with(this)return _h("p",["这是一段内容这是一段内容确定删除吗?"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-popover"]),"\n ",_h("span",{staticClass:"hljs-attr"},["ref"]),"=",_h("span",{staticClass:"hljs-string"},['"popover5"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"160"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"visible2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["p"]),">"]),"这是一段内容这是一段内容确定删除吗?",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["p"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"text-align: right; margin: 0"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"mini"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"text"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"visible2 = false"']),">"]),"取消",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"'])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"mini"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"visible2 = false"']),">"]),"确定",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-popover"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["v-popover:popover5"]),">"]),"删除",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["trigger"])," ",_h("td",["触发方式"])," ",_h("td",["String"])," ",_h("td",["click/focus/hover"])," ",_h("td",["click"])])," ",_h("tr",[_h("td",["title"])," ",_h("td",["标题"])," ",_h("td",["String"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["content"])," ",_h("td",["显示的内容,也可以通过 ",_h("code",["slot"])," 传入 DOM"])," ",_h("td",["String"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["width"])," ",_h("td",["宽度"])," ",_h("td",["String, Number"])," ",_h("td",["—"])," ",_h("td",["最小宽度 150px"])])," ",_h("tr",[_h("td",["placement"])," ",_h("td",["出现位置"])," ",_h("td",["String"])," ",_h("td",["top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end"])," ",_h("td",["bottom"])])," ",_h("tr",[_h("td",["value(v-model)"])," ",_h("td",["状态是否可见"])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["offset"])," ",_h("td",["出现位置的偏移量"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["transition"])," ",_h("td",["定义渐变动画"])," ",_h("td",["String"])," ",_h("td",["—"])," ",_h("td",["fade-in-linear"])])," ",_h("tr",[_h("td",["visible-arrow"])," ",_h("td",["是否显示 Tooltip 箭头,更多参数可见",_h("a",{
attrs:{href:"https://github.com/element-component/vue-popper"}},["Vue-popper"])])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["options"])," ",_h("td",[_h("a",{attrs:{href:"https://popper.js.org/documentation.html"}},["popper.js"])," 的参数"])," ",_h("td",["Object"])," ",_h("td",["参考 ",_h("a",{attrs:{href:"https://popper.js.org/documentation.html"}},["popper.js"])," 文档"])," ",_h("td",[_h("code",["{ boundariesElement: 'body', gpuAcceleration: false }"])])])])])},function(){with(this)return _h("h3",["Slot"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])])])," ",_h("tbody",[_h("tr",[_h("td",["—"])," ",_h("td",["Popover内嵌HTML文本"])])])])}]}},function(s,t,a){s.exports=a(175)},function(s,t,a){var e,n;a(176);var l=a(178);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-progress",{attrs:{percentage:0}})," ",_h("el-progress",{attrs:{percentage:70}})," ",_h("el-progress",{attrs:{percentage:100,status:"success"}})," ",_h("el-progress",{attrs:{percentage:50,status:"exception"}})])," ",_m(3)])," ",_m(4)," ",_m(5)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-progress",{attrs:{"text-inside":!0,"stroke-width":18,percentage:0}})," ",_h("el-progress",{attrs:{"text-inside":!0,"stroke-width":18,percentage:70}})," ",_h("el-progress",{attrs:{"text-inside":!0,"stroke-width":18,percentage:100,status:"success"}})," ",_h("el-progress",{attrs:{"text-inside":!0,"stroke-width":18,percentage:50,status:"exception"}})])," ",_m(6)])," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-progress",{attrs:{type:"circle",percentage:0}})," ",_h("el-progress",{attrs:{type:"circle",percentage:25}})," ",_h("el-progress",{attrs:{type:"circle",percentage:100,status:"success"}})," ",_h("el-progress",{attrs:{type:"circle",percentage:50,status:"exception"}})])," ",_m(8)])," ",_m(9)," ",_m(10)])},staticRenderFns:[function(){with(this)return _h("h2",["Progress 进度条"])},function(){with(this)return _h("p",["用于展示操作进度,告知用户当前状态和预期。"])},function(){with(this)return _h("h3",["线形进度条 — 百分比外显"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Progress 组件设置",_h("code",["percentage"]),"属性即可,表示进度条对应的百分比,",_h("strong",["必填"]),",必须在 0-100。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"0"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"70"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},["status"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"50"'])," ",_h("span",{staticClass:"hljs-attr"},["status"]),"=",_h("span",{staticClass:"hljs-string"},['"exception"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["线形进度条 — 百分比内显"])},function(){with(this)return _h("p",["百分比不占用额外控件,适用于文件上传等场景。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Progress 组件可通过 ",_h("code",["stroke-width"])," 属性更改进度条的高度,并可通过 ",_h("code",["desc-inside"])," 属性来将进度条描述置于进度条内部。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":text-inside"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},[":stroke-width"]),"=",_h("span",{staticClass:"hljs-string"},['"18"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"0"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":text-inside"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},[":stroke-width"]),"=",_h("span",{staticClass:"hljs-string"},['"18"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"70"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":text-inside"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},[":stroke-width"]),"=",_h("span",{staticClass:"hljs-string"},['"18"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},["status"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},[":text-inside"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},[":stroke-width"]),"=",_h("span",{staticClass:"hljs-string"},['"18"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"50"'])," ",_h("span",{staticClass:"hljs-attr"},["status"]),"=",_h("span",{staticClass:"hljs-string"},['"exception"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["环形进度条"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Progress 组件可通过 ",_h("code",["type"])," 属性来指定使用环形进度条,在环形进度条中,还可以通过 ",_h("code",["width"])," 属性来设置其大小。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"circle"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"0"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"circle"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"25"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"circle"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},["status"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-progress"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"circle"'])," ",_h("span",{staticClass:"hljs-attr"},[":percentage"]),"=",_h("span",{staticClass:"hljs-string"},['"50"'])," ",_h("span",{staticClass:"hljs-attr"},["status"]),"=",_h("span",{staticClass:"hljs-string"},['"exception"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-progress"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",[_h("strong",["percentage"])])," ",_h("td",[_h("strong",["百分比(必填)"])])," ",_h("td",["number"])," ",_h("td",["0-100"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["进度条类型"])," ",_h("td",["string"])," ",_h("td",["line/circle"])," ",_h("td",["line"])])," ",_h("tr",[_h("td",["stroke-width"])," ",_h("td",["进度条的宽度,单位 px"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["6"])])," ",_h("tr",[_h("td",["text-inside"])," ",_h("td",["进度条显示文字内置在进度条内(只在 type=circle 时可用)"])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["status"])," ",_h("td",["进度条当前状态"])," ",_h("td",["string"])," ",_h("td",["success/exception"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["width"])," ",_h("td",["环形进度条画布宽度(只在 type=circle 时可用)"])," ",_h("td",["number"])," ",_h("td")," ",_h("td",["126"])])," ",_h("tr",[_h("td",["show-text"])," ",_h("td",["是否显示进度条文字内容"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])])])}]}},function(s,t,a){s.exports=a(180)},function(s,t,a){var e,n,l=a(181);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(module,exports){module.exports={render:function(){with(this)return _m(0)},staticRenderFns:[function(){with(this)return _h("section",[_h("h2",["快速上手"])," ",_h("p",["element 是一套 Vue.js 后台组件库,它能够帮助你更轻松更快速地开发后台项目。"])," ",_h("h3",["安装"])," ",_h("pre",[_h("code",{staticClass:"hljs language-bash"},["$ npm install element-ui@next -S\n"])])," ",_h("h3",["注册组件"])," ",_h("p",["引入整个 element"])," ",_h("pre",[_h("code",{staticClass:"hljs language-javascript"},[_h("span",{staticClass:"hljs-keyword"},["import"])," Vue ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'vue'"]),"\n",_h("span",{staticClass:"hljs-keyword"},["import"])," Element ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui'"]),"\n",_h("span",{staticClass:"hljs-keyword"},["import"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui/lib/theme-default/index.css'"]),"\n\nVue.use(Element)\n"])])," ",_h("p",["或者只引入你需要的组件"])," ",_h("p",[_h("strong",["使用 ",_h("a",{attrs:{href:"https://github.com/QingWei-Li/babel-plugin-component"}},["babel-plugin-component"])])])," ",_h("pre",[_h("code",{staticClass:"hljs language-javascript"},[_h("span",{staticClass:"hljs-keyword"},["import"])," {\n Select,\n Button\n ",_h("span",{staticClass:"hljs-comment"},["// ..."]),"\n} ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui'"]),"\n\nVue.component(Select.name, Select)\nVue.component(Button.name, Button)\n"])])," ",_h("p",["将会被翻译成"])," ",_h("pre",[_h("code",{staticClass:"hljs language-javascript"},[_h("span",{staticClass:"hljs-keyword"},["import"])," Select ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui/lib/select'"]),";\n",_h("span",{staticClass:"hljs-keyword"},["import"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui/lib/theme-default/select.css'"]),";\n",_h("span",{staticClass:"hljs-keyword"},["import"])," Button ",_h("span",{staticClass:"hljs-keyword"},["from"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui/lib/button'"]),";\n",_h("span",{staticClass:"hljs-keyword"},["import"])," ",_h("span",{staticClass:"hljs-string"},["'element-ui/lib/theme-default/button.css'"]),";\n\nVue.component(Select.name, Select);\nVue.component(Button.name, Button);\n"])])," ",_h("h3",["babel-plugin-component"])," ",_h("p",["配置 .babelrc"])," ",_h("pre",[_h("code",{staticClass:"hljs language-json"},["{\n ",_h("span",{staticClass:"hljs-attr"},['"plugins"']),": [",_h("span",{staticClass:"hljs-string"},['"xxx"']),", [",_h("span",{staticClass:"hljs-string"},['"component"']),", [\n {\n ",_h("span",{staticClass:"hljs-attr"},['"libraryName"']),": ",_h("span",{staticClass:"hljs-string"},['"element-ui"']),",\n ",_h("span",{staticClass:"hljs-attr"},['"styleLibraryName"']),": ",_h("span",{staticClass:"hljs-string"},['"theme-default"']),"\n }\n ]]]\n}\n"])])])}]}},function(s,t,a){s.exports=a(183)},function(s,t,a){var e,n;e=a(184);var l=a(185);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";s.exports={data:function(){return{radio:"1",radio1:"选中且禁用",radio2:3,radio3:""}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-radio",{directives:[{name:"model",value:radio,expression:"radio"}],staticClass:"radio",attrs:{label:"1"},domProps:{value:radio},on:{input:function(s){radio=s}}},["备选项"])," ",_h("el-radio",{directives:[{name:"model",value:radio,expression:"radio"}],staticClass:"radio",attrs:{label:"2"},domProps:{value:radio},on:{input:function(s){radio=s}}},["备选项"])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-radio",{directives:[{name:"model",value:radio1,expression:"radio1"}],attrs:{disabled:"",label:"禁用"},domProps:{value:radio1},on:{input:function(s){radio1=s}}},["备选项"])," ",_h("el-radio",{directives:[{name:"model",value:radio1,expression:"radio1"}],attrs:{disabled:"",label:"选中且禁用"},domProps:{value:radio1},on:{input:function(s){radio1=s}}},["备选项"])]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-radio-group",{directives:[{name:"model",value:radio2,expression:"radio2"}],domProps:{value:radio2},on:{input:function(s){radio2=s}}},[_h("el-radio",{attrs:{label:3}},["备选项"])," ",_h("el-radio",{attrs:{label:6}},["备选项"])," ",_h("el-radio",{attrs:{label:9}},["备选项"])])])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-radio-group",{directives:[{name:"model",value:radio3,expression:"radio3"}],domProps:{value:radio3},on:{input:function(s){radio3=s}}},[_h("el-radio-button",{attrs:{label:"上海"}})," ",_h("el-radio-button",{attrs:{label:"北京"}})," ",_h("el-radio-button",{attrs:{label:"广州",disabled:!0}})," ",_h("el-radio-button",{attrs:{label:"深圳"}})])])," ",_m(13)])," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)," ",_m(19)," ",_m(20)," ",_m(21)])},staticRenderFns:[function(){with(this)return _h("h2",["Radio 单选框"])},function(){with(this)return _h("p",["在一组备选项中进行单选"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["由于选项默认可见,不宜过多,若选项过多,建议使用 Select 选择器。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["要使用 Radio 组件,只需要设置",_h("code",["v-model"]),"绑定变量,选中意味着变量的值为相应 Radio ",_h("code",["label"]),"属性的值,",_h("code",["label"]),"可以是",_h("code",["String"]),"或者",_h("code",["Number"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"radio"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"radio"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"radio"'])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"radio"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"2"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data () {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n radio: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n };\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["禁用状态"])},function(){with(this)return _h("p",["单选框不可用的状态。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["注意:请牢记,选中的条件是绑定的变量值等于",_h("code",["label"]),"中的值。只要在",_h("code",["el-radio"]),"元素中设置",_h("code",["disabled"]),"属性即可,它接受一个",_h("code",["Boolean"]),"",_h("code",["true"]),"为禁用。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["disabled"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"radio1"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"禁用"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},["disabled"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"radio1"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"选中且禁用"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data () {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n radio1: ",_h("span",{staticClass:"hljs-string"},["'选中且禁用'"]),"\n };\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["单选框组"])},function(){with(this)return _h("p",["适用于在多个互斥的选项中选择的场景"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["结合",_h("code",["el-radio-group"]),"元素和子元素",_h("code",["el-radio"]),"可以实现单选组,在",_h("code",["el-radio-group"]),"中绑定",_h("code",["v-model"]),",在",_h("code",["el-radio"]),"中设置好",_h("code",["label"]),"即可,无需再给每一个",_h("code",["el-radio"]),"绑定变量,另外,还提供了",_h("code",["change"]),"事件来响应变化,它会传入一个参数",_h("code",["value"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-group"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"radio2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"3"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"6"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio"])," ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"9"']),">"]),"备选项",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-group"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["按钮样式"])},function(){with(this)return _h("p",["按钮样式的单选组合。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["只需要把",_h("code",["el-radio"]),"元素换成",_h("code",["el-radio-button"]),"元素即可此外Element 还提供了",_h("code",["size"]),"属性给按钮组,支持",_h("code",["large"]),"和",_h("code",["small"]),"两种(如果不设定为默认)。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-group"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"radio3"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-button"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"上海"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-button"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"北京"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-button"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"广州"'])," ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-radio-button"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"深圳"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-radio-group"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Radio Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["Radio 的 value"])," ",_h("td",["string,number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Radio-group Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["size"])," ",_h("td",["Radio 按钮组尺寸"])," ",_h("td",["string"])," ",_h("td",["large, small"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Radio-group Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["绑定值变化时触发的事件"])," ",_h("td",["选中的 Radio label 值"])])])])},function(){with(this)return _h("h3",["Radio-button Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["Radio 的 value"])," ",_h("td",["string,number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])}]}},function(s,t,a){s.exports=a(187)},function(s,t,a){var e,n;a(188),e=a(190);var l=a(191);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{value1:null,value2:null,value3:null,value4:null,value5:3.7}},mounted:function(){this.$nextTick(function(){var s=document.querySelector(".source");s.style.padding="0",s.style.display="flex"})}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"block"},[_m(3)," ",_h("el-rate",{directives:[{name:"model",value:value1,expression:"value1"}],domProps:{value:value1},on:{input:function(s){value1=s}}})])," ",_h("div",{staticClass:"block"},[_m(4)," ",_h("el-rate",{directives:[{name:"model",value:value2,expression:"value2"}],attrs:{colors:["#99A9BF","#F7BA2A","#FF9900"]},domProps:{value:value2},on:{input:function(s){value2=s}}})])])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-rate",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{"show-text":""},domProps:{value:value3},on:{input:function(s){value3=s}}})])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-rate",{directives:[{name:"model",value:value4,expression:"value4"}],attrs:{"icon-classes":["icon-rate-face-1","icon-rate-face-2","icon-rate-face-3"],"void-icon-class":"icon-rate-face-off",colors:["#99A9BF","#F7BA2A","#FF9900"]},domProps:{value:value4},on:{input:function(s){value4=s}}})])," ",_m(11)])," ",_m(12)," ",_m(13)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-rate",{directives:[{name:"model",value:value5,expression:"value5"}],attrs:{disabled:"","show-text":"","text-color":"#ff9900","text-template":"{value}"},domProps:{value:value5},on:{input:function(s){value5=s}}})])," ",_m(14)])," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)])},staticRenderFns:[function(){with(this)return _h("h2",["Rate 评分"])},function(){with(this)return _h("p",["评分组件"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认不区分颜色"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["区分颜色"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["评分被分为三个等级,可以利用颜色对分数及情感倾向进行分级(默认情况下不区分颜色)。三个等级所对应的颜色用过",_h("code",["colors"]),"属性设置,而它们对应的两个阈值则通过 ",_h("code",["low-threshold"])," 和 ",_h("code",["high-threshold"])," 设定。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认不区分颜色",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-rate"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value1"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-rate"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"区分颜色",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-rate"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":colors"]),"=",_h("span",{staticClass:"hljs-string"},["\"['#99A9BF', '#F7BA2A', '#FF9900']\""]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-rate"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["辅助文字"])},function(){with(this)return _h("p",["用辅助文字直接地表达对应分数"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为组件设置 ",_h("code",["show-text"])," 属性会在右侧显示辅助文字。通过设置 ",_h("code",["texts"])," 可以为每一个分值指定对应的辅助文字。",_h("code",["texts"])," 为一个数组,长度应等于最大值 ",_h("code",["max"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{
staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-rate"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-text"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-rate"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["其它 icon"])},function(){with(this)return _h("p",["当有多层评价时,可以用不同类型的 icon 区分评分层级"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["icon-classes"]),"属性可以自定义对应 3 个不同分段的图标。本例还使用",_h("code",["void-icon-class"]),"指定了未选中时的图标类名。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-rate"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value4"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":icon-classes"]),"=",_h("span",{staticClass:"hljs-string"},["\"['icon-rate-face-1', 'icon-rate-face-2', 'icon-rate-face-3']\""]),"\n ",_h("span",{staticClass:"hljs-attr"},["void-icon-class"]),"=",_h("span",{staticClass:"hljs-string"},['"icon-rate-face-off"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":colors"]),"=",_h("span",{staticClass:"hljs-string"},["\"['#99A9BF', '#F7BA2A', '#FF9900']\""]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-rate"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["只读"])},function(){with(this)return _h("p",["只读的评分用来展示分数,允许出现半星"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为组件设置 ",_h("code",["disabled"])," 属性表示组件为只读,支持小数分值。此时若设置 ",_h("code",["show-text"]),",则会在右侧显示目前的分值。可以提供 ",_h("code",["text-template"])," 作为显示模板,模板为一个包含了 ",_h("code",["{value}"])," 的字符串,",_h("code",["{value}"])," 会被解析为分值。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-rate"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value5"']),"\n ",_h("span",{staticClass:"hljs-attr"},["disabled"]),"\n ",_h("span",{staticClass:"hljs-attr"},["show-text"]),"\n ",_h("span",{staticClass:"hljs-attr"},["text-color"]),"=",_h("span",{staticClass:"hljs-string"},['"#ff9900"']),"\n ",_h("span",{staticClass:"hljs-attr"},["text-template"]),"=",_h("span",{staticClass:"hljs-string"},['"{value}"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-rate"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["max"])," ",_h("td",["最大分值"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["5"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否为只读"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["allow-half"])," ",_h("td",["是否允许半选"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["low-threshold"])," ",_h("td",["低分和中等分数的界限值,值本身",_h("br"),"被划分在低分中"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["2"])])," ",_h("tr",[_h("td",["high-threshold"])," ",_h("td",["高分和中等分数的界限值,值本身",_h("br"),"被划分在高分中"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["4"])])," ",_h("tr",[_h("td",["colors"])," ",_h("td",["icon 的颜色数组,共有 3 个元素,",_h("br"),"为 3 个分段所对应的颜色"])," ",_h("td",["array"])," ",_h("td",["—"])," ",_h("td",["['#F7BA2A', '#F7BA2A', '#F7BA2A']"])])," ",_h("tr",[_h("td",["void-color"])," ",_h("td",["未选中 icon 的颜色"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["#C6D1DE"])])," ",_h("tr",[_h("td",["disabled-void-color"])," ",_h("td",["只读时未选中 icon 的颜色"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["#EFF2F7"])])," ",_h("tr",[_h("td",["icon-classes"])," ",_h("td",["icon 的类名数组,共有 3 个元素,",_h("br"),"为 3 个分段所对应的类名"])," ",_h("td",["array"])," ",_h("td",["—"])," ",_h("td",["['el-icon-star-on', 'el-icon-star-on',",_h("br"),"'el-icon-star-on']"])])," ",_h("tr",[_h("td",["void-icon-class"])," ",_h("td",["未选中 icon 的类名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["el-icon-star-off"])])," ",_h("tr",[_h("td",["disabled-void-icon-class"])," ",_h("td",["只读时未选中 icon 的类名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["el-icon-star-on"])])," ",_h("tr",[_h("td",["show-text"])," ",_h("td",["是否显示辅助文字"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["text-color"])," ",_h("td",["辅助文字的颜色"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["1F2D3D"])])," ",_h("tr",[_h("td",["texts"])," ",_h("td",["辅助文字数组"])," ",_h("td",["array"])," ",_h("td",["—"])," ",_h("td",["['极差', '失望', '一般', '满意', '惊喜']"])])," ",_h("tr",[_h("td",["text-template"])," ",_h("td",["只读时的辅助文字模板"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["{value}"])])])])},function(){with(this)return _h("h3",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["分值改变时触发"])," ",_h("td",["改变后的分值"])])])])}]}},function(s,t,a){s.exports=a(193)},function(s,t,a){var e,n;a(194),e=a(196);var l=a(197);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{list:null,options:[{value:"选项1",label:"黄金糕"},{value:"选项2",label:"双皮奶"},{value:"选项3",label:"蚵仔煎"},{value:"选项4",label:"龙须面"},{value:"选项5",label:"北京烤鸭"}],options2:[{value:"选项1",label:"黄金糕"},{value:"选项2",label:"双皮奶",disabled:!0},{value:"选项3",label:"蚵仔煎"},{value:"选项4",label:"龙须面"},{value:"选项5",label:"北京烤鸭"}],options3:[{label:"热门城市",options:[{value:"Shanghai",label:"上海"},{value:"Beijing",label:"北京"}]},{label:"城市名",options:[{value:"Chengdu",label:"成都"},{value:"Shenzhen",label:"深圳"},{value:"Guangzhou",label:"广州"},{value:"Dalian",label:"大连"}]}],options4:[],cities:[{value:"Beijing",label:"北京"},{value:"Shanghai",label:"上海"},{value:"Nanjing",label:"南京"},{value:"Chengdu",label:"成都"},{value:"Shenzhen",label:"深圳"},{value:"Guangzhou",label:"广州"}],value:"",value2:"",value3:"",value4:"",value5:[],value6:"",value7:[],value8:"",value9:[],loading:!1,states:["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}},mounted:function(){this.list=this.states.map(function(s){return{value:s,label:s}})},methods:{remoteMethod:function(s){var t=this;""!==s?(this.loading=!0,setTimeout(function(){t.loading=!1,t.options4=t.list.filter(function(t){return t.label.toLowerCase().indexOf(s.toLowerCase())>-1})},200)):this.options4=[]}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value,expression:"value"}],domProps:{value:value},on:{input:function(s){value=s}}},[options&&_l(options,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}})})])]])," ",_m(4)])," ",_m(5)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value2,expression:"value2"}],domProps:{value:value2},on:{input:function(s){value2=s}}},[options2&&_l(options2,function(s){return _h("el-option",{attrs:{label:s.label,disabled:s.disabled},domProps:{value:s.value}})})])]])," ",_m(6)])," ",_m(7)," ",_m(8)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{disabled:""},domProps:{value:value3},on:{input:function(s){value3=s}}},[options&&_l(options,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}})})])]])," ",_m(9)])," ",_m(10)," ",_m(11)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value4,expression:"value4"}],attrs:{clearable:""},domProps:{value:value4},on:{input:function(s){value4=s}}},[options&&_l(options,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}})})])]])," ",_m(12)])," ",_m(13)," ",_m(14)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value5,expression:"value5"}],attrs:{multiple:""},domProps:{value:value5},on:{input:function(s){value5=s}}},[options&&_l(options,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}})})])]])," ",_m(15)])," ",_m(16)," ",_m(17)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value6,expression:"value6"}],domProps:{value:value6},on:{input:function(s){value6=s}}},[cities&&_l(cities,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}},[_h("span",{attrs:{style:"float: left"}},[_s(s.label)])," ",_h("span",{attrs:{style:"float: right; color: #8492a6; font-size: 13px"}},[_s(s.value)])])})])]])," ",_m(18)])," ",_m(19)," ",_m(20)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value7,expression:"value7"}],domProps:{value:value7},on:{input:function(s){value7=s}}},[options3&&_l(options3,function(s){return _h("el-option-group",{attrs:{label:s.label}},[s.options&&_l(s.options,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}})})])})])]])," ",_m(21)])," ",_m(22)," ",_m(23)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value8,expression:"value8"}],attrs:{filterable:""},domProps:{value:value8},on:{input:function(s){value8=s}}},[options&&_l(options,function(s){return _h("el-option",{attrs:{label:s.label},domProps:{value:s.value}})})])]])," ",_m(24)])," ",_m(25)," ",_m(26)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-select",{directives:[{name:"model",value:value9,expression:"value9"}],attrs:{multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","remote-method":remoteMethod,loading:loading},domProps:{value:value9},on:{input:function(s){value9=s}}},[options4&&_l(options4,function(s){return _h("el-option",{key:s.value,attrs:{label:s.label},domProps:{value:s.value}})})])]])," ",_m(27)])," ",_m(28)," ",_m(29)," ",_m(30)," ",_m(31)," ",_m(32)," ",_m(33)," ",_m(34)," ",_m(35)])},staticRenderFns:[function(){with(this)return _h("h2",["Select 选择器"])},function(){with(this)return _h("p",["当选项过多时,使用下拉菜单展示并选择内容。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["适用广泛的基础单选"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",[_h("code",["v-model"]),"的值为当前被选中的",_h("code",["el-option"]),"的 value 属性值"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'选项1'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'黄金糕'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项2'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'双皮奶'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项3'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'蚵仔煎'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项4'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'龙须面'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项5'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京烤鸭'"]),"\n }],\n value: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["有禁用选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在",_h("code",["el-option"]),"中,设定",_h("code",["disabled"]),"值为 true即可禁用该选项"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options2"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"item.disabled"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options2: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'选项1'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'黄金糕'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项2'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'双皮奶'"]),",\n disabled: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项3'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'蚵仔煎'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项4'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'龙须面'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项5'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京烤鸭'"]),"\n }],\n value2: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["禁用状态"])},function(){with(this)return _h("p",["选择器不可用状态"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为",_h("code",["el-select"]),"设置",_h("code",["disabled"]),"属性,则整个选择器不可用"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"'])," ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n \n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'选项1'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'黄金糕'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项2'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'双皮奶'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项3'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'蚵仔煎'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项4'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'龙须面'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项5'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京烤鸭'"]),"\n }],\n value3: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可清空单选"])},function(){with(this)return _h("p",["包含清空按钮,可将选择器清空为初始状态"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为",_h("code",["el-select"]),"设置",_h("code",["clearable"]),"属性,则可将选择器清空。需要注意的是,",_h("code",["clearable"]),"属性仅使用于单选。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value4"'])," ",_h("span",{staticClass:"hljs-attr"},["clearable"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'选项1'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'黄金糕'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项2'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'双皮奶'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项3'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'蚵仔煎'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项4'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'龙须面'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项5'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京烤鸭'"]),"\n }],\n value4: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["基础多选"])},function(){with(this)return _h("p",["适用性较广的基础多选,用 Tag 展示已选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为",_h("code",["el-select"]),"设置",_h("code",["nultiple"]),"属性即可启用多选,此时",_h("code",["v-model"]),"的值为当前选中值所组成的数组"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value5"'])," ",_h("span",{staticClass:"hljs-attr"},["multiple"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'选项1'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'黄金糕'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项2'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'双皮奶'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项3'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'蚵仔煎'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项4'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'龙须面'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项5'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京烤鸭'"]),"\n }],\n value5: []\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["自定义模板"])},function(){with(this)return _h("p",["可以自定义备选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["将自定义的 HTML 模板插入",_h("code",["el-option"]),"的 slot 中即可。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value6"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in cities"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"float: left"']),">"]),_h("span",["{{"])," item.label ",_h("span",["}}"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"float: right; color: #8492a6; font-size: 13px"']),">"]),_h("span",["{{"])," item.value ",_h("span",["}}"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n cities: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'Beijing'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Shanghai'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Nanjing'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'南京'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Chengdu'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'成都'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Shenzhen'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'深圳'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Guangzhou'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'广州'"]),"\n }],\n value6: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["分组"])},function(){with(this)return _h("p",["备选项进行分组展示"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["使用",_h("code",["el-option-group"]),"对备选项进行分组,它的",_h("code",["label"]),"属性为分组名"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value7"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option-group"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"group in options3"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"group.label"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in group.options"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option-group"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{
staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options3: [{\n label: ",_h("span",{staticClass:"hljs-string"},["'热门城市'"]),",\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'Shanghai'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Beijing'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京'"]),"\n }]\n }, {\n label: ",_h("span",{staticClass:"hljs-string"},["'城市名'"]),",\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'Chengdu'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'成都'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Shenzhen'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'深圳'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Guangzhou'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'广州'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'Dalian'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'大连'"]),"\n }]\n }],\n value7: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可搜索"])},function(){with(this)return _h("p",["可以利用搜索功能快速查找选项"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为",_h("code",["el-select"]),"添加",_h("code",["filterable"]),"属性即可启用搜索功能。默认情况下Select 会找出所有",_h("code",["label"]),"属性包含输入值的选项。如果希望使用其他的搜索逻辑,可以通过传入一个",_h("code",["filter-method"]),"来实现。",_h("code",["filter-method"]),"为一个",_h("code",["Function"]),",它会在输入值发生变化时调用,参数为当前输入值。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value8"'])," ",_h("span",{staticClass:"hljs-attr"},["filterable"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options: [{\n value: ",_h("span",{staticClass:"hljs-string"},["'选项1'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'黄金糕'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项2'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'双皮奶'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项3'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'蚵仔煎'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项4'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'龙须面'"]),"\n }, {\n value: ",_h("span",{staticClass:"hljs-string"},["'选项5'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'北京烤鸭'"]),"\n }],\n value8: ",_h("span",{staticClass:"hljs-string"},["''"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["远程搜索"])},function(){with(this)return _h("p",["从服务器搜索数据,输入关键字进行查找"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为了启用远程搜索,需要将",_h("code",["filterable"]),"和",_h("code",["remote"]),"设置为",_h("code",["true"]),",同时传入一个",_h("code",["remote-method"]),"。",_h("code",["remote-method"]),"为一个",_h("code",["Function"]),",它会在输入值发生变化时调用,参数为当前输入值。需要注意的是,如果",_h("code",["el-option"]),"是通过",_h("code",["v-for"]),"指令渲染出来的,此时需要为",_h("code",["el-option"]),"添加",_h("code",["key"]),"属性,且其值需具有唯一性,比如此例中的",_h("code",["item.value"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-select"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value9"']),"\n ",_h("span",{staticClass:"hljs-attr"},["multiple"]),"\n ",_h("span",{staticClass:"hljs-attr"},["filterable"]),"\n ",_h("span",{staticClass:"hljs-attr"},["remote"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"请输入关键词"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":remote-method"]),"=",_h("span",{staticClass:"hljs-string"},['"remoteMethod"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":loading"]),"=",_h("span",{staticClass:"hljs-string"},['"loading"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-option"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"item in options4"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":key"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":label"]),"=",_h("span",{staticClass:"hljs-string"},['"item.label"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":value"]),"=",_h("span",{staticClass:"hljs-string"},['"item.value"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-option"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n options4: [],\n value9: [],\n list: [],\n loading: ",_h("span",{staticClass:"hljs-literal"},["false"]),",\n states: [",_h("span",{staticClass:"hljs-string"},['"Alabama"']),", ",_h("span",{staticClass:"hljs-string"},['"Alaska"']),", ",_h("span",{staticClass:"hljs-string"},['"Arizona"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Arkansas"']),", ",_h("span",{staticClass:"hljs-string"},['"California"']),", ",_h("span",{staticClass:"hljs-string"},['"Colorado"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Connecticut"']),", ",_h("span",{staticClass:"hljs-string"},['"Delaware"']),", ",_h("span",{staticClass:"hljs-string"},['"Florida"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Georgia"']),", ",_h("span",{staticClass:"hljs-string"},['"Hawaii"']),", ",_h("span",{staticClass:"hljs-string"},['"Idaho"']),", ",_h("span",{staticClass:"hljs-string"},['"Illinois"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Indiana"']),", ",_h("span",{staticClass:"hljs-string"},['"Iowa"']),", ",_h("span",{staticClass:"hljs-string"},['"Kansas"']),", ",_h("span",{staticClass:"hljs-string"},['"Kentucky"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Louisiana"']),", ",_h("span",{staticClass:"hljs-string"},['"Maine"']),", ",_h("span",{staticClass:"hljs-string"},['"Maryland"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Massachusetts"']),", ",_h("span",{staticClass:"hljs-string"},['"Michigan"']),", ",_h("span",{staticClass:"hljs-string"},['"Minnesota"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Mississippi"']),", ",_h("span",{staticClass:"hljs-string"},['"Missouri"']),", ",_h("span",{staticClass:"hljs-string"},['"Montana"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Nebraska"']),", ",_h("span",{staticClass:"hljs-string"},['"Nevada"']),", ",_h("span",{staticClass:"hljs-string"},['"New Hampshire"']),",\n ",_h("span",{staticClass:"hljs-string"},['"New Jersey"']),", ",_h("span",{staticClass:"hljs-string"},['"New Mexico"']),", ",_h("span",{staticClass:"hljs-string"},['"New York"']),",\n ",_h("span",{staticClass:"hljs-string"},['"North Carolina"']),", ",_h("span",{staticClass:"hljs-string"},['"North Dakota"']),", ",_h("span",{staticClass:"hljs-string"},['"Ohio"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Oklahoma"']),", ",_h("span",{staticClass:"hljs-string"},['"Oregon"']),", ",_h("span",{staticClass:"hljs-string"},['"Pennsylvania"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Rhode Island"']),", ",_h("span",{staticClass:"hljs-string"},['"South Carolina"']),",\n ",_h("span",{staticClass:"hljs-string"},['"South Dakota"']),", ",_h("span",{staticClass:"hljs-string"},['"Tennessee"']),", ",_h("span",{staticClass:"hljs-string"},['"Texas"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Utah"']),", ",_h("span",{staticClass:"hljs-string"},['"Vermont"']),", ",_h("span",{staticClass:"hljs-string"},['"Virginia"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Washington"']),", ",_h("span",{staticClass:"hljs-string"},['"West Virginia"']),", ",_h("span",{staticClass:"hljs-string"},['"Wisconsin"']),",\n ",_h("span",{staticClass:"hljs-string"},['"Wyoming"']),"]\n }\n },\n mounted() {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".list = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".states.map(item => {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," { value: item, label: item };\n });\n },\n methods: {\n remoteMethod(query) {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (query !== ",_h("span",{staticClass:"hljs-string"},["''"]),") {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".loading = ",_h("span",{staticClass:"hljs-literal"},["true"]),";\n setTimeout(() => {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".loading = ",_h("span",{staticClass:"hljs-literal"},["false"]),";\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".options4 = ",_h("span",{staticClass:"hljs-keyword"},["this"]),".list.filter(item => {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," item.label.toLowerCase()\n .indexOf(query.toLowerCase()) > ",_h("span",{staticClass:"hljs-number"},["-1"]),";\n });\n }, ",_h("span",{staticClass:"hljs-number"},["200"]),");\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".options4 = [];\n }\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Select Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["multiple"])," ",_h("td",["是否多选"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["clearable"])," ",_h("td",["单选时是否可以清空选项"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["name"])," ",_h("td",["select input 的 name 属性"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["placeholder"])," ",_h("td",["占位符"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["请选择"])])," ",_h("tr",[_h("td",["filterable"])," ",_h("td",["是否可搜索"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["filter-method"])," ",_h("td",["自定义过滤方法"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["remote"])," ",_h("td",["是否为远程搜索"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["remote-method"])," ",_h("td",["远程搜索方法"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["loading"])," ",_h("td",["是否正在从远程获取数据"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Select Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["选中值发生变化时触发"])," ",_h("td",["目前的选中值"])])])])},function(){with(this)return _h("h3",["Option Group Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["分组的组名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否将该分组下所有选项置为禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Option Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["value"])," ",_h("td",["选项的值"])," ",_h("td",["string/number/object"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["label"])," ",_h("td",["选项的标签,若不设置则默认与 ",_h("code",["value"])," 相同"])," ",_h("td",["string/number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["是否禁用该选项"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])}]}},function(s,t,a){s.exports=a(199)},function(s,t,a){var e,n;a(200),e=a(202);var l=a(203);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{value1:0,value2:50,value3:0,value4:0,value5:0}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(4)," ",_h("el-slider",{directives:[{name:"model",value:value1,expression:"value1"}],domProps:{value:value1},on:{input:function(s){value1=s}}})])," ",_h("div",{staticClass:"block"},[_m(5)," ",_h("el-slider",{directives:[{name:"model",value:value2,expression:"value2"}],domProps:{value:value2},on:{input:function(s){value2=s}}})])]])," ",_m(6)])," ",_m(7)," ",_m(8)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_m(9)," ",_h("el-slider",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{step:10},domProps:{value:value3},on:{input:function(s){value3=s}}})])," ",_h("div",{staticClass:"block"},[_m(10)," ",_h("el-slider",{directives:[{name:"model",value:value4,expression:"value4"}],attrs:{step:10,"show-stops":""},domProps:{value:value4},on:{input:function(s){value4=s}}})])]])," ",_m(11)])," ",_m(12)," ",_m(13)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("div",{staticClass:"block"},[_h("el-slider",{directives:[{name:"model",value:value5,expression:"value5"}],attrs:{"show-input":""},domProps:{value:value5},on:{input:function(s){value5=s}}})])]])," ",_m(14)])," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)])},staticRenderFns:[function(){with(this)return _h("h2",["Slider 滑块"])},function(){with(this)return _h("p",["通过拖动滑块在一个固定区间内进行选择"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["在拖动滑块时,显示当前值"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["默认"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["自定义初始值"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置绑定值自定义滑块的初始值"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"默认",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-slider"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value1"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-slider"]),">"])," \n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"自定义初始值",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-slider"])," ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-slider"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n value1: ",_h("span",{staticClass:"hljs-number"},["0"]),",\n value2: ",_h("span",{staticClass:"hljs-number"},["50"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["离散值"])},function(){with(this)return _h("p",["选项可以是离散的"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["不显示间断点"])},function(){with(this)return _h("span",{staticClass:"demonstration"},["显示间断点"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["改变",_h("code",["step"]),"的值可以改变步长,通过设置",_h("code",["show-step"]),"属性可以显示间断点"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"不显示间断点",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-slider"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":step"]),"=",_h("span",{staticClass:"hljs-string"},['"10"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-slider"]),">"])," \n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["span"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"demonstration"']),">"]),"显示间断点",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["span"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-slider"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value4"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":step"]),"=",_h("span",{staticClass:"hljs-string"},['"10"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-stops"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-slider"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n value3: ",_h("span",{staticClass:"hljs-number"},["0"]),",\n value4: ",_h("span",{staticClass:"hljs-number"},["0"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带有输入框"])},function(){with(this)return _h("p",["通过输入框设置精确数值"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["show-input"]),"属性会在右侧显示一个输入框"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"block"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-slider"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value5"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-input"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-slider"]),">"])," \n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n value5: ",_h("span",{staticClass:"hljs-number"},["0"]),"\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h2",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["min"])," ",_h("td",["最小值"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["max"])," ",_h("td",["最大值"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["100"])])," ",_h("tr",[_h("td",["step"])," ",_h("td",["步长"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["1"])])," ",_h("tr",[_h("td",["show-input"])," ",_h("td",["是否显示输入框"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["show-stops"])," ",_h("td",["是否显示间断点"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h2",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["值改变时触发"])," ",_h("td",["改变后的值"])])])])}]}},function(s,t,a){s.exports=a(205)},function(s,t,a){var e,n;e=a(206);var l=a(207);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{active:0}},methods:{next:function(){this.active++>2&&(this.active=0)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-steps",{attrs:{space:100,active:active,"finish-status":"success"}},[_h("el-step",{attrs:{title:"步骤 1"}})," ",_h("el-step",{attrs:{title:"步骤 2"}})," ",_h("el-step",{attrs:{title:"步骤 3"}})])," ",_h("el-button",{attrs:{style:"margin-top: 12px;"},nativeOn:{click:function(s){next(s)}}},["下一步"])])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-steps",{attrs:{space:100,active:1,"finish-status":"success"}},[_h("el-step",{attrs:{title:"已完成"}})," ",_h("el-step",{attrs:{title:"进行中"}})," ",_h("el-step",{attrs:{title:"步骤 3"}})])])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-steps",{attrs:{space:200,active:1}},[_h("el-step",{attrs:{title:"步骤 1",description:"这是一段很长很长很长的描述性文字"}})," ",_h("el-step",{attrs:{title:"步骤 2",description:"这是一段很长很长很长的描述性文字"}})," ",_h("el-step",{attrs:{title:"步骤 3",description:"这是一段很长很长很长的描述性文字"}})])])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-steps",{attrs:{space:100,active:1}},[_h("el-step",{attrs:{title:"步骤 1",icon:"edit"}})," ",_h("el-step",{attrs:{title:"步骤 2",icon:"upload"}})," ",_h("el-step",{attrs:{title:"步骤 3",icon:"picture"}})])])," ",_m(13)])," ",_m(14)," ",_m(15)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-steps",{attrs:{space:100,direction:"vertical",active:1}},[_h("el-step",{attrs:{title:"步骤 1"}})," ",_h("el-step",{attrs:{title:"步骤 2"}})," ",_h("el-step",{attrs:{title:"步骤 3"}})])])," ",_m(16)])," ",_m(17)," ",_m(18)," ",_m(19)," ",_m(20)," ",_m(21)," ",_m(22)])},staticRenderFns:[function(){with(this)return _h("h2",["Steps 步骤条"])},function(){with(this)return _h("p",["引导用户按照流程完成任务的分步导航条,可根据实际应用场景设定步骤,步骤不得少于 2 步。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["简单的步骤条。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["active"]),"属性,接受一个",_h("code",["Number"]),",表明步骤的 index从 0 开始。需要定宽的步骤条时,设置",_h("code",["space"]),"属性即可,它接受",_h("code",["Boolean"]),",单位为",_h("code",["px"]),",如果不设置,则为自适应。设置",_h("code",["finish-status"]),"属性可以改变已经完成的步骤的状态。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-steps"])," ",_h("span",{staticClass:"hljs-attr"},[":space"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},[":active"]),"=",_h("span",{staticClass:"hljs-string"},['"active"'])," ",_h("span",{staticClass:"hljs-attr"},["finish-status"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 1"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 2"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 3"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-steps"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"margin-top: 12px;"'])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"next"']),">"]),"下一步",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{
staticClass:"hljs-keyword"},["return"])," {\n active: ",_h("span",{staticClass:"hljs-number"},["0"]),"\n };\n },\n\n methods: {\n next() {\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (",_h("span",{staticClass:"hljs-keyword"},["this"]),".active++ > ",_h("span",{staticClass:"hljs-number"},["2"]),") ",_h("span",{staticClass:"hljs-keyword"},["this"]),".active = ",_h("span",{staticClass:"hljs-number"},["0"]),";\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["含状态步骤条"])},function(){with(this)return _h("p",["每一步骤显示出该步骤的状态。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["也可以使用",_h("code",["title"]),"具名分发,可以用",_h("code",["slot"]),"的方式来取代属性的设置,在本文档最后的列表中有所有的 slot name 可供参考。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-steps"])," ",_h("span",{staticClass:"hljs-attr"},[":space"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},[":active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"'])," ",_h("span",{staticClass:"hljs-attr"},["finish-status"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"已完成"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"进行中"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 3"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-steps"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["有描述的步骤条"])},function(){with(this)return _h("p",["每个步骤有其对应的步骤状态描述。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-steps"])," ",_h("span",{staticClass:"hljs-attr"},[":space"]),"=",_h("span",{staticClass:"hljs-string"},['"200"'])," ",_h("span",{staticClass:"hljs-attr"},[":active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 1"'])," ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一段很长很长很长的描述性文字"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 2"'])," ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一段很长很长很长的描述性文字"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 3"'])," ",_h("span",{staticClass:"hljs-attr"},["description"]),"=",_h("span",{staticClass:"hljs-string"},['"这是一段很长很长很长的描述性文字"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-steps"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带图标的步骤条"])},function(){with(this)return _h("p",["步骤条内可以启用各种自定义的图标。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过",_h("code",["icon"]),"属性来设置图标,图标的类型可以参考 Icon 组件的文档,除此以外,还能通过 slot name 来使用自定义的图标。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-steps"])," ",_h("span",{staticClass:"hljs-attr"},[":space"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},[":active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 1"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"edit"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 2"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"upload"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 3"'])," ",_h("span",{staticClass:"hljs-attr"},["icon"]),"=",_h("span",{staticClass:"hljs-string"},['"picture"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-steps"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["竖式步骤条"])},function(){with(this)return _h("p",["竖直方向的步骤条。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["只需要在",_h("code",["el-steps"]),"元素中设置",_h("code",["direction"]),"属性为",_h("code",["vertical"]),"即可。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-steps"])," ",_h("span",{staticClass:"hljs-attr"},[":space"]),"=",_h("span",{staticClass:"hljs-string"},['"100"'])," ",_h("span",{staticClass:"hljs-attr"},["direction"]),"=",_h("span",{staticClass:"hljs-string"},['"vertical"'])," ",_h("span",{staticClass:"hljs-attr"},[":active"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 1"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 2"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-step"])," ",_h("span",{staticClass:"hljs-attr"},["title"]),"=",_h("span",{staticClass:"hljs-string"},['"步骤 3"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-step"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-steps"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Steps Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["space"])," ",_h("td",["每个 step 的间距,不填写将自适应间距"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["direction"])," ",_h("td",["显示方向"])," ",_h("td",["string"])," ",_h("td",["vertical/horizontal"])," ",_h("td",["horizontal"])])," ",_h("tr",[_h("td",["active"])," ",_h("td",["设置当前激活步骤"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["process-status"])," ",_h("td",["设置当前步骤的状态"])," ",_h("td",["string"])," ",_h("td",["wait/process/finish/error/success"])," ",_h("td",["process"])])," ",_h("tr",[_h("td",["finish-status"])," ",_h("td",["设置结束步骤的状态"])," ",_h("td",["string"])," ",_h("td",["wait/process/finish/error/success"])," ",_h("td",["finish"])])])])},function(){with(this)return _h("h3",["Step Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["title"])," ",_h("td",["标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["description"])," ",_h("td",["描述性文字"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["icon"])," ",_h("td",["图标"])," ",_h("td",["Element Icon 提供的图标,如果要使用",_h("br"),"自定义图标可以通过 slot 方式写入"])," ",_h("td",["string"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Step Slot"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["name"])," ",_h("th",["说明"])])])," ",_h("tbody",[_h("tr",[_h("td",["icon"])," ",_h("td",["图标"])])," ",_h("tr",[_h("td",["title"])," ",_h("td",["标题"])])," ",_h("tr",[_h("td",["description"])," ",_h("td",["描述性文字"])])])])}]}},function(s,t,a){s.exports=a(209)},function(s,t,a){var e,n;a(210),e=a(212);var l=a(213);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{value1:!0,value2:!0,value3:!0}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-switch",{directives:[{name:"model",value:value1,expression:"value1"}],attrs:{"on-text":"","off-text":""},domProps:{value:value1},on:{input:function(s){value1=s}}})," ",_h("el-switch",{directives:[{name:"model",value:value2,expression:"value2"}],attrs:{"on-color":"#13ce66","off-color":"#ff4949"},domProps:{value:value2},on:{input:function(s){value2=s}}})])," ",_m(3)])," ",_m(4)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-switch",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{"on-text":"","off-text":"",disabled:""},domProps:{value:value3},on:{input:function(s){value3=s}}})," ",_h("el-switch",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{disabled:""},domProps:{value:value3},on:{input:function(s){value3=s}}})])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_m(8)," ",_m(9)])},staticRenderFns:[function(){with(this)return _h("h2",["Switch 开关"])},function(){with(this)return _h("p",["表示两种相互对立的状态间的切换,多用于触发「开/关」。"])},function(){with(this)return _h("h3",["基本用法"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["绑定",_h("code",["v-model"]),"到一个",_h("code",["Boolean"]),"类型的变量。可以使用",_h("code",["on-text"]),"属性与",_h("code",["off-text"]),"属性来设置开关的文字描述,使用",_h("code",["on-color"]),"属性与",_h("code",["off-color"]),"属性来设置开关的背景色。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-switch"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value1"']),"\n ",_h("span",{staticClass:"hljs-attr"},["on-text"]),"=",_h("span",{staticClass:"hljs-string"},['""']),"\n ",_h("span",{staticClass:"hljs-attr"},["off-text"]),"=",_h("span",{staticClass:"hljs-string"},['""']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-switch"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-switch"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["on-color"]),"=",_h("span",{staticClass:"hljs-string"},['"#13ce66"']),"\n ",_h("span",{staticClass:"hljs-attr"},["off-color"]),"=",_h("span",{staticClass:"hljs-string"},['"#ff4949"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-switch"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["禁用状态"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["disabled"]),"属性,接受一个",_h("code",["Boolean"]),",设置",_h("code",["true"]),"即可禁用。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-switch"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["on-text"]),"=",_h("span",{staticClass:"hljs-string"},['""']),"\n ",_h("span",{staticClass:"hljs-attr"},["off-text"]),"=",_h("span",{staticClass:"hljs-string"},['""']),"\n ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-switch"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-switch"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["disabled"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-switch"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["disabled"])," ",_h("td",["是否禁用"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["width"])," ",_h("td",["switch 的宽度(像素)"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["58有文字/ 46无文字"])])," ",_h("tr",[_h("td",["on-icon-class"])," ",_h("td",["switch 打开时所显示图标的类名,",_h("br"),"设置此项会忽略 ",_h("code",["on-text"])])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["off-icon-class"])," ",_h("td",["switch 关闭时所显示图标的类名,",_h("br"),"设置此项会忽略 ",_h("code",["off-text"])])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["on-text"])," ",_h("td",["switch 打开时的文字"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["ON"])])," ",_h("tr",[_h("td",["off-text"])," ",_h("td",["switch 关闭时的文字"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["OFF"])])," ",_h("tr",[_h("td",["on-color"])," ",_h("td",["switch 打开时的背景色"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["#20A0FF"])])," ",_h("tr",[_h("td",["off-color"])," ",_h("td",["switch 关闭时的背景色"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["#C0CCDA"])])," ",_h("tr",[_h("td",["name"])," ",_h("td",["switch 对应的 name 属性"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["change"])," ",_h("td",["switch 状态发生变化时的回调函数"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(215)},function(s,t,a){var e,n;e=a(216);var l=a(217);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(2);e(n);t["default"]={data:function(){return{tableData:[{date:"2016-05-03",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-02",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-04",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-01",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333}],tableData2:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄",$info:!0},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄",$positive:!0}],tableData3:[{date:"2016-05-03",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-02",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-04",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-01",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-08",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-06",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333},{date:"2016-05-07",name:"王小虎",province:"上海",city:"普陀区",address:"上海市普陀区金沙江路 1518 弄",zip:200333}],singleSelection:{},multipleSelection:[]}},methods:{handleSelectionChange:function(s){this.singleSelection=s},handleMultipleSelectionChange:function(s){this.multipleSelection=s},formatter:function(s,t){return s.address}},watch:{singleSelection:function(s){console.log("selection: ",s)},multipleSelection:function(s){console.log("selection: ",s)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData,style:"width: 100%"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"180"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"180"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData,stripe:"",style:"width: 100%"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"180"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"180"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])]])," ",_m(7)])," ",_m(8)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData,border:"",style:"width: 100%"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"180"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"180"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])]])," ",_m(9)])," ",_m(10)," ",_m(11)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData2,style:"width: 100%","custom-criteria":["$info","$positive"],"custom-background-colors":["#C9E5F5","#E2F0E4"]}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"180"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"180"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])]])," ",_m(12)])," ",_m(13)," ",_m(14)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData3,height:"250",border:"",style:"width: 100%"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"180"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"180"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])]])," ",_m(15)])," ",_m(16)," ",_m(17)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData,"fixed-column-count":1,border:"",style:"width: 100%"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"150"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"120"}})," ",_h("el-table-column",{attrs:{property:"province",label:"省份",width:"120"}})," ",_h("el-table-column",{attrs:{property:"city",label:"市区",width:"120"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址",width:"300"}})," ",_h("el-table-column",{attrs:{property:"zip",label:"邮编",width:"120"}})])]])," ",_m(18)])," ",_m(19)," ",_m(20)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData3,"fixed-column-count":1,border:"",style:"width: 100%",height:"250"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",width:"150"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"120"}})," ",_h("el-table-column",{attrs:{property:"province",label:"省份",width:"120"}})," ",_h("el-table-column",{attrs:{property:"city",label:"市区",width:"120"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址",width:"300"}})," ",_h("el-table-column",{attrs:{property:"zip",label:"邮编",width:"120"}})])]])," ",_m(21)])," ",_m(22)," ",_m(23)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData,"selection-mode":"single",style:"width: 100%","allow-no-selection":""},on:{selectionchange:handleSelectionChange}},[_h("el-table-column",{attrs:{type:"index",width:"50"}})," ",_h("el-table-column",{attrs:{property:"date",label:"日期",width:"120"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"120"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址"}})])]])," ",_m(24)])," ",_m(25)," ",_m(26)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData3,"selection-mode":"multiple",style:"width: 100%"},on:{selectionchange:handleMultipleSelectionChange}},[_h("el-table-column",{attrs:{type:"selection",width:"50"}})," ",_h("el-table-column",{attrs:{label:"日期",width:"120"},inlineTemplate:{render:function(){with(this)return _h("div",[_s(row.date)])},staticRenderFns:[]}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"120"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址","show-tooltip-when-overflow":""}})])]])," ",_m(27)])," ",_m(28)," ",_m(29)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-table",{attrs:{data:tableData,border:"",style:"width: 100%"}},[_h("el-table-column",{attrs:{property:"date",label:"日期",sortable:"",width:"180"}})," ",_h("el-table-column",{attrs:{property:"name",label:"姓名",width:"180"}})," ",_h("el-table-column",{attrs:{property:"address",label:"地址",formatter:formatter}})])]])," ",_m(30)])," ",_m(31)," ",_m(32)," ",_m(33)," ",_m(34)," ",_m(35)," ",_m(36)])},staticRenderFns:[function(){with(this)return _h("h2",["Table 表格"])},function(){with(this)return _h("p",["用于展示多条结构类似的数据,可对数据进行排序、筛选、对比或其他自定义操作。"])},function(){with(this)return _h("h3",["基础表格"])},function(){with(this)return _h("p",["基础的表格展示用法。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["当",_h("code",["el-table"]),"元素中注入",_h("code",["data"]),"对象数组后,在",_h("code",["el-table-column"]),"中用",_h("code",["property"]),"属性来对应对象中的键名即可填入数据,用",_h("code",["label"]),"属性来定义表格的列名。可以使用",_h("code",["width"]),"属性来定义列宽。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[" ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1517 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1519 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1516 弄'"]),"\n }]\n }\n }\n }\n "]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带斑马纹表格"])},function(){with(this)return _h("p",["使用带斑马纹的表格,可以更容易区分出不同行的数据。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",[_h("code",["stripe"]),"属性可以创建带斑马纹的表格。它接受一个",_h("code",["Boolean"]),",默认为",_h("code",["false"]),",设置为",_h("code",["true"]),"即为启用。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData"']),"\n ",_h("span",{staticClass:"hljs-attr"},["stripe"]),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1517 弄'"]),"\n }, {\n date: ",_h("span",{
staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1519 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1516 弄'"]),"\n }]\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带边框表格"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["默认情况下Table 组件是不具有竖直方向的边框的,如果需要,可以使用",_h("code",["border"]),"属性,它接受一个",_h("code",["Boolean"]),",设置为",_h("code",["true"]),"即可启用。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData"']),"\n ",_h("span",{staticClass:"hljs-attr"},["border"]),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1517 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1519 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1516 弄'"]),"\n }]\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["带状态表格"])},function(){with(this)return _h("p",["可将表格内容 highlight 显示,方便区分「成功、信息、警告、危险」等内容。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["为行添加自定义背景色,表明该行处于某种状态。若某一行拥有",_h("code",["custom-criteria"]),"数组中的某个字段且值为",_h("code",["true"]),",则为该行添加",_h("code",["custom-background-colors"]),"数组中对应的背景色。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData2"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":custom-criteria"]),"=",_h("span",{staticClass:"hljs-string"},["\"['$info', '$positive']\""]),"\n ",_h("span",{staticClass:"hljs-attr"},[":custom-background-colors"]),"=",_h("span",{staticClass:"hljs-string"},["\"['#C9E5F5', '#E2F0E4']\""]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData2: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n $info: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n $positive: ",_h("span",{staticClass:"hljs-literal"},["true"]),"\n }]\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["固定表头"])},function(){with(this)return _h("p",["纵向内容过多时,可选择固定表头。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["只要在",_h("code",["el-table"]),"元素中定义了",_h("code",["height"]),"属性,即可实现固定表头的表格,而不需要额外的代码。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["height"]),"=",_h("span",{staticClass:"hljs-string"},['"250"']),"\n ",_h("span",{staticClass:"hljs-attr"},["border"]),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData3: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-08'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-06'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-07'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }]\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["固定列"])},function(){with(this)return _h("p",["横向内容过多时,可选择固定首列。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["固定列需要使用",_h("code",["fixed-column-count"]),"属性,它接受一个",_h("code",["Number"]),",表示左起要固定的列数。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":fixed-column-count"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),"\n ",_h("span",{staticClass:"hljs-attr"},["border"]),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"150"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"province"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"省份"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"city"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"市区"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"300"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"zip"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"邮编"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }]\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["固定列和表头"])},function(){with(this)return _h("p",["横纵内容过多时,可选择固定列和表头。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["固定列和表头可以同时使用,只需要将上述两个属性分别设置好即可。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData3"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":fixed-column-count"]),"=",_h("span",{staticClass:"hljs-string"},['"1"']),"\n ",_h("span",{staticClass:"hljs-attr"},["border"]),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),"\n ",_h("span",{staticClass:"hljs-attr"},["height"]),"=",_h("span",{staticClass:"hljs-string"},['"250"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"150"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"province"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"省份"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"city"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"市区"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"300"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"zip"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"邮编"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData3: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-08'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-06'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-07'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n province: ",_h("span",{staticClass:"hljs-string"},["'上海'"]),",\n city: ",_h("span",{staticClass:"hljs-string"},["'普陀区'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),",\n zip: ",_h("span",{staticClass:"hljs-number"},["200333"]),"\n }]\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["单选"])},function(){with(this)return _h("p",["选择单行数据时使用色块表示。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Table 组件提供了选择的支持,只需要配置",_h("code",["selection-mode"]),"属性即可实现单选(",_h("code",["single"]),")、多选(",_h("code",["multiple"]),"),如果不需要则设置为",_h("code",["none"]),"。之后由",_h("code",["selectionchange"]),"事件来管理选中时触发的事件,它会传入一个",_h("code",["value"]),"",_h("code",["value"]),"为生成表格时的对应对象。本例中还使用了",_h("code",["allow-no-selection"]),"属性,它接受一个",_h("code",["Boolean"]),",若为",_h("code",["true"]),",则允许为空,默认为",_h("code",["false"]),",此时将会产生默认值,为填入数组的第一个对象。如果需要显示索引,可以增加一列",_h("code",["el-table-column"]),",设置",_h("code",["type"]),"属性为",_h("code",["index"]),"即可显示从 1 开始的索引号。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData"']),"\n ",_h("span",{staticClass:"hljs-attr"},["selection-mode"]),"=",_h("span",{staticClass:"hljs-string"},['"single"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@selectionchange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSelectionChange"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),"\n ",_h("span",{staticClass:"hljs-attr"},["allow-no-selection"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"index"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"50"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"
},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1517 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1519 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1516 弄'"]),"\n }],\n singleSelection: {}\n }\n },\n\n methods: {\n handleSelectionChange(val) {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".singleSelection = val;\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["多选"])},function(){with(this)return _h("p",["选择多行数据时使用 Checkbox。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["除了",_h("code",["selection-mode"]),"的设置外,多选与单选并没有太大差别,只是传入",_h("code",["selectionchange"]),"事件中的参数从对象变成了对象数组。此外,需要提供一个列来显示多选框: 手动添加一个",_h("code",["el-table-column"]),",设",_h("code",["type"]),"属性为",_h("code",["selection"]),"即可。在本例中,为了方便说明其他属性,我们还使用了",_h("code",["inline-template"]),"和",_h("code",["show-tooltip-when-overflow"]),":设置了",_h("code",["inline-template"]),"属性后,可以通过调用",_h("code",["row"]),"对象中的值取代",_h("code",["property"]),"属性的设置;默认情况下若内容过多会折行显示,若需要单行显示可以使用",_h("code",["show-tooltip-when-overflow"]),"属性,它接受一个",_h("code",["Boolean"]),",为",_h("code",["true"]),"时多余的内容会在 hover 时以 tooltip 的形式显示出来。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["selection-mode"]),"=",_h("span",{staticClass:"hljs-string"},['"multiple"']),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@selectionchange"]),"=",_h("span",{staticClass:"hljs-string"},['"handleMultipleSelectionChange"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"selection"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"50"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["inline-template"]),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"]),">"]),_h("span",["{{"])," row.date ",_h("span",["}}"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"120"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),"\n ",_h("span",{staticClass:"hljs-attr"},["show-tooltip-when-overflow"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData3: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-08'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-06'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-07'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }],\n multipleSelection: []\n }\n },\n\n methods: {\n handleSelectionChange(val) {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".multipleSelection = val;\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["排序"])},function(){with(this)return _h("p",["对表格进行排序,可快速查找或对比数据。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在列中设置",_h("code",["sortable"]),"属性即可实现以该列为基准的排序,接受一个",_h("code",["Boolean"]),",默认为",_h("code",["false"]),"。在本例中,我们还使用了",_h("code",["formatter"]),"属性,它用于格式化指定列的值,接受一个",_h("code",["Function"]),",会传入两个参数:",_h("code",["row"]),"和",_h("code",["column"]),",可以根据自己的需求进行处理。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table"]),"\n ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"tableData"']),"\n ",_h("span",{staticClass:"hljs-attr"},["border"]),"\n ",_h("span",{staticClass:"hljs-attr"},["style"]),"=",_h("span",{staticClass:"hljs-string"},['"width: 100%"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"date"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"日期"']),"\n ",_h("span",{staticClass:"hljs-attr"},["sortable"]),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"name"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"姓名"']),"\n ",_h("span",{staticClass:"hljs-attr"},["width"]),"=",_h("span",{staticClass:"hljs-string"},['"180"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-table-column"]),"\n ",_h("span",{staticClass:"hljs-attr"},["property"]),"=",_h("span",{staticClass:"hljs-string"},['"address"']),"\n ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"地址"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":formatter"]),"=",_h("span",{staticClass:"hljs-string"},['"formatter"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table-column"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-table"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tableData: [{\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-02'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1518 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-04'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1517 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-01'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1519 弄'"]),"\n }, {\n date: ",_h("span",{staticClass:"hljs-string"},["'2016-05-03'"]),",\n name: ",_h("span",{staticClass:"hljs-string"},["'王小虎'"]),",\n address: ",_h("span",{staticClass:"hljs-string"},["'上海市普陀区金沙江路 1516 弄'"]),"\n }]\n }\n },\n methods: {\n formatter(row, column) {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," row.address;\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Table Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["data"])," ",_h("td",["显示的数据"])," ",_h("td",["array"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["height"])," ",_h("td",["table 的高度,默认高度为空,即自动高度"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["stripe"])," ",_h("td",["是否为斑马纹 table"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["border"])," ",_h("td",["是否带有纵向边框"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["selection-mode"])," ",_h("td",["列表项选择模式"])," ",_h("td",["string"])," ",_h("td",["single/multiple/none"])," ",_h("td",["none"])])," ",_h("tr",[_h("td",["allow-no-selection"])," ",_h("td",["单选模式是否允许选项为空"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["fixed-column-count"])," ",_h("td",["固定列的个数"])," ",_h("td",["number"])," ",_h("td",["—"])," ",_h("td",["0"])])])])},function(){with(this)return _h("h3",["Table Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名"])," ",_h("th",["说明"])," ",_h("th",["参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["selectionchange"])," ",_h("td",["当选择项发生变化时会触发该事件"])," ",_h("td",["selected"])])," ",_h("tr",[_h("td",["cellmouseenter"])," ",_h("td",["当单元格 hover 进入时会触发该事件"])," ",_h("td",["row, column, cell, event"])])," ",_h("tr",[_h("td",["cellmouseleave"])," ",_h("td",["当单元格 hover 退出时会触发该事件"])," ",_h("td",["row, column, cell, event"])])," ",_h("tr",[_h("td",["cellclick"])," ",_h("td",["当某个单元格被点击时会触发该事件"])," ",_h("td",["row, column, cell, event"])])])])},function(){with(this)return _h("h3",["Table-column Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["显示的标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["property"])," ",_h("td",["对应列内容的字段名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["width"])," ",_h("td",["对应列的宽度"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["sortable"])," ",_h("td",["对应列是否可以排序"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["对应列的类型。如果设置了 ",_h("code",["selection"])," 则显示多选框,如果设置了 ",_h("code",["index"])," 则显示该行的索引(从 1 开始计算)"])," ",_h("td",["string"])," ",_h("td",["selection/index"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["formatter"])," ",_h("td",["用来格式化内容,在 formatter 执行的时候,会传入 row 和 column"])," ",_h("td",["function"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["show-tooltip-when-overflow"])," ",_h("td",["当过长被隐藏时显示 tooltip"])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["inline-template"])," ",_h("td",["指定该属性后可以自定义 column 模板,参考多选的时间列,通过 row 获取行信息JSX 里通过 _self 获取当前上下文。此时不需要配置 property 属性"])," ",_h("td",["—"])," ",_h("td",["—"])," ",_h("td")])," ",_h("tr",[_h("td",["align"])," ",_h("td",["对齐方式"])," ",_h("td",["String"])," ",_h("td",["left, center, right"])," ",_h("td",["left"])])])])}]}},function(s,t,a){s.exports=a(219)},function(s,t,a){var e,n;e=a(220);var l=a(221);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{activeName:"first",activeName2:""}},methods:{handleRemove:function(s){console.log(s)},handleClick:function(s,t){console.log(s,t)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-tabs",{attrs:{"active-name":activeName}},[_h("el-tab-pane",{attrs:{name:"first",label:"用户管理"}})," ",_h("el-tab-pane",{attrs:{label:"配置管理"}})," ",_h("el-tab-pane",{attrs:{label:"角色管理"}})," ",_h("el-tab-pane",{attrs:{label:"定时任务补偿"}})])]])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-tabs",{attrs:{type:"card"},on:{"tab-click":handleClick,"tab-remove":handleRemove}},[_h("el-tab-pane",{attrs:{label:"用户管理"}})," ",_h("el-tab-pane",{attrs:{label:"配置管理"}})," ",_h("el-tab-pane",{attrs:{label:"角色管理"}})," ",_h("el-tab-pane",{attrs:{label:"定时任务补偿"}})])]])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-tabs",{attrs:{type:"card",closable:!0},on:{"tab-click":handleClick,"tab-remove":handleRemove}},[_h("el-tab-pane",{attrs:{label:"用户管理"}})," ",_h("el-tab-pane",{attrs:{label:"配置管理"}})," ",_h("el-tab-pane",{attrs:{label:"角色管理"}})," ",_h("el-tab-pane",{attrs:{label:"定时任务补偿"}})])]])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-tabs",{attrs:{type:"border-card"}},[_h("el-tab-pane",{attrs:{label:"用户管理"}})," ",_h("el-tab-pane",{attrs:{label:"配置管理"}})," ",_h("el-tab-pane",{attrs:{label:"角色管理"}})," ",_h("el-tab-pane",{attrs:{label:"定时任务补偿"}})])])," ",_m(13)])," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)," ",_m(19)])},staticRenderFns:[function(){with(this)return _h("h2",["Tabs 标签页"])},function(){with(this)return _h("p",["分隔内容上有关联但属于不同类别的数据集合。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["基础的、简洁的标签页。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["Tabs 组件提供了选项卡功能,只需要使用",_h("code",["el-tabs"]),"和子元素",_h("code",["el-tab-pane"]),"即可,在两个元素中,我们分别提供了一系列的属性来方便使用,",_h("code",["el-tab-pane"]),"中",_h("code",["label"]),"决定了选项卡标题,标签内部写入内容即可。在下例中我们在",_h("code",["el-tabs"]),"中设置了",_h("code",["active-name"]),"属性,接受一个",_h("code",["String"]),"值,表明选中的选项卡,在",_h("code",["el-tab-pane"]),"中可以设置对应的",_h("code",["name"]),"属性,如果没有设置",_h("code",["name"]),",则默认值为顺序的",_h("code",["1"]),"/",_h("code",["2"]),"/",_h("code",["3"]),"/",_h("code",["4"]),"。例子选中选项卡2如果不设置",_h("code",["name"]),",将",_h("code",["active-name"]),"设为",_h("code",["2"]),",可以达成相同效果。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tabs"])," ",_h("span",{staticClass:"hljs-attr"},[":active-name"]),"=",_h("span",{staticClass:"hljs-string"},['"activeName"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["name"]),"=",_h("span",{staticClass:"hljs-string"},['"first"'])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"用户管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"配置管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"角色管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"定时任务补偿"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tabs"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n activeName: ",_h("span",{staticClass:"hljs-string"},["'first'"]),"\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["选项卡样式"])},function(){with(this)return _h("p",["选项卡样式的标签页。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["只需要设置",_h("code",["type"]),"属性即可,如果需要标签风格,将其设置为",_h("code",["card"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tabs"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"card"'])," ",_h("span",{staticClass:"hljs-attr"},["@tab-click"]),"=",_h("span",{staticClass:"hljs-string"},['"handleClick"'])," ",_h("span",{staticClass:"hljs-attr"},["@tab-remove"]),"=",_h("span",{staticClass:"hljs-string"},['"handleRemove"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"用户管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"配置管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"角色管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"定时任务补偿"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tabs"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n handleRemove(tab) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(tab);\n },\n handleClick(tab) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(tab);\n }\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可关闭"])},function(){with(this)return _h("p",["可以关闭标签页。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["在",_h("code",["el-tabs"]),"中设置",_h("code",["closable"]),"属性,接受一个",_h("code",["Boolean"]),",设置为",_h("code",["true"]),"时为可关闭。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tabs"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"card"'])," ",_h("span",{staticClass:"hljs-attr"},[":closable"]),"=",_h("span",{staticClass:"hljs-string"},['"true"'])," ",_h("span",{staticClass:"hljs-attr"},["@tab-click"]),"=",_h("span",{staticClass:"hljs-string"},['"handleClick"'])," ",_h("span",{staticClass:"hljs-attr"},["@tab-remove"]),"=",_h("span",{staticClass:"hljs-string"},['"handleRemove"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"用户管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"配置管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"角色管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"定时任务补偿"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tabs"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n handleRemove(tab) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(tab);\n },\n handleClick(tab) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(tab);\n }\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["卡片化"])},function(){with(this)return _h("p",["卡片化的标签页。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["将",_h("code",["type"]),"设置为",_h("code",["border-card"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tabs"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"border-card"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"用户管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"配置管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"角色管理"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tab-pane"])," ",_h("span",{staticClass:"hljs-attr"},["label"]),"=",_h("span",{staticClass:"hljs-string"},['"定时任务补偿"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tab-pane"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tabs"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Tabs Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["type"])," ",_h("td",["风格类型"])," ",_h("td",["string"])," ",_h("td",["card, border-card"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["closable"])," ",_h("td",["标签是否可关闭"])," ",_h("td",["boolean"])," ",_h("td",["true, false"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["active-name"])," ",_h("td",["选中选项卡的 name"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])]);
},function(){with(this)return _h("h3",["Tabs Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["tab-click"])," ",_h("td",["tab 被选中的钩子"])," ",_h("td",["被选中的标签 tab"])])," ",_h("tr",[_h("td",["tab-remove"])," ",_h("td",["tab 被删除的钩子"])," ",_h("td",["被删除的标签 tab"])])])])},function(){with(this)return _h("h3",["Tab-pane Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["选项卡标题"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["name"])," ",_h("td",["与选项卡 activeName 对应的标识符,表示选项卡别名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["该选项卡在选项卡中的 name 值,如第一个选项卡则为'1'"])])])])}]}},function(s,t,a){s.exports=a(223)},function(s,t,a){var e,n;a(224),e=a(226);var l=a(227);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{tags:[{key:1,name:"标签一",type:""},{key:2,name:"标签二",type:"gray"},{key:5,name:"标签三",type:"primary"},{key:3,name:"标签四",type:"success"},{key:4,name:"标签五",type:"warning"},{key:6,name:"标签六",type:"danger"}]}},methods:{handleClose:function(s){this.tags.splice(this.tags.indexOf(s),1)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-tag",["标签一"])," ",_h("el-tag",{attrs:{type:"gray"}},["标签二"])," ",_h("el-tag",{attrs:{type:"primary"}},["标签三"])," ",_h("el-tag",{attrs:{type:"success"}},["标签四"])," ",_h("el-tag",{attrs:{type:"warning"}},["标签五"])," ",_h("el-tag",{attrs:{type:"danger"}},["标签六"])])," ",_m(3)])," ",_m(4)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[tags&&_l(tags,function(s){return _h("el-tag",{key:s,attrs:{closable:!0,type:s.type,"close-transition":!1},on:{close:function(t){handleClose(s)}}},["\n"+_s(s.name)+"\n"])})])," ",_m(5)])," ",_m(6)," ",_m(7)," ",_m(8)," ",_m(9)])},staticRenderFns:[function(){with(this)return _h("h2",["Tag 标签"])},function(){with(this)return _h("p",["用于标记和选择。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["由",_h("code",["type"]),"属性来定义,该属性可选填。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"标签一",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"gray"']),">"]),"标签二",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"标签三",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"success"']),">"]),"标签四",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"warning"']),">"]),"标签五",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"danger"']),">"]),"标签六",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可移除标签"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["设置",_h("code",["closable"]),"属性来定义一个可移除的标签,接受一个",_h("code",["Boolean"]),",设置为",_h("code",["true"]),"即可。默认的标签移除时会附带渐变动画,如果不想使用,可以设置",_h("code",["close-transition"]),"属性,它接受一个",_h("code",["Boolean"]),"true 为关闭。设置",_h("code",["close"]),"事件可以处理关闭后的回调函数。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tag"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-for"]),"=",_h("span",{staticClass:"hljs-string"},['"tag in tags"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":closable"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":type"]),"=",_h("span",{staticClass:"hljs-string"},['"tag.type"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":key"]),"=",_h("span",{staticClass:"hljs-string"},['"tag"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":close-transition"]),"=",_h("span",{staticClass:"hljs-string"},['"false"']),"\n ",_h("span",{staticClass:"hljs-attr"},["@close"]),"=",_h("span",{staticClass:"hljs-string"},['"handleClose(tag)"']),"\n>"]),"\n",_h("span",["{{"]),"tag.name",_h("span",["}}"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tag"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n tags: [\n { key: ",_h("span",{staticClass:"hljs-number"},["1"]),", name: ",_h("span",{staticClass:"hljs-string"},["'标签一'"]),", type: ",_h("span",{staticClass:"hljs-string"},["''"])," },\n { key: ",_h("span",{staticClass:"hljs-number"},["2"]),", name: ",_h("span",{staticClass:"hljs-string"},["'标签二'"]),", type: ",_h("span",{staticClass:"hljs-string"},["'gray'"])," },\n { key: ",_h("span",{staticClass:"hljs-number"},["5"]),", name: ",_h("span",{staticClass:"hljs-string"},["'标签三'"]),", type: ",_h("span",{staticClass:"hljs-string"},["'primary'"])," },\n { key: ",_h("span",{staticClass:"hljs-number"},["3"]),", name: ",_h("span",{staticClass:"hljs-string"},["'标签四'"]),", type: ",_h("span",{staticClass:"hljs-string"},["'success'"])," },\n { key: ",_h("span",{staticClass:"hljs-number"},["4"]),", name: ",_h("span",{staticClass:"hljs-string"},["'标签五'"]),", type: ",_h("span",{staticClass:"hljs-string"},["'warning'"])," },\n { key: ",_h("span",{staticClass:"hljs-number"},["6"]),", name: ",_h("span",{staticClass:"hljs-string"},["'标签六'"]),", type: ",_h("span",{staticClass:"hljs-string"},["'danger'"])," }\n ]\n };\n },\n methods: {\n handleClose(tag) {\n ",_h("span",{staticClass:"hljs-keyword"},["this"]),".tags.$remove(tag);\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["type"])," ",_h("td",["主题"])," ",_h("td",["string"])," ",_h("td",["'primary', 'gray', 'success', 'warning', 'danger'"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["closable"])," ",_h("td",["是否可关闭"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["close-transition"])," ",_h("td",["是否禁用关闭时的渐变动画"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["hit"])," ",_h("td",["是否有边框描边"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])},function(){with(this)return _h("h3",["Events"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["事件名称"])," ",_h("th",["说明"])," ",_h("th",["回调参数"])])])," ",_h("tbody",[_h("tr",[_h("td",["close"])," ",_h("td",["关闭tag时触发的事件"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(229)},function(s,t,a){var e,n;a(230),e=a(232);var l=a(233);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{value1:"",value2:new Date(2016,9,10,18,40),value3:[new Date(2016,9,10,8,40),new Date(2016,9,10,9,40)],startTime:"",endTime:""}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-time-select",{directives:[{name:"model",value:value1,expression:"value1"}],attrs:{"picker-options":{start:"08:30",step:"00:15",end:"18:30"},placeholder:"选择时间"},domProps:{value:value1},on:{input:function(s){value1=s}}})])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-time-picker",{directives:[{name:"model",value:value2,expression:"value2"}],attrs:{"picker-options":{selectableRange:"18:30:00 - 20:30:00"},placeholder:"任意时间点"},domProps:{value:value2},on:{input:function(s){value2=s}}})])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-time-select",{directives:[{name:"model",value:startTime,expression:"startTime"}],attrs:{placeholder:"起始时间","picker-options":{start:"08:30",step:"00:15",end:"18:30"}},domProps:{value:startTime},on:{input:function(s){startTime=s}}})," ",_h("el-time-select",{directives:[{name:"model",value:endTime,expression:"endTime"}],attrs:{placeholder:"结束时间","picker-options":{start:"08:30",step:"00:15",end:"18:30",minTime:startTime}},domProps:{value:endTime},on:{input:function(s){endTime=s}}})])," ",_m(10)])," ",_m(11)," ",_m(12)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-time-picker",{directives:[{name:"model",value:value3,expression:"value3"}],attrs:{"is-range":"",placeholder:"选择时间范围"},domProps:{value:value3},on:{input:function(s){value3=s}}})])," ",_m(13)])," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)," ",_m(18)," ",_m(19)])},staticRenderFns:[function(){with(this)return _h("h2",["Time Picker 时间选择器"])},function(){with(this)return _h("p",["用于选择或输入日期"])},function(){with(this)return _h("h3",["固定时间点"])},function(){with(this)return _h("p",["提供几个固定的时间点供用户选择"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["使用 el-time-select 标签,分别通过",_h("code",["star"]),"、",_h("code",["end"]),"和",_h("code",["step"]),"指定可选的起始时间、结束时间和步长"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-select"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value1"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},["\"{\n start: '08:30',\n step: '00:15',\n end: '18:30'\n }\""]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择时间"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-select"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["任意时间点"])},function(){with(this)return _h("p",["可以选择任意时间"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["使用 el-time-picker 标签,通过",_h("code",["selectableRange"]),"限制可选时间范围"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value2"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},["\"{\n selectableRange: '18:30:00 - 20:30:00'\n }\""]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"任意时间点"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-picker"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["固定时间范围"])},function(){with(this)return _h("p",["若先选择开始时间,则结束时间内备选项的状态会随之改变"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-select"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"起始时间"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"startTime"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},["\"{\n start: '08:30',\n step: '00:15',\n end: '18:30'\n }\""]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-select"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-select"]),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"结束时间"']),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"endTime"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":picker-options"]),"=",_h("span",{staticClass:"hljs-string"},["\"{\n start: '08:30',\n step: '00:15',\n end: '18:30',\n minTime: startTime\n }\""]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-select"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["任意时间范围"])},function(){with(this)return _h("p",["可选择任意的时间范围"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["添加",_h("code",["is-range"]),"属性即可选择时间范围"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-time-picker"]),"\n ",_h("span",{staticClass:"hljs-attr"},["is-range"]),"\n ",_h("span",{staticClass:"hljs-attr"},["v-model"]),"=",_h("span",{staticClass:"hljs-string"},['"value3"']),"\n ",_h("span",{staticClass:"hljs-attr"},["placeholder"]),"=",_h("span",{staticClass:"hljs-string"},['"选择时间范围"']),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-time-picker"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["readonly"])," ",_h("td",["只读"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["placeholder"])," ",_h("td",["占位内容"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["format"])," ",_h("td",["时间格式化"])," ",_h("td",["string"])," ",_h("td",["小时:",_h("code",["HH"]),",分:",_h("code",["mm"]),",秒:",_h("code",["ss"])])," ",_h("td",["'HH:mm:ss'"])])," ",_h("tr",[_h("td",["picker-options"])," ",_h("td",["当前时间日期选择器特有的选项,参考下表"])," ",_h("td",["object"])," ",_h("td",["—"])," ",_h("td",["{}"])])])])},function(){with(this)return _h("h3",["Time Select Options"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["start"])," ",_h("td",["开始时间"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["09:00"])])," ",_h("tr",[_h("td",["end"])," ",_h("td",["结束时间"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["18:00"])])," ",_h("tr",[_h("td",["step"])," ",_h("td",["间隔时间"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["00:30"])])," ",_h("tr",[_h("td",["minTime"])," ",_h("td",["最小时间,小于该时间的时间段将被禁用"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["00:00"])])])])},function(){with(this)return _h("h3",["Time Picker Options"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["selectableRange"])," ",_h("td",["可选时间段,例如",_h("br"),_h("code",["'18:30:00 - 20:30:00'"]),_h("br"),"或者传入数组",_h("br"),_h("code",["['09:30:00 - 12:00:00', '14:30:00 - 18:30:00']"])])," ",_h("td",["string/array"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(235)},function(s,t,a){var e,n;a(236),a(238),e=a(240);var l=a(241);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{disabled:!1}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("div",{staticClass:"box"},[_h("div",{staticClass:"top"},[_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Top Left 提示文字",placement:"top-start"}},[_h("el-button",["上左"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Top Center 提示文字",placement:"top"}},[_h("el-button",["上边"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Top Right 提示文字",placement:"top-end"}},[_h("el-button",["上右"])])])," ",_h("div",{staticClass:"left"},[_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Left Top 提示文字",placement:"left-start"}},[_h("el-button",["左上"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Left Center 提示文字",placement:"left"}},[_h("el-button",["左边"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Left Bottom 提示文字",placement:"left-end"}},[_h("el-button",["左下"])])])," ",_h("div",{staticClass:"right"},[_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Right Top 提示文字",placement:"right-start"}},[_h("el-button",["右上"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Right Center 提示文字",placement:"right"}},[_h("el-button",["右边"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Right Bottom 提示文字",placement:"right-end"}},[_h("el-button",["右下"])])])," ",_h("div",{staticClass:"bottom"},[_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Bottom Left 提示文字",placement:"bottom-start"}},[_h("el-button",["下左"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Bottom Center 提示文字",placement:"bottom"}},[_h("el-button",["下边"])])," ",_h("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Bottom Right 提示文字",placement:"bottom-end"}},[_h("el-button",["下右"])])])])])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-tooltip",{attrs:{content:"Top center",placement:"top"}},[_h("el-button",["Dark"])])," ",_h("el-tooltip",{attrs:{content:"Bottom center",placement:"bottom",effect:"light"}},[_h("el-button",["Light"])])])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-tooltip",{attrs:{placement:"top"}},[_h("div",{slot:"content"},["多行信息",_m(10),"第二行信息"])," ",_h("el-button",["Top center"])])])," ",_m(11)])," ",_m(12)," ",_m(13)," ",_m(14)," ",_m(15)," ",_m(16)," ",_m(17)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[[_h("el-tooltip",{attrs:{disabled:disabled,content:"点击关闭 tooltip 功能",placement:"bottom",effect:"light"}},[_h("el-button",{nativeOn:{click:function(s){disabled=!0}}},["点击关闭 tooltip 功能"])])]])," ",_m(18)])," ",_m(19)," ",_m(20)])},staticRenderFns:[function(){with(this)return _h("h2",["Tooltips 文字提示"])},function(){with(this)return _h("p",["常用于展示鼠标 hover 时的提示信息。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["在这里我们提供 9 种不同方向的展示方式,可以通过以下完整示例来理解,选择你要的效果。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["使用",_h("code",["content"]),"属性来决定",_h("code",["hover"]),"时的提示信息。由",_h("code",["placement"]),"属性决定展示效果:",_h("code",["placement"]),"属性值为:",_h("code",["方向-对齐位置"]),";四个方向:",_h("code",["top"]),"、",_h("code",["left"]),"、",_h("code",["right"]),"、",_h("code",["bottom"]),";三种对齐位置:",_h("code",["start"]),", ",_h("code",["end"]),",默认为空。如",_h("code",['placement="left-end"']),",则提示信息出现在目标元素的左侧,且提示信息的底部与目标元素的底部对齐。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["style"]),">"]),_h("span",{staticClass:"undefined"},["\n .box {\n width: 400px;\n\n .top {\n text-align: center;\n }\n\n .left {\n float: left;\n width: 60px;\n }\n\n .right {\n float: right;\n width: 60px;\n }\n\n .bottom {\n clear: both;\n text-align: center;\n }\n\n .item {\n margin: 4px;\n }\n \n .left .el-tooltip__popper,\n .right .el-tooltip__popper {\n padding: 8px 10px;\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["style"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"box"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"top"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Top Left 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top-start"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"上左",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Top Center 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"上边",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Top Right 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top-end"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"上右",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"left"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Left Top 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"left-start"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"左上",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Left Center 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"left"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"左边",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Left Bottom 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"left-end"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"左下",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"right"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Right Top 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"right-start"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"右上",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Right Center 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"right"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"右边",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Right Bottom 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"right-end"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"右下",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{
staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Bottom Left 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom-start"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"下左",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Bottom Center 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"下边",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"item"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"dark"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Bottom Right 提示文字"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom-end"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"下右",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["主题"])},function(){with(this)return _h("p",["Tooltip 组件提供了两个不同的主题:",_h("code",["dark"]),"和",_h("code",["light"]),"。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过设置",_h("code",["effect"]),"属性来改变主题,默认为",_h("code",["dark"]),"。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Top center"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"Dark",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"Bottom center"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"light"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"Light",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["更多Content"])},function(){with(this)return _h("p",["展示多行文本或者是设置文本内容的格式"])},function(){with(this)return _h("br")},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["用具名 slot 分发",_h("code",["content"]),",替代",_h("code",["tooltip"]),"中的",_h("code",["content"]),"属性。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"top"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"content"']),">"]),"多行信息",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["br"]),"/>"]),"第二行信息",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"Top center",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["高级扩展"])},function(){with(this)return _h("p",["除了这些基本设置外,还有一些属性可以让使用者更好的定制自己的效果:"])},function(){with(this)return _h("p",[_h("code",["transition"]),"属性可以定制显隐的动画效果,默认为",_h("code",["fade-in-linear"]),"。"])},function(){with(this)return _h("p",["如果需要关闭",_h("code",["tooltip"]),"功能,",_h("code",["disabled"]),"属性可以满足这个需求,它接受一个",_h("code",["Boolean"]),",设置为",_h("code",["true"]),"即可。"])},function(){with(this)return _h("p",["事实上,这是基于 ",_h("a",{attrs:{href:"https://github.com/element-component/vue-popper"}},["Vue-popper"])," 的扩展,你可以自定义任意 Vue-popper 中允许定义的字段。"])},function(){with(this)return _h("p",["当然Tooltip 组件实际上十分强大文末的API文档会做一一说明。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tooltip"])," ",_h("span",{staticClass:"hljs-attr"},[":disabled"]),"=",_h("span",{staticClass:"hljs-string"},['"disabled"'])," ",_h("span",{staticClass:"hljs-attr"},["content"]),"=",_h("span",{staticClass:"hljs-string"},['"点击关闭 tooltip 功能"'])," ",_h("span",{staticClass:"hljs-attr"},["placement"]),"=",_h("span",{staticClass:"hljs-string"},['"bottom"'])," ",_h("span",{staticClass:"hljs-attr"},["effect"]),"=",_h("span",{staticClass:"hljs-string"},['"light"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["@click.native"]),"=",_h("span",{staticClass:"hljs-string"},['"disabled=true"']),">"]),"点击关闭 tooltip 功能",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tooltip"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["template"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["style"]),">"]),_h("span",{staticClass:"css"},["\n ",_h("span",{staticClass:"hljs-selector-class"},[".slide-fade-enter-active"])," {\n ",_h("span",{staticClass:"hljs-attribute"},["transition"]),": all .",_h("span",{staticClass:"hljs-number"},["3s"])," ease;\n }\n ",_h("span",{staticClass:"hljs-selector-class"},[".slide-fade-leave-active"])," {\n ",_h("span",{staticClass:"hljs-attribute"},["transition"]),": all .",_h("span",{staticClass:"hljs-number"},["3s"])," ",_h("span",{staticClass:"hljs-built_in"},["cubic-bezier"]),"(1.0, 0.5, 0.8, 1.0);\n }\n ",_h("span",{staticClass:"hljs-selector-class"},[".slide-fade-enter"]),", ",_h("span",{staticClass:"hljs-selector-class"},[".expand-fade-leave-active"])," {\n ",_h("span",{staticClass:"hljs-attribute"},["margin-left"]),": ",_h("span",{staticClass:"hljs-number"},["20px"]),";\n ",_h("span",{staticClass:"hljs-attribute"},["opacity"]),": ",_h("span",{staticClass:"hljs-number"},["0"]),";\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["style"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["effect"])," ",_h("td",["默认提供的主题"])," ",_h("td",["String"])," ",_h("td",[_h("code",["dark"]),", ",_h("code",["light"])])," ",_h("td",["dark"])])," ",_h("tr",[_h("td",["content"])," ",_h("td",["显示的内容,也可以通过 ",_h("code",["slot#content"])," 传入 DOM"])," ",_h("td",["String"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["placement"])," ",_h("td",["Tooltip 的出现位置"])," ",_h("td",["String"])," ",_h("td",[_h("code",["top"]),", ",_h("code",["top-start"]),", ",_h("code",["top-end"]),", ",_h("code",["bottom"]),", ",_h("code",["bottom-start"]),", ",_h("code",["bottom-end"]),", ",_h("code",["left"]),", ",_h("code",["left-start"]),", ",_h("code",["left-end"]),", ",_h("code",["right"]),", ",_h("code",["right-start"]),", ",_h("code",["right-end"])])," ",_h("td",["bottom"])])," ",_h("tr",[_h("td",["value(v-model)"])," ",_h("td",["状态是否可见"])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["disabled"])," ",_h("td",["Tooltip 是否可用"])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["offset"])," ",_h("td",["出现位置的偏移量"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["0"])])," ",_h("tr",[_h("td",["transition"])," ",_h("td",["定义渐变动画"])," ",_h("td",["String"])," ",_h("td",["—"])," ",_h("td",[_h("code",["fade-in-linear"])])])," ",_h("tr",[_h("td",["visible-arrow"])," ",_h("td",["是否显示 Tooltip 箭头,更多参数可见",_h("a",{attrs:{href:"https://github.com/element-component/vue-popper"}},["Vue-popper"])])," ",_h("td",["Boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["options"])," ",_h("td",[_h("a",{attrs:{href:"https://popper.js.org/documentation.html"}},["popper.js"])," 的参数"])," ",_h("td",["Object"])," ",_h("td",["参考 ",_h("a",{attrs:{href:"https://popper.js.org/documentation.html"}},["popper.js"])," 文档"])," ",_h("td",[_h("code",["{ boundariesElement: 'body', gpuAcceleration: false }"])])])," ",_h("tr",[_h("td",["openDelay"])," ",_h("td",["延迟出现,单位毫秒"])," ",_h("td",["Number"])," ",_h("td",["—"])," ",_h("td",["0"])])])])}]}},function(s,t,a){s.exports=a(243)},function(s,t,a){var e,n;a(244),e=a(246);var l=a(247);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0;var a=[{label:"一级 1",children:[{label:"二级 1-1"}]},{label:"一级 2",children:[{label:"二级 2-1"},{label:"二级 2-2"}]},{label:"一级 3",children:[{label:"二级 3-1"},{label:"二级 3-2"}]}],e=[{name:"region1"},{name:"region2"}],n=1,l={label:"name",children:"zones",icon:function(s,t){return t.isLeaf?"el-icon-close":"el-icon-search"}},i={children:"children",label:"label"};t["default"]={methods:{loadNode:function(s,t){if(console.log(s),s.level===-1)return t([{name:"Root1"},{name:"Root2"}]);if(s.level>4)return t([]);var a;a="Root1"===s.data.name||"Root2"!==s.data.name&&Math.random()>.5,setTimeout(function(){var s;s=a?[{name:"zone"+n++},{name:"zone"+n++}]:[],t(s)},500)}},data:function(){return{data:a,regions:e,defaultProps:i,props:l}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_m(3)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-tree",{attrs:{data:data,props:defaultProps}})])," ",_m(4)])," ",_m(5)," ",_m(6)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-tree",{attrs:{data:regions,props:props,load:loadNode,lazy:"","show-checkbox":""}})])," ",_m(7)])," ",_m(8)," ",_m(9)," ",_m(10)," ",_m(11)])},staticRenderFns:[function(){with(this)return _h("h2",["Tree 树形控件"])},function(){with(this)return _h("p",["用清晰的层级结构展示信息,可展开或折叠。"])},function(){with(this)return _h("h3",["基础用法"])},function(){with(this)return _h("p",["基础的树形结构展示。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tree"])," ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"data"'])," ",_h("span",{staticClass:"hljs-attr"},[":props"]),"=",_h("span",{staticClass:"hljs-string"},['"defaultProps"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tree"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n data: [{\n label: ",_h("span",{staticClass:"hljs-string"},["'一级 1'"]),",\n children: [{\n label: ",_h("span",{staticClass:"hljs-string"},["'二级 1-1'"]),"\n }]\n }, {\n label: ",_h("span",{staticClass:"hljs-string"},["'一级 2'"]),",\n children: [{\n label: ",_h("span",{staticClass:"hljs-string"},["'二级 2-1'"]),"\n }, {\n label: ",_h("span",{staticClass:"hljs-string"},["'二级 2-2'"]),"\n }]\n }, {\n label: ",_h("span",{staticClass:"hljs-string"},["'一级 3'"]),",\n children: [{\n label: ",_h("span",{staticClass:"hljs-string"},["'二级 3-1'"]),"\n }, {\n label: ",_h("span",{staticClass:"hljs-string"},["'二级 3-2'"]),"\n }]\n }],\n defaultProps: {\n children: ",_h("span",{staticClass:"hljs-string"},["'children'"]),",\n label: ",_h("span",{staticClass:"hljs-string"},["'label'"]),"\n }\n };\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["可选择"])},function(){with(this)return _h("p",["适用于需要选择层级时使用。在下例中,由于在点击时才进行该层数据的获取,导致层级不可预知,如果没有下层数据,则点击后下拉按钮会消失。"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-tree"])," ",_h("span",{staticClass:"hljs-attr"},[":data"]),"=",_h("span",{staticClass:"hljs-string"},['"regions"'])," ",_h("span",{staticClass:"hljs-attr"},[":props"]),"=",_h("span",{staticClass:"hljs-string"},['"props"'])," ",_h("span",{staticClass:"hljs-attr"},[":load"]),"=",_h("span",{staticClass:"hljs-string"},['"loadNode"'])," ",_h("span",{staticClass:"hljs-attr"},["lazy"])," ",_h("span",{staticClass:"hljs-attr"},["show-checkbox"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-tree"]),">"]),"\n\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n data() {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," {\n regions: [{\n ",_h("span",{staticClass:"hljs-string"},["'name'"]),": ",_h("span",{staticClass:"hljs-string"},["'region1'"]),"\n }, {\n ",_h("span",{staticClass:"hljs-string"},["'name'"]),": ",_h("span",{staticClass:"hljs-string"},["'region2'"]),"\n }],\n props: {\n label: ",_h("span",{staticClass:"hljs-string"},["'name'"]),",\n children: ",_h("span",{staticClass:"hljs-string"},["'zones'"]),"\n },\n count: ",_h("span",{staticClass:"hljs-number"},["1"]),"\n };\n },\n methods: {\n getCheckedNodes() {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(",_h("span",{staticClass:"hljs-keyword"},["this"]),".$refs.tree.getCheckedNodes(",_h("span",{staticClass:"hljs-literal"},["true"]),"));\n },\n\n loadNode(node, resolve) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(node);\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (node.level === ",_h("span",{staticClass:"hljs-number"},["-1"]),") {\n ",_h("span",{staticClass:"hljs-keyword"},["return"])," resolve([{ name: ",_h("span",{staticClass:"hljs-string"},["'Root1'"])," }, { name: ",_h("span",{staticClass:"hljs-string"},["'Root2'"])," }]);\n }\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," hasChild = ",_h("span",{staticClass:"hljs-built_in"},["Math"]),".random() > ",_h("span",{staticClass:"hljs-number"},["0.5"]),";\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (node.level > ",_h("span",{staticClass:"hljs-number"},["4"]),") ",_h("span",{staticClass:"hljs-keyword"},["return"])," resolve([]);\n\n setTimeout(",_h("span",{staticClass:"hljs-function"},[_h("span",{staticClass:"hljs-keyword"},["function"]),"(",_h("span",{staticClass:"hljs-params"}),") "]),"{\n ",_h("span",{staticClass:"hljs-keyword"},["var"])," data;\n ",_h("span",{staticClass:"hljs-keyword"},["if"])," (hasChild) {\n data = [{\n name: ",_h("span",{staticClass:"hljs-string"},["'zone'"])," + count++\n }, {\n name: ",_h("span",{staticClass:"hljs-string"},["'zone'"])," + count++\n }];\n } ",_h("span",{staticClass:"hljs-keyword"},["else"])," {\n data = [];\n }\n\n resolve(data);\n }, ",_h("span",{staticClass:"hljs-number"},["500"]),");\n }\n }\n };\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Attributes"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["data"])," ",_h("td",["展示数据"])," ",_h("td",["array"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["props"])," ",_h("td",["配置选项,具体看下表"])," ",_h("td",["object"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["load"])," ",_h("td",["加载子树数据的方法"])," ",_h("td",["function(node, resolve)"])," ",_h("td",["—"])," ",_h("td",["—"])])])])},function(){with(this)return _h("h3",["props"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["label"])," ",_h("td",["指定节点标签为节点对象的某个属性值"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["children"])," ",_h("td",["指定子树为节点对象的某个属性值"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])])])}]}},function(s,t,a){s.exports=a(249)},function(s,t,a){var e,n;a(250);var l=a(252);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(module,exports){module.exports={render:function(){with(this)return _m(0)},staticRenderFns:[function(){with(this)return _h("section",[_h("h2",["Typography 字体"])," ",_h("p",["我们对字体进行统一规范,力求在各个操作系统下都有最佳展示效果。"])," ",_h("h3",["中文字体"])," ",_h("div",{staticClass:"demo-typo-box typo-PingFang"},["\n 和畅惠风\n ",_h("div",{staticClass:"name"},["PingFang SC"])])," ",_h("div",{staticClass:"demo-typo-box typo-Hiragino"},["\n 和畅惠风\n ",_h("div",{staticClass:"name"},["Hiragino Sans GB"])])," ",_h("div",{staticClass:"demo-typo-box typo-Microsoft"},["\n 和畅惠风\n ",_h("div",{staticClass:"name"},["Microsoft YaHei"])])," ",_h("h3",["英文/数字字体"])," ",_h("div",{staticClass:"demo-typo-box typo-Helvetica-neue"},["\n RGag\n ",_h("div",{staticClass:"name"},["Helvetica Neue"])])," ",_h("div",{staticClass:"demo-typo-box typo-Helvetica"},["\n RGag\n ",_h("div",{staticClass:"name"},["Helvetica"])])," ",_h("div",{staticClass:"demo-typo-box typo-Arial"},["\n RGag\n ",_h("div",{staticClass:"name"},["Arial"])])," ",_h("h3",["Font-family 代码"])," ",_h("pre",[_h("code",{staticClass:"hljs language-css"},[_h("span",{staticClass:"hljs-selector-tag"},["font-family"]),': "',_h("span",{staticClass:"hljs-selector-tag"},["Helvetica"])," ",_h("span",{staticClass:"hljs-selector-tag"},["Neue"]),'",',_h("span",{staticClass:"hljs-selector-tag"},["Helvetica"]),',"',_h("span",{staticClass:"hljs-selector-tag"},["PingFang"])," ",_h("span",{staticClass:"hljs-selector-tag"},["SC"]),'","',_h("span",{staticClass:"hljs-selector-tag"},["Hiragino"])," ",_h("span",{staticClass:"hljs-selector-tag"},["Sans"])," ",_h("span",{staticClass:"hljs-selector-tag"},["GB"]),'","',_h("span",{staticClass:"hljs-selector-tag"},["Microsoft"])," ",_h("span",{staticClass:"hljs-selector-tag"},["YaHei"]),'","微软雅黑",',_h("span",{staticClass:"hljs-selector-tag"},["Arial"]),",",_h("span",{staticClass:"hljs-selector-tag"},["sans-serif"]),";\n"])])," ",_h("h3",["字体使用规范"])," ",_h("table",{staticClass:"demo-typo-size"},[_h("tbody",[_h("tr",[_h("td",{staticClass:"h1"},["主标题"])," ",_h("td",{staticClass:"h1"},["用 Element 快速搭建页面"])," ",_h("td",{staticClass:"color-dark-light"},["20px Extra large"])])," ",_h("tr",[_h("td",{staticClass:"h2"},["标题"])," ",_h("td",{staticClass:"h2"},["用 Element 快速搭建页面"])," ",_h("td",{staticClass:"color-dark-light"},["18px large"])])," ",_h("tr",[_h("td",{staticClass:"h3"},["小标题"])," ",_h("td",{staticClass:"h3"},["用 Element 快速搭建页面"])," ",_h("td",{staticClass:"color-dark-light"},["16px Medium"])])," ",_h("tr",[_h("td",{staticClass:"text-regular"},["正文"])," ",_h("td",{staticClass:"text-regular"},["用 Element 快速搭建页面"])," ",_h("td",{staticClass:"color-dark-light"},["14px Small"])])," ",_h("tr",[_h("td",{staticClass:"text-small"},["正文(小)"])," ",_h("td",{staticClass:"text-small"},["用 Element 快速搭建页面"])," ",_h("td",{staticClass:"color-dark-light"},["13px Extra Small"])])," ",_h("tr",[_h("td",{staticClass:"text-smaller"},["辅助文字"])," ",_h("td",{staticClass:"text-smaller"},["用 Element 快速搭建页面"])," ",_h("td",{staticClass:"color-dark-light"},["12px Extra Extra Small"])])])])])}]}},function(s,t,a){s.exports=a(254)},function(s,t,a){var e,n;a(255),e=a(257);var l=a(258);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={methods:{handleChange:function(s,t,a){console.log(s,t,a)},handleRemove:function(s,t){console.log(s,t)},beforeUpload:function(s){return!(s.size>4e7)||(console.warn(s.name+" is too large!"),!1)},handlePreview:function(s){console.log(s)},handleSuccess:function(s,t){console.log(s,t)},handleError:function(s,t,a){console.log(s)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("section",[_m(0)," ",_m(1)," ",_m(2)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-upload",{attrs:{action:"http://jsonplaceholder.typicode.com/","on-preview":handlePreview,"on-remove":handleRemove}},[_h("el-button",{attrs:{size:"small",type:"primary"}},["点击上传"])," ",_h("div",{slot:"tip",staticClass:"el-upload__tip"},["只能上传jpg/png文件且不超过500kb"])])])," ",_m(3)])," ",_m(4)," ",_m(5)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-upload",{attrs:{action:"http://jsonplaceholder.typicode.com/",type:"drag",multiple:!0,"on-preview":handlePreview,"on-remove":handleRemove,"on-success":handleSuccess,"on-error":handleError}},[_m(6)," ",_m(7)," ",_h("div",{slot:"tip",staticClass:"el-upload__tip"},["只能上传jpg/png文件且不超过500kb"])])])," ",_m(8)])," ",_m(9)," ",_m(10)," ",_h("demo-block",{staticClass:"demo-box"},[_h("div",{staticClass:"source"},[_h("el-upload",{attrs:{action:"http://jsonplaceholder.typicode.com/",type:"drag","thumbnail-mode":!0,"on-preview":handlePreview,"on-remove":handleRemove}},[_m(11)," ",_m(12)," ",_h("div",{slot:"tip",staticClass:"el-upload__tip"},["只能上传jpg/png文件且不超过500kb"])])])," ",_m(13)])," ",_m(14)," ",_m(15)])},staticRenderFns:[function(){with(this)return _h("h2",["Upload 上传"])},function(){with(this)return _h("p",["通过点击或者拖拽上传文件"])},function(){with(this)return _h("h3",["点击上传多个文件"])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["通过 slot 你可以传入自定义的上传按钮类型和文字提示。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-upload"]),"\n ",_h("span",{staticClass:"hljs-attr"},["action"]),"=",_h("span",{staticClass:"hljs-string"},['"http://jsonplaceholder.typicode.com/"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-preview"]),"=",_h("span",{staticClass:"hljs-string"},['"handlePreview"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-remove"]),"=",_h("span",{staticClass:"hljs-string"},['"handleRemove"']),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-button"])," ",_h("span",{staticClass:"hljs-attr"},["size"]),"=",_h("span",{staticClass:"hljs-string"},['"small"'])," ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"primary"']),">"]),"点击上传",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-button"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-upload__tip"'])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"tip"']),">"]),"只能上传jpg/png文件且不超过500kb",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-upload"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n handleRemove(file, fileList) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(file, fileList);\n },\n handlePreview(file) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(file);\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["拖拽上传"])},function(){with(this)return _h("p",["可将文件拖入指定区域进行上传。"])},function(){with(this)return _h("i",{staticClass:"el-icon-upload"})},function(){with(this)return _h("div",{staticClass:"el-dragger__text"},["将文件拖到此处,或",_h("em",["点击上传"])])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",["将 ",_h("code",["type"])," 属性指定为 'drag' 可以将上传控件变为支持拖拽的形式,并且你可以通过 ",_h("code",["multiple"])," 属性来控制是否支持多选,",_h("code",["on-preview"])," 和 ",_h("code",["on-remove"])," 是一个钩子函数,分别在点击上传后的文件链接和点击移除上传后的文件后被调用。"])])," ",_h("div",{staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-upload"]),"\n ",_h("span",{staticClass:"hljs-attr"},["action"]),"=",_h("span",{staticClass:"hljs-string"},['"http://jsonplaceholder.typicode.com/"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"drag"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":multiple"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-preview"]),"=",_h("span",{staticClass:"hljs-string"},['"handlePreview"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-remove"]),"=",_h("span",{staticClass:"hljs-string"},['"handleRemove"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-success"]),"=",_h("span",{staticClass:"hljs-string"},['"handleSuccess"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-error"]),"=",_h("span",{staticClass:"hljs-string"},['"handleError"']),"\n>"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-upload"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-dragger__text"']),">"]),"将文件拖到此处,或",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["em"]),">"]),"点击上传",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["em"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-upload__tip"'])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"tip"']),">"]),"只能上传jpg/png文件且不超过500kb",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-upload"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n handleRemove(file, fileList) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(file, fileList);\n },\n handlePreview(file) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(file);\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["上传单个图片"])},function(){with(this)return _h("p",["专门针对图片类型文件的上传,上传后在原位置显示缩略图。"])},function(){with(this)return _h("i",{staticClass:"el-icon-upload"})},function(){with(this)return _h("div",{staticClass:"el-dragger__text"},["将文件拖到此处,或",_h("em",["点击上传"])])},function(){with(this)return _h("div",{staticClass:"meta"},[_h("div",{staticClass:"description"},[_h("p",[_h("code",["thumbnail-mode"])," 属性允许你将上传组件强制只允许图片上传,并支持展示上传文件的缩略图。"])])," ",_h("div",{
staticClass:"highlight"},[_h("pre",[_h("code",{staticClass:"hljs language-html"},[_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["el-upload"]),"\n ",_h("span",{staticClass:"hljs-attr"},["action"]),"=",_h("span",{staticClass:"hljs-string"},['"http://jsonplaceholder.typicode.com/"']),"\n ",_h("span",{staticClass:"hljs-attr"},["type"]),"=",_h("span",{staticClass:"hljs-string"},['"drag"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":thumbnail-mode"]),"=",_h("span",{staticClass:"hljs-string"},['"true"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-preview"]),"=",_h("span",{staticClass:"hljs-string"},['"handlePreview"']),"\n ",_h("span",{staticClass:"hljs-attr"},[":on-remove"]),"=",_h("span",{staticClass:"hljs-string"},['"handleRemove"']),"\n>"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["i"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-icon-upload"']),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["i"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-dragger__text"']),">"]),"将文件拖到此处,或",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["em"]),">"]),"点击上传",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["em"]),">"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n ",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["div"])," ",_h("span",{staticClass:"hljs-attr"},["class"]),"=",_h("span",{staticClass:"hljs-string"},['"el-upload__tip"'])," ",_h("span",{staticClass:"hljs-attr"},["slot"]),"=",_h("span",{staticClass:"hljs-string"},['"tip"']),">"]),"只能上传jpg/png文件且不超过500kb",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["div"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["el-upload"]),">"]),"\n",_h("span",{staticClass:"hljs-tag"},["<",_h("span",{staticClass:"hljs-name"},["script"]),">"]),_h("span",{staticClass:"javascript"},["\n ",_h("span",{staticClass:"hljs-keyword"},["export"])," ",_h("span",{staticClass:"hljs-keyword"},["default"])," {\n methods: {\n handleRemove(file, fileList) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(file, fileList);\n },\n handlePreview(file) {\n ",_h("span",{staticClass:"hljs-built_in"},["console"]),".log(file);\n }\n }\n }\n"]),_h("span",{staticClass:"hljs-tag"},["</",_h("span",{staticClass:"hljs-name"},["script"]),">"]),"\n"])])])])},function(){with(this)return _h("h3",["Upload Attribute"])},function(){with(this)return _h("table",{staticClass:"table"},[_h("thead",[_h("tr",[_h("th",["参数"])," ",_h("th",["说明"])," ",_h("th",["类型"])," ",_h("th",["可选值"])," ",_h("th",["默认值"])])])," ",_h("tbody",[_h("tr",[_h("td",["action"])," ",_h("td",["必选参数, 上传的地址"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["headers"])," ",_h("td",["可选参数, 设置上传的请求头部"])," ",_h("td",["object"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["multiple"])," ",_h("td",["可选参数, 是否支持多选文件"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["file"])," ",_h("td",["可选参数, 上传的文件字段名"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["file"])])," ",_h("tr",[_h("td",["with-credentials"])," ",_h("td",["支持发送 cookie 凭证信息"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])," ",_h("tr",[_h("td",["show-uploadList"])," ",_h("td",["是否显示已上传文件列表"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["true"])])," ",_h("tr",[_h("td",["type"])," ",_h("td",["上传控件类型"])," ",_h("td",["string"])," ",_h("td",["select,drag"])," ",_h("td",["select"])])," ",_h("tr",[_h("td",["accept"])," ",_h("td",["可选参数, 接受上传的",_h("a",{attrs:{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept"}},["文件类型"]),", 拖拽文件上传时不受此参数影响"])," ",_h("td",["string"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["on-preview"])," ",_h("td",["可选参数, 点击已上传的文件链接时的钩子"])," ",_h("td",["function(file)"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["on-remove"])," ",_h("td",["可选参数, 文件列表移除文件时的钩子"])," ",_h("td",["function(file, fileList)"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["on-success"])," ",_h("td",["可选参数, 文件上传成功时的钩子"])," ",_h("td",["function(file, fileList)"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["on-error"])," ",_h("td",["可选参数, 文件上传失败时的钩子"])," ",_h("td",["function(err, file, fileList)"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["before-upload"])," ",_h("td",["可选参数, 上传文件之前的钩子,参数为上传的文件,若返回 false 或者 Promise 则停止上传。"])," ",_h("td",["function(file)"])," ",_h("td",["—"])," ",_h("td",["—"])])," ",_h("tr",[_h("td",["thumbnail-mode"])," ",_h("td",["是否设置为图片模式,该模式下会显示图片缩略图"])," ",_h("td",["boolean"])," ",_h("td",["—"])," ",_h("td",["false"])])])])}]}},function(s,t,a){var e,n;a(260),e=a(262);var l=a(263);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{navsData:[{path:"/design",name:"设计原则"},{path:"/nav",name:"导航"}]}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"page-container page-guide"},[_h("el-row",[_h("el-col",{attrs:{span:5}},[_h("side-nav",{attrs:{data:navsData,base:"/guide"}})])," ",_h("el-col",{attrs:{span:19}},[_h("router-view",{staticClass:"content"})])])])},staticRenderFns:[]}},function(s,t,a){var e,n;a(265);var l=a(267);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-9",s.exports=e},function(s,t){},,function(module,exports,__webpack_require__){module.exports={render:function(){with(this)return _h("div",[_m(0)," ",_h("el-row",{staticClass:"cards",attrs:{gutter:14}},[_h("el-col",{attrs:{span:6}},[_m(1)])," ",_h("el-col",{attrs:{span:6}},[_m(2)])," ",_h("el-col",{attrs:{span:6}},[_m(3)])," ",_h("el-col",{attrs:{span:6}},[_m(4)])])," ",_m(5)," ",_m(6)," ",_m(7)," ",_m(8)," ",_m(9)," ",_m(10)," ",_m(11)," ",_m(12)])},staticRenderFns:[function(){with(this)return _h("h2",["设计原则"])},function(){with(this)return _h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(268),alt:"Consistency"}})," ",_h("h4",["一致"])," ",_h("span",["Consistency"])])},function(){with(this)return _h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(269),alt:"Feedback"}})," ",_h("h4",["反馈"])," ",_h("span",["Feedback"])])},function(){with(this)return _h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(270),alt:"Efficiency"}})," ",_h("h4",["效率"])," ",_h("span",["Efficiency"])])},function(){with(this)return _h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(271),alt:"Controllability"}})," ",_h("h4",["可控"])," ",_h("span",["Controllability"])," "])},function(){with(this)return _h("h3",["一致性 Consistency"])},function(){with(this)return _h("ul",[_h("li",[_h("strong",["与现实生活一致:"]),"与现实生活的流程、逻辑保持一致,遵循用户习惯的语言和概念;"])," ",_h("li",[_h("strong",["在界面中一致:"]),"所有的元素和结构需保持一致,比如:设计样式、图标和文本、元素的位置等。"])])},function(){with(this)return _h("h3",["反馈 Feedback"])},function(){with(this)return _h("ul",[_h("li",[_h("strong",["控制反馈:"]),"通过界面样式和交互动效让用户可以清晰的感知自己的操作;"])," ",_h("li",[_h("strong",["页面反馈:"]),"操作后,通过页面元素的变化清晰地展现当前状态。"])])},function(){with(this)return _h("h3",["效率 Efficiency"])},function(){with(this)return _h("ul",[_h("li",[_h("strong",["简化流程:"]),"设计简洁直观的操作流程;"])," ",_h("li",[_h("strong",["清晰明确:"]),"语言表达清晰且表意明确,让用户快速理解进而作出决策;"])," ",_h("li",[_h("strong",["帮助用户识别:"]),"界面简单直白,让用户快速识别而非回忆,减少用户记忆负担。"])])},function(){with(this)return _h("h3",["可控 Controllability"])},function(){with(this)return _h("ul",[_h("li",[_h("strong",["用户决策:"]),"根据场景可给予用户操作建议或安全提示,但不能代替用户进行决策;"])," ",_h("li",[_h("strong",["结果可控:"]),"用户可以自由的进行操作,包括撤销、回退和终止当前操作等。"])])}]}},function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAAAXNSR0IArs4c6QAAESRJREFUeAHtnW2IHdUZx88zu+vuvZtk12gikYoIyoJFEPvBqEVCrLTWqKWIUomCGPxoIa1WpSBS32ratM3HNlKIYjHkQ9VYC9YgoWryoSJtFZYIQQSDiYm72d177ya78/T/zL1ze/fufZm5d2bumZln4DJv5+U5/+d3z5kzc2YOGV1WKHCW+WJTNlPLZKaI3SnDZoMhWov1Wibjram2NrKWhc0ctue4tqba2jDL8VNMzvQQm2lTMNPriL5ekWHOdyiv5Wfm8dlFcxPguY5cd4qJBLYpNrw+Tk3I0BlAOU3M0+w409j+aGLUvE9EC3Hma2vauQEQwI3OV8zmJdfdihptKwp+PY6N2OAYwHeejTmKGvPQsOMcWjNmjuDYog22xW1DpgGcrfBVaBbvhmNvgYNvxLoQt6CRpE9UhmM+wB/lXTT3BybG6Fgk6VqYSOYAnGVezyVzryG+HzXcDRZqHtok1IYfGqaXqWhemyA04RlaMgGgNKUzJXM7ATr4Zhv2L8iQj+pFAYjnsHOQAeNk0bwlTXf9ZEo3Ug3gPPMlS2V3J2qHh9B5uCilPujJbHRmTqOWf2m44OxeQ/RVT4lYECmVAJZKfNmicR+DE3agthuzQMeBmYBasII/395R47xYLNIXAzOkx4xTBSA6FVfysvs4Ls4fkGa3xzJnMprXHDPvoyHnBXRaPktLIVMBoNebdd2njaF7AN5QWsQdhJ0AcRl3xveT4zyVht6z1QACtsJMyX0Soj6K7dFBODSteUKzRWi2a7L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k5vIZ1SitnKqFlSlIytVGp083SXov+/w8nKDA07uUpHQAAAABJRU5ErkJggg==";
},function(s,t,a){var e,n;a(273),e=a(275);var l=a(276);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-11",s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{imgUrl:"",imgBound:{},showDialog:!1,imgStyle:{},imgWrapStyle:{}}},watch:{showDialog:function(s){document.body.style.overflow=s?"hidden":""}},methods:{enlarge:function(s,t){var a=t.target,e={},n=document;e.left=(n.body.scrollWidth-s)/2,e.top=100,this.imgUrl=a.src,this.imgBound=a.getBoundingClientRect(),this.imgWrapStyle.transformOrigin=t.clientX+"px "+t.clientY+"px",this.imgStyle.width=s+"px",this.showDialog=!0}}}},function(module,exports,__webpack_require__){module.exports={render:function(){with(this)return _h("div",[_m(0)," ",_m(1)," ",_m(2)," ",_h("div",{staticClass:"block"},[_m(3)," ",_h("el-row",{attrs:{gutter:20}},[_h("el-col",{attrs:{span:9}},[_m(4)])," ",_h("el-col",{staticClass:"nav-demos",attrs:{span:15}},[_h("img",{attrs:{src:__webpack_require__(277),alt:"一级类目"},on:{click:function(s){enlarge(846,s)}}})," ",_m(5)," ",_m(6)," ",_h("img",{attrs:{src:__webpack_require__(278),alt:"二级类目"},on:{click:function(s){enlarge(846,s)}}})," ",_m(7)," ",_m(8)," ",_h("img",{attrs:{src:__webpack_require__(279),alt:"三级类目"},on:{click:function(s){enlarge(846,s)}}})," ",_m(9)," ",_m(10)])])])," ",_h("div",{staticClass:"block"},[_m(11)," ",_h("el-row",[_h("el-col",{attrs:{span:10}},[_m(12)])," ",_h("el-col",{staticClass:"nav-demos",attrs:{span:14}},[_h("img",{attrs:{src:__webpack_require__(280),alt:""},on:{click:function(s){enlarge(846,s)}}})," ",_m(13)])])])," ",_h("transition",{attrs:{name:"fade"}},[_h("div",{directives:[{name:"show",value:showDialog,expression:"showDialog"}],staticClass:"mask",on:{click:function(s){showDialog=!1}}})])," ",_h("transition",{attrs:{name:"zoom"}},[_h("div",{directives:[{name:"show",value:showDialog,expression:"showDialog"}],staticClass:"dialog-img",style:imgWrapStyle,on:{click:function(s){showDialog=!1}}},[_h("div",{staticClass:"imgWrap",style:imgStyle},[_h("img",{attrs:{src:imgUrl,alt:""}})])])])])},staticRenderFns:[function(){with(this)return _h("h2",["导航"])},function(){with(this)return _h("div",{staticClass:"block"},[_h("p",["导航可以解决用户在访问页面时在哪里去哪里怎样去的问题。一般导航会有「侧栏导航」和「顶部导航」2 种类型。"])])},function(){with(this)return _h("div",{staticClass:"block"},[_h("h3",["选择合适的导航"])," ",_h("p",["选择合适的导航可以让用户在产品的使用过程中非常流畅,相反若是不合适就会引起用户操作不适(方向不明确),以下是「侧栏导航」和 「顶部导航」的区别。"])])},function(){with(this)return _h("h3",["侧栏导航"])},function(){with(this)return _h("p",["可将导航栏固定在左侧,提高导航可见性,方便页面之间切换;顶部可放置常用工具,如搜索条、帮助按钮、通知按钮等。适用于中后台的管理型、工具型网站。"])},function(){with(this)return _h("h5",["一级类目"])},function(){with(this)return _h("p",["适用于结构简单的网站:只有一级页面时,不需要使用面包屑。"])},function(){with(this)return _h("h5",["二级类目"])},function(){with(this)return _h("p",["侧栏中最多可显示两级导航;当使用二级导航时,我们建议搭配使用面包屑,方便用户定位自己的位置和快速返回。"])},function(){with(this)return _h("h5",["三级类目"])},function(){with(this)return _h("p",["适用于较复杂的工具型后台,左侧栏为一级导航,中间栏可显示其对应的二级导航,也可放置其他的工具型选项。"])},function(){with(this)return _h("h3",["顶部导航"])},function(){with(this)return _h("p",["顺应了从上至下的正常浏览顺序,方便浏览信息;顶部宽度限制了导航的数量和文本长度。"])},function(){with(this)return _h("p",["适用于导航较少,页面篇幅较长的网站;"])}]}},function(s,t,a){s.exports=a.p+"static/navbar_1.499e088.png"},function(s,t,a){s.exports=a.p+"static/navbar_2.59ecae2.png"},function(s,t,a){s.exports=a.p+"static/navbar_3.8dcec92.png"},function(s,t,a){s.exports=a.p+"static/navbar_0.b608f86.png"},function(s,t,a){var e,n;a(282);var l=a(284);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-12",s.exports=e},function(s,t){},,function(module,exports,__webpack_require__){module.exports={render:function(){with(this)return _m(0)},staticRenderFns:[function(){with(this)return _h("div",{staticClass:"page-container page-resource"},[_h("h2",["资源"])," ",_h("p",["这里提供 Element 相关设计资源和设计工具的下载,更多设计资源正在整理和完善中。"])," ",_h("div",{staticClass:"cards"},[_h("ul",{staticClass:"container"},[_h("li",[_h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(285),alt:""}})," ",_h("h3",["Axure Components"])," ",_h("p",["通过在 Axure 中导入 Element 组件库,可以在交互设计阶段方便地调用常用的组件"])," ",_h("a",{attrs:{href:"https://github.com/ElementUI/Resources/raw/master/Element_Components_v1.1.0.rplib"}},["下载"])])])," ",_h("li",[_h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(286),alt:""}})," ",_h("h3",["Sketch Template"])," ",_h("p",["从 Element Template 快速调用常用组件,在提升设计效率的同时,保证统一的视觉风格"])," ",_h("a",{attrs:{href:"https://github.com/ElementUI/Resources/raw/master/Element%20UI%20Kit_v1.3.sketch"}},["下载"])])])," ",_h("li",[_h("div",{staticClass:"card"},[_h("img",{attrs:{src:__webpack_require__(287),alt:""}})," ",_h("h3",["组件交互文档"])," ",_h("p",["进一步查看 Element 交互文档,从一个较为微观的角度详细地了解各个组件的交互细节"])," ",_h("a",{attrs:{href:"https://github.com/ElementUI/Resources/raw/master/Element%20Components%20Documentation.zip"}},["下载"])])])])])])}]}},function(s,t){s.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvb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PSIzMCIgcng9IjMiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IlJlY3RhbmdsZS1wYXRoIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci02KSIgeGxpbms6aHJlZj0iI3BhdGgtNSI+PC91c2U+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dXNlIGZpbGw9IiNGRkQ2RDIiIGZpbGwtcnVsZT0iZXZlbm9kZCIgeGxpbms6aHJlZj0iI3BhdGgtNSI+PC91c2U+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="},function(s,t,a){var e,n;a(289),e=a(291);var l=a(294);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-13",s.exports=e},function(s,t){},,function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(292),l=e(n);t["default"]={mounted:function(){function s(t){t.addScene("产品设计师",1800,-5,800).addScene("交互设计师",1800,-5,500).addScene("视觉设计师",1800,-5,700).addScene("产品经理",1800,-4,600).addScene("前端工程师",1800,-5,800).addScene(function(a){s(t),a()})}var t=(0,l["default"])();t.on("type:start, erase:start",function(){t.getCurrentActor().$element.classList.add("typing")}).on("type:end, erase:end",function(){t.getCurrentActor().$element.classList.remove("typing")}),t.addActor("line2",{speed:.5,accuracy:1}).addScene(2600).addScene("line2:只为守护世界和平",300,-6,1e3).addScene("让你少加班",300,-5).addScene("line2:只为这样的你: ",400).addScene(function(a){s(t),a()})}}},,,function(module,exports,__webpack_require__){module.exports={render:function(){with(this)return _h("div",[_m(0)," ",_h("div",{staticClass:"cards"},[_h("ul",{staticClass:"container"},[_h("li",[_h("div",{staticClass:"card"},[_m(1)," ",_m(2)," ",_m(3)," ",_h("router-link",{attrs:{"active-class":"active",to:"/guide/design",exact:""}},["查看详情\n "])])])," ",_h("li",[_h("div",{staticClass:"card"},[_m(4)," ",_m(5)," ",_m(6)," ",_h("router-link",{attrs:{"active-class":"active",to:"/component/layout",exact:""}},["查看详情\n "])])])," ",_h("li",[_h("div",{staticClass:"card"},[_m(7)," ",_m(8)," ",_m(9)," ",_h("router-link",{attrs:{"active-class":"active",to:"/resource",exact:""}},["查看详情\n "])])])])])])},staticRenderFns:[function(){with(this)return _h("div",{staticClass:"banner"},[_h("div",{staticClass:"banner-sky"})," ",_h("img",{staticClass:"banner-stars",attrs:{src:__webpack_require__(295),alt:"Element"}})," ",_h("div",{staticClass:"container"},[_h("div",{staticClass:"banner-desc"},[_h("h2",["网站快速成型工具"])," ",_h("div",{staticClass:"actor",attrs:{id:"line2"}})," ",_h("p",["Element一套为开发者、设计师和产品经理准备的基于 Vue 2.0 的组件库,提供了配套设计资源,帮助你的网站快速成型。"])])," ",_h("img",{attrs:{src:__webpack_require__(296),alt:"Element"}})])])},function(){with(this)return _h("img",{attrs:{src:__webpack_require__(297),alt:""}})},function(){with(this)return _h("h3",["指南"])},function(){with(this)return _h("p",["了解设计指南,帮助产品设计人员搭建逻辑清晰、结构合理且高效易用的产品。"])},function(){with(this)return _h("img",{attrs:{src:__webpack_require__(298),alt:""}})},function(){with(this)return _h("h3",["组件"])},function(){with(this)return _h("p",["使用组件 Demo 快速体验交互细节;使用前端框架封装的代码帮助工程师快速开发。"])},function(){with(this)return _h("img",{attrs:{src:__webpack_require__(299),alt:""}})},function(){with(this)return _h("h3",["资源"]);
},function(){with(this)return _h("p",["下载相关资源,用其快速搭建页面原型或高保真视觉稿,提升产品设计效率。"])}]}},function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUh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dWAkEghN8weg/foOCDAAECBAgQIECAwGQEtoJvd+iN0wm/UcJIgAABAgQIECBAgAABAkUUeBh8+4Xe2JDwGyWMBAgQIECAAAECBAgQIFA0gXS70Bsa2sw2nz289u6hojWnXgIECBAgQIAAAQIECBAgkDb23p9Pk8aeQRRJq3l3YWHh9qBj7CNAgAABAgQIECBAgAABAnkUSG8c+N6/0mbz3aSWNnsVGELvF/Yt/PFicnyj137bCBAgQIAAAQIECBCorkD7xTqT137z3onXf/fe16uroPO8C2y9uNVX7p7/Yqte/25Wa229h6/Qm/flUx8BAgQIECBAgACB2QmE0HvmrQvP1FrZ10IVjST580s/eu7D2VVkZgK9BR6+lUrY9fcDy//svPIr9PYGs5UAAQIECORJIPzSmX1wbin769nFPNWlFgIEyi/QHXpDx5tZ9owrv+Vf+yJ2uHXFNxYfrvxuNupHv/ToI39ye3NUMRIgQIAAgfwJhF861y+tLNXT9IlQXWOueS355ulb+atURQQIlFHgl29dOJw0W9/u1dtcPf3DT3747J1e+2wjMAuBzwXfWRRhTgIECBAgQGA0ge7QG58t/EYJIwECkxZo/xxKX/vt+8tJ2vzMHSetVmP15ZMnrkx6fucnMIrA1q3OozzJsQQIECBAgMCMBf52bjFe6e2sZHO9vpRdfGVf5zaPCRAgMAmBJElaP3vxxPmsVd+600TonYS0c45DQPAdh6JzECBAgACBaQsc/vAfrXrz393Ttt+g8KPk+M/Xurf7mgABApMQ6Ay/Qu8khJ1zXAJudR6XpPMQIECAAIEpC2TZL9KND756NG3WD4apH4beb/30oymXYToCBAjUwp9ftD8yFATyKiD45nVl1EWAAAECBIYQiOH3kbS+lgi9Q4g5hAABAgQIECBAgAABAgQKJxCutBSuaAUTIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAIGJC2RZll67dm354sWLhyY+mQkqIZBWoktNEiBAgAABAgQIECBQCIEQeldXV5dbrdaX0zQVfguxavkvMsl/iSokQIDA7gTCP6DhDEmStHZ3Js8mQIAAAQIEJikQQ2878C7GeTY3N7N2CD5//Pjxm3GbkcCoAoLvqGKOJ0CgUALhH9C3L90+Fop+4anHLwu/hVo+xRIgQIBAhQR6hd7YvvAbJYw7FRB8dyrneQQI5F4ght72dd7HQrHt6753hN/cL5sCCRAgQKCCAoNCb+QQfqOEcScCgu9O1DyHAIHcC3SH3liw8BsljAQIECBAIB8Cw4TeWKnwGyWMowp4catRxRxPgEDuBfqF3lB4uPobbn0Ox+S+EQUSIECAAIEKCFy9enVP+9/lfcO02mg0kvn5+QPDHOsYAp0CfvHr1PCYAAECBAgQIECAAIGpChw5cmR9bm7unWaz+Z/tJm4fs7q0tLS63XH2E+gWcKtzt4ivCRAohUC/q75udS7F8mqCAAECBEoocP369fn19fXn6/X6Qq/2Qug9duzYlV77bCOwnYDgu52Q/QQIFFagO/wKvYVdSoUTIECAQEUE+oVfobci3wATbFPwnSCuUxMgMHuBGH5DJV7RefbroQICBAgQILCdQHf4FXq3E7N/GAHBdxglxxAgUGiBEH5DA97Dt9DLqHgCBAgQqJBADL/tlm+4vblCC69VAgQIECBAgAABAgQIVEmg/R/XjSr1q1cCBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECuxPIsizZ3Rk8mwABAvkTSPNXkooIECBAgAABAgRmIdAOvel/V1a+c/fVlaOzmN+cBAgQmJSA/9GblKzzEiBAgAABAgQKJPBp6F3ONmuLoexmK1k98PKpKwVqQakECBDoKyD49qWxgwABAgQIECBQDYHu0Bu7Fn6jhJEAgaILuNW56CuofgIECBAgQIDALgT6hd5wynqaPXl3xW3Pu+D1VAIEciLgim9OFkIZBAgQIECAAIFpCwwKvZ21NPe0b3s+5bbnThOPCRAoloArvsVaL9USIECAAAECBMYm8MkbbzwX/6Z30EnrD7In7585tzToGPsIECCQZwHBN8+rozYCBAgQIECAwAQFsvvpx82slW03RZYk63MH997a7jj7CRAgkFcBtzrndWXURYAAAQIECBCYgsDaK7861EofLNeTtOfvhSH0Lhzc/05y8uTaFMoxBQECBCYi0PMH3ERmclICBAgQIECAAIFcCvQLv0JvLpdLUQQI7EBA8N0BmqcQIECAAAECBMom0B1+hd6yrbB+CFRbQPCt9vrrngABAgQIECCwJRDDb5rWN9zevMXiAQECBAgQIECAAAECBAiUSWDt7NnF7M0395WpJ70QIEDgf01Qh63gZYluAAAAAElFTkSuQmCC"},function(s,t,a){s.exports=a.p+"static/banner-bg.75437e1.svg"},function(s,t,a){s.exports=a.p+"static/guide.f9920aa.png"},function(s,t,a){s.exports=a.p+"static/component.3297a09.png"},function(s,t,a){s.exports=a.p+"static/resource.14f15bb.png"},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(301),l=e(n),i=a(306),h=e(i),r=a(331),c=e(r),o=a(336),p=e(o),_=a(340),d=e(_),u=a(355),C=e(u),g=a(359),m=e(g),j=a(363),f=e(j),v=a(366),b=e(v),y=a(370),w=e(y),A=a(315),M=e(A),x=a(374),I=e(x),k=a(379),D=e(k),N=a(383),T=e(N),E=a(387),z=e(E),S=a(391),O=e(S),L=a(395),B=e(L),P=a(399),F=e(P),R=a(311),Q=e(R),Y=a(327),U=e(Y),Z=a(403),V=e(Z),G=a(343),W=e(G),H=a(350),q=e(H),$=a(407),J=e($),X=a(417),K=e(X),ss=a(419),ts=e(ss),as=a(448),es=e(as),ns=a(453),ls=e(ns),is=a(458),hs=e(is),rs=a(464),cs=e(rs),os=a(468),ps=e(os),_s=a(474),ds=e(_s),us=a(478),Cs=e(us),gs=a(482),ms=e(gs),js=a(486),fs=e(js),vs=a(515),bs=e(vs),ys=a(525),ws=e(ys),As=a(319),Ms=e(As),xs=a(526),Is=e(xs),ks=a(536),Ds=e(ks),Ns=a(540),Ts=e(Ns),Es=a(545),zs=e(Es),Ss=a(550),Os=e(Ss),Ls=a(553),Bs=e(Ls),Ps=a(557),Fs=e(Ps),Rs=a(561),Qs=e(Rs),Ys=a(565),Us=e(Ys),Zs=a(580),Vs=e(Zs),Gs=a(584),Ws=e(Gs),Hs=a(588),qs=e(Hs),$s=a(598),Js=e($s),Xs=a(602),Ks=e(Xs),st=a(606),tt=e(st),at=a(610),et=e(at),nt=a(614),lt=e(nt),it=function ht(s){ht.installed||(s.component(l["default"].name,l["default"]),s.component(h["default"].name,h["default"]),s.component(c["default"].name,c["default"]),s.component(p["default"].name,p["default"]),s.component(d["default"].name,d["default"]),s.component(C["default"].name,C["default"]),s.component(m["default"].name,m["default"]),s.component(f["default"].name,f["default"]),s.component(b["default"].name,b["default"]),s.component(w["default"].name,w["default"]),s.component(M["default"].name,M["default"]),s.component(I["default"].name,I["default"]),s.component(D["default"].name,D["default"]),s.component(T["default"].name,T["default"]),s.component(z["default"].name,z["default"]),s.component(O["default"].name,O["default"]),s.component(B["default"].name,B["default"]),s.component(F["default"].name,F["default"]),s.component(Q["default"].name,Q["default"]),s.component(U["default"].name,U["default"]),s.component(V["default"].name,V["default"]),s.component(W["default"].name,W["default"]),s.component(q["default"].name,q["default"]),s.component(J["default"].name,J["default"]),s.component(K["default"].name,K["default"]),s.component(ts["default"].name,ts["default"]),s.component(es["default"].name,es["default"]),s.component(ls["default"].name,ls["default"]),s.component(hs["default"].name,hs["default"]),s.component(cs["default"].name,cs["default"]),s.component(ds["default"].name,ds["default"]),s.component(Cs["default"].name,Cs["default"]),s.component(ms["default"].name,ms["default"]),s.component(fs["default"].name,fs["default"]),s.component(bs["default"].name,bs["default"]),s.component(ws["default"].name,ws["default"]),s.component(Ms["default"].name,Ms["default"]),s.component(Is["default"].name,Is["default"]),s.component(Ds["default"].name,Ds["default"]),s.component(zs["default"].name,zs["default"]),s.component(Bs["default"].name,Bs["default"]),s.component(Fs["default"].name,Fs["default"]),s.component(Qs["default"].name,Qs["default"]),s.component(Us["default"].name,Us["default"]),s.component(Vs["default"].name,Vs["default"]),s.component(Ws["default"].name,Ws["default"]),s.component(qs["default"].name,qs["default"]),s.component(Js["default"].name,Js["default"]),s.component(Ks["default"].name,Ks["default"]),s.component(tt["default"].name,tt["default"]),s.component(et["default"].name,et["default"]),s.component(lt["default"].name,lt["default"]),s.use(Os["default"]),s.prototype.$msgbox=ps["default"],s.prototype.$alert=ps["default"].alert,s.prototype.$confirm=ps["default"].confirm,s.prototype.$prompt=ps["default"].prompt,s.prototype.$notify=Ts["default"],s.prototype.$message=qs["default"])};"undefined"!=typeof window&&window.Vue&&it(window.Vue),s.exports={version:"1.0.0-rc.3",install:it,SelectDropdown:l["default"],Pagination:h["default"],Dialog:c["default"],Autocomplete:p["default"],Dropdown:d["default"],DropdownItem:C["default"],Menu:m["default"],Submenu:f["default"],MenuItem:b["default"],MenuItemGroup:w["default"],Input:M["default"],InputNumber:I["default"],Radio:D["default"],RadioGroup:T["default"],RadioButton:z["default"],Checkbox:O["default"],CheckboxGroup:B["default"],Switch:F["default"],Select:Q["default"],Option:U["default"],OptionGroup:V["default"],Button:W["default"],ButtonGroup:q["default"],Table:J["default"],TableColumn:K["default"],DatePicker:ts["default"],TimeSelect:es["default"],TimePicker:ls["default"],Popover:hs["default"],Tooltip:cs["default"],MessageBox:ps["default"],Breadcrumb:ds["default"],BreadcrumbItem:Cs["default"],Form:ms["default"],FormItem:fs["default"],Tabs:bs["default"],TabPane:ws["default"],Tag:Ms["default"],Tree:Is["default"],Alert:Ds["default"],Notification:Ts["default"],Slider:zs["default"],Loading:Os["default"],Icon:Bs["default"],Row:Fs["default"],Col:Qs["default"],Upload:Us["default"],Progress:Vs["default"],Spinner:Ws["default"],Message:qs["default"],Badge:Js["default"],Card:Ks["default"],Rate:tt["default"],Steps:et["default"],Step:lt["default"]}},function(s,t,a){"use strict";var e=a(302);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(303);var l=a(305);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(304),l=e(n);t["default"]={name:"el-select-dropdown",componentName:"select-dropdown",data:function(){return{popper:null}},created:function(){this.$on("updatePopper",this.updatePopper),this.$on("destroyPopper",this.destroyPopper)},methods:{updatePopper:function(){var s=this;this.popper?this.$nextTick(function(){s.popper.update()}):this.$nextTick(function(){s.popper=new l["default"](s.$parent.$refs.reference.$el,s.$el,{gpuAcceleration:!1,placement:"bottom-start",boundariesPadding:0,forceAbsolute:!0}),s.popper.onCreate(function(t){s.resetTransformOrigin(t)})})},destroyPopper:function(){var s=this;this.popper&&(this.resetTransformOrigin(this.popper),setTimeout(function(){s.popper.destroy(),s.popper=null},300))},resetTransformOrigin:function(s){var t={top:"bottom",bottom:"top"},a=s._popper.getAttribute("x-placement").split("-")[0],e=t[a];s._popper.style.transformOrigin="center "+e}},beforeDestroy:function(){this.popper&&this.popper.destroy()}}},function(s,t,a){var e,n;"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s};!function(l,i){e=i,n="function"==typeof e?e.call(t,a,t,s):e,!(void 0!==n&&(s.exports=n))}(void 0,function(){"use strict";function s(s,t,a){this._reference=s.jquery?s[0]:s,this.state={};var e="undefined"==typeof t||null===t,n=t&&"[object Object]"===Object.prototype.toString.call(t);return e||n?this._popper=this.parse(n?t:{}):this._popper=t.jquery?t[0]:t,this._options=Object.assign({},g,a),this._options.modifiers=this._options.modifiers.map(function(s){if(this._options.modifiersIgnored.indexOf(s)===-1)return"applyStyle"===s&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[s]||s}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),c(this._popper,{position:this.state.position}),this.update(),this._setupEventListeners(),this}function t(s){var t=s.style.display,a=s.style.visibility;s.style.display="block",s.style.visibility="hidden";var e=(s.offsetWidth,C.getComputedStyle(s)),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),l=parseFloat(e.marginLeft)+parseFloat(e.marginRight),i={width:s.offsetWidth+l,height:s.offsetHeight+n};return s.style.display=t,s.style.visibility=a,i}function a(s){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return s.replace(/left|right|bottom|top/g,function(s){return t[s]})}function e(s){var t=Object.assign({},s);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function n(s,t){var a,e=0;for(a in s){if(s[a]===t)return e;e++}return null}function l(s,t){var a=C.getComputedStyle(s,null);return a[t]}function i(s){var t=s.offsetParent;return t!==C.document.body&&t?t:C.document.documentElement}function h(s){return s===C.document?C.document.body.scrollTop?C.document.body:C.document.documentElement:["scroll","auto"].indexOf(l(s,"overflow"))!==-1||["scroll","auto"].indexOf(l(s,"overflow-x"))!==-1||["scroll","auto"].indexOf(l(s,"overflow-y"))!==-1?s:s.parentNode?h(s.parentNode):s}function r(s){return s!==C.document.body&&("fixed"===l(s,"position")||(s.parentNode?r(s.parentNode):s))}function c(s,t){function a(s){return""!==s&&!isNaN(parseFloat(s))&&isFinite(s)}Object.keys(t).forEach(function(e){var n="";["width","height","top","right","bottom","left"].indexOf(e)!==-1&&a(t[e])&&(n="px"),s.style[e]=t[e]+n})}function o(s){var t={};return s&&"[object Function]"===t.toString.call(s)}function p(s){var t={width:s.offsetWidth,height:s.offsetHeight,left:s.offsetLeft,top:s.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function _(s){var t=s.getBoundingClientRect();return{left:t.left,top:t.top,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-t.top}}function d(s,t,a){var e=_(s),n=_(t);if(a){var l=h(t);n.top+=l.scrollTop,n.bottom+=l.scrollTop,n.left+=l.scrollLeft,n.right+=l.scrollLeft}var i={top:e.top-n.top,left:e.left-n.left,bottom:e.top-n.top+e.height,right:e.left-n.left+e.width,width:e.width,height:e.height};return i}function u(s){for(var t=["","ms","webkit","moz","o"],a=0;a<t.length;a++){var e=t[a]?t[a]+s.charAt(0).toUpperCase()+s.slice(1):s;if("undefined"!=typeof C.document.body.style[e])return e}return null}var C=window,g={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};return s.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[u("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},s.prototype.update=function(){var s={instance:this,styles:{}};s.placement=this._options.placement,s._originalPlacement=this._options.placement,s.offsets=this._getOffsets(this._popper,this._reference,s.placement),s.boundaries=this._getBoundaries(s,this._options.boundariesPadding,this._options.boundariesElement),s=this.runModifiers(s,this._options.modifiers),"function"==typeof this.state.updateCallback&&this.state.updateCallback(s)},s.prototype.onCreate=function(s){return s(this),this},s.prototype.onUpdate=function(s){return this.state.updateCallback=s,this},s.prototype.parse=function(s){function t(s,t){t.forEach(function(t){s.classList.add(t)})}function a(s,t){t.forEach(function(t){s.setAttribute(t.split(":")[0],t.split(":")[1]||"")})}var e={tagName:"div",classNames:["popper"],attributes:[],parent:C.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};s=Object.assign({},e,s);var n=C.document,l=n.createElement(s.tagName);if(t(l,s.classNames),a(l,s.attributes),"node"===s.contentType?l.appendChild(s.content.jquery?s.content[0]:s.content):"html"===s.contentType?l.innerHTML=s.content:l.textContent=s.content,s.arrowTagName){var i=n.createElement(s.arrowTagName);t(i,s.arrowClassNames),a(i,s.arrowAttributes),l.appendChild(i)}var h=s.parent.jquery?s.parent[0]:s.parent;if("string"==typeof h){if(h=n.querySelectorAll(s.parent),h.length>1&&console.warn("WARNING: the given `parent` query("+s.parent+") matched more than one element, the first one will be used"),0===h.length)throw"ERROR: the given `parent` doesn't exists!";h=h[0]}return h.length>1&&h instanceof Element==!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),h=h[0]),h.appendChild(l),l},s.prototype._getPosition=function(s,t){var a=i(t);if(this._options.forceAbsolute)return"absolute";var e=r(t,a);return e?"fixed":"absolute"},s.prototype._getOffsets=function(s,a,e){e=e.split("-")[0];var n={};n.position=this.state.position;var l="fixed"===n.position,h=d(a,i(s),l),r=t(s);return["right","left"].indexOf(e)!==-1?(n.top=h.top+h.height/2-r.height/2,"left"===e?n.left=h.left-r.width:n.left=h.right):(n.left=h.left+h.width/2-r.width/2,"top"===e?n.top=h.top-r.height:n.top=h.bottom),n.width=r.width,n.height=r.height,{popper:n,reference:h}},s.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),C.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var s=h(this._reference);s!==C.document.body&&s!==C.document.documentElement||(s=C),s.addEventListener("scroll",this.state.updateBound)}},s.prototype._removeEventListeners=function(){if(C.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var s=h(this._reference);s!==C.document.body&&s!==C.document.documentElement||(s=C),s.removeEventListener("scroll",this.state.updateBound)}this.state.updateBound=null},s.prototype._getBoundaries=function(s,t,a){var e,n,l={};if("window"===a){var r=C.document.body,c=C.document.documentElement;n=Math.max(r.scrollHeight,r.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),e=Math.max(r.scrollWidth,r.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),l={top:0,right:e,bottom:n,left:0}}else if("viewport"===a){var o=i(this._popper),_=h(this._popper),d=p(o),u="fixed"===s.offsets.popper.position?0:_.scrollTop,g="fixed"===s.offsets.popper.position?0:_.scrollLeft;l={top:0-(d.top-u),right:C.document.documentElement.clientWidth-(d.left-g),bottom:C.document.documentElement.clientHeight-(d.top-u),left:0-(d.left-g)}}else l=i(this._popper)===a?{top:0,left:0,right:a.clientWidth,bottom:a.clientHeight}:p(a);return l.left+=t,l.right-=t,l.top=l.top+t,l.bottom=l.bottom-t,l},s.prototype.runModifiers=function(s,t,a){var e=t.slice();return void 0!==a&&(e=this._options.modifiers.slice(0,n(this._options.modifiers,a))),e.forEach(function(t){o(t)&&(s=t.call(this,s))}.bind(this)),s},s.prototype.isModifierRequired=function(s,t){var a=n(this._options.modifiers,s);return!!this._options.modifiers.slice(0,a).filter(function(s){return s===t}).length},s.prototype.modifiers={},s.prototype.modifiers.applyStyle=function(s){var t,a={position:s.offsets.popper.position},e=Math.round(s.offsets.popper.left),n=Math.round(s.offsets.popper.top);return this._options.gpuAcceleration&&(t=u("transform"))?(a[t]="translate3d("+e+"px, "+n+"px, 0)",a.top=0,a.left=0):(a.left=e,a.top=n),Object.assign(a,s.styles),c(this._popper,a),this._popper.setAttribute("x-placement",s.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&s.offsets.arrow&&c(s.arrowElement,s.offsets.arrow),s},s.prototype.modifiers.shift=function(s){var t=s.placement,a=t.split("-")[0],n=t.split("-")[1];if(n){var l=s.offsets.reference,i=e(s.offsets.popper),h={y:{start:{top:l.top},end:{top:l.top+l.height-i.height}},x:{start:{left:l.left},end:{left:l.left+l.width-i.width}}},r=["bottom","top"].indexOf(a)!==-1?"x":"y";s.offsets.popper=Object.assign(i,h[r][n])}return s},s.prototype.modifiers.preventOverflow=function(s){var t=this._options.preventOverflowOrder,a=e(s.offsets.popper),n={left:function l(){var l=a.left;return a.left<s.boundaries.left&&(l=Math.max(a.left,s.boundaries.left)),{left:l}},right:function(){var t=a.left;return a.right>s.boundaries.right&&(t=Math.min(a.left,s.boundaries.right-a.width)),{left:t}},top:function i(){var i=a.top;return a.top<s.boundaries.top&&(i=Math.max(a.top,s.boundaries.top)),{top:i}},bottom:function(){var t=a.top;return a.bottom>s.boundaries.bottom&&(t=Math.min(a.top,s.boundaries.bottom-a.height)),{top:t}}};return t.forEach(function(t){s.offsets.popper=Object.assign(a,n[t]())}),s},s.prototype.modifiers.keepTogether=function(s){var t=e(s.offsets.popper),a=s.offsets.reference,n=Math.floor;return t.right<n(a.left)&&(s.offsets.popper.left=n(a.left)-t.width),t.left>n(a.right)&&(s.offsets.popper.left=n(a.right)),t.bottom<n(a.top)&&(s.offsets.popper.top=n(a.top)-t.height),t.top>n(a.bottom)&&(s.offsets.popper.top=n(a.bottom)),s},s.prototype.modifiers.flip=function(s){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),s;if(s.flipped&&s.placement===s._originalPlacement)return s;var t=s.placement.split("-")[0],n=a(t),l=s.placement.split("-")[1]||"",i=[];return i="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,i.forEach(function(h,r){if(t===h&&i.length!==r+1){t=s.placement.split("-")[0],n=a(t);var c=e(s.offsets.popper),o=["right","bottom"].indexOf(t)!==-1;(o&&Math.floor(s.offsets.reference[t])>Math.floor(c[n])||!o&&Math.floor(s.offsets.reference[t])<Math.floor(c[n]))&&(s.flipped=!0,s.placement=i[r+1],l&&(s.placement+="-"+l),s.offsets.popper=this._getOffsets(this._popper,this._reference,s.placement).popper,s=this.runModifiers(s,this._options.modifiers,this._flip))}}.bind(this)),s},s.prototype.modifiers.offset=function(s){var t=this._options.offset,a=s.offsets.popper;return s.placement.indexOf("left")!==-1?a.top-=t:s.placement.indexOf("right")!==-1?a.top+=t:s.placement.indexOf("top")!==-1?a.left-=t:s.placement.indexOf("bottom")!==-1&&(a.left+=t),s},s.prototype.modifiers.arrow=function(s){var a=this._options.arrowElement;if("string"==typeof a&&(a=this._popper.querySelector(a)),!a)return s;if(!this._popper.contains(a))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),s;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),s;var n={},l=s.placement.split("-")[0],i=e(s.offsets.popper),h=s.offsets.reference,r=["left","right"].indexOf(l)!==-1,c=r?"height":"width",o=r?"top":"left",p=r?"left":"top",_=r?"bottom":"right",d=t(a)[c];h[_]-d<i[o]&&(s.offsets.popper[o]-=i[o]-(h[_]-d)),h[o]+d>i[_]&&(s.offsets.popper[o]+=h[o]+d-i[_]);var u=h[o]+h[c]/2-d/2,C=u-i[o];return C=Math.max(Math.min(i[c]-d,C),0),n[o]=C,n[p]="",s.offsets.arrow=n,s.arrowElement=a,s},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(s){if(void 0===s||null===s)throw new TypeError("Cannot convert first argument to object");for(var t=Object(s),a=1;a<arguments.length;a++){var e=arguments[a];if(void 0!==e&&null!==e){e=Object(e);for(var n=Object.keys(e),l=0,i=n.length;l<i;l++){var h=n[l],r=Object.getOwnPropertyDescriptor(e,h);void 0!==r&&r.enumerable&&(t[h]=e[h])}}}return t}}),s})},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-select-dropdown"},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(307);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(2),l=e(n),i=a(308),h=e(i),r=a(311),c=e(r),o=a(327),p=e(o);t["default"]={name:"ElPagination",props:{pageSize:{type:Number,"default":10},small:Boolean,total:{type:Number,"default":0},currentPage:{type:Number,"default":1},layout:{"default":"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,"default":function(){return[10,20,30,40,50,100]}}},data:function(){return{internalCurrentPage:1,internalPageSize:0}},render:function(s){var t=s("div",{"class":"el-pagination"},[]),a=this.$options.layout||this.layout||"",e={prev:s("prev",null,[]),jumper:s("jumper",null,[]),pager:s("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.pageCount},on:{currentchange:this.handleCurrentChange}},[]),next:s("next",null,[]),sizes:s("sizes",null,[]),slot:s("slot",null,[]),total:s("total",null,[])},n=a.split(",").map(function(s){return s.trim()}),l=s("div",{"class":"el-pagination__rightwrapper"},[]),i=!1;return this.small&&(t.data["class"]+=" el-pagination--small"),n.forEach(function(s){return"->"===s?void(i=!0):void(i?l.children.push(e[s]):t.children.push(e[s]))}),i&&t.children.push(l),t},components:{Prev:{render:function(s){return s("button",{"class":["btn-prev",{disabled:this.$parent.internalCurrentPage<=1}],on:{click:this.$parent.prev}},[s("i",{"class":"el-icon el-icon-arrow-left"},[])])}},Next:{render:function(s){return s("button",{"class":["btn-next",{disabled:this.$parent.internalCurrentPage===this.$parent.pageCount}],on:{click:this.$parent.next}},[s("i",{"class":"el-icon el-icon-arrow-right"},[])])}},Sizes:{created:function(){Array.isArray(this.$parent.pageSizes)&&(this.$parent.internalPageSize=this.$parent.pageSizes.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.$parent.pageSizes[0])},render:function(s){return s("span",{"class":"el-pagination__sizes"},[s("el-select",{attrs:{size:"small",value:this.$parent.internalPageSize,width:110},on:{change:this.handleChange}},[this.$parent.pageSizes.map(function(t){return s("el-option",{attrs:{value:t,label:t+" 条/页"}},[])})])])},components:{ElSelect:c["default"],ElOption:p["default"]},methods:{handleChange:function(s){s!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=s=parseInt(s,10),this.$parent.$emit("sizechange",s))}}},Jumper:{data:function(){return{oldValue:null}},methods:{handleFocus:function(s){this.oldValue=s.target.value},handleChange:function(s){var t=s.target;this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(t.value),t.value!==this.oldValue&&Number(t.value)===this.$parent.internalCurrentPage&&this.$parent.$emit("currentchange",this.$parent.internalCurrentPage),this.oldValue=null}},render:function(s){return s("span",{"class":"el-pagination__jump"},["前往",s("input",{"class":"el-pagination__editor",attrs:{type:"number",min:1,max:this.pageCount,value:this.$parent.internalCurrentPage,number:!0,lazy:!0},on:{change:this.handleChange,focus:this.handleFocus},style:{width:"30px"}},[]),"页"])}},Total:{render:function(s){return s("span",{"class":"el-pagination__total"},["共 ",this.$parent.total," 条"])}},Pager:h["default"]},methods:{handleCurrentChange:function(s){this.internalCurrentPage=this.getValidCurrentPage(s),this.$emit("currentchange",this.internalCurrentPage)},prev:function(){var s=this.internalCurrentPage,t=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(t),this.internalCurrentPage!==s&&this.$emit("currentchange",this.internalCurrentPage)},next:function(){var s=this.internalCurrentPage,t=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(t),this.internalCurrentPage!==s&&this.$emit("currentchange",this.internalCurrentPage)},first:function(){var s=this.internalCurrentPage,t=1;this.internalCurrentPage=this.getValidCurrentPage(t),this.internalCurrentPage!==s&&this.$emit("currentchange",this.internalCurrentPage)},last:function(){var s=this.internalCurrentPage,t=this.pageCount;this.internalCurrentPage=this.getValidCurrentPage(t),this.internalCurrentPage!==s&&this.$emit("currentchange",this.internalCurrentPage)},getValidCurrentPage:function(s){s=parseInt(s,10);var t;return s<1?t=this.pageCount>0?1:0:s>this.pageCount&&(t=this.pageCount),void 0===t&&isNaN(s)&&(s=this.pageCount>0?1:0),void 0===t?s:t}},computed:{pageCount:function(){return Math.ceil(this.total/this.internalPageSize)},startRecordIndex:function(){var s=(this.internalCurrentPage-1)*this.internalPageSize+1;return s>0?s:0},endRecordIndex:function(){var s=this.internalCurrentPage*this.internalPageSize;return s>this.total?this.total:s}},watch:{pageCount:function(s){s>0&&0===this.internalCurrentPage?this.internalCurrentPage=1:this.internalCurrentPage>s&&(this.internalCurrentPage=s)},currentPage:{immediate:!0,handler:function(s){this.internalCurrentPage=s}},pageSize:{immediate:!0,handler:function(s){this.internalPageSize=s}},internalCurrentPage:function(s,t){var a=this;s=parseInt(s,10),s=isNaN(s)?t||1:this.getValidCurrentPage(s),void 0!==s&&l["default"].nextTick(function(){a.internalCurrentPage=s})}}}},function(s,t,a){var e,n;e=a(309);var l=a(310);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElPager",props:{currentPage:Number,pageCount:Number},methods:{onPagerClick:function(s){var t=s.target;if("UL"!==t.tagName){var a=Number(s.target.textContent),e=this.pageCount,n=this.currentPage;t.className.indexOf("more")!==-1&&(t.className.indexOf("quickprev")!==-1?a=n-5:t.className.indexOf("quicknext")!==-1&&(a=n+5)),isNaN(a)||(a<1&&(a=1),a>e&&(a=e)),a!==n&&this.$emit("currentchange",a)}}},computed:{pagers:function(){var s=7,t=Number(this.currentPage),a=Number(this.pageCount),e=!1,n=!1;a>s&&(t>s-2&&(e=!0),t<a-2&&(n=!0));var l=[];if(e&&!n)for(var i=a-(s-2),h=i;h<a;h++)l.push(h);else if(!e&&n)for(var r=2;r<s;r++)l.push(r);else if(e&&n)for(var c=Math.floor(s/2)-1,o=t-c;o<=t+c;o++)l.push(o);else for(var p=2;p<a;p++)l.push(p);return this.showPrevMore=e,this.showNextMore=n,l}},data:function(){return{current:null,showPrevMore:!1,showNextMore:!1,quicknextIconClass:"el-icon-more",quickprevIconClass:"el-icon-more"}}}},function(module,exports){module.exports={render:function(){with(this)return _h("ul",{staticClass:"el-pager",on:{click:onPagerClick}},[pageCount>0?_h("li",{staticClass:"number","class":{active:1===currentPage}},["1"]):_e()," ",showPrevMore?_h("li",{staticClass:"el-icon more btn-quickprev","class":[quickprevIconClass],on:{mouseenter:function(s){quickprevIconClass="el-icon-d-arrow-left";
},mouseleave:function(s){quickprevIconClass="el-icon-more"}}}):_e()," ",pagers&&_l(pagers,function(s){return _h("li",{staticClass:"number","class":{active:currentPage===s}},[_s(s)])})," ",showNextMore?_h("li",{staticClass:"el-icon more btn-quicknext","class":[quicknextIconClass],on:{mouseenter:function(s){quicknextIconClass="el-icon-d-arrow-right"},mouseleave:function(s){quicknextIconClass="el-icon-more"}}}):_e()," ",pageCount>1?_h("li",{staticClass:"number","class":{active:currentPage===pageCount}},[_s(pageCount)]):_e()])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(312);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(313);var l=a(326);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n),i=a(315),h=e(i),r=a(301),c=e(r),o=a(319),p=e(o),_=a(323),d=e(_),u=a(325),C=e(u);t["default"]={mixins:[l["default"]],name:"ElSelect",componentName:"select",computed:{iconClass:function(){return this.showCloseIcon?"circle-close":this.remote&&this.filterable?"":"caret-top"},debounce:function(){return this.remote?300:0},showCloseIcon:function(){var s=this.clearable&&this.inputHovering&&!this.multiple&&this.options.indexOf(this.selected)>-1;if(!this.$el)return!1;var t=this.$el.querySelector(".el-input__icon");return t&&(s?(t.addEventListener("click",this.deleteSelected),t.classList.add("is-show-close")):(t.removeEventListener("click",this.deleteSelected),t.classList.remove("is-show-close"))),s},nodataText:function(){return this.loading?"加载中":this.voidRemoteQuery?(this.voidRemoteQuery=!1,!1):0===this.filteredOptionsCount?"无匹配数据":0===this.options.length?"无数据":null}},components:{ElInput:h["default"],ElSelectMenu:c["default"],ElTag:p["default"]},directives:{ElementClickoutside:C["default"]},props:{name:String,value:{},size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,loading:Boolean,remote:Boolean,remoteMethod:Function,filterMethod:Function,multiple:Boolean,placeholder:{type:String,"default":"请选择"}},data:function(){return{options:[],selected:{},isSelect:!0,inputLength:20,inputWidth:0,valueChangeBySelected:!1,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,dropdownUl:null,visible:!1,selectedLabel:"",selectInit:!1,hoverIndex:-1,query:"",voidRemoteQuery:!1,bottomOverflowBeforeHidden:0,optionsAllDisabled:!1,inputHovering:!1,currentPlaceholder:""}},watch:{placeholder:function(s){this.currentPlaceholder=s},value:function(s){var t=this;return this.valueChangeBySelected?void(this.valueChangeBySelected=!1):void this.$nextTick(function(){if(t.multiple&&Array.isArray(s)&&(t.$nextTick(function(){t.resetInputHeight()}),t.selectedInit=!0,t.selected=[],t.currentPlaceholder=t.cachedPlaceHolder,s.forEach(function(s){var a=t.options.filter(function(t){return t.value===s})[0];a&&t.$emit("addOptionToValue",a)})),!t.multiple){var a=t.options.filter(function(t){return t.value===s})[0];a?t.$emit("addOptionToValue",a):(t.selected={},t.selectedLabel="")}t.resetHoverIndex()})},selected:function(s){var t=this;if(this.multiple){if(this.selectedInit)return void(this.selectedInit=!1);this.valueChangeBySelected=!0;var a=s.map(function(s){return s.value});this.$emit("input",a),this.$emit("change",a),this.selected.length>0?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.$nextTick(function(){t.resetInputHeight()}),this.filterable&&(this.query="",this.hoverIndex=-1,this.$refs.input.focus(),this.inputLength=20)}else this.valueChangeBySelected=!0,this.$emit("input",s.value),this.$emit("change",s.value)},query:function(s){var t=this;this.$nextTick(function(){t.broadcast("select-dropdown","updatePopper")}),this.multiple&&this.filterable&&this.resetInputHeight(),this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.multiple||(this.selected={}),this.remoteMethod(s),this.voidRemoteQuery=""===s):"function"==typeof this.filterMethod?this.filterMethod(s):(this.filteredOptionsCount=this.optionsCount,this.broadcast("option","queryChange",s))},visible:function(s){if(s){if(this.$el.querySelector(".el-input__icon")&&this.$el.querySelector(".el-input__icon").classList.add("is-reverse"),this.broadcast("select-dropdown","updatePopper"),this.filterable&&(this.query=this.selectedLabel,this.multiple?this.$refs.input.focus():this.broadcast("input","inputSelect")),!this.dropdownUl){var t=this.$refs.popper.$el.childNodes;this.dropdownUl=[].filter.call(t,function(s){return"UL"===s.tagName})[0]}!this.multiple&&this.dropdownUl&&this.bottomOverflowBeforeHidden>0&&(this.dropdownUl.scrollTop+=this.bottomOverflowBeforeHidden)}else this.$refs.reference.$el.querySelector("input").blur(),this.$el.querySelector(".el-input__icon")&&this.$el.querySelector(".el-input__icon").classList.remove("is-reverse"),this.broadcast("select-dropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.resetHoverIndex(),this.multiple||(this.dropdownUl&&this.selected.$el&&(this.bottomOverflowBeforeHidden=this.selected.$el.getBoundingClientRect().bottom-this.$refs.popper.$el.getBoundingClientRect().bottom),this.selected&&this.selected.value&&(this.selectedLabel=this.selected.currentLabel))},options:function(s){this.optionsAllDisabled=s.length===s.filter(function(s){return s.disabled===!0}).length}},methods:{handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(s){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return s===!0||s===!1?(t.hitState=s,s):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(s){s.target.value.length<=0&&!this.toggleLastOptionHitState()&&this.selected.pop()},addOptionToValue:function(s){this.multiple?this.selected.indexOf(s)!==-1||this.remote&&this.value.indexOf(s.value)!==-1||(this.selectedInit=!1,this.selected.push(s),this.resetHoverIndex()):(this.selected=s,this.selectedLabel=s.currentLabel,this.hoverIndex=s.index)},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(s){8!==s.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=12*this.$refs.input.value.length+20},resetInputHeight:function(){var s=this;this.$nextTick(function(){var t=s.$refs.reference.$el.childNodes,a=[].filter.call(t,function(s){return"INPUT"===s.tagName})[0];a.style.height=Math.max(s.$refs.tags.clientHeight+6,"small"===s.size?28:36)+"px",s.broadcast("select-dropdown","updatePopper")})},resetHoverIndex:function(){var s=this;setTimeout(function(){s.multiple?s.selected.length>0?s.hoverIndex=Math.min.apply(null,s.selected.map(function(t){return s.options.indexOf(t)})):s.hoverIndex=-1:s.hoverIndex=s.options.indexOf(s.selected)},300)},handleOptionSelect:function(s){if(this.multiple){var t=-1;this.selected.forEach(function(a,e){a!==s&&a.currentLabel!==s.currentLabel||(t=e)}),t>-1?this.selected.splice(t,1):this.selected.push(s)}else this.selected=s,this.selectedLabel=s.currentLabel,this.visible=!1},toggleMenu:function(){this.filterable&&""===this.query&&this.visible||this.disabled||(this.visible=!this.visible,this.remote&&this.visible&&(this.selectedLabel=""))},navigateOptions:function(s){return this.visible?void(this.optionsAllDisabled||("next"===s&&(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0),this.resetScrollTop(),this.options[this.hoverIndex].disabled!==!0&&this.options[this.hoverIndex].queryPassed||this.navigateOptions("next")),"prev"===s&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1),this.resetScrollTop(),this.options[this.hoverIndex].disabled!==!0&&this.options[this.hoverIndex].queryPassed||this.navigateOptions("prev")))):void(this.visible=!0)},resetScrollTop:function(){var s=this.options[this.hoverIndex].$el.getBoundingClientRect().bottom-this.$refs.popper.$el.getBoundingClientRect().bottom,t=this.options[this.hoverIndex].$el.getBoundingClientRect().top-this.$refs.popper.$el.getBoundingClientRect().top;s>0&&(this.dropdownUl.scrollTop+=s),t<0&&(this.dropdownUl.scrollTop+=t)},selectOption:function(){this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex])},deleteSelected:function(s){s.stopPropagation(),this.selected={},this.selectedLabel="",this.$emit("input",""),this.$emit("change",""),this.visible=!1},deleteTag:function(s,t){if("I"===s.target.tagName){var a=this.selected.indexOf(t);a>-1&&this.selected.splice(a,1),s.stopPropagation()}},onInputChange:function(){this.filterable&&(this.query=this.selectedLabel)},onOptionDestroy:function(s){this.optionsCount--,this.filteredOptionsCount--;var t=this.options.indexOf(s);t>-1&&this.options.splice(t,1),this.broadcast("option","resetIndex")}},created:function(){var s=this;this.cachedPlaceHolder=this.currentPlaceholder=this.placeholder,this.multiple&&(this.selectedInit=!0,this.selected=[]),this.remote&&(this.voidRemoteQuery=!0),this.debouncedOnInputChange=(0,d["default"])(this.debounce,function(){s.onInputChange()}),this.$on("addOptionToValue",this.addOptionToValue),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("onOptionDestroy",this.onOptionDestroy)},mounted:function(){var s=this;this.$nextTick(function(){s.$refs.reference.$el&&(s.inputWidth=s.$refs.reference.$el.getBoundingClientRect().width)})}}},function(s,t){"use strict";function a(s,t,e){this.$children.forEach(function(n){var l=n.$options.componentName;l===s?n.$emit.apply(n,[t].concat(e)):a.apply(n,[s,t].concat(e))})}t.__esModule=!0,t["default"]={methods:{dispatch:function(s,t,a){for(var e=this.$parent,n=e.$options.componentName;e&&(!n||n!==s);)e=e.$parent,e&&(n=e.$options.componentName);e&&e.$emit.apply(e,[t].concat(a))},broadcast:function(s,t,e){a.call(this,s,t,e)}}}},function(s,t,a){"use strict";var e=a(316);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(317);var l=a(318);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={name:"ElInput",mixins:[l["default"]],props:{value:[String,Number],placeholder:{type:String,"default":""},size:{type:String,"default":""},readonly:{type:Boolean,"default":!1},icon:{type:String,"default":""},disabled:{type:Boolean,"default":!1},type:{type:String,"default":"text"},name:{type:String,"default":""},number:{type:Boolean,"default":!1},autoComplete:{type:String,"default":"off"},maxlength:Number,minlength:Number},methods:{handleBlur:function(s){this.$emit("onblur",this.currentValue),this.dispatch("form-item","el.form.blur",[this.currentValue])},inputSelect:function(){this.$refs.input.select()}},data:function(){return{currentValue:""}},created:function(){this.$on("inputSelect",this.inputSelect)},computed:{validating:function(){return this.$parent.validating}},watch:{value:{immediate:!0,handler:function(s){this.currentValue=s}},currentValue:function(s){this.$emit("input",s),this.$emit("onchange",s),this.dispatch("form-item","el.form.change",[s])}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{"class":["textarea"===type?"el-textarea":"el-input",size?"el-input-"+size:"",{"is-disabled":disabled,"el-input-group":$slots.prepend||$slots.append}]},["textarea"!==type?[$slots.prepend?_h("div",{staticClass:"el-input-group__prepend"},[_t("prepend")]):_e()," ",_h("input",{directives:[{name:"model",value:currentValue,expression:"currentValue"}],ref:"input",staticClass:"el-input__inner",attrs:{type:type,name:name,placeholder:placeholder,disabled:disabled,readonly:readonly,number:number,maxlength:maxlength,minlength:minlength,autocomplete:autoComplete},domProps:{value:_s(currentValue)},on:{focus:function(s){$emit("onfocus",currentValue)},blur:handleBlur,input:function(s){s.target.composing||(currentValue=s.target.value)}}})," "," ",icon?_h("i",{staticClass:"el-input__icon","class":[icon?"el-icon-"+icon:""]}):_e()," ",validating?_h("i",{staticClass:"el-input__icon el-icon-loading"}):_e()," "," ",$slots.append?_h("div",{staticClass:"el-input-group__append"},[_t("append")]):_e()]:_h("textarea",{directives:[{name:"model",value:currentValue,expression:"currentValue"}],staticClass:"el-textarea__inner",attrs:{name:name,placeholder:placeholder,disabled:disabled,readonly:readonly},domProps:{value:_s(currentValue)},on:{focus:function(s){$emit("onfocus",currentValue)},blur:handleBlur,input:function(s){s.target.composing||(currentValue=s.target.value)}}})," "," "])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(320);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(321);var l=a(322);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,closeTransition:Boolean},methods:{handleClose:function(s){this.$emit("close",s)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:closeTransition?"":"md-fade-center"}},[_h("span",{staticClass:"el-tag","class":[type?"el-tag--"+type:"",{"is-hit":hit}]},[_t("default")," ",closable?_h("i",{staticClass:"el-tag__close el-icon-close",on:{click:handleClose}}):_e()])])},staticRenderFns:[]}},function(s,t,a){var e=a(324);s.exports=function(s,t,a){return void 0===a?e(s,t,!1):e(s,a,t!==!1)}},function(s,t){s.exports=function(s,t,a,e){function n(){function n(){i=Number(new Date),a.apply(r,o)}function h(){l=void 0}var r=this,c=Number(new Date)-i,o=arguments;e&&!l&&n(),l&&clearTimeout(l),void 0===e&&c>s?n():t!==!0&&(l=setTimeout(e?h:n,void 0===e?s-c:s))}var l,i=0;return"boolean"!=typeof t&&(e=a,a=t,t=void 0),n}},function(s,t){"use strict";t.__esModule=!0;var a="@@clickoutsideContext";t["default"]={bind:function(s,t,e){var n=function(t){e.context&&!s.contains(t.target)&&e.context[s[a].methodName]()};s[a]={documentHandler:n,methodName:t.expression},document.addEventListener("click",n)},update:function(s,t){s[a].methodName=t.expression},unbind:function(s){document.removeEventListener("click",s[a].documentHandler)},install:function(s){s.directive("clickoutside",{bind:this.bind,unbind:this.unbind})}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-select","class":{"is-multiple":multiple,"is-small":"small"===size}},[multiple?_h("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":inputWidth-32+"px"},on:{click:function(s){s.stopPropagation(),toggleMenu(s)}}},[_h("transition-group",{on:{"after-leave":resetInputHeight}},[selected&&_l(selected,function(s){return _h("el-tag",{key:s,attrs:{closable:"",hit:s.hitState,type:"primary","close-transition":""},nativeOn:{click:function(t){deleteTag(t,s)}}},[_s(s.currentLabel)])})])," ",filterable?_h("input",{directives:[{name:"model",value:query,expression:"query"}],ref:"input",staticClass:"el-select__input",style:{width:inputLength+"px"},attrs:{type:"text",debounce:remote?300:0},domProps:{value:_s(query)},on:{keyup:managePlaceholder,keydown:[resetInputState,function(s){40===s.keyCode&&(s.preventDefault(),navigateOptions("next"))},function(s){38===s.keyCode&&(s.preventDefault(),navigateOptions("prev"))},function(s){13===s.keyCode&&(s.preventDefault(),selectOption(s))},function(s){27===s.keyCode&&(s.preventDefault(),visible=!1)},function(s){8!==s.keyCode&&46!==s.keyCode||deletePrevTag(s)}],input:function(s){s.target.composing||(query=s.target.value)}}}):_e()]):_e()," ",_h("el-input",{directives:[{name:"model",value:selectedLabel,expression:"selectedLabel"},{name:"element-clickoutside",value:handleClose,expression:"handleClose"}],ref:"reference",attrs:{type:"text",placeholder:currentPlaceholder,name:name,disabled:disabled,readonly:!filterable||multiple,icon:iconClass},domProps:{value:selectedLabel},on:{input:function(s){selectedLabel=s}},nativeOn:{click:function(s){toggleMenu(s)},keyup:function(s){debouncedOnInputChange(s)},keydown:[function(s){40===s.keyCode&&(s.preventDefault(),navigateOptions("next"))},function(s){38===s.keyCode&&(s.preventDefault(),navigateOptions("prev"))},function(s){13===s.keyCode&&(s.preventDefault(),selectOption(s))},function(s){27===s.keyCode&&(s.preventDefault(),visible=!1)},function(s){9===s.keyCode&&(visible=!1)}],mouseenter:function(s){inputHovering=!0},mouseleave:function(s){inputHovering=!1}}})," ",_h("transition",{attrs:{name:"md-fade-bottom"}},[_h("el-select-menu",{directives:[{name:"show",value:visible&&nodataText!==!1,expression:"visible && nodataText !== false"}],ref:"popper"},[_h("ul",{directives:[{name:"show",value:options.length>0&&filteredOptionsCount>0&&!loading,expression:"options.length > 0 && filteredOptionsCount > 0 && !loading"}],staticClass:"el-select-dropdown__list"},[_t("default")])," ",nodataText?_h("p",{staticClass:"el-select-dropdown__nodata"},[_s(nodataText)]):_e()])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(328);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(329);var l=a(330);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={mixins:[l["default"]],name:"el-option",componentName:"option",props:{value:{required:!0},label:[String,Number],selected:{type:Boolean,"default":!1},disabled:{type:Boolean,"default":!1}},data:function(){return{index:-1,queryPassed:!0,hitState:!1,currentLabel:this.label}},computed:{parent:function(){for(var s=this.$parent;!s.isSelect;)s=s.$parent;return s},itemSelected:function(){return"[object Object]"===Object.prototype.toString.call(this.parent.selected)?this===this.parent.selected:Array.isArray(this.parent.selected)?this.parent.value.indexOf(this.value)>-1:void 0},currentSelected:function(){return this.selected||(this.parent.multiple?this.parent.value.indexOf(this.value)>-1:this.parent.value===this.value)}},watch:{currentSelected:function(s){s===!0&&this.dispatch("select","addOptionToValue",this)}},methods:{disableOptions:function(){this.disabled=!0},hoverItem:function(){this.disabled||(this.parent.hoverIndex=this.parent.options.indexOf(this))},selectOptionClick:function(){this.disabled!==!0&&this.dispatch("select","handleOptionClick",this)},queryChange:function(s){this.queryPassed=new RegExp(s,"i").test(this.currentLabel),this.queryPassed||this.parent.filteredOptionsCount--},resetIndex:function(){var s=this;this.$nextTick(function(){s.index=s.parent.options.indexOf(s)})}},created:function(){this.currentLabel=this.currentLabel||("string"==typeof this.value||"number"==typeof this.value?this.value:""),this.parent.options.push(this),this.parent.optionsCount++,this.parent.filteredOptionsCount++,this.index=this.parent.options.indexOf(this),this.currentSelected===!0&&this.dispatch("select","addOptionToValue",this),this.$on("queryChange",this.queryChange),this.$on("disableOptions",this.disableOptions),this.$on("resetIndex",this.resetIndex)},beforeDestroy:function(){this.dispatch("select","onOptionDestroy",this)}}},function(module,exports){module.exports={render:function(){with(this)return _h("li",{directives:[{name:"show",value:queryPassed,expression:"queryPassed"}],staticClass:"el-select-dropdown__item","class":{selected:itemSelected,"is-disabled":disabled,hover:parent.hoverIndex===index},on:{mouseenter:hoverItem,click:function(s){s.stopPropagation(),selectOptionClick(s)}}},[_t("default",[_h("span",[_s(currentLabel)])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(332);e.install=function(s){s.component("el-dialog",e)},s.exports=e},function(s,t,a){var e,n;e=a(333);var l=a(335);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(334),l=e(n);t["default"]={name:"el-dialog",mixins:[l["default"]],props:{title:{type:String,"default":""},modal:{type:Boolean,"default":!0},closeOnClickModal:{type:Boolean,"default":!0},closeOnPressEscape:{type:Boolean,"default":!0},size:{type:String,"default":"small"},customClass:{type:String,"default":""}},data:function(){return{dynamicTop:0}},watch:{value:function(s){var t=this;s?(this.$emit("open"),this.$nextTick(function(){t.$refs.dialog.scrollTop=0})):this.$emit("close")}},computed:{sizeClass:function(){return"el-dialog--"+this.size}},methods:{handleWrapperClick:function(){this.closeOnClickModal&&this.$emit("input",!1)},resetTop:function(){this.dynamicTop=Math.floor(.16*(window.innerHeight||document.documentElement.clientHeight))}},mounted:function(){this.value&&(this.rendered=!0,this.open()),window.addEventListener("resize",this.resetTop),this.resetTop()},beforeDestroy:function(){window.removeEventListener("resize",this.resetTop)}}},function(s,t,a){!function(t,e){s.exports=e(a(2))}(this,function(s){return function(s){function t(e){if(a[e])return a[e].exports;var n=a[e]={exports:{},id:e,loaded:!1};return s[e].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a={};return t.m=s,t.c=a,t.p="",t(0)}([function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(4),l=e(n),i=a(2),h=a(1),r=e(h);a(3);var c=1,o=[],p=function(s){if(-1===o.indexOf(s)){var t=function(s){var t=s.__vue__;if(!t){var a=s.previousSibling;a.__vue__&&(t=a.__vue__)}return t};l["default"].transition(s,{afterEnter:function(s){var a=t(s);a&&a.doAfterOpen&&a.doAfterOpen()},afterLeave:function(s){var a=t(s);a&&a.doAfterClose&&a.doAfterClose()}})}},_=function d(s){return 3===s.nodeType&&(s=s.nextElementSibling||s.nextSibling,d(s)),s};t["default"]={props:{value:{type:Boolean,"default":!1},transition:{type:String,"default":""},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},modalClass:{},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},created:function(){this.transition&&p(this.transition)},beforeMount:function(){this._popupId="popup-"+c++,r["default"].register(this._popupId,this)},beforeDestroy:function(){r["default"].deregister(this._popupId),r["default"].closeModal(this._popupId)},data:function(){return{opened:!1,bodyOverflow:null,rendered:!1}},watch:{value:function(s){var t=this;if(s){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,l["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(s){var t=this;if(!this.rendered)return this.rendered=!0,void this.$emit("input",!0);var a=(0,i.merge)({},this,s);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var e=Number(a.openDelay);e>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(a)},e):this.doOpen(a)},doOpen:function(s){if((!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0,this.$emit("input",!0);var t=_(this.$el),a=s.modal,e=s.zIndex;e&&(r["default"].zIndex=e),a&&(this._closing&&(r["default"].closeModal(this._popupId),this._closing=!1),r["default"].openModal(this._popupId,r["default"].nextZIndex(),t,s.modalClass),this.bodyOverflow||(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden"),"static"===getComputedStyle(t).position&&(t.style.position="absolute"),a?t.style.zIndex=r["default"].nextZIndex():e&&(t.style.zIndex=e),this.opened=!0,this.onOpen&&this.onOpen(),this.transition||this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var s=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){s._closeTimer=null,s.doClose()},t):this.doClose()}},doClose:function(){this.$emit("input",!1),this._closing=!0,this.onClose&&this.onClose(),this.modal&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.opened=!1,this.transition||this.doAfterClose()},doAfterClose:function(){r["default"].closeModal(this._popupId),this._closing=!1}}}},function(s,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){var s=n.modalDom;return s||(s=document.createElement("div"),n.modalDom=s,s.addEventListener("touchmove",function(s){s.preventDefault(),s.stopPropagation()}),s.addEventListener("click",function(){n.doOnModalClick&&n.doOnModalClick()})),s},e={},n={zIndex:1e3,getInstance:function(s){return e[s]},register:function(s,t){s&&t&&(e[s]=t)},deregister:function(s){s&&(e[s]=null,delete e[s])},nextZIndex:function(){return n.zIndex++},modalStack:[],doOnModalClick:function(){var s=n.modalStack[n.modalStack.length-1];if(s){var t=n.getInstance(s.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(s,t,e,n){if(s&&void 0!==t){for(var l=this.modalStack,i=0,h=l.length;h>i;i++){var r=l[i];if(r.id===s)return}var c=a();if(c.classList.add("v-modal"),c.classList.add("v-modal-enter"),n){var o=n.trim().split(/\s+/);o.forEach(function(s){return c.classList.add(s)})}setTimeout(function(){c.classList.remove("v-modal-enter")},200),e&&e.parentNode&&11!==e.parentNode.nodeType?e.parentNode.appendChild(c):document.body.appendChild(c),t&&(c.style.zIndex=t),c.style.display="",this.modalStack.push({id:s,zIndex:t,modalClass:n})}},closeModal:function(s){var t=this.modalStack,e=a();if(t.length>0){var n=t[t.length-1];if(n.id===s){if(n.modalClass){var l=n.modalClass.trim().split(/\s+/);l.forEach(function(s){return e.classList.remove(s)})}t.pop(),t.length>0&&(e.style.zIndex=t[t.length-1].zIndex)}else for(var i=t.length-1;i>=0;i--)if(t[i].id===s){t.splice(i,1);break}}0===t.length&&(e.classList.add("v-modal-leave"),setTimeout(function(){0===t.length&&(e.parentNode&&e.parentNode.removeChild(e),e.style.display="none"),e.classList.remove("v-modal-leave")},200))}};window.addEventListener("keydown",function(s){if(27===s.keyCode&&n.modalStack.length>0){var t=n.modalStack[n.modalStack.length-1];if(!t)return;var a=n.getInstance(t.id);a.closeOnPressEscape&&a.close()}}),t["default"]=n},function(s,t){"use strict";function a(s){for(var t=1,a=arguments.length;a>t;t++){var e=arguments[t];for(var n in e)if(e.hasOwnProperty(n)){var l=e[n];void 0!==l&&(s[n]=l)}}return s}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=a},function(s,t){},function(t,a){t.exports=s}])})},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"dialog-fade"}},[_h("div",{directives:[{name:"show",value:value,expression:"value"}],staticClass:"el-dialog__wrapper",on:{click:function(s){s.target===s.currentTarget&&handleWrapperClick(s)}}},[_h("div",{ref:"dialog",staticClass:"el-dialog","class":[sizeClass,customClass],style:{"margin-bottom":"full"!==size?"50px":"",top:"full"!==size?dynamicTop+"px":"0"}},[_h("div",{staticClass:"el-dialog__header"},[_h("span",{staticClass:"el-dialog__title"},[_s(title)])," ",_h("div",{staticClass:"el-dialog__headerbtn"},[_h("i",{staticClass:"el-dialog__close el-icon el-icon-close",on:{click:function(s){close()}}})])])," ",rendered?_h("div",{staticClass:"el-dialog__body"},[_t("default")]):_e()," ",$slots.footer?_h("div",{staticClass:"el-dialog__footer"},[_t("footer")]):_e()])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(337);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(338);var l=a(339);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(315),l=e(n),i=a(325),h=e(i);t["default"]={name:"ElAutocomplete",components:{ElInput:l["default"]},directives:{Clickoutside:h["default"]},props:{placeholder:String,disabled:Boolean,name:String,value:String,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,"default":!0},customItem:String},data:function(){return{suggestions:[],suggestionVisible:!1,loading:!1,highlightedIndex:-1}},methods:{handleChange:function(s){this.$emit("input",s),this.showSuggestions(s)},handleFocus:function(){this.triggerOnFocus&&this.showSuggestions(this.value)},handleBlur:function(){this.hideSuggestions()},select:function(s){var t=this;this.suggestions&&this.suggestions[s]&&(this.$emit("input",this.suggestions[s].value),this.$emit("select",this.suggestions[s]),this.$nextTick(function(){t.hideSuggestions()}))},hideSuggestions:function(){this.suggestionVisible=!1,this.suggestions=[],this.loading=!1},showSuggestions:function(s){var t=this;this.suggestionVisible=!0,this.loading=!0,this.fetchSuggestions(s,function(s){t.loading=!1,Array.isArray(s)&&s.length>0?t.suggestions=s:t.hideSuggestions()})},highlight:function(s){if(this.suggestionVisible&&!this.loading){s<0?s=0:s>=this.suggestions.length&&(s=this.suggestions.length-1);var t=this.$refs.suggestions,a=t.children[s],e=t.scrollTop,n=a.offsetTop;n+a.scrollHeight>e+t.clientHeight&&(t.scrollTop+=a.scrollHeight),n<e&&(t.scrollTop-=a.scrollHeight),this.highlightedIndex=s}}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{directives:[{name:"clickoutside",value:handleBlur,expression:"handleBlur"}],staticClass:"el-autocomplete"},[_h("el-input",{attrs:{disabled:disabled,placeholder:placeholder,name:name},domProps:{value:value},on:{onchange:handleChange,onfocus:handleFocus},nativeOn:{keydown:[function(s){38===s.keyCode&&highlight(highlightedIndex-1)},function(s){40===s.keyCode&&highlight(highlightedIndex+1)},function(s){13===s.keyCode&&select(highlightedIndex)}]}})," ",_h("transition",{attrs:{name:"md-fade-bottom"}},[suggestionVisible?_h("ul",{ref:"suggestions",staticClass:"el-autocomplete__suggestions","class":{"is-loading":loading}},[loading?_h("li",[_m(0)]):suggestions&&_l(suggestions,function(s,t){return[customItem?_h(customItem,{tag:"component","class":{highlighted:highlightedIndex===t},attrs:{item:s,index:t},on:{click:function(s){select(t)}}}):_h("li",{"class":{highlighted:highlightedIndex===t},on:{click:function(s){select(t)}}},["\n "+_s(s.value)+"\n "])," "]})," "]):_e()])])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"el-icon-loading"})}]}},function(s,t,a){"use strict";var e=a(341);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(342);var l=a(354);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(343),l=e(n),i=a(350),h=e(i),r=a(351),c=e(r),o=a(325),p=e(o);t["default"]={name:"ElDropdown",components:{ElButton:l["default"],ElButtonGroup:h["default"],ElDropdownMenu:c["default"]},directives:{Clickoutside:p["default"]},props:{text:String,type:String,iconSeparate:{type:Boolean,"default":!0},trigger:{type:String,"default":"hover"},size:{type:String,"default":""},menuAlign:{type:String,"default":"end"}},data:function(){return{timeout:null,visible:!1}},methods:{show:function(){var s=this;clearTimeout(this.timeout),this.timeout=setTimeout(function(){s.visible=!0},250)},hide:function(){var s=this;clearTimeout(this.timeout),this.timeout=setTimeout(function(){s.visible=!1},150)},handleMouseEnter:function(){"hover"===this.trigger&&this.show()},handleMouseLeave:function(){"hover"===this.trigger&&this.hide();
},handleClick:function(){"click"===this.trigger&&(this.visible=!this.visible)}}}},function(s,t,a){"use strict";var e=a(344),n=a(347);e.install=function(s){s.component(e.name,e),s.component(n.name,n)},s.exports=e},function(s,t,a){var e,n;e=a(345);var l=a(346);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElButton",props:{type:{type:String,"default":"default"},size:String,icon:{type:String,"default":""},nativeType:{type:String,"default":"button"},loading:{type:Boolean,"default":!1},disabled:{type:Boolean,"default":!1},plain:{type:Boolean,"default":!1}}}},function(module,exports){module.exports={render:function(){with(this)return _h("button",{staticClass:"el-button","class":[type?"el-button-"+type:"",size?"el-button-"+size:"",{"is-disabled":disabled,"is-loading":loading,"is-plain":plain}],attrs:{disabled:disabled,type:nativeType}},[loading?_h("i",{staticClass:"el-icon-loading"}):_e()," ",icon&&!loading?_h("i",{"class":"el-icon-"+icon}):_e()," ",_t("default")])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(348);var l=a(349);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElButtonGroup"}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-button-group"},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(347);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(352);var l=a(353);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(304),l=e(n);t["default"]={data:function(){return{popper:null}},computed:{menuAlign:function(){return this.$parent.menuAlign}},methods:{updatePopper:function(){this.popper&&this.popper.update()}},mounted:function(){var s=this;document.body.appendChild(this.$el),this.$nextTick(function(){s.popper=new l["default"](s.$parent.$el,s.$el,{gpuAcceleration:!1,placement:"bottom-"+s.menuAlign})})},destroyed:function(){var s=this;setTimeout(function(){s.popper.destroy()},300)}}},function(module,exports){module.exports={render:function(){with(this)return _h("ul",{staticClass:"el-dropdown__menu",attrs:{transition:"md-fade-bottom"}},[_t("default")])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{directives:[{name:"clickoutside",value:hide,expression:"hide"}],staticClass:"el-dropdown","class":{"el-dropdown--text":"text"===type}},[iconSeparate?_h("el-button-group",[_h("el-button",{attrs:{size:size,type:type},nativeOn:{click:function(s){$emit("mainclick")}}},[_s(text)])," ",_h("el-button",{staticClass:"el-dropdown__icon-button",attrs:{size:size,type:type},nativeOn:{mouseenter:function(s){handleMouseEnter(s)},mouseleave:function(s){handleMouseLeave(s)},click:function(s){handleClick(s)}}},[_m(0)])]):_h("el-button",{attrs:{size:size,type:type},nativeOn:{mouseenter:function(s){handleMouseEnter(s)},mouseleave:function(s){handleMouseLeave(s)},click:function(s){handleClick(s)}}},["\n "+_s(text),_h("i",{staticClass:"el-dropdown__icon el-icon-caret-bottom"})])," "," "," "," ",_h("transition",{attrs:{name:"md-fade-bottom"}},[visible?_h("el-dropdown-menu",{nativeOn:{mouseenter:function(s){handleMouseEnter(s)},mouseleave:function(s){handleMouseLeave(s)}}},[_t("default")]):_e()])])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"el-dropdown__icon el-icon-caret-bottom"})}]}},function(s,t,a){"use strict";var e=a(356);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(357);var l=a(358);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElDropdownItem"}},function(module,exports){module.exports={render:function(){with(this)return _h("li",{staticClass:"el-dropdown-item"},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(360);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(361);var l=a(362);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={name:"ElMenu",componentName:"menu",mixins:[l["default"]],props:{mode:{type:String,"default":"vertical"},defaultActive:{type:String,"default":""},defaultOpeneds:{type:Array,"default":function(){return[]}},theme:{type:String,"default":"light"},uniqueOpend:Boolean,router:Boolean},data:function(){return{activeIndex:this.defaultActive,openedMenus:this.defaultOpeneds.slice(0)}},methods:{handleMenuExpand:function(s,t){this.uniqueOpend&&(this.broadcast("submenu","close-menu",t),this.openedMenus=this.openedMenus.filter(function(s){return t.indexOf(s)!==-1})),this.$emit("open",s,t)},handleMenuCollapse:function(s,t){this.openedMenus.splice(this.openedMenus.indexOf(s),1),this.$emit("close",s,t)},handleSelect:function(s,t){this.activeIndex=s,this.$emit("select",s,t),this.broadcast("submenu","select",[s,t]),this.router&&this.$router.push(s)}},mounted:function(){this.broadcast("submenu","open-menu",this.openedMenus),this.$on("expand-menu",this.handleMenuExpand),this.$on("collapse-menu",this.handleMenuCollapse)}}},function(module,exports){module.exports={render:function(){with(this)return _h("ul",{staticClass:"el-menu","class":{"el-menu--horizontal":"horizontal"===mode,"el-menu--dark":"dark"===theme}},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(364);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(365),n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(314),l=e(n);s.exports={name:"el-submenu",componentName:"submenu",mixins:[l["default"]],props:{index:{type:String,required:!0}},data:function(){return{opened:!1,timeout:null,active:!1}},computed:{indexPath:function(){for(var s=[this.index],t=this.$parent;"el-menu"!==t.$options._componentTag;)t.index&&s.unshift(t.index),t=t.$parent;return s},rootMenu:function(){for(var s=this.$parent;"el-menu"!==s.$options._componentTag;)s=s.$parent;return s},mode:function(){return this.rootMenu.mode}},methods:{handleClick:function(){"vertical"===this.mode&&(this.opened?(this.dispatch("menu","collapse-menu",[this.index,this.indexPath]),this.opened=!1):(this.dispatch("menu","expand-menu",[this.index,this.indexPath]),this.opened=!0))},handleMouseenter:function(){var s=this;"horizontal"===this.mode&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){s.dispatch("menu","expand-menu",[s.index,s.indexPath]),s.opened=!0},300))},handleMouseleave:function(){var s=this;"horizontal"===this.mode&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){s.dispatch("menu","collapse-menu",[s.index,s.indexPath]),s.opened=!1},300))}},mounted:function(){var s=this;this.$on("close-menu",function(t){t&&t.indexOf(s.index)===-1&&(s.opened=!1)}),this.$on("open-menu",function(t){t&&t.indexOf(s.index)!==-1&&(s.opened=!0)}),this.$on("select",function(t,a){"horizontal"===s.mode&&(s.active=a.indexOf(s.index)!==-1,s.opened=!1)})},render:function(s){var t;return t="horizontal"===this.mode?s("transition",{attrs:{name:"md-fade-bottom"}},[this.opened?s("ul",{"class":"el-menu"},[this.$slots["default"]]):null]):this.opened?s("ul",{"class":"el-menu"},[this.$slots["default"]]):null,s("li",{"class":{"el-submenu":!0,"is-active":this.active,"is-opened":this.opened},on:{mouseenter:this.handleMouseenter,mouseleave:this.handleMouseleave}},[s("div",{"class":"el-submenu__title",on:{click:this.handleClick}},[this.$slots.title,s("i",{"class":{"el-submenu__icon-arrow":!0,"el-icon-arrow-down":"vertical"===this.mode,"el-icon-caret-bottom":"horizontal"===this.mode}},[])]),t])}}},function(s,t,a){"use strict";var e=a(367);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(368);var l=a(369);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";s.exports={name:"el-menu-item",componentName:"menu-item",props:{index:{type:String,required:!0},disabled:{type:Boolean,required:!1}},computed:{indexPath:function(){for(var s=[this.index],t=this.$parent;"el-menu"!==t.$options._componentTag;)t.index&&s.unshift(t.index),t=t.$parent;return s},rootMenu:function(){for(var s=this.$parent;"el-menu"!==s.$options._componentTag;)s=s.$parent;return s},active:function(){return this.index===this.rootMenu.activeIndex}},methods:{handleClick:function(){this.rootMenu.handleSelect(this.index,this.indexPath)}},mounted:function(){}}},function(module,exports){module.exports={render:function(){with(this)return _h("li",{staticClass:"el-menu-item","class":{"is-active":active,"is-disabled":disabled},on:{click:handleClick}},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(371);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(372);var l=a(373);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";s.exports={name:"el-menu-item-group",componentName:"menu-item-group",props:{title:{type:String,required:!0}},data:function(){return{paddingLeft:20}},methods:{initPadding:function(){for(var s=this.$parent,t=0,a=s.$options._componentTag;"el-menu"!==a;)"el-submenu"===a&&t++,s=s.$parent,a=s.$options._componentTag;this.paddingLeft+=10*t}},mounted:function(){this.initPadding()}}},function(module,exports){module.exports={render:function(){with(this)return _h("li",{staticClass:"el-menu-item-group"},[_h("div",{staticClass:"el-menu-item-group__title",style:{"padding-left":paddingLeft+"px"}},[_s(title)])," ",_h("ul",[_t("default")])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(375);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(376);var l=a(378);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(315),l=e(n),i=a(377);t["default"]={name:"ElInputNumber",props:{value:{"default":1},step:{type:Number,"default":1},max:{type:Number,"default":1/0},min:{type:Number,"default":0},disabled:Boolean,size:String},directives:{repeatClick:{bind:function(s,t,a){var e=null,n=void 0,l=function(){a.context[t.expression]()},h=function(){new Date-n<100&&l(),clearInterval(e),e=null};(0,i.on)(s,"mousedown",function(){n=new Date,(0,i.once)(document,"mouseup",h),e=setInterval(function(){l()},100)})}}},components:{ElInput:l["default"]},data:function(){return{currentValue:this.value,inputActive:!1}},watch:{value:function(s){this.currentValue=s},currentValue:function(s,t){var a=this;!isNaN(s)&&s<=this.max&&s>=this.min?(this.$emit("change",s),this.$emit("input",s)):this.$nextTick(function(){a.currentValue=t})}},computed:{minDisabled:function(){return this.currentValue-this.step<this.min},maxDisabled:function(){return this.currentValue+this.step>this.max}},methods:{accSub:function(s,t){var a,e,n,l;try{a=s.toString().split(".")[1].length}catch(i){a=0}try{e=t.toString().split(".")[1].length}catch(i){e=0}return n=Math.pow(10,Math.max(a,e)),l=a>=e?a:e,parseFloat(((s*n-t*n)/n).toFixed(l))},accAdd:function(s,t){var a,e,n,l;try{a=s.toString().split(".")[1].length}catch(i){a=0}try{e=t.toString().split(".")[1].length}catch(i){e=0}if(l=Math.abs(a-e),n=Math.pow(10,Math.max(a,e)),l>0){var h=Math.pow(10,l);a>e?(s=Number(s.toString().replace(".","")),t=Number(t.toString().replace(".",""))*h):(s=Number(s.toString().replace(".",""))*h,t=Number(t.toString().replace(".","")))}else s=Number(s.toString().replace(".","")),t=Number(t.toString().replace(".",""));return(s+t)/n},increase:function(){this.currentValue+this.step>this.max||this.disabled||(this.currentValue=this.accAdd(this.step,this.currentValue),this.maxDisabled&&(this.inputActive=!1))},decrease:function(){this.currentValue-this.step<this.min||this.disabled||(this.currentValue=this.accSub(this.currentValue,this.step),this.minDisabled&&(this.inputActive=!1))},activeInput:function(s){this.disabled||s||(this.inputActive=!0)},inactiveInput:function(s){this.disabled||s||(this.inputActive=!1)}}}},function(s,t){var a=function(){return document.addEventListener?function(s,t,a){s&&t&&a&&s.addEventListener(t,a,!1)}:function(s,t,a){s&&t&&a&&s.attachEvent("on"+t,a)}}(),e=function(){return document.removeEventListener?function(s,t,a){s&&t&&s.removeEventListener(t,a,!1)}:function(s,t,a){s&&t&&s.detachEvent("on"+t,a)}}(),n=function(s,t,n){var l=function(){n&&n.apply(this,arguments),e(s,t,l)};a(s,t,l)};s.exports={on:a,off:e,once:n}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-input-number","class":[size?"is-"+size:"",{"is-disabled":disabled}]},[_h("el-input",{directives:[{name:"model",value:currentValue,expression:"currentValue"}],"class":{"is-active":inputActive},attrs:{disabled:disabled,size:size,number:!0},domProps:{value:currentValue},on:{input:function(s){currentValue=s}}})," ",_h("span",{directives:[{name:"repeat-click",value:decrease,expression:"decrease"}],staticClass:"el-input-number__decrease el-icon-minus","class":{"is-disabled":minDisabled},on:{mouseenter:function(s){activeInput(minDisabled)},mouseleave:function(s){inactiveInput(minDisabled)}}})," ",_h("span",{directives:[{name:"repeat-click",value:increase,expression:"increase"}],staticClass:"el-input-number__increase el-icon-plus","class":{"is-disabled":maxDisabled},on:{mouseenter:function(s){activeInput(maxDisabled)},mouseleave:function(s){inactiveInput(maxDisabled)}}})])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(380);e.install=function(s){s.component("el-radio",e)},s.exports=e},function(s,t,a){var e,n;e=a(381);var l=a(382);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElRadio",props:{value:[String,Number],label:{type:[String,Number],required:!0},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{_value:{get:function(){return void 0!==this.value?this.value:this.$parent.value},set:function(s){void 0!==this.value?this.$emit("input",s):this.$parent.$emit("input",s)}}}}},function(module,exports){module.exports={render:function(){with(this)return _h("label",{staticClass:"el-radio"},[_h("span",{staticClass:"el-radio__input"},[_h("span",{staticClass:"el-radio__inner","class":{"is-disabled":disabled,"is-checked":_value===label,"is-focus":focus}})," ",_h("input",{staticClass:"el-radio__original",attrs:{type:"radio",name:name,disabled:disabled},domProps:{value:label,checked:_value===label},on:{focus:function(s){focus=!0},blur:function(s){focus=!1},change:function(s){_value=label}}})])," ",_h("span",{staticClass:"el-radio__label"},[_t("default")," ",$slots["default"]?_e():[_s(label)]])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(384);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(385);var l=a(386);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={name:"ElRadioGroup",componentName:"radio-group",mixins:[l["default"]],props:{value:[String,Number],size:String},watch:{value:function(s){this.$emit("change",s),this.dispatch("form-item","el.form.change",[this.value])}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-radio-group"},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(388);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(389);var l=a(390);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElRadioButton",props:{label:{type:[String,Number],required:!0},disabled:Boolean,name:String},data:function(){return{size:this.$parent.size}},computed:{value:{get:function(){return this.$parent.value},set:function(s){this.$parent.$emit("input",s)}}}}},function(module,exports){module.exports={render:function(){with(this)return _h("label",{staticClass:"el-radio-button","class":[size?"el-radio-button-"+size:"",{"is-active":value===label}]},[_h("input",{staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:name,disabled:disabled},domProps:{value:label,checked:value===label},on:{change:function(s){value=label}}})," ",_h("span",{staticClass:"el-radio-button__inner"},[_t("default")," ",$slots["default"]?_e():[_s(label)]])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(392);e.install=function(s){s.component("el-checkbox",e)},s.exports=e},function(s,t,a){var e,n;e=a(393);var l=a(394);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={name:"ElCheckbox",mixins:[l["default"]],props:{value:{},label:{type:String},indeterminate:Boolean,disabled:Boolean,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{_value:{get:function(){return void 0!==this.value?this.value:this.$parent.value},set:function(s){void 0!==this.value?this.$emit("input",s):this.$parent.$emit("input",s)}},checked:function(){var s=Object.prototype.toString.call(this._value);return"[object Boolean]"===s?this._value:"[object Array]"===s?this._value.indexOf(this.label)>-1:"[object String]"===s||"[object Number]"===s?this._value===this.trueLabel:void 0}},data:function(){return{focus:!1}},watch:{checked:function(s){this.$emit("change",s)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("label",{staticClass:"el-checkbox"},[_h("span",{staticClass:"el-checkbox__input"},[_h("span",{staticClass:"el-checkbox__inner","class":{"is-disabled":disabled,"is-checked":checked,"is-indeterminate":indeterminate,"is-focus":focus}})," ",trueLabel||falseLabel?_h("input",{ref:"checkbox",staticClass:"el-checkbox__original",attrs:{"true-value":trueLabel,"false-value":falseLabel,type:"checkbox",disabled:disabled},domProps:{checked:Array.isArray(_value)?_value.indexOf(null)>-1:_value===trueLabel},on:{focus:function(s){focus=!0},blur:function(s){focus=!1},change:function(s){var t=_value,a=s.target,e=a.checked?trueLabel:falseLabel;if(Array.isArray(t)){var n=null,l=t.indexOf(n);e?l<0&&(_value=t.concat(n)):l>-1&&(_value=t.slice(0,l).concat(t.slice(l+1)))}else _value=e}}}):_h("input",{staticClass:"el-checkbox__original",attrs:{type:"checkbox",disabled:disabled},domProps:{value:label,checked:Array.isArray(_value)?_value.indexOf(label)>-1:_value===!0},on:{focus:function(s){focus=!0},blur:function(s){focus=!1},change:function(s){var t=_value,a=s.target,e=!!a.checked;if(Array.isArray(t)){var n=label,l=t.indexOf(n);e?l<0&&(_value=t.concat(n)):l>-1&&(_value=t.slice(0,l).concat(t.slice(l+1)))}else _value=e}}})," "])," ",$slots["default"]||label?_h("span",{staticClass:"el-checkbox__label"},[_t("default")," ",$slots["default"]?_e():[_s(label)]]):_e()])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(396);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(397);var l=a(398);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={name:"ElCheckboxGroup",mixins:[l["default"]],props:{value:{}},watch:{value:function(s){this.$emit("change",s),this.dispatch("form-item","el.form.change",[s])}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-checkbox-group"},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(400);e.install=function(s){s.component("el-switch",e)},s.exports=e},function(s,t,a){var e,n;e=a(401);var l=a(402);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"el-switch",props:{value:{type:Boolean,"default":!0},disabled:{type:Boolean,"default":!1},width:{type:Number,"default":0},onIconClass:{type:String,"default":""},offIconClass:{type:String,"default":""},onText:{type:String,"default":"ON"},offText:{type:String,"default":"OFF"},onColor:{type:String,"default":""},offColor:{type:String,"default":""},name:{type:String,"default":""}},data:function(){return{coreWidth:0}},computed:{hasText:function(){return this.onText||this.offText}},watch:{value:function(s){(this.onColor||this.offColor)&&this.handleCoreColor(),this.handleButtonTransform(),this.$emit("change",s)}},methods:{handleMiscClick:function(){this.disabled||this.$emit("input",!this.value)},handleButtonTransform:function(){this.$refs.button.style.transform=this.value?"translate3d("+(this.coreWidth-20)+"px, 2px, 0)":"translate3d(2px, 2px, 0)"},handleCoreColor:function(){this.$refs.core.style.borderColor=this.value?this.onColor:this.offColor,this.$refs.core.style.backgroundColor=this.value?this.onColor:this.offColor}},mounted:function(){0===this.width&&(this.coreWidth=this.hasText?58:46),this.handleButtonTransform(),!this.onColor&&!this.offColor||this.disabled||this.handleCoreColor()}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-switch","class":{"is-disabled":disabled,"el-switch--wide":hasText}},[_h("div",{directives:[{name:"show",value:disabled,expression:"disabled"}],staticClass:"el-switch__mask"})," ",_h("input",{staticClass:"el-switch__input",attrs:{type:"checkbox",name:name,disabled:disabled,style:"display: none;"},domProps:{checked:Array.isArray(value)?value.indexOf(null)>-1:value===!0},on:{change:function(s){var t=value,a=s.target,e=!!a.checked;if(Array.isArray(t)){var n=null,l=t.indexOf(n);e?l<0&&(value=t.concat(n)):l>-1&&(value=t.slice(0,l).concat(t.slice(l+1)))}else value=e}}})," ",_h("span",{ref:"core",staticClass:"el-switch__core",style:{width:coreWidth+"px"},on:{click:handleMiscClick}},[_h("span",{ref:"button",staticClass:"el-switch__button"})])," ",_h("transition",{attrs:{name:"label-fade"}},[_h("div",{directives:[{name:"show",value:value,expression:"value"}],staticClass:"el-switch__label el-switch__label--left",style:{width:coreWidth+"px"},on:{click:handleMiscClick}},[onIconClass?_h("i",{"class":[onIconClass]}):_e()," ",!onIconClass&&onText?_h("span",[_s(onText)]):_e()])])," ",_h("transition",{attrs:{name:"label-fade"}},[_h("div",{directives:[{name:"show",value:!value,expression:"!value"}],staticClass:"el-switch__label el-switch__label--right",style:{width:coreWidth+"px"},on:{click:handleMiscClick}},[offIconClass?_h("i",{"class":[offIconClass]}):_e()," ",!offIconClass&&offText?_h("span",[_s(offText)]):_e()])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(404);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(405);var l=a(406);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(314),l=e(n);t["default"]={mixins:[l["default"]],name:"el-option-group",props:{label:String,disabled:{type:Boolean,"default":!1}},mounted:function(){this.disabled&&this.broadcast("option","disableOptions")}}},function(module,exports){module.exports={render:function(){with(this)return _h("ul",{staticClass:"el-select-group__wrap"},[_h("li",{staticClass:"el-select-group__title"},[_s(label)])," ",_h("li",[_h("ul",{staticClass:"el-select-group"},[_t("default")])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(408);e.install=function(s){s.component("el-table",e)},s.exports=e},function(s,t,a){var e,n;e=a(409);var l=a(416);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s},l=a(410),i=e(l),h=a(411),r=e(h),c=a(412),o=a(413),p=e(o),_=a(414),d=e(_),u=a(415),C=e(u),g=1,m=void 0;t["default"]={name:"el-table",props:{data:{type:Array,"default":function(){return[]}},width:[String,Number],height:[String,Number],fit:{type:Boolean,"default":!0},stripe:{type:Boolean,"default":!1},border:{type:Boolean,"default":!1},fixedColumnCount:{type:Number,"default":0},selectionMode:{type:String,"default":"none"},selection:{},allowNoSelection:{type:Boolean,"default":!1},gutterWidth:{"default":0},customCriteria:Array,customBackgroundColors:Array},components:{TableHeader:C["default"],TableBody:d["default"]},methods:{handleAllSelectedChange:function(s){this.allSelected=s},doOnDataChange:function(s){if(s=s||[],"single"===this.selectionMode){var t=this.selected;null===t?this.allowNoSelection||(this.selected=s[0],this.selected!==t&&this.$emit("selectionchange",this.selected)):s.indexOf(t)===-1&&(this.allowNoSelection?this.selected=null:this.selected=s[0],this.selected!==t&&this.$emit("selectionchange",this.selected))}},toggleAllSelection:function(){var s=this;setTimeout(function(){s.tableData.forEach(function(t){t.$selected=s.allSelected})},0)},$calcColumns:function(){var s=this,t=this.fit,a=this.columns,e=this.$el.clientWidth,l=0,i=[];if(a.forEach(function(s){s.isColumnGroup?i.push.apply(i,s.columns):i.push(s)}),t?!function(){var t=[];i.forEach(function(s){l+=s.width||s.minWidth||80,"number"==typeof s.width||t.push(s)}),l<e-s.currentGutterWidth?!function(){var n=e-s.currentGutterWidth-a.length-l,i=Math.floor(n/t.length),h=n-i*t.length+i;t.forEach(function(s,t){0===t?s.realWidth=(s.minWidth||80)+h:s.realWidth=(s.minWidth||80)+i})}():(s.showHScrollBar=!0,t.forEach(function(s){s.realWidth=s.minWidth})),s.bodyWidth=Math.max(l,e)}():(i.forEach(function(s){s.width||s.minWidth||(s.realWidth=80),l+=s.realWidth}),this.showHScrollBar=l>e,this.bodyWidth=l),this.styleNode){var h=function(){var t=s.styleNode.sheet;if(!t)return{v:void 0};for(var e=0,n=t.cssRules.length;e<n;e++)t.deleteRule(0);a.forEach(function(s){var a=function(s){t.insertRule(s,t.cssRules.length)};if(s.isColumnGroup){var e=s.columns,n=0;e.forEach(function(s){n+=s.realWidth,a("."+s.id+", ."+s.id+" > div { width: "+s.realWidth+"px; }")}),a("."+s.id+", ."+s.id+" > div { width: "+n+"px; }")}else a("."+s.id+", ."+s.id+" > div { width: "+s.realWidth+"px; }")})}();if("object"===("undefined"==typeof h?"undefined":n(h)))return h.v}this.fixedColumnCount>0&&!function(){var t=0,e=s.fixedColumnCount;a.forEach(function(s,a){a<e&&(t+=s.realWidth)}),s.fixedBodyWidth=t}(),this.$nextTick(function(){s.headerHeight=s.$el.querySelector(".el-table__header-wrapper").offsetHeight})},$calcHeight:function(s){if("string"==typeof s&&/^\d+$/.test(s)&&(s=Number(s)),!isNaN(s)&&this.$el){var t=this.headerHeight=this.$el.querySelector(".el-table__header-wrapper").offsetHeight,a=s-t,e=this.$el.querySelector(".el-table__body-wrapper");e.style.height=a+"px",this.$el.style.height=s+"px",this.$refs.fixed&&(this.$refs.fixed.style.height=s+"px");var n=this.$el.querySelector(".el-table__fixed-body-wrapper");n&&(n.style.height=(this.showHScrollBar?e.offsetHeight-this.currentGutterWidth:e.offsetHeight)+"px")}},handleMouseLeave:function(){this.hoverRowIndex=null;var s=this.hoverState;s&&(this.hoverState=null)},updateScrollInfo:function(){var s=this;this.$nextTick(function(){if(s.$el){var t=s.$el.querySelector(".el-table__body-wrapper"),a=s.$el.querySelector(".el-table__body-wrapper .el-table__body");s.showVScrollBar=a.offsetHeight>t.offsetHeight}})},doRender:function(){var s=this,t=this.$el.querySelector(".el-table__body-wrapper"),a=this.$el.querySelector(".el-table__header-wrapper"),e=this.$el;this.$ready||t.addEventListener("scroll",function(){a.scrollLeft=this.scrollLeft;var s=e.querySelector(".el-table__fixed-body-wrapper");s&&(s.scrollTop=this.scrollTop)}),this.$calcColumns(),!this.$ready&&this.fit&&(this.windowResizeListener=(0,i["default"])(100,function(){s.$calcColumns()}),window.addEventListener("resize",this.windowResizeListener)),this.$nextTick(function(){s.height&&s.$calcHeight(s.height)})}},created:function(){var s=this;this.gridId="grid_"+g+"_",void 0===m&&(m=(0,c.getScrollBarWidth)()),this.currentGutterWidth=m,this.debouncedReRender=(0,r["default"])(50,function(){s.doRender()})},computed:{selection:function(){if("multiple"===this.selectionMode){var s=this.tableData||[];return s.filter(function(s){return s.$selected===!0})}return"single"===this.selectionMode?this.selected:null},fixedColumns:function(){var s=this.columns||[],t=this.fixedColumnCount;return s.filter(function(s,a){return a<t})},filterData:function(){return(0,c.orderBy)(this.tableData,this.sortingProperty,this.sortingDirection)}},watch:{fixedColumnCount:function(){this.debouncedReRender()},selection:function(s){this.$emit("selectionchange",s),"multiple"===this.selectionMode&&(this.allSelected=this.tableData.length>0&&s.length===this.tableData.length)},visibleFilter:function(s){this.$broadcast("toggleFilterPopup",s)},height:function(s){this.$calcHeight(s)},data:{immediate:!0,handler:function(s){s&&"multiple"===this.selectionMode?this.tableData=s.map(function(s){return(0,p["default"])({$selected:!1},s)}):this.tableData=s}},tableData:function(s){this.doOnDataChange(s),this.updateScrollInfo()}},destroyed:function(){this.styleNode&&this.styleNode.parentNode.removeChild(this.styleNode),this.windowResizeListener&&window.removeEventListener("resize",this.windowResizeListener)},mounted:function(){var s=this,t=document.createElement("style");t.type="text/css",t.rel="stylesheet",t.title="Grid Column Style",document.getElementsByTagName("head")[0].appendChild(t),this.styleNode=t,this.doRender(),this.$ready=!0,this.tableData&&this.doOnDataChange(this.tableData),this.updateScrollInfo(),this.fixedColumnCount>0&&this.$nextTick(function(){var t=s.$refs.fixed.style;if(t){t.height=(s.showHScrollBar?s.$el.clientHeight-s.currentGutterWidth:s.$el.clientHeight)+"px";var a=s.$el.querySelector(".el-table__body-wrapper").offsetHeight,e=s.$el.querySelector(".el-table__fixed-body-wrapper").offsetHeight;a!==e&&!function(){
var t=s.$el.querySelector(".el-table__body-wrapper").querySelectorAll("tr"),a=s.$el.querySelector(".el-table__fixed-body-wrapper").querySelectorAll("tr");t.forEach(function(s,t){var e=s.offsetHeight,n=a[t].offsetHeight;e!==n&&(a[t].style.height=e+"px")})}()}})},data:function(){return{tableData:this.data,showHScrollBar:!1,showVScrollBar:!1,hoverRowIndex:null,headerHeight:35,selected:null,allSelected:!1,columns:[],resizeProxyVisible:!1,bodyWidth:"",fixedBodyWidth:"",sortingColumn:null,sortingProperty:null,sortingDirection:1,visibleFilter:null,currentGutterWidth:this.gutterWidth}}}},function(s,t){s.exports=function(s,t,a,e){function n(){function n(){i=Number(new Date),a.apply(r,o)}function h(){l=void 0}var r=this,c=Number(new Date)-i,o=arguments;e&&!l&&n(),l&&clearTimeout(l),void 0===e&&c>s?n():t!==!0&&(l=setTimeout(e?h:n,void 0===e?s-c:s))}var l,i=0;return"boolean"!=typeof t&&(e=a,a=t,t=void 0),n}},function(s,t,a){var e=a(410);s.exports=function(s,t,a){return void 0===a?e(s,t,!1):e(s,a,t!==!1)}},function(s,t){"use strict";t.__esModule=!0;var a,e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s},n=(t.getScrollBarWidth=function(){if(void 0!==a)return a;var s=document.createElement("div");s.style.visibility="hidden",s.style.width="100px",s.style.position="absolute",s.style.top="-9999px",document.body.appendChild(s);var t=s.offsetWidth;s.style.overflow="scroll";var e=document.createElement("div");e.style.width="100%",s.appendChild(e);var n=e.offsetWidth;return s.parentNode.removeChild(s),t-n},t.getCell=function(s){for(var t=s.target;t&&"HTML"!==t.tagName.toUpperCase();){if("TD"===t.tagName.toUpperCase())return t;t=t.parentNode}return null},t.getValueByPath=function(s,t){t=t||"";for(var a=t.split("."),e=s,n=null,l=0,i=a.length;l<i;l++){var h=a[l];if(!e)break;if(l===i-1){n=e[h];break}e=e[h]}return n}),l=function(s){return null!==s&&"object"===("undefined"==typeof s?"undefined":e(s))};t.orderBy=function(s,t,a){if(!t)return s;var e=a&&a<0?-1:1;return s.slice().sort(function(s,a){return"$key"!==t&&(l(s)&&"$value"in s&&(s=s.$value),l(a)&&"$value"in a&&(a=a.$value)),s=l(s)?n(s,t):s,a=l(a)?n(a,t):a,s===a?0:s>a?e:-e})},t.getChild=function(s){return s.target.querySelector(".cell")}},,function(s,t,a){"use strict";t.__esModule=!0;var e=a(412),n=function(s,t){var a=null;return s.columns.forEach(function(s){s.id===t&&(a=s)}),a},l=function(s,t){var a=(t.className||"").match(/grid_[^\s]+/gm);return a?n(s,a[0]):null};t["default"]={props:{columns:{},data:{},fixed:{},selection:{"default":function(){return[]}}},render:function(s){var t=this;return s("table",{"class":"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[s("tbody",null,[this._l(this.data,function(a,e){return s("tr",{on:{click:function(s){return t.handleClick(s,a)},mouseenter:function(s){return t.handleMouseEnter(e)}},style:t.getCustomStyle(a),"class":{"current-row":a===t.$parent.selected,hover:t.$parent.$parent.hoverRowIndex===e}},[t._l(t.columns,function(n){return s("td",{style:t.getColumnWhiteSpaceStyle(n),"class":[n.id,n.align],on:{mouseenter:function(s){return t.handleCellMouseEnter(s,a)},mouseleave:t.handleCellMouseLeave}},[n.template?n.template.call(t._renderProxy,s,{row:a,column:n,$index:e,_self:t.$parent.$vnode.context}):s("div",{"class":"cell"},[t.$getPropertyText(a,n.property,n.id)])])}).concat(t.fixed?s("td",{"class":"gutter"},[]):"")])})])])},data:function(){return{criteria:this.$parent.customCriteria,colors:this.$parent.customBackgroundColors,tooltipDisabled:!0}},filters:{orderBy:e.orderBy},methods:{getColumnWhiteSpaceStyle:function(s){return s.showTooltipWhenOverflow?{"white-space":"nowrap"}:{}},checkProperty:function(s){if(this.criteria&&this.criteria.length>0)for(var t=0,a=this.criteria.length;t<a;t++)if(s[this.criteria[t]]===!0)return t;return-1},getCustomStyle:function(s){if(!this.criteria||!this.colors||this.criteria.length!==this.colors.length)return{};var t=this.checkProperty(s);return t>-1?{"background-color":this.colors[t]}:{}},handleCellMouseEnter:function(s,t){var a=this.$parent,n=(0,e.getCell)(s);if(n){var i=l(a,n),h=a.hoverState={cell:n,column:i,row:t};a.$emit("cellmouseenter",h.row,h.column,h.cell,s)}var r=(0,e.getChild)(s);this.tooltipDisabled=r.scrollWidth<=r.offsetWidth},handleCellMouseLeave:function(s){var t=this.$parent,a=(0,e.getCell)(s);if(a){var n=t.hoverState;t.$emit("cellmouseleave",n.row,n.column,n.cell,s)}},handleMouseEnter:function(s){this.$parent.hoverRowIndex=s},handleClick:function(s,t){var a=this.$parent,n=(0,e.getCell)(s);if(n){var i=l(a,n);i&&a.$emit("cellclick",t,i,n,s)}"single"===a.selectionMode&&(a.selected=t),a.$emit("rowclick",t,s)},handleCreate:function(s){document.body.appendChild(s.$refs.popper),s.updatePopper()},$getPropertyText:function(s,t,a){var l=this.$parent,i=n(l,a);return i&&i.formatter?i.formatter(s,i):(0,e.getValueByPath)(s,t)}}}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(391),l=e(n),i=a(319),h=e(i);t["default"]={name:"el-table-header",render:function(s){var t=this;return s("table",{"class":"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[this._l(this.columns,function(t){return s("colgroup",{attrs:{name:t.id,width:t.realWidth||t.width}},[])}).concat(s("thead",null,[s("tr",null,[this._l(this.columns,function(a){return s("th",{on:{mousemove:function(s){return t.handleMouseMove(s,a)},mouseout:t.handleMouseOut,mousedown:function(s){return t.handleMouseDown(s,a)},click:function(s){return t.handleHeaderClick(s,a)}},"class":[a.id,a.direction,a.align]},[[a.headerTemplate?a.headerTemplate.call(t._renderProxy,s,a.label):s("div",null,[a.label]),a.sortable?s("div",{"class":"caret-wrapper"},[s("i",{"class":"sort-caret ascending"},[]),s("i",{"class":"sort-caret descending"},[])]):""]])}).concat(this.$parent.showVScrollBar&&this.$parent.currentGutterWidth?s("th",{"class":"gutter",style:{width:this.$parent.currentGutterWidth+"px"}},[]):"")])]))])},props:{columns:{},fixed:Boolean,allSelected:{"default":Boolean},border:Boolean},components:{ElCheckbox:l["default"],ElTag:h["default"]},methods:{toggleAllSelection:function(s){this.$parent.toggleAllSelection(s)},handleMouseDown:function(s,t){var a=this;this.draggingColumn&&this.border&&!function(){a.dragging=!0,a.$parent.resizeProxyVisible=!0;var e=a.$parent.$el,n=e.getBoundingClientRect().left,l=a.$el.querySelector("th."+t.id),i=l.getBoundingClientRect(),h=i.left-n+30;l.classList.add("noclick"),a.dragState={startMouseLeft:s.clientX,startLeft:i.right-n,startColumnLeft:i.left-n,gridLeft:n};var r=a.$parent.$refs.resizeProxy;r.style.left=a.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var c=function(s){var t=s.clientX-a.dragState.startMouseLeft,e=a.dragState.startLeft+t;r.style.left=Math.max(h,e)+"px"},o=function p(){if(a.dragging){var s=parseInt(r.style.left,10),e=s-a.dragState.startColumnLeft;t.width=t.realWidth=e,a.$nextTick(function(){a.$parent.$calcColumns()}),document.body.style.cursor="",a.dragging=!1,a.draggingColumn=null,a.dragState={},a.$parent.resizeProxyVisible=!1}document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",p),document.onselectstart=null,document.ondragstart=null,setTimeout(function(){l.classList.remove("noclick")},0)};document.addEventListener("mousemove",c),document.addEventListener("mouseup",o)}()},handleMouseMove:function(s,t){var a=s.target;if(t&&t.resizable&&!this.dragging&&this.border){var e=a.getBoundingClientRect();e.width>12&&e.right-s.pageX<8?(document.body.style.cursor="col-resize",this.draggingColumn=t):this.dragging||(document.body.style.cursor="",this.draggingColumn=null,t.sortable&&(document.body.style.cursor="pointer"))}},handleMouseOut:function(){document.body.style.cursor=""},handleHeaderClick:function(s,t){for(var a=s.target;a&&"TH"!==a.tagName;)a=a.parentNode;if(a&&"TH"===a.tagName&&a.classList.contains("noclick"))return void a.classList.remove("noclick");if(t.sortable){var e=this.$parent;e.sortingColumn!==t&&(e.sortingColumn&&(e.sortingColumn.direction=""),e.sortingColumn=t,e.sortingProperty=t.property),t.direction?"ascending"===t.direction?t.direction="descending":(t.direction="",e.sortingColumn=null,e.sortingProperty=null):t.direction="ascending",e.sortingDirection="descending"===t.direction?-1:1}},$setVisibleFilter:function(s){this.visibleFilter?this.visibleFilter=null:this.visibleFilter=s}},watch:{visibleFilter:function(s){this.$parent.visibleFilter=s}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{},columnsMap:null,visibleFilter:null}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-table","class":{"el-table--fit":fit,"el-table--striped":stripe,"el-table--border":border},on:{mouseleave:function(s){handleMouseLeave(s)}}},[_h("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[_t("default")])," ",_h("div",{staticClass:"el-table__header-wrapper"},[_h("table-header",{style:{width:bodyWidth?bodyWidth+"px":""},attrs:{columns:columns,"all-selected":allSelected,selection:selection,border:border},on:{allselectedchange:handleAllSelectedChange}})])," ",_h("div",{staticClass:"el-table__body-wrapper"},[_h("table-body",{style:{width:bodyWidth?bodyWidth-(showVScrollBar?currentGutterWidth:0)+"px":""},attrs:{columns:columns,selection:selection,data:filterData}})])," ",_h("div",{ref:"fixed",staticClass:"el-table__fixed",style:{width:fixedBodyWidth?fixedBodyWidth+"px":""}},[fixedColumnCount>0?_h("div",{staticClass:"el-table__fixed-header-wrapper"},[_h("table-header",{style:{width:fixedBodyWidth?fixedBodyWidth+"px":""},attrs:{columns:fixedColumns,"all-selected":allSelected,selection:selection,border:border},on:{allselectedchange:handleAllSelectedChange}})]):_e()," ",fixedColumnCount>0?_h("div",{staticClass:"el-table__fixed-body-wrapper",style:{top:headerHeight+"px"}},[_h("table-body",{style:{width:fixedBodyWidth?fixedBodyWidth+"px":""},attrs:{columns:fixedColumns,fixed:"",selection:selection,data:filterData}})]):_e()])," ",_h("div",{directives:[{name:"show",value:resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})," ",_t("bottom")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(418);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(391),l=e(n),i=a(319),h=e(i),r=a(413),c=e(r),o=1,p={"default":{direction:""},selection:{width:48,minWidth:48,realWidth:48,direction:""},index:{width:48,minWidth:48,realWidth:48,direction:""},filter:{headerTemplate:function(s){return s("span",null,["filter header"])},direction:""}},_={selection:{headerTemplate:function(s){var t=this;return s("div",null,[s("el-checkbox",{nativeOn:{click:this.toggleAllSelection},domProps:{value:this.allSelected},on:{input:function(s){return t.$emit("allselectedchange",s)}}},[])])},template:function(s,t){var a=t.row;return s("el-checkbox",{domProps:{value:a.$selected},on:{input:function(s){a.$selected=s}}},[])},sortable:!1,resizable:!1},index:{headerTemplate:function(s,t){return s("div",null,[t||"#"])},template:function(s,t){var a=(t.row,t.$index);return s("div",null,[a+1])},sortable:!1},filter:{headerTemplate:function(s){return s("div",null,["#"])},template:function(s,t){var a=t.row,e=t.column;return s("el-tag",{attrs:{type:"primary"},style:"height: 16px; line-height: 16px; min-width: 40px; text-align: center"},[a[e.property]])},resizable:!1}},d=function(s,t){var a={};(0,c["default"])(a,p[s||"default"]);for(var e in t)if(t.hasOwnProperty(e)){var n=t[e];"undefined"!=typeof n&&(a[e]=n)}return a};t["default"]={name:"el-table-column",props:{type:{type:String,"default":"default"},label:String,property:String,width:{},minWidth:{},template:String,sortable:{type:Boolean,"default":!1},resizable:{type:Boolean,"default":!0},align:String,showTooltipWhenOverflow:{type:Boolean,"default":!1},formatter:Function},render:function(){},data:function(){return{isChildColumn:!1,columns:[]}},beforeCreate:function(){this.row={},this.column={},this.$index=0},components:{ElCheckbox:l["default"],ElTag:h["default"]},created:function(){this.customRender=this.$options.render,this.$options.render=function(s){return s("div")};var s=this.columnId=(this.$parent.gridId||this.$parent.columnId+"_")+"column_"+o++,t=this.$parent;t.gridId||(this.isChildColumn=!0);var a=this.type,e=this.width;void 0!==e&&(e=parseInt(e,10),isNaN(e)&&(e=null));var n=this.minWidth;void 0!==n?(n=parseInt(n,10),isNaN(n)&&(n=80)):n=80;var l=!1,i=void 0,h=this.property;h&&(i=function(t,a,e){var n=a.row;return t("span",null,[e.$getPropertyText(n,h,s)])});var r=d(a,{id:s,label:this.label,property:this.property,type:a,template:i,minWidth:n,width:e,isColumnGroup:l,align:this.align?"is-"+this.align:null,realWidth:e||n,sortable:this.sortable,resizable:this.resizable,showTooltipWhenOverflow:this.showTooltipWhenOverflow,formatter:this.formatter});(0,c["default"])(r,_[a]||{});var p=r.template,u=this;r.template=function(s,t){return u.$vnode.data.inlineTemplate&&(p=function(){return t._staticTrees=u._staticTrees,t.$options={},t.$options.staticRenderFns=u.$options.staticRenderFns,t._renderProxy=u._renderProxy,t._m=u._m,u.customRender.call(t)}),u.showTooltipWhenOverflow?s("el-tooltip",{on:{created:this.handleCreate},attrs:{effect:this.effect,placement:"top",disabled:this.tooltipDisabled}},[s("div",{"class":"cell"},[p(s,t,this._renderProxy)]),s("span",{slot:"content"},[p(s,t,this._renderProxy)])]):s("div",{"class":"cell"},[p(s,t,this._renderProxy)])},this.columnConfig=r},destroyed:function(){if(this.$parent){var s=this.$parent.columns;if(s)for(var t=this.columnId,a=0,e=s.length;a<e;a++){var n=s[a];if(n.id===t){s.splice(a,1);break}}this.isChildColumn?this.$parent.$parent.$ready&&this.$parent.$parent.debouncedReRender():this.$parent.$ready&&this.$parent.debouncedReRender()}},watch:{label:function(s){this.columnConfig&&(this.columnConfig.label=s)},property:function(s){this.columnConfig&&(this.columnConfig.property=s)}},mounted:function(){var s=this.$parent,t=this.columnConfig,a=void 0;a=this.isChildColumn?[].indexOf.call(s.$el.children,this.$el):[].indexOf.call(s.$refs.hiddenColumns.children,this.$el),s.columns.splice(a,0,t),this.isChildColumn?(s.columnConfig.columns=s.columns,s.$parent.$ready&&s.$parent.debouncedReRender()):s.$ready&&s.debouncedReRender()}}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(420),l=e(n);s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(421),l=e(n),i=a(426),h=e(i),r=a(445),c=e(r),o=function(s){return"daterange"===s||"datetimerange"===s?c["default"]:h["default"]};t["default"]={mixins:[l["default"]],name:"ElDatePicker",props:{type:String,"default":"date"},created:function(){this.panel=o(this.type)}}},function(s,t,a){var e,n;e=a(422);var l=a(425);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(2),l=e(n),i=a(325),h=e(i),r=a(423),c=a(304),o=e(c),p=a(314),_=e(p),d=[13,16,17,18,19,20,27,33,34,35,36,37,38,39,40],u=" - ",C={date:"yyyy-MM-dd",month:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",time:"HH:mm:ss",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",datetimerange:"yyyy-MM-dd HH:mm:ss"},g=["date","datetime","time","time-select","week","month","year","daterange","timerange","datetimerange"],m=function(s,t){return(0,r.formatDate)(s,t)},j=function(s,t){return s=s.split(":"),s.length>1&&(s=s.map(function(s){return s.slice(-2)})),s=s.join(":"),(0,r.parseDate)(s,t)},f=function(s,t){if(Array.isArray(s)&&2===s.length){var a=s[0],e=s[1];if(a&&e)return(0,r.formatDate)(a,t)+u+(0,r.formatDate)(e,t)}return""},v=function(s,t){var a=s.split(u);if(2===a.length){var e=a[0].split(":").map(function(s){return s.slice(-2)}).join(":"),n=a[1].split(":").map(function(s){return s.slice(-2)}).join(":");return[(0,r.parseDate)(e,t),(0,r.parseDate)(n,t)]}return[]},b={"default":{formatter:function(s){return s?""+s:""},parser:function(s){return void 0===s||""===s?null:s}},week:{formatter:function(s){if(s instanceof Date){var t=(0,r.getWeekNumber)(s);return s.getFullYear()+"w"+(t>9?t:"0"+t)}return s},parser:function(s){var t=(s||"").split("w");if(2===t.length){var a=Number(t[0]),e=Number(t[1]);if(!isNaN(a)&&!isNaN(e)&&e<54)return s}return null}},date:{formatter:m,parser:j},datetime:{formatter:m,parser:j},daterange:{formatter:f,parser:v},datetimerange:{formatter:f,parser:v},timerange:{formatter:f,parser:v},time:{formatter:m,parser:j},month:{formatter:m,parser:j},year:{formatter:function(s){return s?""+s:""},parser:function(s){var t=Number(s);return isNaN(t)?null:t}},number:{formatter:function(s){return s?""+s:""},parser:function(s){var t=Number(s);return isNaN(s)?null:t}}},y={left:"bottom-start",center:"bottom-center",right:"bottom-end"};t["default"]={mixins:[_["default"]],props:{format:String,readonly:Boolean,placeholder:String,align:{type:String,"default":"left"},value:{},haveTrigger:{},pickerOptions:{}},directives:{Clickoutside:h["default"]},data:function(){return{pickerVisible:!1}},watch:{pickerVisible:function(s){s===!0?this.showPicker():this.hidePicker()},value:function(s){this.dispatch("form-item","el.form.change")}},computed:{triggerClass:function(){return this.type.indexOf("time")!==-1?"el-icon-time":"el-icon-date"},editable:function(){return this.type.indexOf("range")===-1},selectionMode:function(){return"week"===this.type?"week":"month"===this.type?"month":"year"===this.type?"year":"day"},haveTrigger:function(){return"undefined"!=typeof this.showTrigger?this.showTrigger:g.indexOf(this.type)!==-1},visualValue:{get:function(){var s=this.value,t=(b[this.type]||b["default"]).formatter,a=C[this.type];return t(s,this.format||a)},set:function(s){if(s){var t=this.type,a=(b[t]||b["default"]).parser,e=a(s,this.format||C[t]);return void(e&&this.$emit("input",e))}this.$emit("input",s)}},editorType:function(){return"text"}},methods:{handleClose:function(){this.pickerVisible=!1},handleFocus:function(){var s=this.type;g.indexOf(s)!==-1&&(this.pickerVisible||this.showPicker()),this.$emit("focus",this)},handleBlur:function(){this.$emit("blur",this),this.dispatch("form-item","el.form.blur")},handleKeydown:function(s){var t=s.keyCode,a=s.target.selectionStart,e=s.target.selectionEnd,n=s.target.value.length;27===t?this.pickerVisible=this.picker.visible=!1:37===t?(s.preventDefault(),e===n&&a===n?s.target.selectionStart=n-2:a>=3?s.target.selectionStart-=3:s.target.selectionStart=0,s.target.selectionEnd=s.target.selectionStart+2):39===t&&(s.preventDefault(),0===e&&0===a?s.target.selectionEnd=2:e<=n-3?s.target.selectionEnd+=3:s.target.selectionEnd=n,s.target.selectionStart=s.target.selectionEnd-2)},handleKeyup:function(s){var t=s.keyCode;if(!(d.indexOf(t)>-1)&&this.picker&&this.pickerVisible){var a=s.target.selectionStart,e=s.target.value,n=this.type,l=(b[n]||b["default"]).parser,i=l(e,this.format||C[n]);i&&(this.picker.value=i,this.$emit("input",i),this.type.indexOf("date")>-1||setTimeout(function(t){var e=a,n=a,l=2;9===a&&(e+=l),a>=12?a%3===0?(e+=1,n=e):a%3===2&&(n=e+l):a%3===1?(e+=1,n=e):a%3===0&&(n=e+l),s.target.selectionStart=e,s.target.selectionEnd=n},0))}},togglePicker:function(){this.pickerVisible?this.hidePicker():this.showPicker()},destroyPopper:function(){var s=this;this.popper&&(this.resetTransformOrigin(this.popper),setTimeout(function(){s.popper&&s.popper.destroy(),s.popper=null},300))},hidePicker:function(){this.picker&&(this.picker.resetView&&this.picker.resetView(),this.pickerVisible=this.picker.visible=!1,this.destroyPopper())},showPicker:function(){var s=this;if(this.picker)this.pickerVisible=this.picker.visible=!0;else{this.panel.defaultValue=this.value,this.picker=new l["default"]((0,r.merge)({el:document.createElement("div")},this.panel)),this.picker.showTime="datetime"===this.type||"datetimerange"===this.type,this.picker.selectionMode=this.selectionMode,this.format&&(this.picker.format=this.format);var t=this.pickerOptions;t&&t.selectableRange&&!function(){var a=t.selectableRange,e=b.datetimerange.parser,n=C.timerange;a=Array.isArray(a)?a:[a],s.picker.selectableRange=a.map(function(s){return e(s,n)})}(),"time-select"===this.type&&t&&this.$watch("pickerOptions.minTime",function(t){s.picker.minTime=t});for(var a in t)t.hasOwnProperty(a)&&"selectableRange"!==a&&(this.picker[a]=t[a]);this.$el.appendChild(this.picker.$el),this.pickerVisible=this.picker.visible=!0,this.picker.resetView&&this.picker.resetView(),this.picker.$on("pick",function(t){var a=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];s.$emit("input",t),a||(s.pickerVisible=s.picker.visible=!1),s.picker.resetView&&s.picker.resetView()}),this.picker.$on("select-range",function(t,a){setTimeout(function(){s.$refs.reference.setSelectionRange(t,a),s.$refs.reference.focus()},0)})}this.$nextTick(function(){return s.popper?void s.popper.update():(s.popper=new o["default"](s.$refs.reference,s.picker.$el,{gpuAcceleration:!1,placement:y[s.align]||y.left,boundariesPadding:0,forceAbsolute:!0}),void s.popper.onCreate(function(t){s.resetTransformOrigin(t)}))}),this.value instanceof Date?(this.picker.date=new Date(this.value.getTime()),this.picker.resetView&&this.picker.resetView()):this.picker.value=this.value,this.$nextTick(function(){s.type.indexOf("time")!==-1&&s.picker.focusEditor&&s.picker.focusEditor("hours"),s.picker.ajustScrollTop&&s.picker.ajustScrollTop()})},resetTransformOrigin:function(s){var t={top:"bottom",bottom:"top"},a=s._popper.getAttribute("x-placement").split("-")[0],e=t[a];s._popper.style.transformOrigin="center "+e}},beforeDestroy:function(){this.popper&&this.popper.destroy()}}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0,t.$t=t.limitRange=t.getRangeHours=t.nextMonth=t.prevMonth=t.getWeekNumber=t.getStartDateOfMonth=t.DAY_DURATION=t.getFirstDayOfMonth=t.getDayCountOfMonth=t.parseDate=t.formatDate=t.merge=void 0;var n=a(58),l=e(n),i=a(424),h=e(i),r=function(s,t){for(var a=[],e=s;e<=t;e++)a.push(e);return a},c=(t.merge=function(s){for(var t=1,a=arguments.length;t<a;t++){var e=arguments[t];for(var n in e)if(e.hasOwnProperty(n)){var l=e[n];void 0!==l&&(s[n]=l)}}return s},t.formatDate=function(s,t){return s instanceof Date?l["default"].format(s,t||"yyyy-MM-dd"):""},t.parseDate=function(s,t){return l["default"].parse(s,t||"yyyy-MM-dd")},t.getDayCountOfMonth=function(s,t){return 3===t||5===t||8===t||10===t?30:1===t?s%4===0&&s%100!==0||s%400===0?29:28:31}),o=(t.getFirstDayOfMonth=function(s){var t=new Date(s.getTime());return t.setDate(1),t.getDay()},t.DAY_DURATION=864e5);t.getStartDateOfMonth=function(s,t){var a=new Date(s,t,1),e=a.getDay();return 0===e?a.setTime(a.getTime()-7*o):a.setTime(a.getTime()-o*e),a},t.getWeekNumber=function(s){var t=new Date(s.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var a=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-a.getTime())/864e5-3+(a.getDay()+6)%7)/7)},t.prevMonth=function(s){var t=s.getFullYear(),a=s.getMonth(),e=s.getDate(),n=0===a?t-1:t,l=0===a?11:a-1,i=c(n,l);return i<e&&s.setDate(i),s.setMonth(l),s.setFullYear(n),new Date(s.getTime())},t.nextMonth=function(s){var t=s.getFullYear(),a=s.getMonth(),e=s.getDate(),n=11===a?t+1:t,l=11===a?0:a+1,i=c(n,l);return i<e&&s.setDate(i),s.setMonth(l),s.setFullYear(n),new Date(s.getTime())},t.getRangeHours=function(s){var t=[],a=[];if((s||[]).forEach(function(s){var t=s.map(function(s){return s.getHours()});a=a.concat(r(t[0],t[1]))}),a.length)for(var e=0;e<24;e++)t[e]=a.indexOf(e)===-1;else for(var n=0;n<24;n++)t[n]=!1;return t},t.limitRange=function(s,t){if(!t||!t.length)return s;var a=t.length,e="HH:mm:ss";s=l["default"].parse(l["default"].format(s,e),e);for(var n=0;n<a;n++){var i=t[n];if(s>=i[0]&&s<=i[1])return s}var h=t[0][0],r=t[0][0];return t.forEach(function(s){r=new Date(Math.min(s[0],r)),h=new Date(Math.max(s[1],h))}),s<r?r:h},t.$t=function(s){for(var t=s.split("."),a=h["default"],e=0,n=t.length;e<n;e++){var l=t[e],i=a[l];if(e===n-1)return i;if(!i)return"";a=i}return""}},function(s,t){"use strict";t.__esModule=!0,t["default"]={datepicker:{today:"此刻",clear:"清空",confirm:"确定",week:"周次",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}}}},function(module,exports){module.exports={render:function(){with(this)return _h("span",{directives:[{name:"clickoutside",value:handleClose,expression:"handleClose"}],staticClass:"el-date-editor","class":{"is-have-trigger":haveTrigger,"is-active":pickerVisible,"is-filled":!!this.value}},[_h("input",{ref:"reference",staticClass:"el-date-editor__editor",attrs:{readonly:readonly,type:editorType,placeholder:placeholder},domProps:{value:_s(visualValue)},on:{focus:handleFocus,blur:handleBlur,keydown:handleKeydown,keyup:handleKeyup,change:function(s){visualValue=s.target.value}}})," ",haveTrigger?_h("span",{staticClass:"el-date-editor__trigger el-icon","class":[triggerClass],on:{click:function(s){togglePicker()}}}):_e()])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(427);var l=a(444);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";t.__esModule=!0;var e=a(423);t["default"]={watch:{value:function(s){"day"===this.selectionMode&&s instanceof Date&&(this.date=s,this.year=s.getFullYear(),this.month=s.getMonth())},timePickerVisible:function(s){var t=this;s&&this.$nextTick(function(){return t.$refs.timepicker.ajustScrollTop()})},selectionMode:function(s){"month"===s&&("year"===this.currentView&&"month"===this.currentView||(this.currentView="month"))},date:function(s){this.year||(this.year=s.getFullYear(),this.month=s.getMonth())}},directives:{Clickoutside:a(325)["default"]},methods:{$t:e.$t,resetDate:function(){this.date=new Date(this.date)},showMonthPicker:function(){this.currentView="month"},showYearPicker:function(){this.currentView="year"},handleLabelClick:function(){"date"===this.currentView?this.showMonthPicker():"month"===this.currentView&&this.showYearPicker()},prevMonth:function(){this.month--,this.month<0&&(this.month=11,this.year--)},nextMonth:function(){this.month++,this.month>11&&(this.month=0,this.year++)},nextYear:function(){"year"===this.currentView?this.$refs.yearTable.nextTenYear():this.year++},prevYear:function(){"year"===this.currentView?this.$refs.yearTable.prevTenYear():this.year--},handleShortcutClick:function(s){s.onClick&&s.onClick(this)},handleTimePick:function(s,t,a){if(s){var e=new Date(this.date.getTime()),n=s.getHours(),l=s.getMinutes(),i=s.getSeconds();e.setHours(n),e.setMinutes(l),e.setSeconds(i),this.date=new Date(e.getTime())}a||(this.timePickerVisible=t)},handleMonthPick:function(s){this.month=s;var t=this.selectionMode;"month"!==t?(this.date.setMonth(s),this.currentView="date",this.resetDate()):(this.date.setMonth(s),this.resetDate(),this.value=new Date(this.date.getFullYear(),s,1),this.$emit("pick",this.value))},handleDatePick:function(s){if("day"===this.selectionMode)this.showTime||this.$emit("pick",new Date(s.getTime())),this.date.setFullYear(s.getFullYear()),this.date.setMonth(s.getMonth()),this.date.setDate(s.getDate());else if("week"===this.selectionMode){var t=(0,e.formatDate)(s.date,this.format||"yyyywWW"),a=this.week=s.week;t=/WW/.test(t)?t.replace(/WW/,a<10?"0"+a:a):t.replace(/W/,a),this.$emit("pick",t)}this.resetDate()},handleYearPick:function(s){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];this.year=s,t&&(this.date.setFullYear(s),"year"===this.selectionMode?this.$emit("pick",s):this.currentView="month",this.resetDate())},changeToToday:function(){this.date.setTime(+new Date),this.$emit("pick",new Date(this.date.getTime())),this.resetDate()},confirm:function(){this.$emit("pick",this.date)},resetView:function(){"month"===this.selectionMode?this.currentView="month":"year"===this.selectionMode?this.currentView="year":this.currentView="date","week"!==this.selectionMode&&(this.year=this.date.getFullYear(),this.month=this.date.getMonth())},closeTimePicker:function(){this.timePickerVisible=!1}},components:{TimePicker:a(428),YearTable:a(434),MonthTable:a(437),DateTable:a(440)},mounted:function(){"month"===this.selectionMode&&(this.currentView="month"),this.date&&!this.year&&(this.year=this.date.getFullYear(),this.month=this.date.getMonth())},data:function(){return{date:new Date,value:"",showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",year:null,month:null,week:null,timePickerVisible:!1}},computed:{footerVisible:function(){return this.showTime},visibleTime:{get:function(){return(0,e.formatDate)(this.date,"HH:mm:ss")},set:function(s){if(s){var t=(0,e.parseDate)(s,"HH:mm:ss");t&&(t.setFullYear(this.date.getFullYear()),t.setMonth(this.date.getMonth()),t.setDate(this.date.getDate()),this.date=t)}}},visibleDate:{get:function(){return(0,e.formatDate)(this.date)},set:function(s){var t=(0,e.parseDate)(s,"yyyy-MM-dd");t&&(t.setHours(this.date.getHours()),t.setMinutes(this.date.getMinutes()),t.setSeconds(this.date.getSeconds()),this.date=t)}},yearLabel:function(){var s=this.year;if(!s)return"";if("year"===this.currentView){var t=10*Math.floor(s/10);return t+"年-"+(t+9)+"年"}return this.year+"年"},hours:{get:function(){return this.date.getHours()},set:function(s){this.date.setHours(s)}},minutes:{get:function(){return this.date.getMinutes()},set:function(s){this.date.setMinutes(s)}},seconds:{get:function(){return this.date.getSeconds()},set:function(s){this.date.setSeconds(s)}},timeText:function(){var s=this.hours,t=this.minutes;return(s<10?"0"+s:s)+":"+(t<10?"0"+t:t)},label:function(){var s=this.year,t=this.month+1;return"date"===this.currentView?s+" / "+t:s}}}},function(s,t,a){var e,n;e=a(429);var l=a(433);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(423),l=a(2),i=e(l);t["default"]={components:{TimeSpinner:a(430)},props:{date:{"default":new Date},visible:Boolean},watch:{visible:function(s){this.currentVisible=s},value:function(s){var t=void 0;s instanceof Date?t=(0,n.limitRange)(s,this.selectableRange):s||(t=new Date),this.hours=t.getHours(),this.minutes=t.getMinutes(),this.seconds=t.getSeconds(),this.handleConfirm(!0)},selectableRange:function(s){this.$refs.spinner.selectableRange=s}},data:function(){return{format:"HH:mm:ss",value:"",hours:0,minutes:0,seconds:0,selectableRange:[],currentDate:this.$options.defaultValue||this.date,currentVisible:this.visible}},computed:{showSeconds:function(){return(this.format||"").indexOf("ss")!==-1}},methods:{handleCancel:function(){this.$emit("pick",null)},handleChange:function(s){void 0!==s.hours&&(this.currentDate.setHours(s.hours),this.hours=this.currentDate.getHours()),void 0!==s.minutes&&(this.currentDate.setMinutes(s.minutes),this.minutes=this.currentDate.getMinutes()),void 0!==s.seconds&&(this.currentDate.setSeconds(s.seconds),this.seconds=this.currentDate.getSeconds()),this.handleConfirm(!0)},setSelectionRange:function(s,t){this.$emit("select-range",s,t)},handleConfirm:function(){var s=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],t=arguments[1],a=new Date((0,n.limitRange)(this.currentDate,this.selectableRange));this.$emit("pick",a,s,t)},focusEditor:function(s){return this.$refs.spinner.focusEditor(s)},ajustScrollTop:function(){
return this.$refs.spinner.ajustScrollTop()}},created:function(){!this.currentDate&&i["default"].set(this,"currentDate",new Date),!this.currentVisible&&i["default"].set(this,"currentVisible",!1),this.hours=this.currentDate.getHours(),this.minutes=this.currentDate.getMinutes(),this.seconds=this.currentDate.getSeconds()},mounted:function(){var s=this;this.$nextTick(function(){return s.handleConfirm(!0,!0)})}}},function(s,t,a){var e,n;e=a(431);var l=a(432);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";t.__esModule=!0;var e=a(423);t["default"]={props:{hours:{type:Number,"default":0},minutes:{type:Number,"default":0},seconds:{type:Number,"default":0},showSeconds:{type:Boolean,"default":!0}},watch:{hoursPrivate:function(s,t){s>=0&&s<=23||(this.hoursPrivate=t),this.$refs.hour.scrollTop=Math.max(0,32*(this.hoursPrivate-2.5)+80),this.$emit("change",{hours:s})},minutesPrivate:function(s,t){s>=0&&s<=59||(this.minutesPrivate=t),this.$refs.minute.scrollTop=Math.max(0,32*(this.minutesPrivate-2.5)+80),this.$emit("change",{minutes:s})},secondsPrivate:function(s,t){s>=0&&s<=59||(this.secondsPrivate=t),this.$refs.second.scrollTop=Math.max(0,32*(this.secondsPrivate-2.5)+80),this.$emit("change",{seconds:s})}},computed:{hoursList:function(){return(0,e.getRangeHours)(this.selectableRange)}},data:function(){return{hoursPrivate:0,minutesPrivate:0,secondsPrivate:0,selectableRange:[]}},methods:{focusEditor:function(s){var t=this.$refs[s+"Editor"];t&&t.focus()},handleClick:function(s,t,a){t.disabled||(this[s+"Private"]=t.value>=0?t.value:t,this.emitSelectRange(s))},emitSelectRange:function(s){"hours"===s?this.$emit("select-range",0,2):"minutes"===s?this.$emit("select-range",3,5):"seconds"===s&&this.$emit("select-range",6,8)},handleScroll:function(s){var t={};t[s+"s"]=Math.min(Math.floor((this.$refs[s].scrollTop-80)/32+3),59),this.$emit("change",t)},ajustScrollTop:function(){this.$refs.hour.scrollTop=Math.max(0,32*(this.hours-2.5)+80),this.$refs.minute.scrollTop=Math.max(0,32*(this.minutes-2.5)+80),this.$refs.second.scrollTop=Math.max(0,32*(this.seconds-2.5)+80)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-time-spinner"},["\n "+_s(hours)+"\n ",_h("div",{ref:"hour",staticClass:"el-time-spinner__wrapper",on:{mouseenter:function(s){emitSelectRange("hours")},mousewheel:function(s){handleScroll("hour")}}},[_h("ul",{staticClass:"el-time-spinner__list"},[hoursList&&_l(hoursList,function(s,t){return _h("li",{staticClass:"el-time-spinner__item","class":{active:t===hours,disabled:s},attrs:{"track-by":"hour"},domProps:{textContent:_s(t)},on:{click:function(a){handleClick("hours",{value:t,disabled:s},!0)}}})})])])," ",_h("div",{ref:"minute",staticClass:"el-time-spinner__wrapper",on:{mouseenter:function(s){emitSelectRange("minutes")},mousewheel:function(s){handleScroll("minute")}}},[_h("ul",{staticClass:"el-time-spinner__list"},[_l(60,function(s,t){return _h("li",{staticClass:"el-time-spinner__item","class":{active:t===minutes},domProps:{textContent:_s(t)},on:{click:function(s){handleClick("minutes",t,!0)}}})})])])," ",_h("div",{ref:"second",staticClass:"el-time-spinner__wrapper",on:{mouseenter:function(s){emitSelectRange("seconds")},mousewheel:function(s){handleScroll("second")}}},[_h("ul",{staticClass:"el-time-spinner__list"},[_l(60,function(s,t){return _h("li",{staticClass:"el-time-spinner__item","class":{active:t===seconds},domProps:{textContent:_s(t)},on:{click:function(s){handleClick("seconds",t,!0)}}})})])])])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"md-fade-bottom"}},[_h("div",{directives:[{name:"show",value:currentVisible,expression:"currentVisible"}],staticClass:"el-time-panel"},[_h("div",{staticClass:"el-time-panel__content"},[_h("time-spinner",{ref:"spinner",attrs:{"show-seconds":showSeconds,hours:hours,minutes:minutes,seconds:seconds},on:{change:handleChange,"select-range":setSelectionRange}})])," ",_h("div",{staticClass:"el-time-panel__footer"},[_h("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(s){handleCancel()}}},["取消"])," ",_h("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button"},on:{click:function(s){handleConfirm()}}},["确定"])])])])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(435);var l=a(436);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={props:{year:{type:Number}},computed:{startYear:function(){return 10*Math.floor(this.year/10)}},methods:{nextTenYear:function(){this.$emit("pick",this.year+10,!1)},prevTenYear:function(){this.$emit("pick",this.year-10,!1)},handleYearTableClick:function(s){var t=s.target;if("A"===t.tagName){var a=parseInt(t.textContent||t.innerText,10);this.$emit("pick",a)}}}}},function(module,exports){module.exports={render:function(){with(this)return _h("table",{staticClass:"el-year-table",on:{click:handleYearTableClick}},[_h("tbody",[_h("tr",[_h("td",{staticClass:"available","class":{current:year===startYear}},[_h("a",{staticClass:"cell"},[_s(startYear)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+1}},[_h("a",{staticClass:"cell"},[_s(startYear+1)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+2}},[_h("a",{staticClass:"cell"},[_s(startYear+2)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+3}},[_h("a",{staticClass:"cell"},[_s(startYear+3)])])])," ",_h("tr",[_h("td",{staticClass:"available","class":{current:year===startYear+4}},[_h("a",{staticClass:"cell"},[_s(startYear+4)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+5}},[_h("a",{staticClass:"cell"},[_s(startYear+5)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+6}},[_h("a",{staticClass:"cell"},[_s(startYear+6)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+7}},[_h("a",{staticClass:"cell"},[_s(startYear+7)])])])," ",_h("tr",[_h("td",{staticClass:"available","class":{current:year===startYear+8}},[_h("a",{staticClass:"cell"},[_s(startYear+8)])])," ",_h("td",{staticClass:"available","class":{current:year===startYear+9}},[_h("a",{staticClass:"cell"},[_s(startYear+9)])])," ",_m(0)," ",_m(1)])])])},staticRenderFns:[function(){with(this)return _h("td")},function(){with(this)return _h("td")}]}},function(s,t,a){var e,n;e=a(438);var l=a(439);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";t.__esModule=!0;var e=a(423);t["default"]={props:{month:{type:Number}},methods:{$t:e.$t,handleMonthTableClick:function(s){var t=s.target;if("A"===t.tagName){var a=t.parentNode.cellIndex,e=t.parentNode.parentNode.rowIndex,n=4*e+a;this.$emit("pick",n)}}}}},function(module,exports){module.exports={render:function(){with(this)return _h("table",{staticClass:"el-month-table",on:{click:handleMonthTableClick}},[_h("tbody",[_h("tr",[_h("td",{"class":{current:0===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.jan"))])])," ",_h("td",{"class":{current:1===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.feb"))])])," ",_h("td",{"class":{current:2===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.mar"))])])," ",_h("td",{"class":{current:3===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.apr"))])])])," ",_h("tr",[_h("td",{"class":{current:4===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.may"))])])," ",_h("td",{"class":{current:5===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.jun"))])])," ",_h("td",{"class":{current:6===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.jul"))])])," ",_h("td",{"class":{current:7===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.aug"))])])])," ",_h("tr",[_h("td",{"class":{current:8===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.sep"))])])," ",_h("td",{"class":{current:9===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.oct"))])])," ",_h("td",{"class":{current:10===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.nov"))])])," ",_h("td",{"class":{current:11===month}},[_h("a",{staticClass:"cell"},[_s($t("datepicker.months.dec"))])])])])])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(441);var l=a(443);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(423),l=a(442),i=a(2),h=e(i),r=function(s){var t=new Date(s);return t.setHours(0,0,0,0),t.getTime()};t["default"]={props:{date:{},year:{},month:{},week:{},selectionMode:{"default":"day"},showWeekNumber:{type:Boolean,"default":!1},disabledDate:{},minDate:{},maxDate:{},rangeState:{"default":function(){return{endDate:null,selecting:!1,row:null,column:null}}},value:{}},computed:{monthDate:function(){return this.date.getDate()},startDate:function(){return(0,n.getStartDateOfMonth)(this.year,this.month)},rows:function c(){var s=new Date(this.year,this.month,1),t=(0,n.getFirstDayOfMonth)(s),a=(0,n.getDayCountOfMonth)(s.getFullYear(),s.getMonth()),e=(0,n.getDayCountOfMonth)(s.getFullYear(),0===s.getMonth()?11:s.getMonth()-1);t=0===t?7:t;for(var c=this.tableRows,l=1,i=void 0,o=this.startDate,p=this.disabledDate,_=r(new Date),d=0;d<6;d++){var u=c[d];this.showWeekNumber&&(u[0]||(u[0]={type:"week",text:(0,n.getWeekNumber)(new Date(o.getTime()+n.DAY_DURATION*(7*d+1)))}));for(var C=0;C<7;C++){var g=u[this.showWeekNumber?C+1:C];g||(g={row:d,column:C,type:"normal",inRange:!1,start:!1,end:!1}),g.type="normal";var m=7*d+C,j=o.getTime()+n.DAY_DURATION*m;g.inRange=j>=r(this.minDate)&&j<=r(this.maxDate),g.start=this.minDate&&j===r(this.minDate),g.end=this.maxDate&&j===r(this.maxDate);var f=j===_;f&&(g.type="today"),0===d?C>=t?(g.text=l++,2===l&&(i=7*d+C)):(g.text=e-(t-C%7)+1,g.type="prev-month"):l<=a?(g.text=l++,2===l&&(i=7*d+C)):(g.text=l++-a,g.type="next-month"),g.disabled="function"==typeof p&&p(new Date(j)),h["default"].set(u,this.showWeekNumber?C+1:C,g)}if("week"===this.selectionMode){var v=this.showWeekNumber?1:0,b=this.showWeekNumber?7:6,y=this.isWeekActive(u[v+1]);u[v].inRange=y,u[v].start=y,u[b].inRange=y,u[b].end=y}}return c.firstDayPosition=i,c}},watch:{"rangeState.endDate":function(s){this.markRange(s)},minDate:function(s,t){s&&!t?(this.rangeState.selecting=!0,this.markRange(s)):s?this.markRange():(this.rangeState.selecting=!1,this.markRange(s))},maxDate:function(s,t){s&&!t&&(this.rangeState.selecting=!1,this.markRange(s),this.$emit("pick",{minDate:this.minDate,maxDate:this.maxDate}))}},data:function(){return{tableRows:[[],[],[],[],[],[]]}},methods:{$t:n.$t,getCellClasses:function(s){var t=this.selectionMode,a=this.monthDate,e=[];return"normal"!==s.type&&"today"!==s.type||s.disabled?e.push(s.type):(e.push("available"),"today"===s.type&&e.push("today")),"day"!==t||"normal"!==s.type&&"today"!==s.type||this.year!==this.date.getFullYear()||this.month!==this.date.getMonth()||a!==Number(s.text)||e.push("current"),!s.inRange||"normal"!==s.type&&"today"!==s.type&&"week"!==this.selectionMode||(e.push("in-range"),s.start&&e.push("start-date"),s.end&&e.push("end-date")),s.disabled&&e.push("disabled"),e.join(" ")},getDateOfCell:function(s,t){var a=this.startDate;return new Date(a.getTime()+(7*s+(t-(this.showWeekNumber?1:0)))*n.DAY_DURATION)},getCellByDate:function(s){var t=this.startDate,a=this.rows,e=(s-t)/n.DAY_DURATION,l=a[Math.floor(e/7)];return this.showWeekNumber?l[e%7+1]:l[e%7]},isWeekActive:function(s){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),a=t.getFullYear(),e=t.getMonth();return"prev-month"===s.type&&(t.setMonth(0===e?11:e-1),t.setFullYear(0===e?a-1:a)),"next-month"===s.type&&(t.setMonth(11===e?0:e+1),t.setFullYear(11===e?a+1:a)),t.setDate(parseInt(s.text,10)),(0,n.getWeekNumber)(t)===this.week},markRange:function(s){var t=this.startDate;s||(s=this.maxDate);for(var a=this.rows,e=this.minDate,l=0,i=a.length;l<i;l++)for(var h=a[l],c=0,o=h.length;c<o;c++)if(!this.showWeekNumber||0!==c){var p=h[c],_=7*l+c+(this.showWeekNumber?-1:0),d=t.getTime()+n.DAY_DURATION*_;p.inRange=e&&d>=r(e)&&d<=r(s),p.start=e&&d===r(e.getTime()),p.end=s&&d===r(s.getTime())}},handleMouseMove:function(s){if(this.rangeState.selecting){this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:this.rangeState});var t=s.target;if("TD"===t.tagName){var a=t.cellIndex,e=t.parentNode.rowIndex-1,n=this.rangeState,l=n.row,i=n.column;l===e&&i===a||(this.rangeState.row=e,this.rangeState.column=a,this.rangeState.endDate=this.getDateOfCell(e,a))}}},handleClick:function(s){var t=s.target;if("TD"===t.tagName&&!(0,l.hasClass)(t,"disabled")&&!(0,l.hasClass)(t,"week")){var a=this.selectionMode;"week"===a&&(t=t.parentNode.cells[1]);var e=this.year,i=this.month,h=t.cellIndex,r=t.parentNode.rowIndex,c=this.rows[r-1][h],o=c.text,p=t.className,_=new Date(this.year,this.month,1),d=p.indexOf("prev")===-1&&p.indexOf("next")===-1;if(p.indexOf("prev")!==-1?(0===i?(e-=1,i=11):i-=1,_.setFullYear(e),_.setMonth(i)):p.indexOf("next")!==-1&&(11===i?(e+=1,i=0):i+=1,_.setFullYear(e),_.setMonth(i)),_.setDate(parseInt(o,10)),d&&"range"===this.selectionMode)if(this.minDate&&this.maxDate){var u=new Date(_.getTime()),C=null;this.$emit("pick",{minDate:u,maxDate:C},!1),this.rangeState.selecting=!0,this.markRange(this.minDate)}else if(this.minDate&&!this.maxDate)if(_>=this.minDate){var g=new Date(_.getTime());this.rangeState.selecting=!1,this.$emit("pick",{minDate:this.minDate,maxDate:g})}else{var m=new Date(_.getTime());this.$emit("pick",{minDate:m,maxDate:this.maxDate},!1)}else if(!this.minDate){var j=new Date(_.getTime());this.$emit("pick",{minDate:j,maxDate:this.maxDate},!1),this.rangeState.selecting=!0,this.markRange(this.minDate)}if("day"===a)this.$emit("pick",_);else if("week"===a){var f=(0,n.getWeekNumber)(_),v=_.getFullYear()+"w"+f;this.$emit("pick",{year:_.getFullYear(),week:f,value:v,date:_})}}}}}},function(s,t){var a=function(s){return(s||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},e=function(s,t){if(!s||!t)return!1;if(t.indexOf(" ")!=-1)throw new Error("className should not contain space.");return s.classList?s.classList.contains(t):(" "+s.className+" ").indexOf(" "+t+" ")>-1},n=function(s,t){if(s){for(var a=s.className,n=(t||"").split(" "),l=0,i=n.length;l<i;l++){var h=n[l];h&&(s.classList?s.classList.add(h):e(s,h)||(a+=" "+h))}s.classList||(s.className=a)}},l=function(s,t){if(s&&t){for(var n=t.split(" "),l=" "+s.className+" ",i=0,h=n.length;i<h;i++){var r=n[i];r&&(s.classList?s.classList.remove(r):e(s,r)&&(l=l.replace(" "+r+" "," ")))}s.classList||(s.className=a(l))}};s.exports={hasClass:e,addClass:n,removeClass:l}},function(module,exports){module.exports={render:function(){with(this)return _h("table",{staticClass:"el-date-table","class":{"is-week-mode":"week"===selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:handleClick,mousemove:handleMouseMove}},[_h("tbody",[_h("tr",[showWeekNumber?_h("th",[_s($t("datepicker.week"))]):_e()," ",_h("th",[_s($t("datepicker.weeks.sun"))])," ",_h("th",[_s($t("datepicker.weeks.mon"))])," ",_h("th",[_s($t("datepicker.weeks.tue"))])," ",_h("th",[_s($t("datepicker.weeks.wed"))])," ",_h("th",[_s($t("datepicker.weeks.thu"))])," ",_h("th",[_s($t("datepicker.weeks.fri"))])," ",_h("th",[_s($t("datepicker.weeks.sat"))])])," ",rows&&_l(rows,function(s){return _h("tr",{staticClass:"el-date-table__row","class":{current:value&&isWeekActive(s[1])}},[s&&_l(s,function(s){return _h("td",{"class":getCellClasses(s),domProps:{textContent:_s("today"===s.type?"今天":s.text)}})})])})])])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"md-fade-bottom"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker"},[_h("div",{staticClass:"el-picker-panel__body-wrapper"},[_t("sidebar")," ",shortcuts?_h("div",{staticClass:"el-picker-panel__sidebar"},[shortcuts&&_l(shortcuts,function(s){return _h("button",{staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(t){handleShortcutClick(s)}}},[_s(s.text)])})]):_e()," ",_h("div",{staticClass:"el-picker-panel__body"},[showTime?_h("div",{staticClass:"el-date-picker__time-header"},[_h("input",{directives:[{name:"model",value:visibleDate,expression:"visibleDate"}],staticClass:"el-date-picker__editor",attrs:{placehoder:"选择日期",type:"text"},domProps:{value:_s(visibleDate)},on:{input:function(s){s.target.composing||(visibleDate=s.target.value)}}})," ",_h("span",{directives:[{name:"clickoutside",value:closeTimePicker,expression:"closeTimePicker"}],attrs:{style:"position: relative"}},[_h("input",{directives:[{name:"model",value:visibleTime,expression:"visibleTime"}],staticClass:"el-date-picker__editor",attrs:{placehoder:"选择时间",type:"text"},domProps:{value:_s(visibleTime)},on:{focus:function(s){timePickerVisible=!0},input:function(s){s.target.composing||(visibleTime=s.target.value)}}})," ",_h("time-picker",{ref:"timepicker",attrs:{date:date,visible:timePickerVisible},on:{pick:handleTimePick}})])]):_e()," ",_h("div",{directives:[{name:"show",value:"time"!==currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header"},[_h("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:prevYear}})," ",_h("button",{directives:[{name:"show",value:"date"===currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:prevMonth}})," ",_h("span",{staticClass:"el-date-picker__header-label",on:{click:showYearPicker}},[_s(yearLabel)])," ",_h("span",{directives:[{name:"show",value:"date"===currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label","class":{active:"month"===currentView},on:{click:showMonthPicker}},[_s(month+1)+"月"])," ",_h("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:nextYear}})," ",_h("button",{directives:[{name:"show",value:"date"===currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:nextMonth}})])," ",_h("div",{staticClass:"el-picker-panel__content"},[_h("date-table",{directives:[{name:"show",value:"date"===currentView,expression:"currentView === 'date'"}],attrs:{year:year,month:month,date:date,week:week,"selection-mode":selectionMode,"disabled-date":disabledDate},domProps:{value:value},on:{pick:handleDatePick}})," ",_h("year-table",{directives:[{name:"show",value:"year"===currentView,expression:"currentView === 'year'"}],ref:"yearTable",attrs:{year:year},on:{pick:handleYearPick}})," ",_h("month-table",{directives:[{name:"show",value:"month"===currentView,expression:"currentView === 'month'"}],attrs:{month:month},on:{pick:handleMonthPick}})])])])," ",_h("div",{directives:[{name:"show",value:footerVisible&&"date"===currentView,expression:"footerVisible && currentView === 'date'"}],staticClass:"el-picker-panel__footer"},[_h("a",{staticClass:"el-picker-panel__link-btn",attrs:{href:"JavaScript:"},on:{click:changeToToday}},[_s($t("datepicker.today"))])," ",_h("button",{staticClass:"el-picker-panel__btn",attrs:{type:"button"},on:{click:confirm}},[_s($t("datepicker.confirm"))])])])])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(446);var l=a(447);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";t.__esModule=!0;var e=a(423);t["default"]={computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting)},leftLabel:function(){return this.date.getFullYear()+"年 "+(this.date.getMonth()+1)+"月"},rightLabel:function(){return this.rightDate.getFullYear()+"年 "+(this.rightDate.getMonth()+1)+"月"},leftYear:function(){return this.date.getFullYear()},leftMonth:function(){return this.date.getMonth()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},leftVisibleDate:function(){return(0,e.formatDate)(this.minDate)},rightVisibleDate:function(){return(0,e.formatDate)(this.maxDate)},leftVisibleTime:function(){return(0,e.formatDate)(this.minDate,"HH:mm:ss")},rightVisibleTime:function(){return(0,e.formatDate)(this.maxDate,"HH:mm:ss")},leftHours:{get:function(){return this.date.getHours()},set:function(s){this.date.setHours(s)}},leftMinutes:{get:function(){return this.date.getMinutes()},set:function(s){this.date.setMinutes(s)}},leftSeconds:{get:function(){return this.date.getSeconds()},set:function(s){this.date.setSeconds(s)}},rightHours:{get:function(){return this.rightDate.getHours()},set:function(s){this.rightDate.setHours(s)}},rightMinutes:{get:function(){return this.rightDate.getMinutes()},set:function(s){this.rightDate.setMinutes(s)}},rightSeconds:{get:function(){return this.rightDate.getSeconds()},set:function(s){this.rightDate.setSeconds(s)}},rightDate:function(){var s=new Date(this.date),t=s.getMonth();return s.setDate(1),11===t?(s.setFullYear(s.getFullYear()+1),s.setMonth(0)):s.setMonth(t+1),s}},directives:{Clickoutside:a(325)["default"]},data:function(){return{date:new Date,minDate:"",maxDate:"",rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",value:"",visible:"",leftTimePickerVisible:!1,rightTimePickerVisible:!1}},watch:{minDate:function(){var s=this;this.$nextTick(function(){s.maxDate&&s.maxDate<s.minDate&&(s.maxDate=null)})},leftTimePickerVisible:function(s){var t=this;s&&this.$nextTick(function(){return t.$refs.lefttimepicker.ajustScrollTop()})},rightTimePickerVisible:function(s){var t=this;s&&this.$nextTick(function(){return t.$refs.righttimepicker.ajustScrollTop()})},value:function(s){s?Array.isArray(s)&&(this.minDate=s[0],this.maxDate=s[1]):(this.minDate=null,this.maxDate=null)}},methods:{$t:e.$t,closeLeftTimePicker:function(){this.leftTimePickerVisible=!1},closeRightTimePicker:function(){this.rightTimePickerVisible=!1},handleDateInput:function(s,t){var a=s.target.value,n=(0,e.parseDate)(a,"yyyy-MM-dd");if(n){var l=new Date("min"===t?this.minDate:this.maxDate);l&&(l.setFullYear(n.getFullYear()),l.setMonth(n.getMonth()),l.setDate(n.getDate()))}},handleChangeRange:function(s){this.minDate=s.minDate,this.maxDate=s.maxDate,this.rangeState=s.rangeState},handleDateChange:function(s,t){var a=s.target.value,n=(0,e.parseDate)(a,"yyyy-MM-dd");if(n){var l=new Date("min"===t?this.minDate:this.maxDate);l&&(l.setFullYear(n.getFullYear()),l.setMonth(n.getMonth()),l.setDate(n.getDate())),"min"===t?l<this.maxDate&&(this.minDate=new Date(l.getTime())):l>this.minDate&&(this.maxDate=new Date(l.getTime()),this.minDate&&this.minDate>this.maxDate&&(this.minDate=null))}},handleTimeChange:function(s,t){var a=s.target.value,n=(0,e.parseDate)(a,"HH:mm:ss");if(n){var l=new Date("min"===t?this.minDate:this.maxDate);l&&(l.setHours(n.getHours()),l.setMinutes(n.getMinutes()),l.setSeconds(n.getSeconds())),"min"===t?l<this.maxDate&&(this.minDate=new Date(l.getTime())):l>this.minDate&&(this.maxDate=new Date(l.getTime()))}},handleRangePick:function(s){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];this.maxDate=s.maxDate,this.minDate=s.minDate,t&&(this.showTime||this.$emit("pick",[this.minDate,this.maxDate]))},changeToToday:function(){this.date=new Date},handleShortcutClick:function(s){s.onClick&&s.onClick(this)},resetView:function(){this.leftTimePickerVisible=!1,this.rightTimePickerVisible=!1},setTime:function(s,t){var a=new Date(s.getTime()),e=t.getHours(),n=t.getMinutes(),l=t.getSeconds();return a.setHours(e),a.setMinutes(n),a.setSeconds(l),new Date(a.getTime())},handleLeftTimePick:function(s,t,a){this.minDate=this.minDate||new Date,s&&(this.minDate=this.setTime(this.minDate,s)),a||(this.leftTimePickerVisible=t)},handleRightTimePick:function(s,t,a){if(!this.maxDate){var e=new Date;e>=this.minDate&&(this.maxDate=new Date)}this.maxDate&&s&&(this.maxDate=this.setTime(this.maxDate,s)),a||(this.rightTimePickerVisible=t)},prevMonth:function(){this.date=(0,e.prevMonth)(this.date)},nextMonth:function(){this.date=(0,e.nextMonth)(this.date)},nextYear:function(){var s=this.date;s.setFullYear(s.getFullYear()+1),this.resetDate()},prevYear:function(){var s=this.date;s.setFullYear(s.getFullYear()-1),this.resetDate()},handleConfirm:function(){this.$emit("pick",[this.minDate,this.maxDate])},resetDate:function(){this.date=new Date(this.date)}},components:{TimePicker:a(428),DateTable:a(440)}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"md-fade-bottom"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker"},[_h("div",{staticClass:"el-picker-panel__body-wrapper"},[_t("sidebar")," ",shortcuts?_h("div",{staticClass:"el-picker-panel__sidebar"},[shortcuts&&_l(shortcuts,function(s){return _h("button",{staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(t){handleShortcutClick(s)}}},[_s(s.text)])})]):_e()," ",_h("div",{staticClass:"el-picker-panel__body"},[showTime?_h("div",{staticClass:"el-date-range-picker__time-header"},[_h("span",{staticClass:"el-date-range-picker__editors-wrap"},[_h("input",{directives:[{name:"model",value:leftVisibleDate,expression:"leftVisibleDate"}],staticClass:"el-date-range-picker__editor",attrs:{placeholder:"开始日期"},domProps:{value:_s(leftVisibleDate)},on:{input:[function(s){s.target.composing||(leftVisibleDate=s.target.value)},function(s){handleDateInput(s,"min")}],change:function(s){handleDateChange(s,"min")}}})," ",_h("span",{directives:[{name:"clickoutside",value:closeLeftTimePicker,expression:"closeLeftTimePicker"}],staticClass:"el-date-range-picker__time-picker-wrap"},[_h("input",{directives:[{name:"model",value:leftVisibleTime,expression:"leftVisibleTime"}],staticClass:"el-date-range-picker__editor",attrs:{placeholder:"开始时间"},domProps:{value:_s(leftVisibleTime)},on:{focus:function(s){leftTimePickerVisible=!0},change:function(s){handleTimeChange(s,"min")},input:function(s){s.target.composing||(leftVisibleTime=s.target.value)}}})," ",_h("time-picker",{ref:"lefttimepicker",attrs:{date:minDate,visible:leftTimePickerVisible},on:{pick:handleLeftTimePick}})])])," ",_m(0)," ",_h("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[_h("input",{directives:[{name:"model",value:rightVisibleDate,expression:"rightVisibleDate"}],staticClass:"el-date-range-picker__editor",attrs:{placeholder:"结束日期",readonly:!minDate},domProps:{value:_s(rightVisibleDate)},on:{input:[function(s){s.target.composing||(rightVisibleDate=s.target.value)},function(s){handleDateInput(s,"max")}],change:function(s){handleDateChange(s,"max")}}})," ",_h("span",{directives:[{name:"clickoutside",value:closeRightTimePicker,expression:"closeRightTimePicker"}],staticClass:"el-date-range-picker__time-picker-wrap"},[_h("input",{directives:[{name:"model",value:rightVisibleTime,expression:"rightVisibleTime"}],staticClass:"el-date-range-picker__editor",attrs:{placeholder:"结束时间",readonly:!minDate},domProps:{value:_s(rightVisibleTime)},on:{focus:function(s){minDate&&(rightTimePickerVisible=!0)},change:function(s){handleTimeChange(s,"max")},input:function(s){s.target.composing||(rightVisibleTime=s.target.value)}}})," ",_h("time-picker",{ref:"righttimepicker",attrs:{date:maxDate,visible:rightTimePickerVisible},on:{pick:handleRightTimePick}})])])]):_e()," ",_h("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[_h("div",{staticClass:"el-date-range-picker__header"},[_h("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:prevYear}})," ",_h("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:prevMonth}})," ",_h("div",[_s(leftLabel)])])," ",_h("date-table",{attrs:{"selection-mode":"range",date:date,year:leftYear,month:leftMonth,"min-date":minDate,"max-date":maxDate,"range-state":rangeState},on:{changerange:handleChangeRange,pick:handleRangePick}})])," ",_h("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[_h("div",{staticClass:"el-date-range-picker__header"},[_h("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:nextYear}})," ",_h("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:nextMonth}})," ",_h("div",[_s(rightLabel)])])," ",_h("date-table",{attrs:{"selection-mode":"range",date:rightDate,year:rightYear,month:rightMonth,"min-date":minDate,"max-date":maxDate,"range-state":rangeState},on:{changerange:handleChangeRange,pick:handleRangePick}})])])])," ",showTime?_h("div",{staticClass:"el-picker-panel__footer"},[_h("button",{staticClass:"el-picker-panel__btn",attrs:{type:"button",disabled:btnDisabled},on:{click:handleConfirm}},["确定"])]):_e()])])},staticRenderFns:[function(){with(this)return _h("span",{staticClass:"el-icon-arrow-right"})}]}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(449),l=e(n);s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(421),l=e(n),i=a(450),h=e(i);t["default"]={mixins:[l["default"]],name:"ElTimeSelect",created:function(){this.type="time-select",this.panel=h["default"]}}},function(s,t,a){var e,n;e=a(451);var l=a(452);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0;var a=function(s){var t=s.split(":");if(t.length>=2){var a=parseInt(t[0],10),e=parseInt(t[1],10);return{hours:a,minutes:e}}return null},e=function(s,t){var e=a(s),n=a(t),l=e.minutes+60*e.hours,i=n.minutes+60*n.hours;return l===i?0:l>i?1:-1},n=function(s){return(s.hours<10?"0"+s.hours:s.hours)+":"+(s.minutes<10?"0"+s.minutes:s.minutes)},l=function(s,t){var e=a(s),l=a(t),i={hours:e.hours,minutes:e.minutes};return i.minutes+=l.minutes,i.hours+=l.hours,i.hours+=Math.floor(i.minutes/60),i.minutes=i.minutes%60,n(i)};t["default"]={watch:{minTime:function(s){this.value&&s&&e(this.value,s)===-1&&this.$emit("pick")}},methods:{handleClick:function(s){s.disabled||this.$emit("pick",s.value)}},data:function(){return{start:"09:00",end:"18:00",step:"00:30",value:"",visible:!1,minTime:""}},computed:{items:function(){var s=this.start,t=this.end,a=this.step,n=[];if(s&&t&&a)for(var i=s;e(i,t)<=0;)n.push({value:i,disabled:e(i,this.minTime||"00:00")<=0}),i=l(i,a);return n}}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"md-fade-bottom"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-picker-panel time-select"},[_h("div",{staticClass:"el-picker-panel__content"},[items&&_l(items,function(s){return _h("div",{staticClass:"time-select-item","class":{selected:value===s.value,disabled:s.disabled},attrs:{disabled:s.disabled},on:{click:function(t){handleClick(s)}}},["\n "+_s(s.value)+"\n "])})])])])},staticRenderFns:[]}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s
}}var n=a(454),l=e(n);s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(421),l=e(n),i=a(428),h=e(i),r=a(455),c=e(r);t["default"]={mixins:[l["default"]],name:"ElTimePicker",props:{isRange:Boolean},created:function(){this.type=this.isRange?"timerange":"time",this.panel=this.isRange?c["default"]:h["default"]}}},function(s,t,a){var e,n;e=a(456);var l=a(457);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";t.__esModule=!0;var e=a(423),n=(0,e.parseDate)("00:00:00","HH:mm:ss"),l=(0,e.parseDate)("23:59:59","HH:mm:ss"),i=function(s,t){var a=3600*s.getHours()+60*s.getMinutes()+s.getSeconds(),e=3600*t.getHours()+60*t.getMinutes()+t.getSeconds();return a>e};t["default"]={components:{TimeSpinner:a(430)},computed:{showSeconds:function(){return(this.format||"").indexOf("ss")!==-1}},data:function(){var s=this.$options.defaultValue;s=Array.isArray(s)?s:[s];var t=s[0]||new Date,a=new Date;a.setHours(a.getHours()+1);var e=s[1]||a;return{minTime:t,maxTime:e,btnDisabled:i(t,e),maxHours:e.getHours(),maxMinutes:e.getMinutes(),maxSeconds:e.getSeconds(),minHours:t.getHours(),minMinutes:t.getMinutes(),minSeconds:t.getSeconds(),format:"HH:mm:ss",visible:!1}},methods:{handleCancel:function(){this.$emit("pick")},handleChange:function(){this.$refs.minSpinner.selectableRange=[[n,this.maxTime]],this.$refs.maxSpinner.selectableRange=[[this.minTime,l]],this.handleConfirm(!0)},handleMaxChange:function(s){void 0!==s.hours&&(this.maxTime.setHours(s.hours),this.maxHours=this.maxTime.getHours()),void 0!==s.minutes&&(this.maxTime.setMinutes(s.minutes),this.maxMinutes=this.maxTime.getMinutes()),void 0!==s.seconds&&(this.maxTime.setSeconds(s.seconds),this.maxSeconds=this.maxTime.getSeconds()),this.handleChange()},handleMinChange:function(s){void 0!==s.hours&&(this.minTime.setHours(s.hours),this.minHours=this.minTime.getHours()),void 0!==s.minutes&&(this.minTime.setMinutes(s.minutes),this.minMinutes=this.minTime.getMinutes()),void 0!==s.seconds&&(this.minTime.setSeconds(s.seconds),this.minSeconds=this.minTime.getSeconds()),this.handleChange()},setMinSelectionRange:function(s,t){this.$emit("select-range",s,t)},setMaxSelectionRange:function(s,t){this.$emit("select-range",s+11,t+11)},handleConfirm:function(){var s=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],a=this.$refs.minSpinner.selectableRange,n=this.$refs.maxSpinner.selectableRange;this.minTime=(0,e.limitRange)(this.minTime,a),this.maxTime=(0,e.limitRange)(this.maxTime,n),this.$emit("pick",[this.minTime,this.maxTime],s,t)},ajustScrollTop:function(){this.$refs.minSpinner.ajustScrollTop(),this.$refs.maxSpinner.ajustScrollTop()},focusEditor:function(s){return this.$refs.minSpinner.focusEditor(s)}},mounted:function(){var s=this;this.$nextTick(function(){return s.handleConfirm(!0,!0)})}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"md-fade-bottom"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel"},[_h("div",{staticClass:"el-time-range-picker__content"},[_h("div",{staticClass:"el-time-range-picker__cell"},[_m(0)," ",_h("div",{staticClass:"el-time-range-picker__body el-time-panel__content"},[_h("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":showSeconds,hours:minHours,minutes:minMinutes,seconds:minSeconds},on:{change:handleMinChange,"select-range":setMinSelectionRange}})])])," ",_h("div",{staticClass:"el-time-range-picker__cell"},[_m(1)," ",_h("div",{staticClass:"el-time-range-picker__body el-time-panel__content"},[_h("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":showSeconds,hours:maxHours,minutes:maxMinutes,seconds:maxSeconds},on:{change:handleMaxChange,"select-range":setMaxSelectionRange}})])])])," ",_h("div",{staticClass:"el-time-panel__footer"},[_h("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(s){handleCancel()}}},["取消"])," ",_h("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:btnDisabled},on:{click:function(s){handleConfirm()}}},["确定"])])])])},staticRenderFns:[function(){with(this)return _h("div",{staticClass:"el-time-range-picker__header"},["开始时间"])},function(){with(this)return _h("div",{staticClass:"el-time-range-picker__header"},["结束时间"])}]}},function(s,t,a){"use strict";var e=a(459);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(460);var l=a(463);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(461),l=e(n),i=a(2),h=e(i),r=a(462);h["default"].directive("popover",{bind:function(s,t,a){a.context.$refs[t.arg].$refs.reference=s}}),t["default"]={name:"el-popover",mixins:[l["default"]],props:{trigger:{type:String,"default":"click",validator:function(s){return["click","focus","hover"].indexOf(s)>-1}},title:String,content:String,reference:{},width:{},visibleArrow:{"default":!0},transition:{type:String,"default":"fade-in-linear"},options:{"default":function(){return{gpuAcceleration:!1}}}},mounted:function(){var s=this;setTimeout(function(){var t=void 0,a=s.reference||s.$refs.reference||s.$slots.reference[0].elm;s.$nextTick(function(){if("click"===s.trigger)(0,r.on)(a,"click",function(){s.showPopper=!s.showPopper}),(0,r.on)(document,"click",function(t){s.$el&&a&&!s.$el.contains(t.target)&&!a.contains(t.target)&&(s.showPopper=!1)});else if("hover"===s.trigger)(0,r.on)(a,"mouseenter",function(){s.showPopper=!0,clearTimeout(t)}),(0,r.on)(a,"mouseleave",function(){t=setTimeout(function(){s.showPopper=!1},200)});else if([].slice.call(a.children).length){for(var e=a.childNodes,n=0;n<e.length;n++)if("INPUT"===e[n].nodeName){(0,r.on)(e[n],"focus",function(){s.showPopper=!0}),(0,r.on)(e[n],"blur",function(){s.showPopper=!1});break}}else"INPUT"===a.nodeName||"TEXTAREA"===a.nodeName?((0,r.on)(a,"focus",function(){s.showPopper=!0}),(0,r.on)(a,"blur",function(){s.showPopper=!1})):((0,r.on)(a,"mousedown",function(){s.showPopper=!0}),(0,r.on)(a,"mouseup",function(){s.showPopper=!1}))})},100)},destroyed:function(){var s=this.reference;(0,r.off)(s,"mouseup"),(0,r.off)(s,"mousedown"),(0,r.off)(s,"focus"),(0,r.off)(s,"blur"),(0,r.off)(s,"mouseleave"),(0,r.off)(s,"mouseenter")}}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(304),l=e(n);t["default"]={props:{placement:{type:String,"default":"bottom"},boundariesPadding:{type:Number,"default":5},reference:Object,popper:Object,offset:{"default":0},value:Boolean,visibleArrow:Boolean,transition:String,options:{type:Object,"default":function(){return{}}}},data:function(){return{showPopper:!1}},watch:{value:{immediate:!0,handler:function(s){this.showPopper=s,this.$emit("input",s)}},showPopper:function(s){s?this.updatePopper():this.destroyPopper(),this.$emit("input",s)}},methods:{createPopper:function(){var s=this;if(/^(top|bottom|left|right)(-start|-end)?$/g.test(this.placement)){var t=this.options,a=this.popper||this.$refs.popper,e=this.reference||this.$refs.reference||this.$slots.reference[0].elm;a&&e&&(this.visibleArrow&&this.appendArrow(a),this.popperJS&&this.popperJS.hasOwnProperty("destroy")&&this.popperJS.destroy(),t.placement=this.placement,t.offset=this.offset,this.$nextTick(function(){s.popperJS=new l["default"](e,a,t),s.popperJS.onCreate(function(t){s.resetTransformOrigin(t),s.$emit("created",s)})}))}},updatePopper:function(){this.popperJS?this.popperJS.update():this.createPopper()},doDestroy:function(){this.showPopper||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin(this.popperJS)},resetTransformOrigin:function(s){var t={top:"bottom",bottom:"top",left:"right",right:"left"},a=s._popper.getAttribute("x-placement").split("-")[0],e=t[a];s._popper.style.transformOrigin=["top","bottom"].indexOf(a)>-1?"center "+e:e+" center"},appendArrow:function(s){var t=void 0;if(!this.appended){this.appended=!0;for(var a in s.attributes)if(/^_v-/.test(s.attributes[a].name)){t=s.attributes[a].name;break}var e=document.createElement("div");t&&e.setAttribute(t,""),e.setAttribute("x-arrow",""),e.className="popper__arrow",s.appendChild(e)}}},beforeDestroy:function(){this.popperJS&&this.popperJS.destroy()}}},function(s,t){var a=function(){return document.addEventListener?function(s,t,a){s&&t&&a&&s.addEventListener(t,a,!1)}:function(s,t,a){s&&t&&a&&s.attachEvent("on"+t,a)}}(),e=function(){return document.removeEventListener?function(s,t,a){s&&t&&s.removeEventListener(t,a,!1)}:function(s,t,a){s&&t&&s.detachEvent("on"+t,a)}}(),n=function(s,t,n){var l=function(){n&&n.apply(this,arguments),e(s,t,l)};a(s,t,l)};s.exports={on:a,off:e,once:n}},function(module,exports){module.exports={render:function(){with(this)return _h("span",[_h("transition",{attrs:{name:transition},on:{"after-leave":doDestroy}},[_h("div",{directives:[{name:"show",value:showPopper,expression:"showPopper"}],ref:"popper",staticClass:"el-popover",style:{width:width+"px"}},[title?_h("div",{staticClass:"el-popover__title",domProps:{textContent:_s(title)}}):_e()," ",_t("default",[_s(content)])])])," ",_t("reference")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(465);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(466);var l=a(467);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(461),l=e(n);t["default"]={name:"el-tooltip",mixins:[l["default"]],props:{openDelay:{type:Number,"default":0},disabled:Boolean,effect:{type:String,"default":"dark"},content:String,visibleArrow:{"default":!0},transition:{type:String,"default":"fade-in-linear"},options:{"default":function(){return{boundariesPadding:10,gpuAcceleration:!1}}}},methods:{handleShowPopper:function(){var s=this;this.timeout=setTimeout(function(){s.showPopper=!0},this.openDelay)},handleClosePopper:function(){clearTimeout(this.timeout),this.showPopper=!1}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-tooltip",on:{mouseenter:handleShowPopper,mouseleave:handleClosePopper}},[_h("div",{ref:"reference",staticClass:"el-tooltip__rel"},[_t("default")])," ",_h("transition",{attrs:{name:transition},on:{"after-leave":doDestroy}},[_h("div",{directives:[{name:"show",value:!disabled&&showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-tooltip__popper","class":["is-"+effect]},[_t("content",[_h("div",{domProps:{textContent:_s(content)}})])])])])},staticRenderFns:[]}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(469),l=e(n);s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0,t.MessageBox=void 0;var n,l,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s},h=a(2),r=e(h),c=a(470),o=e(c),p="确定",_="取消",d={title:"提示",message:"",type:"",showInput:!1,showClose:!0,closeOnClickModal:!0,inputValue:null,inputPlaceholder:"",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:p,cancelButtonText:_,confirmButtonClass:"",cancelButtonClass:""},u=function(s){for(var t=1,a=arguments.length;t<a;t++){var e=arguments[t];for(var n in e)if(e.hasOwnProperty(n)){var l=e[n];void 0!==l&&(s[n]=l)}}return s},C=r["default"].extend(o["default"]),g=[],m=function(){l=new C({el:document.createElement("div")}),l.callback=function(s){if(n){var t=n.callback;if("function"==typeof t&&(l.showInput?t(l.inputValue,s):t(s)),n.resolve){var a=n.options.$type;"confirm"===a||"prompt"===a?"confirm"===s?l.showInput?n.resolve({value:l.inputValue,action:s}):n.resolve(s):"cancel"===s&&n.reject&&n.reject(s):n.resolve(s)}}}},j=function(){if(l||m(),(!l.value||l.closeTimer)&&g.length>0){n=g.shift();var s=n.options;for(var t in s)s.hasOwnProperty(t)&&(l[t]=s[t]);["modal","showClose","closeOnClickModal","closeOnPressEscape"].forEach(function(s){void 0===l[s]&&(l[s]=!0)}),document.body.appendChild(l.$el),r["default"].nextTick(function(){l.value=!0})}},f=function v(s,t){return"string"==typeof s?(s={title:s},arguments[1]&&(s.message=arguments[1]),arguments[2]&&(s.type=arguments[2])):s.callback&&!t&&(t=s.callback),"undefined"!=typeof Promise?new Promise(function(a,e){g.push({options:u({},d,v.defaults||{},s),callback:t,resolve:a,reject:e}),j()}):(g.push({options:u({},d,v.defaults||{},s),callback:t}),void j())};f.setDefaults=function(s){f.defaults=s},f.alert=function(s,t,a){return"object"===("undefined"==typeof t?"undefined":i(t))&&(a=t,t=""),f(u({title:t,message:s,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},a))},f.confirm=function(s,t,a){return"object"===("undefined"==typeof t?"undefined":i(t))&&(a=t,t=""),f(u({title:t,message:s,$type:"confirm",showCancelButton:!0},a))},f.prompt=function(s,t,a){return"object"===("undefined"==typeof t?"undefined":i(t))&&(a=t,t=""),f(u({title:t,message:s,showCancelButton:!0,showInput:!0,$type:"prompt"},a))},f.close=function(){l.value=!1,g=[],n=null},t["default"]=f,t.MessageBox=f},function(s,t,a){var e,n;e=a(471);var l=a(473);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(472),l=e(n),i=a(315),h=e(i),r="确定",c="取消",o={success:"circle-check",info:"information",warning:"warning",error:"circle-cross"};t["default"]={mixins:[l["default"]],props:{modal:{"default":!0},showClose:{type:Boolean,"default":!0},closeOnClickModal:{"default":!0},closeOnPressEscape:{"default":!0}},components:{ElInput:h["default"]},computed:{typeClass:function(){return this.type&&o[this.type]?"el-icon-"+o[this.type]:""},confirmButtonClasses:function(){return"el-button el-button-primary "+this.confirmButtonClass},cancelButtonClasses:function(){return"el-button el-button-default "+this.cancelButtonClass}},methods:{doClose:function(){this.value=!1,this._closing=!0,this.onClose&&this.onClose(),this.modal&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.opened=!1,this.transition||this.doAfterClose()},handleAction:function(s){if("prompt"!==this.$type||"confirm"!==s||this.validate()){var t=this.callback;this.value=!1,t(s)}},validate:function(){if("prompt"===this.$type){var s=this.inputPattern;if(s&&!s.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage||"输入的数据不合法!",this.$refs.input.$el.querySelector("input").classList.add("invalid"),!1;var t=this.inputValidator;if("function"==typeof t){var a=t(this.inputValue);if(a===!1)return this.editorErrorMessage=this.inputErrorMessage||"输入的数据不合法!",this.$refs.input.$el.querySelector("input").classList.add("invalid"),!1;if("string"==typeof a)return this.editorErrorMessage=a,!1}}return this.editorErrorMessage="",this.$refs.input.$el.querySelector("input").classList.remove("invalid"),!0}},watch:{inputValue:function(){"prompt"===this.$type&&this.validate()},value:function(s){var t=this;s&&"prompt"===this.$type&&setTimeout(function(){t.$refs.input&&t.$refs.input.$el&&t.$refs.input.$el.querySelector("input").focus()},500)}},data:function(){return{title:"",message:"",type:"",showInput:!1,inputValue:null,inputPlaceholder:"",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonText:r,cancelButtonText:c,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",editorErrorMessage:null,callback:null}}}},function(s,t,a){!function(t,e){s.exports=e(a(2))}(this,function(s){return function(s){function t(e){if(a[e])return a[e].exports;var n=a[e]={exports:{},id:e,loaded:!1};return s[e].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a={};return t.m=s,t.c=a,t.p="",t(0)}([function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(4),l=e(n),i=a(2),h=a(1),r=e(h);a(3);var c=1,o=[],p=function(s){if(-1===o.indexOf(s)){var t=function(s){var t=s.__vue__;if(!t){var a=s.previousSibling;a.__vue__&&(t=a.__vue__)}return t};l["default"].transition(s,{afterEnter:function(s){var a=t(s);a&&a.doAfterOpen&&a.doAfterOpen()},afterLeave:function(s){var a=t(s);a&&a.doAfterClose&&a.doAfterClose()}})}},_=function d(s){return 3===s.nodeType&&(s=s.nextElementSibling||s.nextSibling,d(s)),s};t["default"]={props:{value:{type:Boolean,"default":!1},transition:{type:String,"default":""},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},modalClass:{},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},created:function(){this.transition&&p(this.transition)},beforeMount:function(){this._popupId="popup-"+c++,r["default"].register(this._popupId,this)},beforeDestroy:function(){r["default"].deregister(this._popupId),r["default"].closeModal(this._popupId)},data:function(){return{opened:!1,bodyOverflow:null,rendered:!1}},watch:{value:function(s){var t=this;if(s){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,l["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(s){var t=this;if(!this.rendered)return this.rendered=!0,void this.$emit("input",!0);var a=(0,i.merge)({},this,s);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var e=Number(a.openDelay);e>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(a)},e):this.doOpen(a)},doOpen:function(s){if((!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0,this.$emit("input",!0);var t=_(this.$el),a=s.modal,e=s.zIndex;e&&(r["default"].zIndex=e),a&&(this._closing&&(r["default"].closeModal(this._popupId),this._closing=!1),r["default"].openModal(this._popupId,r["default"].nextZIndex(),t,s.modalClass),this.bodyOverflow||(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden"),"static"===getComputedStyle(t).position&&(t.style.position="absolute"),a?t.style.zIndex=r["default"].nextZIndex():e&&(t.style.zIndex=e),this.opened=!0,this.onOpen&&this.onOpen(),this.transition||this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var s=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){s._closeTimer=null,s.doClose()},t):this.doClose()}},doClose:function(){this.$emit("input",!1),this._closing=!0,this.onClose&&this.onClose(),this.modal&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.opened=!1,this.transition||this.doAfterClose()},doAfterClose:function(){r["default"].closeModal(this._popupId),this._closing=!1}}}},function(s,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){var s=n.modalDom;return s||(s=document.createElement("div"),n.modalDom=s,s.addEventListener("touchmove",function(s){s.preventDefault(),s.stopPropagation()}),s.addEventListener("click",function(){n.doOnModalClick&&n.doOnModalClick()})),s},e={},n={zIndex:1e3,getInstance:function(s){return e[s]},register:function(s,t){s&&t&&(e[s]=t)},deregister:function(s){s&&(e[s]=null,delete e[s])},nextZIndex:function(){return n.zIndex++},modalStack:[],doOnModalClick:function(){var s=n.modalStack[n.modalStack.length-1];if(s){var t=n.getInstance(s.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(s,t,e,n){if(s&&void 0!==t){for(var l=this.modalStack,i=0,h=l.length;h>i;i++){var r=l[i];if(r.id===s)return}var c=a();if(c.classList.add("v-modal"),c.classList.add("v-modal-enter"),n){var o=n.trim().split(/\s+/);o.forEach(function(s){return c.classList.add(s)})}setTimeout(function(){c.classList.remove("v-modal-enter")},200),e&&e.parentNode&&11!==e.parentNode.nodeType?e.parentNode.appendChild(c):document.body.appendChild(c),t&&(c.style.zIndex=t),c.style.display="",this.modalStack.push({id:s,zIndex:t,modalClass:n})}},closeModal:function(s){var t=this.modalStack,e=a();if(t.length>0){var n=t[t.length-1];if(n.id===s){if(n.modalClass){var l=n.modalClass.trim().split(/\s+/);l.forEach(function(s){return e.classList.remove(s)})}t.pop(),t.length>0&&(e.style.zIndex=t[t.length-1].zIndex)}else for(var i=t.length-1;i>=0;i--)if(t[i].id===s){t.splice(i,1);break}}0===t.length&&(e.classList.add("v-modal-leave"),setTimeout(function(){0===t.length&&(e.parentNode&&e.parentNode.removeChild(e),e.style.display="none"),e.classList.remove("v-modal-leave")},200))}};window.addEventListener("keydown",function(s){if(27===s.keyCode&&n.modalStack.length>0){var t=n.modalStack[n.modalStack.length-1];if(!t)return;var a=n.getInstance(t.id);a.closeOnPressEscape&&a.close()}}),t["default"]=n},function(s,t){"use strict";function a(s){for(var t=1,a=arguments.length;a>t;t++){var e=arguments[t];for(var n in e)if(e.hasOwnProperty(n)){var l=e[n];void 0!==l&&(s[n]=l)}}return s}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=a},function(s,t){},function(t,a){t.exports=s}])})},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-message-box__wrapper"},[_h("transition",{attrs:{name:"msgbox-bounce"}},[_h("div",{directives:[{name:"show",value:value,expression:"value"}],staticClass:"el-message-box"},[""!==title?_h("div",{staticClass:"el-message-box__header"},[_h("div",{staticClass:"el-message-box__title"},[_s(title)])," ",showClose?_h("i",{staticClass:"el-message-box__close el-icon-close",on:{click:function(s){handleAction("cancel")}}}):_e()]):_e()," ",""!==message?_h("div",{staticClass:"el-message-box__content"},[_h("div",{staticClass:"el-message-box__status","class":[typeClass]})," ",_h("div",{staticClass:"el-message-box__message",style:{"margin-left":typeClass?"50px":"0"}},[_h("p",[_s(message)])])," ",_h("div",{directives:[{name:"show",value:showInput,expression:"showInput"}],staticClass:"el-message-box__input"},[_h("el-input",{directives:[{name:"model",value:inputValue,expression:"inputValue"}],ref:"input",attrs:{placeholder:inputPlaceholder},domProps:{value:inputValue},on:{input:function(s){inputValue=s}}})," ",_h("div",{staticClass:"el-message-box__errormsg",style:{visibility:editorErrorMessage?"visible":"hidden"}},[_s(editorErrorMessage)])])]):_e()," ",_h("div",{staticClass:"el-message-box__btns"},[_h("el-button",{directives:[{name:"show",value:showCancelButton,expression:"showCancelButton"}],"class":[cancelButtonClasses],nativeOn:{click:function(s){handleAction("cancel")}}},[_s(cancelButtonText)])," ",_h("el-button",{directives:[{name:"show",value:showConfirmButton,expression:"showConfirmButton"}],"class":[confirmButtonClasses],attrs:{type:"primary"},nativeOn:{click:function(s){handleAction("confirm")}}},[_s(confirmButtonText)])])])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(475);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(476);var l=a(477);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElBreadcrumb",props:{separator:{type:String,"default":"/"}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-breadcrumb"},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(479);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(480);var l=a(481);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElBreadcrumbItem",data:function(){return{separator:""}},mounted:function(){this.separator=this.$parent.separator}}},function(module,exports){module.exports={render:function(){with(this)return _h("span",{staticClass:"el-breadcrumb__item"},[_h("span",{staticClass:"el-breadcrumb__item__text"},[_t("default")]),_h("span",{staticClass:"el-breadcrumb__separator"},[_s(separator)])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(483);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(484);var l=a(485);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElForm",componentName:"form",props:{model:Object,rules:Object,type:String,labelPosition:String,labelWidth:String,labelSuffix:{type:String,"default":""},inline:Boolean},data:function(){return{fields:{},fieldLength:0}},created:function(){var s=this;this.$on("el.form.addField",function(t){s.fields[t.prop]=t,s.fieldLength++}),this.$on("el.form.removeField",function(t){delete s.fields[t.prop],s.fieldLength--})},methods:{resetFields:function(){for(var s in this.fields){var t=this.fields[s];t.resetField()}},validate:function(s){var t=this,a=0,e=!0;for(var n in this.fields){var l=this.fields[n];l.validate("",function(n){n&&(e=!1),++a===t.fieldLength&&s(e)})}},validateField:function(s,t){var a=this.fields[s];if(!a)throw new Error("must call validateField with valid prop string!");a.validate("",t)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("form",{staticClass:"el-form","class":[labelPosition?"el-form--label-"+labelPosition:"",{"el-form--inline":inline}]},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(487);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(488);var l=a(514);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(489),l=e(n),i=a(314),h=e(i);t["default"]={name:"ElFormItem",componentName:"form-item",mixins:[h["default"]],props:{label:String,labelWidth:String,prop:String,required:Boolean,rules:[Object,Array]},computed:{labelStyle:function(){var s={},t=this.labelWidth||this.form.labelWidth;return t&&(s.width=t),s},contentStyle:function(){var s={},t=this.labelWidth||this.form.labelWidth;return t&&(s.marginLeft=t),s},form:function(){for(var s=this.$parent;"form"!==s.$options.componentName;)s=s.$parent;return s},fieldValue:{cache:!1,get:function(){var s=this.form.model;if(s&&this.prop){var t=this.prop.split(":");return t.length>1?s[t[0]][t[1]]:s[this.prop]}}}},data:function(){return{valid:!0,error:"",validateDisabled:!1,validating:!1,validator:{},isRequired:!1}},methods:{validate:function(s,t){var a=this,e=this.getFilteredRule(s);if(!e||0===e.length)return t&&t(),!0;this.validating=!0;var n={};n[this.prop]=e;var i=new l["default"](n),h={};h[this.prop]=this.fieldValue,i.validate(h,{firstFields:!0},function(s,e){a.valid=!s,a.error=s?s[0].message:"",t&&t(s),a.validating=!1})},resetField:function(){this.valid=!0,this.error="";var s=this.form.model,t=this.fieldValue;Array.isArray(t)&&t.length>0?(this.validateDisabled=!0,s[this.prop]=[]):"string"==typeof t&&""!==t?(this.validateDisabled=!0,s[this.prop]=""):"number"==typeof t&&(this.validateDisabled=!0,s[this.prop]=0)},getRules:function(){if(!this.prop)return[];var s=this.rules||(this.form.rules?this.form.rules[this.prop]:[]);return Array.isArray(s)?s:[s]},getFilteredRule:function(s){var t=this.getRules();return t.filter(function(t){return!t.trigger||t.trigger.indexOf(s)!==-1})},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){return this.validateDisabled?void(this.validateDisabled=!1):void this.validate("change")}},mounted:function(){var s=this,t=this.getRules();t.every(function(t){if(t.required)return s.isRequired=!0,!1}),this.prop&&this.dispatch("form","el.form.addField",[this]),this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange)},beforeDestroy:function(){this.dispatch("form","el.form.removeField",[this])}}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s){this.rules=null,this._messages=o.messages,this.define(s)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(s){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(s[e]=a[e])}return s},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s},h=a(490),r=a(491),c=e(r),o=a(513),p=a(493);n.prototype={messages:function(s){return s&&(this._messages=(0,h.deepMerge)((0,o.newMessages)(),s)),this._messages},define:function(s){if(!s)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"==typeof s?"undefined":i(s))||Array.isArray(s))throw new Error("Rules must be an object");this.rules={};var t=void 0,a=void 0;for(t in s)s.hasOwnProperty(t)&&(a=s[t],this.rules[t]=Array.isArray(a)?a:[a])},validate:function(s){function t(s){function t(s){Array.isArray(s)?n=n.concat.apply(n,s):n.push(s)}var a=void 0,e=void 0,n=[],l={};for(a=0;a<s.length;a++)t(s[a]);if(n.length)for(a=0;a<n.length;a++)e=n[a].field,l[e]=l[e]||[],l[e].push(n[a]);else n=null,l=null;d(n,l)}var a=this,e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=arguments[2],c=s,_=e,d=r;if("function"==typeof _&&(d=_,_={}),!this.rules||0===Object.keys(this.rules).length)return void(d&&d());if(_.messages){var u=this.messages();u===o.messages&&(u=(0,o.newMessages)()),(0,h.deepMerge)(u,_.messages),_.messages=u}else _.messages=this.messages();_.error=p.error;var C=void 0,g=void 0,m={},j=_.keys||Object.keys(this.rules);j.forEach(function(t){C=a.rules[t],g=c[t],C.forEach(function(e){var n=e;"function"==typeof n.transform&&(c===s&&(c=l({},c)),g=c[t]=n.transform(g)),n="function"==typeof n?{validator:n}:l({},n),n.validator=a.getValidationMethod(n),n.field=t,n.fullField=n.fullField||t,n.type=a.getType(n),n.validator&&(m[t]=m[t]||[],m[t].push({rule:n,value:g,source:c,field:t}))})});var f={};(0,h.asyncMap)(m,_,function(s,t){function a(s,t){return l({},t,{fullField:r.fullField+"."+s})}function e(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],i=e;if(Array.isArray(i)||(i=[i]),i.length&&(0,h.warning)("async-validator:",i),i.length&&r.message&&(i=[].concat(r.message)),i=i.map((0,h.complementError)(r)),(_.first||_.fieldFirst)&&i.length)return f[r.field]=1,t(i);if(c){if(r.required&&!s.value)return i=r.message?[].concat(r.message).map((0,h.complementError)(r)):[_.error(r,(0,h.format)(_.messages.required,r.field))],t(i);var o={};if(r.defaultField)for(var p in s.value)s.value.hasOwnProperty(p)&&(o[p]=r.defaultField);o=l({},o,s.rule.fields);for(var d in o)if(o.hasOwnProperty(d)){var u=Array.isArray(o[d])?o[d]:[o[d]];o[d]=u.map(a.bind(null,d))}var C=new n(o);C.messages(_.messages),s.rule.options&&(s.rule.options.messages=_.messages,s.rule.options.error=_.error),C.validate(s.value,s.rule.options||_,function(s){
t(s&&s.length?i.concat(s):s)})}else t(i)}var r=s.rule,c=!("object"!==r.type&&"array"!==r.type||"object"!==i(r.fields)&&"object"!==i(r.defaultField));c=c&&(r.required||!r.required&&s.value),r.field=s.field,r.validator(r,s.value,e,s.source,_)},function(s){t(s)})},getType:function(s){if(void 0===s.type&&s.pattern instanceof RegExp&&(s.type="pattern"),"function"!=typeof s.validator&&s.type&&!c["default"].hasOwnProperty(s.type))throw new Error((0,h.format)("Unknown rule type %s",s.type));return s.type||"string"},getValidationMethod:function(s){if("function"==typeof s.validator)return s.validator;var t=Object.keys(s);return 1===t.length&&"required"===t[0]?c["default"].required:c["default"][this.getType(s)]||!1}},n.register=function(s,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");c["default"][s]=t},n.messages=o.messages,t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s,t){t.every(function(s){return"string"==typeof s})&&m(s,t)}function n(){for(var s=arguments.length,t=Array(s),a=0;a<s;a++)t[a]=arguments[a];var e=1,n=t[0],l=t.length;if("function"==typeof n)return n.apply(null,t.slice(1));if("string"==typeof n){for(var i=String(n).replace(g,function(s){if("%%"===s)return"%";if(e>=l)return s;switch(s){case"%s":return String(t[e++]);case"%d":return Number(t[e++]);case"%j":try{return JSON.stringify(t[e++])}catch(a){return"[Circular]"}break;default:return s}}),h=t[e];e<l;h=t[++e])i+=" "+h;return i}return n}function l(s){return"string"===s||"url"===s||"hex"===s||"email"===s}function i(s,t){return void 0===s||null===s||(!("array"!==t||!Array.isArray(s)||s.length)||!(!l(t)||"string"!=typeof s||s))}function h(s){return 0===Object.keys(s).length}function r(s,t,a){function e(s){n.push.apply(n,s),l++,l===i&&a(n)}var n=[],l=0,i=s.length;s.forEach(function(s){t(s,e)})}function c(s,t,a){function e(i){if(i&&i.length)return void a(i);var h=n;n+=1,h<l?t(s[h],e):a([])}var n=0,l=s.length;e([])}function o(s){var t=[];return Object.keys(s).forEach(function(a){t.push.apply(t,s[a])}),t}function p(s,t,a,e){if(t.first){var n=o(s);return c(n,a,e)}var l=t.firstFields||[];l===!0&&(l=Object.keys(s));var i=Object.keys(s),h=i.length,p=0,_=[],d=function(s){_.push.apply(_,s),p++,p===h&&e(_)};i.forEach(function(t){var e=s[t];l.indexOf(t)!==-1?c(e,a,d):r(e,a,d)})}function _(s){return function(t){return t&&t.message?(t.field=t.field||s.fullField,t):{message:t,field:t.field||s.fullField}}}function d(s,t){if(t)for(var a in t)if(t.hasOwnProperty(a)){var e=t[a];"object"===("undefined"==typeof e?"undefined":C(e))&&"object"===C(s[a])?s[a]=u({},s[a],e):s[a]=e}return s}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(s){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(s[e]=a[e])}return s},C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s};t.warning=e,t.format=n,t.isEmptyValue=i,t.isEmptyObject=h,t.asyncMap=p,t.complementError=_,t.deepMerge=d;var g=/%[sdj%]/g,m=function(){}},function(s,t,a){"use strict";s.exports={string:a(492),method:a(500),number:a(501),"boolean":a(502),regexp:a(503),integer:a(504),"float":a(505),array:a(506),object:a(507),"enum":a(508),pattern:a(509),email:a(510),url:a(510),date:a(511),hex:a(510),required:a(512)}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t,"string")&&!s.required)return a();i["default"].required(s,t,e,l,n,"string"),(0,h.isEmptyValue)(t,"string")||(i["default"].type(s,t,e,l,n),i["default"].range(s,t,e,l,n),i["default"].pattern(s,t,e,l,n),s.whitespace===!0&&i["default"].whitespace(s,t,e,l,n))}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={required:a(494),whitespace:a(495),type:a(496),range:a(497),"enum":a(498),pattern:a(499)},s.exports=t["default"]},function(s,t,a){"use strict";function e(s){if(s&&s.__esModule)return s;var t={};if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);return t["default"]=s,t}function n(s,t,a,e,n,l){!s.required||a.hasOwnProperty(s.field)&&!i.isEmptyValue(t,l)||e.push(i.format(n.messages.required,s.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var l=a(490),i=e(l);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){if(s&&s.__esModule)return s;var t={};if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);return t["default"]=s,t}function n(s,t,a,e,n){(/^\s+$/.test(t)||""===t)&&e.push(i.format(n.messages.whitespace,s.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var l=a(490),i=e(l);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s){if(s&&s.__esModule)return s;var t={};if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);return t["default"]=s,t}function l(s,t,a,e,n){if(s.required&&void 0===t)return void(0,o["default"])(s,t,a,e,n);var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],h=s.type;l.indexOf(h)>-1?_[h](t)||e.push(r.format(n.messages.types[h],s.fullField,s.type)):h&&("undefined"==typeof t?"undefined":i(t))!==s.type&&e.push(r.format(n.messages.types[h],s.fullField,s.type))}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s},h=a(490),r=n(h),c=a(494),o=e(c),p={email:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_={integer:function(s){return _.number(s)&&parseInt(s,10)===s},"float":function(s){return _.number(s)&&!_.integer(s)},array:function(s){return Array.isArray(s)},regexp:function(s){if(s instanceof RegExp)return!0;try{return!!new RegExp(s)}catch(t){return!1}},date:function(s){return"function"==typeof s.getTime&&"function"==typeof s.getMonth&&"function"==typeof s.getYear},number:function(s){return!isNaN(s)&&"number"==typeof s},object:function(s){return"object"===("undefined"==typeof s?"undefined":i(s))&&!_.array(s)},method:function(s){return"function"==typeof s},email:function(s){return"string"==typeof s&&!!s.match(p.email)},url:function(s){return"string"==typeof s&&!!s.match(p.url)},hex:function(s){return"string"==typeof s&&!!s.match(p.hex)}};t["default"]=l,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){if(s&&s.__esModule)return s;var t={};if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);return t["default"]=s,t}function n(s,t,a,e,n){var l="number"==typeof s.len,h="number"==typeof s.min,r="number"==typeof s.max,c=t,o=null,p="number"==typeof t,_="string"==typeof t,d=Array.isArray(t);return p?o="number":_?o="string":d&&(o="array"),!!o&&((_||d)&&(c=t.length),void(l?c!==s.len&&e.push(i.format(n.messages[o].len,s.fullField,s.len)):h&&!r&&c<s.min?e.push(i.format(n.messages[o].min,s.fullField,s.min)):r&&!h&&c>s.max?e.push(i.format(n.messages[o].max,s.fullField,s.max)):h&&r&&(c<s.min||c>s.max)&&e.push(i.format(n.messages[o].range,s.fullField,s.min,s.max))))}Object.defineProperty(t,"__esModule",{value:!0});var l=a(490),i=e(l);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){if(s&&s.__esModule)return s;var t={};if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);return t["default"]=s,t}function n(s,t,a,e,n){s[h]=Array.isArray(s[h])?s[h]:[],s[h].indexOf(t)===-1&&e.push(i.format(n.messages[h],s.fullField,s[h].join(", ")))}Object.defineProperty(t,"__esModule",{value:!0});var l=a(490),i=e(l),h="enum";t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){if(s&&s.__esModule)return s;var t={};if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);return t["default"]=s,t}function n(s,t,a,e,n){s.pattern instanceof RegExp&&(s.pattern.test(t)||e.push(i.format(n.messages.pattern.mismatch,s.fullField,t,s.pattern)))}Object.defineProperty(t,"__esModule",{value:!0});var l=a(490),i=e(l);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),void 0!==t&&i["default"].type(s,t,e,l,n)}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),void 0!==t&&(i["default"].type(s,t,e,l,n),i["default"].range(s,t,e,l,n))}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var i=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,l.isEmptyValue)(t)&&!s.required)return a();h["default"].required(s,t,e,i,n),void 0!==t&&h["default"].type(s,t,e,i,n)}a(i)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(490),i=a(493),h=e(i);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),(0,h.isEmptyValue)(t)||i["default"].type(s,t,e,l,n)}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),void 0!==t&&(i["default"].type(s,t,e,l,n),i["default"].range(s,t,e,l,n))}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),void 0!==t&&(i["default"].type(s,t,e,l,n),i["default"].range(s,t,e,l,n))}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t,"array")&&!s.required)return a();i["default"].required(s,t,e,l,n,"array"),(0,h.isEmptyValue)(t,"array")||(i["default"].type(s,t,e,l,n),i["default"].range(s,t,e,l,n))}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),void 0!==t&&i["default"].type(s,t,e,l,n)}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],c=s.required||!s.required&&e.hasOwnProperty(s.field);if(c){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),t&&i["default"][r](s,t,e,l,n)}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490),r="enum";t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t,"string")&&!s.required)return a();i["default"].required(s,t,e,l,n),(0,h.isEmptyValue)(t,"string")||i["default"].pattern(s,t,e,l,n)}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=s.type,r=[],c=s.required||!s.required&&e.hasOwnProperty(s.field);if(c){if((0,h.isEmptyValue)(t,l)&&!s.required)return a();i["default"].required(s,t,e,r,n,l),(0,h.isEmptyValue)(t,l)||i["default"].type(s,t,e,r,n)}a(r)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var l=[],r=s.required||!s.required&&e.hasOwnProperty(s.field);if(r){if((0,h.isEmptyValue)(t)&&!s.required)return a();i["default"].required(s,t,e,l,n),(0,h.isEmptyValue)(t)||(i["default"].type(s,t,e,l,n),t&&i["default"].range(s,t.getTime(),e,l,n))}a(l)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(493),i=e(l),h=a(490);t["default"]=n,s.exports=t["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t,a,e,n){var i=[],r=Array.isArray(t)?"array":"undefined"==typeof t?"undefined":l(t);h["default"].required(s,t,e,i,n,r),a(i)}Object.defineProperty(t,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol?"symbol":typeof s},i=a(493),h=e(i);t["default"]=n,s.exports=t["default"]},function(s,t){"use strict";function a(){return{"default":"Validation error on field %s",required:"%s is required","enum":"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s","boolean":"%s is not a %s",integer:"%s is not an %s","float":"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var s=JSON.parse(JSON.stringify(this));return s.clone=this.clone,s}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=a;t.messages=a()},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-form-item","class":{"is-error":""!==error,"is-validating":validating,"is-required":isRequired||required}},[label?_h("label",{staticClass:"el-form-item__label",style:labelStyle},["\n "+_s(label+form.labelSuffix)+"\n "]):_e()," ",_h("div",{staticClass:"el-form-item__content",style:contentStyle},[_t("default")," ",_h("transition",{attrs:{name:"md-fade-bottom"}},[""!==error?_h("div",{staticClass:"el-form-item__error"},[_s(error)]):_e()])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(516),n=a(522);e.install=function(s){s.component(e.name,e),s.component(n.name,n)},s.exports=e},function(s,t,a){var e,n;e=a(517);var l=a(521);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(518),l=e(n);s.exports={name:"el-tabs",components:{ElTab:l["default"]},props:{type:String,tabPosition:String,activeName:String,closable:!1,tabWidth:0},data:function(){return{tabs:[],children:null,activeTab:null,currentName:0,barStyle:""}},watch:{activeName:{handler:function(s){var t=this.$children[0]&&this.$children[0].key||"1";this.currentName=s||t}},currentName:function(){this.calcBarStyle()}},methods:{handleTabRemove:function(s,t){t.stopPropagation(),s.$destroy(!0);var a=this.tabs.indexOf(s);if(a!==-1&&this.tabs.splice(a,1),s.key===this.currentName){var e=this.$children.indexOf(s),n=this.$children[e+1],l=this.$children[e-1];this.currentName=n?n.key:l?l.key:"-1"}this.$emit("tab-remove",s.key)},handleTabClick:function(s,t){this.currentName=s.key,this.$emit("tab-click",s.key,t)},calcBarStyle:function(s){var t=this;if(this.type||!this.$refs.tabs)return{};var a={},e=0,n=0;this.tabs.every(function(s,a){var l=t.$refs.tabs[a].$el;return s.key!==t.currentName?(e+=l.clientWidth,!0):(n=l.clientWidth,!1)}),a.width=n+"px",a.transform="translateX("+e+"px)",s||(a.transition="transform .3s cubic-bezier(.645,.045,.355,1), -webkit-transform .3s cubic-bezier(.645,.045,.355,1)"),this.barStyle=a}},mounted:function(){var s=this;if(!this.currentName){var t=this.$children[0]&&this.$children[0].key||"1";this.currentName=this.activeName||t}this.$children.forEach(function(t){return s.tabs.push(t)}),this.$nextTick(function(){return s.calcBarStyle(!0)})}}},function(s,t,a){var e,n;e=a(519);var l=a(520);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";s.exports={name:"el-tab",props:{tab:{type:Object,required:!0},closable:Boolean}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-tabs__item","class":{"is-active":$parent.currentName===tab.key,"is-disabled":tab.disabled,"is-closable":closable}},["\n "+_s(tab.label)+"\n ",closable?_h("span",{staticClass:"el-icon-close",on:{click:function(s){$emit("remove",tab,s)}}}):_e()])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-tabs","class":[type?"el-tabs--"+type:""]},[_h("div",{staticClass:"el-tabs__header"},[tabs&&_l(tabs,function(s){return _h("el-tab",{ref:"tabs",refInFor:!0,attrs:{tab:s,closable:closable},on:{remove:handleTabRemove},nativeOn:{click:function(t){handleTabClick(s,t)}}})})," ",!this.type&&tabs.length>0?_h("div",{staticClass:"el-tabs__active-bar",style:barStyle}):_e()])," ",_h("div",{staticClass:"el-tabs__content"},[_t("default")])])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(523);var l=a(524);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";s.exports={name:"el-tab-pane",props:{label:{type:String,required:!0},name:String},data:function(){return{counter:0,transition:"",paneStyle:{position:"relative"},key:""}},created:function(){this.key||(this.key=this.$parent.$children.indexOf(this)+1+"")},computed:{show:function(){return this.$parent.currentName===this.key}},watch:{name:{immediate:!0,handler:function(s){this.key=s}},"$parent.currentName":function(s,t){this.key===s&&(this.transition=s>t?"slideInRight":"slideInLeft"),this.key===t&&(this.transition=t>s?"slideInRight":"slideInLeft")}}}},function(module,exports){module.exports={render:function(){with(this)return show&&$slots["default"]?_h("div",{staticClass:"el-tab-pane"},[_t("default")]):_e()},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(522);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){"use strict";var e=a(527);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(528);var l=a(535);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(529),l=e(n);t["default"]={name:"el-tree",props:{data:{type:Array},showCheckbox:{type:Boolean,"default":!1},props:{"default":function(){return{children:"children",label:"label",icon:"icon"}}},lazy:{type:Boolean,"default":!1},load:{type:Function}},created:function(){this.$isTree=!0,this.tree=new l["default"]({data:this.data,lazy:this.lazy,props:this.props,load:this.load})},data:function(){return{tree:{}}},components:{ElTreeNode:a(531)},computed:{children:{set:function(s){this.data=s},get:function(){return this.data}}},methods:{getCheckedNodes:function(s){return this.tree.getCheckedNodes(s)}}}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var l=a(530),i=e(l),h=function(){function s(t){var a=this;n(this,s);for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);if(this._isTree=!0,this.root=new i["default"]({data:this.data,lazy:this.lazy,props:this.props,load:this.load}),this.lazy&&this.load){var l=this.load;l(this.root,function(s){a.root.doCreateChildren(s)})}}return s.prototype.getCheckedNodes=function(s){var t=[],a=function e(a){var n=a.children;n.forEach(function(a){!s&&a.checked||s&&!a.hasChild&&a.checked?t.push(a.data):t.push(a.data),e(a)})};return a(this),t},s}();t["default"]=h},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var l=function(){function s(s,t){for(var a=0;a<t.length;a++){var e=t[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(t,a,e){return a&&s(t.prototype,a),e&&s(t,e),t}}(),i=a(413),h=e(i),r=0,c=function(s){for(var t=s.children,a=!0,e=!0,n=0,l=t.length;n<l;n++){var i=t[n];(i.checked!==!0||i.indeterminate)&&(a=!1),(i.checked!==!1||i.indeterminate)&&(e=!1)}a?s.setChecked(!0):a||e?e&&s.setChecked(!1):s.setChecked("half")},o=function(s,t){var a=s.props,e=s.data,n=a[t];return"function"==typeof n?n(e,s):"string"==typeof n?e[n]:"undefined"==typeof n?"":void 0},p=function(){function s(t){n(this,s),this.id=r++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.props=null,this.parent=null,this.lazy=!1;for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);if(this.level=-1,this.loaded=!1,this.children=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1),this.lazy!==!0&&this.data){var e=void 0;e=this.level===-1&&this.data instanceof Array?this.data:o(this,"children")||[];for(var l=0,i=e.length;l<i;l++){var h=e[l];this.insertChild(new s({data:h,parent:this,lazy:this.lazy,load:this.load,props:this.props}))}}}return s.prototype.insertChild=function(t,a){if(!t)throw new Error("insertChild error: child is required.");if(!t instanceof s)throw new Error("insertChild error: child should an instance of Node.");t.parent=this,t.level=this.level+1,"undefined"==typeof a?this.children.push(t):this.children.splice(a,0,t)},s.prototype.removeChild=function(s){var t=this.children.indexOf(s);t>-1&&(s.parent=null,this.children.splice(s,t))},s.prototype.expand=function(s){this.shouldLoadData()?this.loadData(function(t){t instanceof Array&&s()}):(this.expanded=!0,s&&s())},s.prototype.doCreateChildren=function(t){var a=this,e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];t.forEach(function(t){var n=new s((0,h["default"])({data:t,lazy:a.lazy,load:a.load,props:a.props},e));a.insertChild(n)})},s.prototype.collapse=function(){this.expanded=!1},s.prototype.shouldLoadData=function(){return this.lazy===!0&&this.load&&!this.loaded},s.prototype.hasChild=function(){var s=this.children;return!(!this.lazy||this.lazy===!0&&this.loaded===!0)||s&&s.length>0},s.prototype.setChecked=function(s,t){var a=this;this.indeterminate="half"===s,this.checked=s===!0;var e=function(){if(t)for(var e=a.children,n=0,l=e.length;n<l;n++){var i=e[n];i.setChecked(s!==!1,t)}};this.shouldLoadData()?this.loadData(function(){e()},{checked:s!==!1}):e();var n=this.parent;n.level!==-1&&c(n)},s.prototype.getChildren=function(){var s=this.data;if(!s)return null;var t=this.props,a="children";return t&&(a=t.children||"children"),void 0===s[a]&&(s[a]=null),s[a]},s.prototype.loadData=function(s){var t=this,a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(this.lazy===!0&&this.load&&!this.loaded){this.loading=!0;var e=this.load,n=function(e){t.loaded=!0,t.loading=!1,t.doCreateChildren(e,a),s&&s.call(t,e)};e(this,n)}else s&&s.call(this)},l(s,[{key:"label",get:function(){return o(this,"label")}},{key:"icon",get:function(){return o(this,"icon")}},{key:"isLeaf",get:function(){return!this.hasChild()}}]),s}();t["default"]=p},function(s,t,a){var e,n;e=a(532);var l=a(534);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(533),l=e(n);t["default"]={name:"el-tree-node",props:{node:{"default":function(){return{}}}},components:{CollapseTransition:l["default"]},data:function(){return{$tree:null,expanded:!1,childrenRendered:!1,showCheckbox:!1}},methods:{handleExpandIconClick:function(s){var t=this,a=s.target;"DIV"!==a.tagName.toUpperCase()&&"DIV"!==a.parentNode.nodeName.toUpperCase()||"LABLE"===a.nodeName.toUpperCase()||(this.expanded?(this.node.collapse(),this.expanded=!1):this.node.expand(function(){t.expanded=!0,t.childrenRendered=!0}))},handleUserClick:function(){this.node.indeterminate&&this.node.setChecked(this.node.checked,!0)},handleCheckChange:function(s){this.node.indeterminate||this.node.setChecked(s,!0)}},created:function(){var s=this.$parent;s.$isTree?this.$tree=s:this.$tree=s.$tree;var t=this.$tree;t||console.warn("Can not find node's tree."),this.showCheckbox=t.showCheckbox}}},function(s,t){"use strict";function a(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var e=function(){function s(){a(this,s)}return s.prototype.beforeEnter=function(s){s.dataset.oldPaddingTop=s.style.paddingTop,s.dataset.oldPaddingBottom=s.style.paddingBottom,s.style.height="0",s.style.paddingTop=0,s.style.paddingBottom=0},s.prototype.enter=function(s){s.dataset.oldOverflow=s.style.overflow,s.style.display="block",0!==s.scrollHeight?(s.style.height=s.scrollHeight+"px",s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom):(s.style.height="",s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom),s.style.overflow="hidden"},s.prototype.afterEnter=function(s){s.style.display="",s.style.height="",s.style.overflow=s.dataset.oldOverflow},s.prototype.beforeLeave=function(s){s.dataset.oldPaddingTop=s.style.paddingTop,s.dataset.oldPaddingBottom=s.style.paddingBottom,s.dataset.oldOverflow=s.style.overflow,s.style.display="block",0!==s.scrollHeight&&(s.style.height=s.scrollHeight+"px"),s.style.overflow="hidden"},s.prototype.leave=function(s){0!==s.scrollHeight&&setTimeout(function(){s.style.height=0,s.style.paddingTop=0,s.style.paddingBottom=0})},s.prototype.afterLeave=function(s){s.style.display=s.style.height="",s.style.overflow=s.dataset.oldOverflow,s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom},s}();t["default"]={functional:!0,render:function(s,t){var a=t.children,n={on:new e};return a=a.map(function(s){return s.data["class"]=["collapse-transition"],s}),s("transition",n,a)}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-tree-node","class":{expanded:childrenRendered&&expanded}},[_h("div",{staticClass:"el-tree-node__content",style:{"padding-left":16*node.level+"px"},on:{click:handleExpandIconClick}},[_h("span",{staticClass:"el-tree-node__expand-icon","class":{"is-leaf":node.isLeaf,expanded:!node.isLeaf&&expanded}})," ",showCheckbox?_h("el-checkbox",{directives:[{name:"model",value:node.checked,expression:"node.checked"}],attrs:{indeterminate:node.indeterminate},domProps:{value:node.checked},on:{change:handleCheckChange,input:function(s){node.checked=s}},nativeOn:{click:function(s){handleUserClick(s)}}}):_e()," ",node.loading?_h("span",{staticClass:"el-tree-node__icon el-icon-loading"}):_e()," ",_h("span",{staticClass:"el-tree-node__label"},[_s(node.label)])])," ",_h("collapse-transition",[_h("div",{directives:[{name:"show",value:expanded,expression:"expanded"}],staticClass:"el-tree-node__children"},[node.children&&_l(node.children,function(s){return _h("el-tree-node",{attrs:{node:s}})})])])])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-tree"},[tree.root.children&&_l(tree.root.children,function(s){return _h("el-tree-node",{attrs:{node:s}})})])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(537);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(538);var l=a(539);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0;var a={success:"el-icon-circle-check",warning:"el-icon-warning",error:"el-icon-circle-cross"};t["default"]={name:"el-alert",props:{title:{type:String,"default":"",required:!0},description:{type:String,"default":""},type:{type:String,"default":"info"},closable:{type:Boolean,"default":!0},closeText:{type:String,"default":""},showIcon:{type:Boolean,"default":!1}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return a[this.type]||"el-icon-information"},isBigIcon:function(){return this.description?"is-big":""},isBoldTitle:function(){return this.description?"is-bold":""}}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"el-alert-fade"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-alert","class":[typeClass]},[showIcon?_h("i",{staticClass:"el-alert__icon","class":[iconClass,isBigIcon]}):_e()," ",_h("div",{staticClass:"el-alert__content"},[title?_h("span",{staticClass:"el-alert__title","class":[isBoldTitle]},[_s(title)]):_e()," ",description?_h("p",{staticClass:"el-alert__description"},[_s(description)]):_e()," ",_h("i",{directives:[{name:"show",value:closable,expression:"closable"
}],staticClass:"el-alert__closebtn","class":{"is-customed":""!==closeText,"el-icon-close":""===closeText},on:{click:function(s){close()}}},[_s(closeText)])])])])},staticRenderFns:[]}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(541),l=e(n);s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(2),l=e(n),i=l["default"].extend(a(542)),h=void 0,r=[],c=1,o=function p(s){s=s||{};var t=s.onClose,a="notification_"+c++;s.onClose=function(){p.close(a,t)},h=new i({data:s}),h.id=a,h.vm=h.$mount(),document.body.appendChild(h.vm.$el),h.vm.visible=!0,h.dom=h.vm.$el;for(var e=0,n=0,l=r.length;n<l;n++)e+=r[n].$el.offsetHeight+16;e+=16,h.top=e,r.push(h)};o.close=function(s,t){for(var a=void 0,e=void 0,n=0,l=r.length;n<l;n++)if(s===r[n].id){"function"==typeof t&&t(r[n]),a=n,e=r[n].dom.offsetHeight,r.splice(n,1);break}if(l>1)for(n=a;n<l-1;n++)r[n].dom.style.top=parseInt(r[n].dom.style.top,10)-e-16+"px"},t["default"]=o},function(s,t,a){var e,n;e=a(543);var l=a(544);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0;var a={success:"circle-check",info:"information",warning:"warning",error:"circle-cross"};t["default"]={data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",onClose:null,closed:!1,top:null,timer:null}},computed:{typeClass:function(){return this.type&&a[this.type]?"el-icon-"+a[this.type]:""}},watch:{closed:function(s){var t=this;s&&(this.visible=!1,this.$el.addEventListener("transitionend",function(){t.$destroy(!0),t.$el.parentNode.removeChild(t.$el)}))}},methods:{handleClose:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var s=this;this.duration>0&&(this.timer=setTimeout(function(){s.closed||s.handleClose()},this.duration))}},mounted:function(){var s=this;this.duration>0&&(this.timer=setTimeout(function(){s.closed||s.handleClose()},this.duration))}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"el-notification-fade"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-notification",style:{top:top?top+"px":"auto"},on:{mouseenter:function(s){clearTimer()},mouseleave:function(s){startTimer()}}},[type?_h("i",{staticClass:"el-notification__icon","class":[typeClass]}):_e()," ",_h("div",{staticClass:"el-notification__group",style:{"margin-left":typeClass?"55px":"0"}},[_h("span",[_s(title)])," ",_h("p",[_s(message)])," ",_h("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(s){handleClose()}}})])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(546);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(547);var l=a(549);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(304),l=e(n),i=a(374),h=e(i),r=a(548);t["default"]={name:"ElSlider",props:{min:{type:Number,"default":0},max:{type:Number,"default":100},step:{type:Number,"default":1},defaultValue:{type:Number,"default":0},value:{type:Number,"default":0},showInput:{type:Boolean,"default":!1},showStops:{type:Boolean,"default":!1}},components:{ElInputNumber:h["default"]},data:function(){return{inputValue:null,timeout:null,showTip:!1,hovering:!1,dragging:!1,popper:null,newPos:null,oldValue:this.value,currentPosition:(this.value-this.min)/(this.max-this.min)*100+"%"}},watch:{inputValue:function(s){this.$emit("input",Number(s))},showTip:function(s){var t=this;s?this.$nextTick(function(){t.updatePopper()}):this.timeout=setTimeout(function(){t.popper&&(t.popper.destroy(),t.popper=null)},300)},value:function(s){var t=this;return this.$nextTick(function(){t.updatePopper()}),s<this.min?void this.$emit("input",this.min):s>this.max?void this.$emit("input",this.max):(this.inputValue=s,void this.setPosition(100*(s-this.min)/(this.max-this.min)))}},methods:{handlePopperStyle:function(){var s={top:"bottom",bottom:"top"},t=this.popper._popper.getAttribute("x-placement").split("-")[0],a=s[t];this.popper._popper.classList.add(t),this.popper._popper.classList.remove(s[t]),this.popper._popper.style.transformOrigin="center "+a},updatePopper:function(){var s=this;this.popper?(clearTimeout(this.timeout),this.popper.update(),this.handlePopperStyle()):(this.popper=new l["default"](this.$refs.button,this.$refs.pop,{gpuAcceleration:!1,placement:"top"}),this.popper.onCreate(function(){s.handlePopperStyle()}),this.updatePopper())},setPosition:function(s){if(s>=0&&s<=100){var t=100/((this.max-this.min)/this.step),a=Math.round(s/t);this.$emit("input",Math.round(a*t*(this.max-this.min)*.01+this.min)),this.currentPosition=(this.value-this.min)/(this.max-this.min)*100+"%",this.dragging||this.value!==this.oldValue&&(this.$emit("change",this.value),this.oldValue=this.value)}},onSliderClick:function(s){var t=s.clientX,a=this.$refs.slider.getBoundingClientRect().left,e=(t-a)/this.$sliderWidth*100;this.setPosition(e)},onInputChange:function(){""!==this.value&&(isNaN(this.value)||this.setPosition(100*(this.value-this.min)/(this.max-this.min)))}},computed:{$sliderWidth:function(){return parseInt((0,r.getStyle)(this.$refs.slider,"width"),10)},showTip:function(){return this.dragging||this.hovering},stops:function(){for(var s=(this.max-this.value)/this.step,t=[],a=parseFloat(this.currentPosition),e=100*this.step/(this.max-this.min),n=1;n<s;n++)t.push(a+n*e);return t}},mounted:function(){var s=this,t=0,a=0,e=0,n=function(a){s.dragging=!0,t=a.clientX,e=parseInt(s.currentPosition,10)},l=function(n){if(s.dragging){a=n.clientX;var l=(a-t)/s.$sliderWidth*100;s.newPos=e+l,s.setPosition(s.newPos)}},i=function h(){s.dragging&&(s.dragging=!1,s.setPosition(s.newPos),window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",h))};this.$refs.button.addEventListener("mousedown",function(s){n(s),window.addEventListener("mousemove",l),window.addEventListener("mouseup",i)})},created:function(){("number"!=typeof this.value||this.value<this.min||this.value>this.max)&&this.$emit("input",this.min),this.inputValue=this.inputValue||this.value},beforeDestroy:function(){this.popper&&this.popper.destroy()}}},function(s,t){function a(s){return s.replace(e,function(s,t,a,e){return e?a.toUpperCase():a}).replace(n,"Moz$1")}var e=/([\:\-\_]+(.))/g,n=/^moz([A-Z])/,l=Number(document.documentMode),i=l<9?function(s,t){if(!s||!t)return null;t=a(t),"float"===t&&(t="styleFloat");try{switch(t){case"opacity":try{return s.filters.item("alpha").opacity/100}catch(e){return 1}break;default:return s.style[t]||s.currentStyle?s.currentStyle[t]:null}}catch(e){return s.style[t]}}:function(s,t){if(!s||!t)return null;t=a(t),"float"===t&&(t="cssFloat");try{var e=document.defaultView.getComputedStyle(s,"");return s.style[t]||e?e[t]:null}catch(n){return s.style[t]}},h=function(s,t,e){if(s&&t)if("object"==typeof t)for(var n in t)t.hasOwnProperty(n)&&h(s,n,t[n]);else t=a(t),"opacity"===t&&l<9?s.style.filter=isNaN(e)?"":"alpha(opacity="+100*e+")":s.style[t]=e};s.exports={getStyle:i,setStyle:h}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-slider"},[showInput?_h("el-input-number",{directives:[{name:"model",value:inputValue,expression:"inputValue"}],ref:"input",staticClass:"el-slider__input",attrs:{step:step,min:min,max:max,size:"small"},domProps:{value:inputValue},on:{input:function(s){inputValue=s}},nativeOn:{keyup:function(s){onInputChange()}}}):_e()," ",_h("div",{ref:"slider",staticClass:"el-slider__runway","class":{"show-input":showInput},on:{click:onSliderClick}},[_h("div",{staticClass:"el-slider__bar",style:{width:currentPosition}})," ",_h("div",{ref:"button",staticClass:"el-slider__button-wrapper",style:{left:currentPosition},on:{mouseenter:function(s){hovering=!0},mouseleave:function(s){hovering=!1}}},[_h("div",{staticClass:"el-slider__button","class":{hover:hovering,dragging:dragging}})])," ",_h("transition",{attrs:{name:"popper-fade"}},[_h("div",{directives:[{name:"show",value:showTip,expression:"showTip"}],ref:"pop",staticClass:"el-slider__pop"},[_s(value)])])," ",stops&&_l(stops,function(s){return showStops?_h("div",{staticClass:"el-slider__stop",style:{left:s+"%"}}):_e()})])])},staticRenderFns:[]}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(551),l=e(n);l["default"].name="loading",s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(552),l=e(n);t.install=function(s){var t=function(t,e){e.value?s.nextTick(function(){e.modifiers.fullscreen?(t.originalPosition=document.body.style.position,t.originalOverflow=document.body.style.overflow,["top","right","bottom","left"].forEach(function(s){t.maskStyle[s]="0"}),t.maskStyle.position="fixed",t.spinnerStyle.position="fixed",a(document.body,t,e)):e.modifiers.body?(t.originalPosition=document.body.style.position,["top","left"].forEach(function(s){var a="top"===s?"scrollTop":"scrollLeft";t.maskStyle[s]=t.getBoundingClientRect()[s]+document.body[a]+document.documentElement[a]+"px"}),["height","width"].forEach(function(s){t.maskStyle[s]=t.getBoundingClientRect()[s]+"px"}),a(document.body,t,e)):(t.originalPosition=t.style.position,["top","right","bottom","left"].forEach(function(s){t.maskStyle[s]="0"}),a(t,t,e))}):t.domVisible&&(t.mask.style.display="none",t.spinner.style.display="none",t.domVisible=!1,e.modifiers.fullscreen&&(document.body.style.overflow=t.originalOverflow),e.modifiers.fullscreen||e.modifiers.body?document.body.style.position=t.originalPosition:t.style.position=t.originalPosition)},a=function(s,t,a){t.domVisible||(Object.keys(t.maskStyle).forEach(function(s){t.mask.style[s]=t.maskStyle[s]}),Object.keys(t.spinnerStyle).forEach(function(s){t.spinner.style[s]=t.spinnerStyle[s]}),"absolute"!==t.originalPosition&&(s.style.position="relative"),a.modifiers.fullscreen&&(s.style.overflow="hidden"),t.mask.style.display="block",t.spinner.style.display="inline-block",t.domVisible=!0,s.appendChild(t.mask),t.mask.appendChild(t.spinner),t.domInserted=!0)};s.directive("loading",{bind:function(s,a){s.mask=document.createElement("div"),s.mask.className="el-loading-mask",s.maskStyle={position:"absolute",zIndex:"10000",backgroundColor:"rgba(0, 0, 0, .65)",margin:"0"},s.spinner=(new l["default"]).el,s.spinnerStyle={position:"absolute"},t(s,a)},update:function(s,a){t(s,a)},unbind:function(s,t){s.domInserted&&(t.modifiers.fullscreen||t.modifiers.body?(document.body.removeChild(s.mask),s.mask.removeChild(s.spinner)):(s.removeChild(s.mask),s.mask.removeChild(s.spinner)))}})}},function(s,t){"use strict";function a(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var e=function n(){a(this,n);var s=document.createElement("div");s.classList.add("el-loading-spinner"),[1,2,3].forEach(function(t){var a=document.createElement("div");a.classList.add("el-loading-bubble","bubble"+t),s.appendChild(a)}),this.el=s};t["default"]=e},function(s,t,a){"use strict";s.exports=a(554)},function(s,t,a){var e,n;e=a(555);var l=a(556);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElIcon",props:{name:String}}},function(module,exports){module.exports={render:function(){with(this)return _h("i",{"class":"el-icon-"+name})},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(558);e.install=function(s){s.component("el-row",e)},s.exports=e},function(s,t,a){var e,n;e=a(559);var l=a(560);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElRow",props:{gutter:Number,type:String,justify:{type:String,"default":"start"},align:{type:String,"default":"top"}},computed:{style:function(){var s={};return this.gutter&&(s.marginLeft="-"+this.gutter/2+"px",s.marginRight=s.marginLeft),s}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-row","class":["start"!==justify?"is-justify-"+justify:"","top"!==align?"is-align-"+align:"",{"el-row--flex":"flex"===type}],style:style},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(562);e.install=function(s){s.component("el-col",e)},s.exports=e},function(s,t,a){var e,n;e=a(563);var l=a(564);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElCol",props:{span:{type:Number,required:!0},offset:Number,pull:Number,push:Number},computed:{gutter:function(){return this.$parent.gutter},style:function(){var s={};return this.gutter&&(s.paddingLeft=this.gutter/2+"px",s.paddingRight=s.paddingLeft),s}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-col","class":["el-col-"+span,offset?"el-col-offset-"+offset:"",pull?"el-col-pull-"+pull:"",push?"el-col-push-"+push:""],style:style},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(566);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(567),n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}function n(){}t.__esModule=!0;var l=a(568),i=e(l),h=a(571),r=e(h),c=a(578),o=e(c),p=a(580),_=e(p);t["default"]={name:"el-upload",components:{ElProgress:_["default"],UploadList:i["default"],Upload:r["default"],IframeUpload:o["default"]},props:{action:{type:String,required:!0},headers:{type:Object,"default":function(){return{}}},multiple:{type:Boolean,"default":!1},name:{type:String,"default":"file"},withCredentials:{type:Boolean,"default":!1},thumbnailMode:Boolean,showUploadList:{type:Boolean,"default":!0},accept:String,type:{type:String,"default":"select"},beforeUpload:Function,onRemove:{type:Function,"default":n},onChange:{type:Function,"default":n},onPreview:{type:Function,"default":n},onSuccess:{type:Function,"default":n},onError:{type:Function,"default":n}},data:function(){return{uploadedFiles:[],dragOver:!1,draging:!1,tempIndex:1}},methods:{handleStart:function(s){s.uid=Date.now()+this.tempIndex++;var t={status:"uploading",name:s.name,size:s.size,percentage:0,uid:s.uid,showProgress:!0};if(this.thumbnailMode)try{t.url=URL.createObjectURL(s)}catch(a){return void console.log(a)}this.uploadedFiles.push(t)},handleProgress:function(s,t){var a=this.getFile(t);a.percentage=s.percent},handleSuccess:function(s,t){var a=this.getFile(t);a&&(a.status="finished",a.response=s,this.onSuccess(a,this.uploadedFiles),setTimeout(function(){a.showProgress=!1},1e3))},handleError:function(s,t){var a=this.getFile(t),e=this.uploadedFiles;a.status="fail",e.splice(e.indexOf(a),1),this.onError(s,a,e)},handleRemove:function(s){var t=this.uploadedFiles;t.splice(t.indexOf(s),1),this.onRemove(s,t)},getFile:function(s){var t,a=this.uploadedFiles;return a.every(function(a){return t=s.uid===a.uid?a:null,!t}),t},handlePreview:function(s){"finished"===s.status&&this.onPreview(s)}},render:function(s){var t;this.showUploadList&&!this.thumbnailMode&&this.uploadedFiles.length&&(t=s(i["default"],{attrs:{files:this.uploadedFiles},on:{remove:this.handleRemove,preview:this.handlePreview}},[]));var a={props:{type:this.type,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,accept:this.thumbnailMode?"image/*":this.accept,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.handlePreview,"on-remove":this.handleRemove}},e="undefined"!=typeof FormData?s("upload",a,[this.$slots["default"]]):s("iframeUpload",a,[this.$slots["default"]]);return"select"===this.type?s("div",{"class":"el-upload"},[t,e,this.$slots.tip]):"drag"===this.type?s("div",{"class":"el-upload"},[e,this.$slots.tip,t]):void 0}}},function(s,t,a){var e,n;e=a(569);var l=a(570);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={props:{files:{type:Array,"default":function(){return[]}}},methods:{parsePercentage:function(s){return parseInt(s,10)}}}},function(module,exports){module.exports={render:function(){with(this)return _h("transition-group",{staticClass:"el-upload__files",attrs:{tag:"ul",name:"list"}},[files&&_l(files,function(s){return _h("li",{key:s,staticClass:"el-upload__file","class":{"is-finished":"finished"===s.status},on:{click:function(t){$emit("clickFile",s)}}},[_h("a",{staticClass:"el-upload__file__name",on:{click:function(t){$emit("preview",s)}}},[_m(0),_s(s.name)+"\n "])," ",_h("span",{directives:[{name:"show",value:"finished"===s.status,expression:"file.status === 'finished'"}],staticClass:"el-upload__btn-delete",on:{click:function(t){$emit("remove",s)}}},["删除"])," ",s.showProgress?_h("el-progress",{attrs:{"stroke-width":2,percentage:parsePercentage(s.percentage),status:"finished"===s.status&&s.showProgress?"success":""}}):_e()])})])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"el-icon-document"})}]}},function(s,t,a){var e,n;e=a(572);var l=a(577);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(573),l=e(n),i=a(574),h=e(i);t["default"]={components:{Cover:h["default"]},props:{type:String,action:{type:String,required:!0},name:{type:String,"default":"file"},headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,onPreview:{type:Function,"default":function(){}},onRemove:{type:Function,"default":function(){}}},data:function(){return{dragOver:!1,mouseover:!1}},computed:{lastestFile:function(){var s=this.$parent.uploadedFiles;return s[s.length-1]},showCover:function(){var s=this.lastestFile;return this.thumbnailMode&&s&&"fail"!==s.status},thumbnailMode:function(){return this.$parent.thumbnailMode}},methods:{isImage:function(s){return s.indexOf("image")!==-1},handleChange:function(s){var t=s.target.files;t&&this.uploadFiles(t)},uploadFiles:function(s){var t=this,a=Array.prototype.slice.call(s);this.multiple||(a=a.slice(0,1)),0!==a.length&&a.forEach(function(s){var a=t.isImage(s.type);t.thumbnailMode&&!a||t.upload(s)})},upload:function(s){var t=this;if(!this.beforeUpload)return this.post(s);var a=this.beforeUpload(s);a&&a.then?a.then(function(a){"[object File]"===Object.prototype.toString.call(a)?t.post(a):t.post(s)},function(){}):a!==!1&&this.post(s)},post:function(s){var t=this;this.onStart(s);var a=new FormData;a.append(this.name,s),(0,l["default"])(this.action,{headers:this.headers,withCredentials:this.withCredentials,file:s,filename:this.name,onProgress:function(a){t.onProgress(a,s)},onSuccess:function(a){t.onSuccess(a,s)},onError:function(a){t.onError(a,s)}})},onDrop:function(s){this.dragOver=!1,this.uploadFiles(s.dataTransfer.files)},handleClick:function(){this.$refs.input.click()}}}},function(s,t){"use strict";function a(s,t,a){var e="cannot post "+s+" "+a.status+"'",n=new Error(e);return n.status=a.status,n.method="post",n.url=s,n}function e(s){var t=s.responseText||s.response;if(!t)return t;try{return JSON.parse(t)}catch(a){return t}}function n(s,t){if("undefined"!=typeof XMLHttpRequest){var n=new XMLHttpRequest;n.upload&&(n.upload.onprogress=function(s){s.total>0&&(s.percent=s.loaded/s.total*100),t.onProgress(s)});var l=new FormData;t.data&&Object.keys(t.data).map(function(s){l.append(s,t.data[s])}),l.append(t.filename,t.file),n.onerror=function(s){t.onError(s)},n.onload=function(){return n.status<200||n.status>=300?t.onError(a(s,t,n),e(n)):void t.onSuccess(e(n))},n.open("post",s,!0),t.withCredentials&&"withCredentials"in n&&(n.withCredentials=!0);var i=t.headers||{};for(var h in i)i.hasOwnProperty(h)&&null!==i[h]&&n.setRequestHeader(h,i[h]);n.send(l)}}t.__esModule=!0,t["default"]=n},function(s,t,a){var e,n;e=a(575);var l=a(576);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={props:{image:{},onPreview:{type:Function,"default":function(){}},onRemove:{type:Function,"default":function(){}}},data:function(){return{mouseover:!1}}}},function(module,exports){module.exports={render:function(){with(this)return image?_h("div",{staticClass:"el-dragger__cover",on:{click:function(s){s.stopPropagation()}}},[_h("transition",{attrs:{name:"fade-in"}},["uploading"===image.status?_h("el-progress",{staticClass:"el-dragger__cover__progress",attrs:{percentage:image.percentage,"show-text":!1,status:"finished"===image.status?"success":""}}):_e()])," ","finished"===image.status?_h("div",{staticClass:"el-dragger__cover__content",on:{mouseenter:function(s){mouseover=!0},mouseleave:function(s){mouseover=!1}}},[_h("img",{attrs:{src:image.url}})," ",_h("transition",{attrs:{name:"fade-in"}},[_h("div",{directives:[{name:"show",value:mouseover,expression:"mouseover"}],staticClass:"el-dragger__cover__interact"},[_h("div",{staticClass:"el-draggeer__cover__btns"},[_h("span",{staticClass:"btn",on:{click:function(s){$parent.handleClick()}}},[_m(0),_m(1)])," ",_h("span",{staticClass:"btn",on:{click:function(s){onPreview(image)}}},[_m(2),_m(3)])," ",_h("span",{staticClass:"btn",on:{click:function(s){onRemove(image)}}},[_m(4),_m(5)])])])])," ",_h("transition",{attrs:{name:"md-fade-top"}},[_h("h4",{directives:[{name:"show",value:mouseover,expression:"mouseover"}],staticClass:"el-dragger__cover__title"},[_s(image.name)])])]):_e()]):_e()},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"el-icon-upload2"})},function(){with(this)return _h("span",["继续上传"])},function(){with(this)return _h("i",{staticClass:"el-icon-view"})},function(){with(this)return _h("span",["查看图片"])},function(){with(this)return _h("i",{staticClass:"el-icon-delete2"})},function(){with(this)return _h("span",["删除"])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-upload__inner","class":{"el-dragger":"drag"===type,"is-dragOver":dragOver,"is-showCover":showCover},on:{click:handleClick,drop:function(s){s.preventDefault(),onDrop(s)},dragover:function(s){s.preventDefault(),dragOver=!0},dragleave:function(s){s.preventDefault(),dragOver=!1}}},[showCover?_h("cover",{attrs:{image:lastestFile,"on-preview":onPreview,"on-remove":onRemove}}):_t("default")," "," ",_h("input",{ref:"input",staticClass:"el-upload__input",attrs:{type:"file",multiple:multiple,accept:accept},on:{change:handleChange}})])},staticRenderFns:[]}},function(s,t,a){var e,n;e=a(579),n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),s.exports=e},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(574),l=e(n);t["default"]={components:{Cover:l["default"]},props:{type:String,data:{},action:{type:String,required:!0},name:{type:String,"default":"file"},withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,onPreview:{type:Function,"default":function(){}},onRemove:{type:Function,"default":function(){}}},data:function(){return{dragOver:!1,mouseover:!1,domain:"",file:null,disabled:!1}},computed:{lastestFile:function(){var s=this.$parent.uploadedFiles;return s[s.length-1]},showCover:function(){var s=this.lastestFile;return this.thumbnailMode&&s&&"fail"!==s.status},thumbnailMode:function(){return this.$parent.thumbnailMode}},methods:{resetIframe:function(){var s=this.getIframeNode(),t=s.contentWindow,a=t.document;a.open("text/html","replace"),a.write(this.getIframeHTML(this.domain)),a.close()},getIframeHTML:function(s){var t="";return s&&(t='<script>document.domain="'+s+'";</script>'),'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n '+t+"\n </head>\n <body>\n </body>\n </html>\n "},isImage:function(s){return s.indexOf("image")!==-1},handleClick:function(){this.disabled||this.$refs.input.click()},handleChange:function(s){var t=s.target.files;this.file=t,this.onStart(t);var a=this.getFormNode(),e=this.getFormDataNode(),n=this.data;"function"==typeof n&&(n=n(t));var l=[];for(var i in n)n.hasOwnProperty(i)&&l.push('<input name="'+i+'" value="'+n[i]+'"/>');e.innerHTML=l.join(""),a.submit(),e.innerHTML="",this.disabled=!0},onLoad:function(){var s=void 0,t=this.file;if(t){try{var a=this.getIframeDocument(),e=a.getElementsByTagName("script")[0];e&&e.parentNode===a.body&&a.body.removeChild(e),s=a.body.innerHTML,this.onSuccess(s,t)}catch(n){console.log(n),console.warn(!1,"cross domain error for Upload"),this.onError(n,t)}this.resetIframe(),this.disabled=!1}},onDrop:function(s){s.preventDefault(),this.dragOver=!1,this.uploadFiles(s.dataTransfer.files)},handleDragover:function(s){s.preventDefault(),this.onDrop=!0},handleDragleave:function(s){s.preventDefault(),this.onDrop=!1},getIframeNode:function(){return this.$refs.iframe},getIframeDocument:function(){return this.getIframeNode().contentDocument},getFormNode:function(){return this.$refs.form},getFormDataNode:function(){return this.$refs.data}},render:function(s){var t=s("cover",{attrs:{image:this.lastestFile,onPreview:this.onPreview,onRemove:this.onRemove}},[]),a="frame-"+Date.now();return s("div",{"class":{"el-upload__inner":!0,"el-dragger":"drag"===this.type,"is-dragOver":this.dragOver,"is-showCover":this.showCover},on:{click:this.handleClick},nativeOn:{drop:this.onDrop,dragover:this.handleDragover,dragleave:this.handleDragleave}},[s("iframe",{ref:"iframe",on:{load:this.onLoad},attrs:{name:a}},[]),s("form",{ref:"form",attrs:{action:this.action,target:a,enctype:"multipart/form-data",method:"POST"}},[s("input",{"class":"el-upload__input",attrs:{type:"file",name:"file",multiple:this.multiple,accept:this.accept},ref:"input",on:{change:this.handleChange}},[]),s("input",{attrs:{type:"hidden",name:"documentDomain",value:document.domain}},[]),s("span",{ref:"data"},[])]),this.showCover?t:this.$slots["default"]])}}},function(s,t,a){"use strict";var e=a(581);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(582);var l=a(583);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElProgress",props:{type:{type:String,"default":"line",validator:function(s){return["line","circle"].indexOf(s)>-1}},size:{type:String,validator:function(s){return!s||["large","small"].indexOf(s)>-1}},percentage:{type:Number,"default":0,required:!0,validator:function(s){return s>=0&&s<=100}},status:{type:String},strokeWidth:{type:Number,"default":6},textInside:{type:Boolean,"default":!1},width:{type:Number,"default":126},showText:{type:Boolean,"default":!0}},computed:{barStyle:function(){var s={};return s.width=this.percentage+"%",s},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},trackPath:function(){var s=parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10);return"M 50 50 m 0 -"+s+" a "+s+" "+s+" 0 1 1 0 "+2*s+" a "+s+" "+s+" 0 1 1 0 -"+2*s},perimeter:function(){var s=50-parseFloat(this.relativeStrokeWidth)/2;return 2*Math.PI*s},circlePathStyle:function(){var s=this.perimeter;return{strokeDasharray:s+"px,"+s+"px",strokeDashoffset:(1-this.percentage/100)*s+"px",transition:"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var s;switch(this.status){case"success":s="#13ce66";break;case"exception":s="#ff4949";break;default:s="#20a0ff"}return s},iconClass:function(){return"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-cross":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-progress","class":["el-progress--"+type,status?"is-"+status:"",{"el-progress--without-text":!showText,"el-progress--text-inside":textInside}]},["line"===type?_h("div",{staticClass:"el-progress-bar"},[_h("div",{staticClass:"el-progress-bar__outer",style:{height:strokeWidth+"px"}},[_h("div",{staticClass:"el-progress-bar__inner",style:barStyle},[showText&&textInside?_h("div",{staticClass:"el-progress-bar__innerText"},[_s(percentage)+"%"]):_e()])])]):_h("div",{staticClass:"el-progress-circle",style:{height:width+"px",width:width+"px"}},[_h("svg",{attrs:{viewBox:"0 0 100 100"}},[_h("path",{staticClass:"el-progress-circle__track",attrs:{d:trackPath,stroke:"#e5e9f2","stroke-width":relativeStrokeWidth,fill:"none"}})," ",_h("path",{staticClass:"el-progress-circle__path",style:circlePathStyle,attrs:{d:trackPath,"stroke-linecap":"round",stroke:stroke,"stroke-width":relativeStrokeWidth,fill:"none"}})])])," "," ",showText&&!textInside?_h("div",{staticClass:"el-progress__text",style:{fontSize:progressTextSize+"px"}},[status?_h("i",{"class":iconClass}):[_s(percentage)+"%"]," "]):_e()])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(585);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(586);var l=a(587);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"ElSpinner",props:{type:String,radius:{type:Number,"default":100},strokeWidth:{type:Number,"default":5},strokeColor:{type:String,"default":"#efefef"}}}},function(module,exports){module.exports={render:function(){with(this)return _h("span",{staticClass:"el-spinner"},[_h("svg",{staticClass:"el-spinner-inner",style:{width:radius/2+"px",height:radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[_h("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:strokeColor,"stroke-width":strokeWidth}})])])},staticRenderFns:[]}},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}var n=a(589),l=e(n);s.exports=l["default"]},function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(2),l=e(n),i=l["default"].extend(a(590)),h=void 0,r=[],c=1,o=function p(s){s=s||{},"string"==typeof s&&(s={message:s});var t=s.onClose,a="message_"+c++;s.onClose=function(){p.close(a,t)},h=new i({data:s}),h.id=a,h.vm=h.$mount(),document.body.appendChild(h.vm.$el),h.vm.visible=!0,h.dom=h.vm.$el,r.push(h)};o.close=function(s,t){for(var a=0,e=r.length;a<e;a++)if(s===r[a].id){"function"==typeof t&&t(r[a]),r.splice(a,1);break}},t["default"]=o},function(s,t,a){var e,n;e=a(591);var l=a(597);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),
"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t,a){"use strict";t.__esModule=!0,t["default"]={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",onClose:null,showClose:!1,closed:!1,timer:null}},computed:{typeImg:function(){return a(592)("./"+this.type+".svg")}},watch:{closed:function(s){var t=this;s&&(this.visible=!1,this.$el.addEventListener("transitionend",function(){t.$destroy(!0),t.$el.parentNode.removeChild(t.$el)}))}},methods:{handleClose:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var s=this;this.duration>0&&(this.timer=setTimeout(function(){s.closed||s.handleClose()},this.duration))}},mounted:function(){this.startTimer()}}},function(s,t,a){function e(s){return a(n(s))}function n(s){return l[s]||function(){throw new Error("Cannot find module '"+s+"'.")}()}var l={"./error.svg":593,"./info.svg":594,"./success.svg":595,"./warning.svg":596};e.keys=function(){return Object.keys(l)},e.resolve=n,s.exports=e,e.id=592},function(s,t){s.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDQwIDQwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCAzOS4xICgzMTcyMCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+aWNvbl9kYW5nZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZX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jI0LDEyLjE4NDkyOTUgMTkuNDQ0NDQyNywxMiAyMCwxMiBDMjAuNTU1NTU3MywxMiAyMS4wMjc3NzYsMTIuMTg0OTI5NSAyMS40MTY2NjY3LDEyLjU1NDc5MzUgQzIxLjgwNTU1NzMsMTIuOTI0NjU3NSAyMiwxMy4zNzM3NzI2IDIyLDEzLjkwMjE0OTEgQzIyLDE0LjQzMDUyNTUgMjEuODA1NTU3MywxNC44Nzk2NDA2IDIxLjQxNjY2NjcsMTUuMjQ5NTA0NiBDMjEuMDI3Nzc2LDE1LjYxOTM2ODcgMjAuNTU1NTU3MywxNS44MDQyOTgxIDIwLDE1LjgwNDI5ODEgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjRkZGRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMC4wMDAwMDAsIDIwLjAwMDAwMCkgc2NhbGUoMSwgLTEpIHRyYW5zbGF0ZSgtMjAuMDAwMDAwLCAtMjAuMDAwMDAwKSAiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="},function(module,exports){module.exports={render:function(){with(this)return _h("transition",{attrs:{name:"el-message-fade"}},[_h("div",{directives:[{name:"show",value:visible,expression:"visible"}],staticClass:"el-message",on:{mouseenter:clearTimer,mouseleave:startTimer}},[_h("img",{staticClass:"el-message__icon",attrs:{src:typeImg,alt:""}})," ",_h("div",{staticClass:"el-message__group"},[_h("p",[_s(message)])," ",showClose?_h("div",{staticClass:"el-message__closeBtn el-icon-close",on:{click:handleClose}}):_e()])])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(599);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(600);var l=a(601);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"el-badge",props:{value:{},max:Number,isDot:Boolean},computed:{content:function(){if(!this.isDot){var s=this.value,t=this.max;return"number"==typeof s&&"number"==typeof t&&t<s?t+"+":s}}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-badge"},[_t("default")," ",_h("sup",{staticClass:"el-badge__content","class":{"is-fixed":$slots["default"],"is-dot":isDot},domProps:{textContent:_s(content)}})])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(603);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(604);var l=a(605);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"el-card",props:["header","bodyStyle"]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-card"},[$slots.header?_h("div",{staticClass:"el-card__header"},[_t("header",[_s(header)])]):_e()," ",_h("div",{staticClass:"el-card__body",style:bodyStyle},[_t("default")])])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(607);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(608);var l=a(609);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"el-rate",data:function(){return{classMap:{},colorMap:{},classes:null,pointerAtLeftHalf:!1,currentValue:this.value,hoverIndex:-1}},props:{value:{type:Number,"default":0},lowThreshold:{type:Number,"default":2},highThreshold:{type:Number,"default":4},max:{type:Number,"default":5},colors:{type:Array,"default":function(){return["#F7BA2A","#F7BA2A","#F7BA2A"]}},voidColor:{type:String,"default":"#C6D1DE"},disabledVoidColor:{type:String,"default":"#EFF2F7"},iconClasses:{type:Array,"default":function(){return["el-icon-star-on","el-icon-star-on","el-icon-star-on"]}},voidIconClass:{type:String,"default":"el-icon-star-off"},disabledVoidIconClass:{type:String,"default":"el-icon-star-on"},disabled:{type:Boolean,"default":!1},allowHalf:{type:Boolean,"default":!1},showText:{type:Boolean,"default":!1},textColor:{type:String,"default":"1f2d3d"},texts:{type:Array,"default":function(){return["极差","失望","一般","满意","惊喜"]}},textTemplate:{type:String,"default":"{value}"}},computed:{text:function(){var s="";return s=this.disabled?this.textTemplate.replace(/\{\s*value\s*\}/,this.value):this.texts[Math.ceil(this.currentValue)-1]},decimalStyle:function(){var s="";return this.disabled&&(s=(this.valueDecimal<50?0:50)+"%"),this.allowHalf&&(s="50%"),{color:this.activeColor,width:s}},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)},decimalIconClass:function(){return this.getValueFromMap(this.value,this.classMap)},voidClass:function(){return this.disabled?this.classMap.disabledVoidClass:this.classMap.voidClass},activeClass:function(){return this.getValueFromMap(this.currentValue,this.classMap)},activeColor:function(){return this.getValueFromMap(this.currentValue,this.colorMap)},classes:function(){var s=[],t=0,a=this.currentValue;for(this.allowHalf&&this.currentValue!==Math.floor(this.currentValue)&&a--;t<a;t++)s.push(this.activeClass);for(;t<this.max;t++)s.push(this.voidClass);return s}},watch:{value:function(s){this.$emit("change",s),this.currentValue=s}},methods:{getValueFromMap:function(s,t){var a="";return a=s<=this.lowThreshold?t.lowColor||t.lowClass:s>=this.highThreshold?t.highColor||t.highClass:t.mediumColor||t.mediumClass},showDecimalIcon:function(s){var t=this.disabled&&this.valueDecimal>0&&s-1<this.value&&s>this.value,a=this.allowHalf&&this.pointerAtLeftHalf&&(s-.5).toFixed(1)===this.currentValue.toFixed(1);return t||a},getIconStyle:function(s){var t=this.disabled?this.colorMap.disabledVoidColor:this.colorMap.voidColor;return{color:s<=this.currentValue?this.activeColor:t}},selectValue:function(s){this.disabled||(this.allowHalf&&this.pointerAtLeftHalf?this.$emit("input",this.currentValue):this.$emit("input",s))},setCurrentValue:function(s,t){if(!this.disabled){if(this.allowHalf){var a=t.target;a.classList.contains("el-rate__item")&&(a=a.querySelector(".el-rate__icon")),a.classList.contains("el-rate__decimal")&&(a=a.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=a.clientWidth,this.currentValue=this.pointerAtLeftHalf?s-.5:s}else this.currentValue=s;this.hoverIndex=s}},resetCurrentValue:function(){this.disabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0),this.classMap={lowClass:this.iconClasses[0],mediumClass:this.iconClasses[1],highClass:this.iconClasses[2],voidClass:this.voidIconClass,disabledVoidClass:this.disabledVoidIconClass},this.colorMap={lowColor:this.colors[0],mediumColor:this.colors[1],highColor:this.colors[2],voidColor:this.voidColor,disabledVoidColor:this.disabledVoidColor}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-rate"},[max&&_l(max,function(s){return _h("span",{staticClass:"el-rate__item",style:{cursor:disabled?"auto":"pointer"},on:{mousemove:function(t){setCurrentValue(s,t)},mouseleave:resetCurrentValue,click:function(t){selectValue(s)}}},[_h("i",{staticClass:"el-rate__icon","class":[classes[s-1],{hover:hoverIndex===s}],style:getIconStyle(s)},[showDecimalIcon(s)?_h("i",{staticClass:"el-rate__decimal","class":decimalIconClass,style:decimalStyle}):_e()])])})," ",showText?_h("span",{staticClass:"el-rate__text",style:{color:textColor}},[_s(text)]):_e()])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(611);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(612);var l=a(613);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"el-steps",props:{space:Number,active:Number,direction:{type:String,"default":"horizontal"},finishStatus:{type:String,"default":"finish"},processStatus:{type:String,"default":"process"}},data:function(){return{steps:[]}},watch:{active:function(s,t){this.$emit("change",s,t)}},mounted:function(){this.steps.forEach(function(s,t){s.index=t})}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-steps","class":["is-"+direction]},[_t("default")])},staticRenderFns:[]}},function(s,t,a){"use strict";var e=a(615);e.install=function(s){s.component(e.name,e)},s.exports=e},function(s,t,a){var e,n;e=a(616);var l=a(617);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){"use strict";t.__esModule=!0,t["default"]={name:"el-step",props:{title:String,icon:String,description:String,status:{type:String,"default":"wait"}},data:function(){return{index:-1,style:{width:0,height:0},lineStyle:{width:0,height:0},mainOffset:0,currentStatus:this.status}},created:function(){this.$parent.steps.push(this)},methods:{updateStatus:function(s){var t=this.$parent.$children[this.index-1];s>this.index?this.currentStatus=this.$parent.finishStatus:s===this.index?this.currentStatus=this.$parent.processStatus:this.currentStatus="wait",t&&t.calcProgress(this.currentStatus)},calcProgress:function(s){var t=100;this.lineStyle.transitionDelay=150*this.index+"ms",s===this.$parent.processStatus?t=50:"wait"===s&&(t=0,this.lineStyle.transitionDelay=-150*this.index+"ms"),"vertical"===this.$parent.direction?this.lineStyle.height=t+"%":this.lineStyle.width=t+"%"}},mounted:function(){var s=this,t=this.$parent,a=t.space?t.space+"px":100/t.steps.length+"%";"horizontal"===t.direction?this.style={width:a}:t.steps[t.steps.length-1]!==this&&(this.style={height:a});var e=this.$watch("index",function(t){s.$watch("$parent.active",s.updateStatus,{immediate:!0}),e()})}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"el-step","class":["is-"+$parent.direction],style:style},[_h("div",{staticClass:"el-step__head","class":["is-"+currentStatus,{"is-text":!icon}]},[_h("div",{staticClass:"el-step__line","class":["is-"+$parent.direction,{"is-icon":icon}]},[_h("i",{staticClass:"el-step__line-inner",style:lineStyle})])," ","success"!==currentStatus&&"error"!==currentStatus?_t("icon",[icon?_h("i",{"class":["el-step__icon","el-icon-"+icon]}):_h("div",[_s(index+1)])," "]):_h("i",{staticClass:"el-step__icon","class":["el-icon-"+("success"===currentStatus?"check":"close")]})," "])," ",_h("div",{staticClass:"el-step__main",style:{marginLeft:mainOffset}},[_h("div",{ref:"title",staticClass:"el-step__title","class":["is-"+currentStatus]},[_t("title",[_s(title)])])," ",_h("div",{staticClass:"el-step__description","class":["is-"+currentStatus]},[_t("description",[_s(description)])])])])},staticRenderFns:[]}},function(s,t){},,,,,,,function(s,t,a){var e,n;a(626),e=a(628);var l=a(629);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{hovering:!1,isExpanded:!1}},computed:{blockClass:function(){return"demo-"+this.$router.currentRoute.path.split("/").pop()},iconClass:function(){return this.isExpanded?"el-icon-caret-top":"el-icon-caret-bottom"},controlText:function(){return this.isExpanded?"隐藏代码":"显示代码"},codeArea:function(){return this.$el.getElementsByClassName("meta")[0]},codeAreaHeight:function(){return this.$el.getElementsByClassName("description").length>0?Math.max(this.$el.getElementsByClassName("description")[0].clientHeight,this.$el.getElementsByClassName("highlight")[0].clientHeight):this.$el.getElementsByClassName("highlight")[0].clientHeight}},watch:{isExpanded:function(s){this.codeArea.style.height=s?this.codeAreaHeight+1+"px":"0"}},mounted:function(){var s=this;this.$nextTick(function(){var t=s.$el.getElementsByClassName("highlight")[0];0===s.$el.getElementsByClassName("description").length&&(t.style.width="100%",t.borderRight="none")})}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"demo-block","class":[blockClass,{hover:hovering}],on:{mouseenter:function(s){hovering=!0},mouseleave:function(s){hovering=!1}}},[_t("default")," ",_h("div",{staticClass:"demo-block-control",on:{click:function(s){isExpanded=!isExpanded}}},[_h("transition",{attrs:{name:"arrow-slide"}},[_h("i",{"class":[iconClass,{hovering:hovering}]})])," ",_h("transition",{attrs:{name:"text-slide"}},[_h("span",{directives:[{name:"show",value:hovering,expression:"hovering"}]},[_s(controlText)])])])])},staticRenderFns:[]}},function(s,t,a){var e,n;a(631);var l=a(633);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(module,exports,__webpack_require__){module.exports={render:function(){with(this)return _h("footer",{staticClass:"footer"},[_h("div",{staticClass:"container"},[_m(0)," ",_h("div",{staticClass:"footer-social"},[_h("el-popover",{ref:"weixin",staticClass:"footer-popover",attrs:{placement:"top",width:"120",trigger:"hover"}},[_m(1)," ",_m(2)])," ",_h("i",{directives:[{name:"popover",arg:"weixin"}],staticClass:"doc-icon-weixin elementdoc"})," ",_m(3)])])])},staticRenderFns:[function(){with(this)return _h("div",{staticClass:"footer-main"},[_h("p",{staticClass:"footer-main-title"},["Element 1.0 Hydrogen"])," ",_h("a",{staticClass:"footer-main-link",attrs:{href:"https://github.com/ElemeFE/element/issues",target:"_blank"}},["反馈建议"])," ",_h("a",{staticClass:"footer-main-link",attrs:{href:"https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md",target:"_blank"}},["贡献指南"])])},function(){with(this)return _h("div",{staticClass:"footer-popover-title"},["饿了么 UED"])},function(){with(this)return _h("img",{attrs:{src:__webpack_require__(634),alt:""}})},function(){with(this)return _h("a",{attrs:{href:"//github.com/elemefe",target:"_blank"}},[_h("i",{staticClass:"doc-icon-github elementdoc"})])}]}},function(s,t,a){s.exports=a.p+"static/qrcode.a88f522.png"},function(s,t,a){var e,n;a(636),e=a(638);var l=a(639);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,n._scopeId="data-v-3",s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={data:function(){return{active:"",isFixed:!1,isHome:!1,headerStyle:{},hangUp:!1}},watch:{"$route.path":function(s){this.isHome="/"===s,this.headerStyle.backgroundColor="rgba(32, 160, 255, "+(this.isHome?"0":"1")+")"}},mounted:function(){function s(s){var t=document.body.scrollTop;window.addEventListener("scroll",function(){var a=document.body.scrollTop,e=a-t;return 0!==e&&(s(e>0?"down":"up"),void(t=a))},!1)}var t=this;this.isHome="/"===this.$route.path,s(function(s){if(t.isHome){t.hangUp=!1,t.isFixed=!1,t.headerStyle.transition="";var a=200,e=Math.min(document.body.scrollTop,a)/a;return void(t.$refs.header.style.backgroundColor="rgba(32, 160, 255, "+e+")")}t.headerStyle.backgroundColor="rgba(32, 160, 255, 1)";var n=t.$el.getBoundingClientRect();n.bottom<0&&(t.isFixed=!0,t.$nextTick(function(){t.headerStyle.transition="all .5s ease"})),0===n.top&&(t.isFixed=!1,t.$nextTick(function(){t.headerStyle.transition=""})),t.hangUp="up"===s})}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"headerWrapper"},[_h("header",{ref:"header",staticClass:"header","class":{"header-home":isHome,"header-fixed":isFixed,"header-hangUp":hangUp},style:headerStyle},[_h("div",{staticClass:"container"},[_h("h1",[_h("router-link",{attrs:{to:"/"}},["Element",_m(0)])])," ",_h("ul",{staticClass:"nav"},[_h("li",{staticClass:"nav-item"},[_h("router-link",{attrs:{"active-class":"active",to:"/guide"}},["指南\n "])])," ",_h("li",{staticClass:"nav-item"},[_h("router-link",{attrs:{"active-class":"active",to:"/component"}},["组件\n "])])," ",_h("li",{staticClass:"nav-item"},[_h("router-link",{attrs:{"active-class":"active",to:"/resource",exact:""}},["资源\n "])])])])])])},staticRenderFns:[function(){with(this)return _h("span",["Beta"])}]}},function(s,t,a){var e,n;a(641),e=a(643);var l=a(644);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t){"use strict";t.__esModule=!0,t["default"]={props:{data:Array,base:{type:String,"default":""}},data:function(){return{highlights:[],navState:[]}}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"side-nav"},[_h("ul",[data&&_l(data,function(s){return _h("li",{staticClass:"nav-item"},[s.path?_h("router-link",{attrs:{"active-class":"active",to:base+s.path,exact:""},domProps:{textContent:_s(s.title||s.name)}}):_h("a",[_s(s.name)])," "," ",s.children?_h("ul",{staticClass:"pure-menu-list sub-nav"},[s.children&&_l(s.children,function(s){return _h("li",{staticClass:"nav-item"},[_h("router-link",{attrs:{"active-class":"active",to:base+s.path,exact:""},domProps:{textContent:_s(s.title||s.name)}})])})]):_e()," ",s.groups?[s.groups&&_l(s.groups,function(s){return _h("div",{staticClass:"nav-group"},[_h("div",{staticClass:"nav-group__title"},[_s(s.groupName)])," ",_h("ul",{staticClass:"pure-menu-list"},[s.list&&_l(s.list,function(s){return s.disabled?_e():_h("li",{staticClass:"nav-item"},[_h("router-link",{attrs:{"active-class":"active",to:base+s.path,exact:""},domProps:{textContent:_s(s.title)}})])})])])})]:_e()])})])])},staticRenderFns:[]}},function(s,t,a){var e,n;a(646),e=a(648);var l=a(649);n=e=e||{},"object"==typeof e["default"]&&(n=e=e["default"]),"function"==typeof n&&(n=n.options),n.render=l.render,n.staticRenderFns=l.staticRenderFns,s.exports=e},function(s,t){},,function(s,t,a){"use strict";function e(s){return s&&s.__esModule?s:{"default":s}}t.__esModule=!0;var n=a(16),l=e(n);t["default"]={data:function(){return{currentComponent:null,nav:[],currentIndex:-1,leftNav:null,rightNav:null}},watch:{"$route.path":function(){this.updateNav()}},methods:{updateNav:function(){this.currentComponent="/"+this.$route.path.split("/")[2];for(var s=0,t=this.nav.length;s<t;s++)if(this.nav[s].path===this.currentComponent){this.currentIndex=s;break}this.leftNav=this.nav[this.currentIndex-1],this.rightNav=this.nav[this.currentIndex+1]},handleNavClick:function(s){this.$router.push("/component"+("prev"===s?this.leftNav.path:this.rightNav.path))}},created:function(){var s=this;this.nav=l["default"][0].children.concat(l["default"][1]),l["default"][2].groups.map(function(s){return s.list}).forEach(function(t){s.nav=s.nav.concat(t)}),this.updateNav()}}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"footer-nav"},[leftNav?_h("span",{staticClass:"footer-nav-link footer-nav-left",on:{click:function(s){handleNavClick("prev")}}},[_m(0),"\n "+_s(leftNav.title||leftNav.name)+"\n "]):_e()," ",rightNav?_h("span",{staticClass:"footer-nav-link footer-nav-right",on:{click:function(s){handleNavClick("next")}}},["\n "+_s(rightNav.title||rightNav.name)+"\n ",_m(1)]):_e()])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"el-icon-arrow-left"})},function(){with(this)return _h("i",{staticClass:"el-icon-arrow-right"})}]}}]);
//# sourceMappingURL=app.cab3c91.js.map