/*! NutUI v1.2.2 Fri May 11 2018 20:03:58 GMT+0800 (中国标准时间) */ webpackJsonpnutui([60],{1068:function(t,n){t.exports={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("nut-demoheader",{attrs:{name:t.$route.name}}),t._v(" "),e("p",[t._v("默认用法")]),t._v(" "),e("p",[t._v(t._s(t.swActive))]),t._v(" "),e("nut-switch",{attrs:{active:t.swActive},on:{"update:active":function(n){t.swActive=n}}}),t._v(" "),e("p",[t._v("自定义颜色")]),t._v(" "),e("nut-switch",{attrs:{height:.3,width:.6,activeBgColor:"#9ABB82",inActiveBgColor:"#EAE7E2",btnColor:"#CBDDDD"}}),t._v(" "),e("p",[t._v("ON/OFF事件")]),t._v(" "),e("nut-switch",{on:{"switch-on":t.switchOnEvt,"switch-off":t.switchOffEvt}})],1)},staticRenderFns:[]}},1162:function(t,n,e){var i=e(970);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e(3)("0051ed7c",i,!0,{})},820:function(t,n,e){function i(t){e(1162)}var c=e(1)(e(911),e(1068),i,null,null);t.exports=c.exports},911:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={data:function(){return{swActive:!0}},methods:{switchOnEvt:function(){alert("on")},switchOffEvt:function(){alert("off")}}}},970:function(t,n,e){n=t.exports=e(2)(),n.push([t.i,"",""])}});