webpackJsonp([48],{PhDa:function(t,e){},SkhH:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Au9i"),s={name:"Toast",mixins:[a("5g4Q").a],methods:{toast:function(t){switch(t){case"top":Object(o.Toast)({message:"弹出位置-上",position:"top",duration:3e3});break;case"middle":Object(o.Toast)({message:"弹出位置-中",position:"middle",duration:3e3});break;case"bottom":Object(o.Toast)({message:"弹出位置-下",position:"bottom",duration:3e3});break;case"icon":Object(o.Toast)({message:"操作成功",iconClass:"iconfont icon-caozuochenggong"})}}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"slide"}},[a("div",{staticClass:"toast"},[a("mt-header",{staticClass:"header",attrs:{title:"Toast",fixed:t.headerConf.fixed}},[a("div",{attrs:{slot:"left"},slot:"left"},[a("mt-button",{attrs:{icon:"back"},on:{click:t.back}},[t._v("返回")])],1)]),t._v(" "),a("div",{staticClass:"content"},[a("vue-scrollbar",{staticClass:"my-scrollbar",attrs:{speed:100}},[a("mt-button",{attrs:{type:"default"},on:{click:function(e){return t.toast("top")}}},[t._v("上方弹出Toast")]),t._v(" "),a("mt-button",{attrs:{type:"default"},on:{click:function(e){return t.toast("middle")}}},[t._v("中间弹出Toast")]),t._v(" "),a("mt-button",{attrs:{type:"default"},on:{click:function(e){return t.toast("bottom")}}},[t._v("下方弹出Toast")]),t._v(" "),a("mt-button",{attrs:{type:"default"},on:{click:function(e){return t.toast("icon")}}},[t._v("带图标的弹出框")])],1)],1)],1)])},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(t){a("PhDa")},"data-v-01fafd66",null);e.default=i.exports}}); //# sourceMappingURL=48.12952cc0eb69f4c9e4a2.js.map