webpackJsonp([47],{bga4: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}}},methods:{handleClose:function(t){console.log(t),alert("你点击了自定义按钮")},handleMenu:function(){this.actionsheetConf1.flag=!this.actionsheetConf1.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:"header"},[a("mt-header",{attrs:{title:"固定在顶部",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("div",{staticClass:"title"},[t._v("Header")]),t._v(" "),a("div",{staticClass:"row"},[a("mt-header",{attrs:{title:"标题过长会隐藏后面的内容啊哈哈哈哈"}},[a("div",{attrs:{slot:"left"},slot:"left"},[a("mt-button",{attrs:{icon:"back"}},[t._v("返回")])],1),t._v(" "),a("mt-button",{attrs:{slot:"right",icon:"more"},on:{click:t.handleMenu},slot:"right"})],1)],1),t._v(" "),a("div",{staticClass:"row"},[a("mt-header",{attrs:{title:"多个按钮"}},[a("div",{staticClass:"back",attrs:{slot:"left"},slot:"left"},[a("mt-button",{attrs:{icon:"back"}},[t._v("返回")]),t._v(" "),a("mt-button",{on:{click:t.handleClose}},[t._v("按钮左")])],1),t._v(" "),a("mt-button",{attrs:{slot:"right"},on:{click:t.handleClose},slot:"right"},[t._v("按钮右")])],1)],1),t._v(" "),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"}})],1)],1)])},staticRenderFns:[]};var s=a("VU/8")(n,o,!1,function(t){a("yFQh")},"data-v-02c2ab16",null);e.default=s.exports},yFQh:function(t,e){}}); //# sourceMappingURL=47.a00ca6268e58ed5fa1a7.js.map