webpackJsonp([11],{KXMy:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});a("Au9i");var n={mixins:[a("5g4Q").a],data:function(){return{actionsheetConf1:{flag:!1,arr:[{name:"拍照",method:this.picture},{name:"从相册中选取",method:this.album}],cancelText:"取消按钮",closeOnClickModal:!1},actionsheetConf2:{flag:!1,arr:[{name:"拍照",method:this.picture},{name:"从相册中选取",method:this.album}],cancelText:"",closeOnClickModal:!0}}},methods:{toast:function(t){switch(t){case"default":this.actionsheetConf1.flag=!this.actionsheetConf1.flag;break;case"custom":this.actionsheetConf2.flag=!this.actionsheetConf2.flag}},picture:function(){alert("你点击了拍照")},album:function(){alert("你点击了相册")}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"slide"}},[a("div",{staticClass:"actionSheet"},[a("mt-header",{staticClass:"header",attrs:{title:"ActionSheet",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("mt-actionsheet",{attrs:{actions:t.actionsheetConf1.arr,cancelText:t.actionsheetConf1.cancelText,closeOnClickModal:t.actionsheetConf1.closeOnClickModal},model:{value:t.actionsheetConf1.flag,callback:function(e){t.$set(t.actionsheetConf1,"flag",e)},expression:"actionsheetConf1.flag"}}),t._v(" "),a("mt-actionsheet",{attrs:{actions:t.actionsheetConf2.arr,cancelText:t.actionsheetConf2.cancelText,closeOnClickModal:t.actionsheetConf2.closeOnClickModal},model:{value:t.actionsheetConf2.flag,callback:function(e){t.$set(t.actionsheetConf2,"flag",e)},expression:"actionsheetConf2.flag"}}),t._v(" "),a("mt-button",{attrs:{type:"default"},on:{click:function(e){return t.toast("default")}}},[t._v("带取消按钮")]),t._v(" "),a("mt-button",{attrs:{type:"default"},on:{click:function(e){return t.toast("custom")}}},[t._v("不带取消按钮")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(n,o,!1,function(t){a("catV")},"data-v-de85c1d4",null);e.default=c.exports},catV:function(t,e){}});
//# sourceMappingURL=11.7b24c49f53522507127c.js.map