webpackJsonp([7],{"/265":function(t,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e=l("Au9i"),c={mixins:[l("5g4Q").a],data:function(){return{cellSwipeInfo:{info:{title:"左滑删除",id:(10*Math.random()+"").slice(0,1)}}}},methods:{toast:function(){Object(e.Toast)({message:"你点击了我",position:"bottom",duration:3e3})},getBtn:function(t){var i=this;return[{content:"Delete",style:{background:"red",color:"#fff"},handler:function(){i.handler(t.id)}}]},handler:function(t){e.MessageBox.confirm("确定执行删除?","温馨提示").then(function(i){Object(e.Toast)({message:"你删除了"+t,position:"bottom",duration:3e3})})}}},n={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("transition",{attrs:{name:"slide"}},[e("div",{staticClass:"cell"},[e("mt-header",{staticClass:"header",attrs:{title:"Cell",fixed:t.headerConf.fixed}},[e("div",{attrs:{slot:"left"},slot:"left"},[e("mt-button",{attrs:{icon:"back"},on:{click:t.back}},[t._v("返回")])],1)]),t._v(" "),e("div",{staticClass:"content"},[e("mt-cell",{attrs:{title:"标题文字"}}),t._v(" "),e("mt-cell",{attrs:{title:"标题文字",value:"说明文字"}}),t._v(" "),e("mt-cell",{attrs:{title:"标题文字",to:"/ui/toast","is-link":"",value:"带链接"}}),t._v(" "),e("mt-cell",{attrs:{title:"标题文字",icon:"more",value:"带 icon more"}}),t._v(" "),e("mt-cell",{attrs:{title:"标题文字",icon:"back",value:"带 icon back"}}),t._v(" "),e("mt-cell",{attrs:{title:"标题文字"}},[e("span",[t._v("icon 是图片")]),t._v(" "),e("img",{attrs:{slot:"icon",src:l("7Otq"),width:"24",height:"24"},slot:"icon"})]),t._v(" "),e("mt-cell",{attrs:{value:"自定义"}},[e("div",{attrs:{slot:"title"},slot:"title"},[t._v("自定义标题")])]),t._v(" "),e("mt-cell",{attrs:{title:"标题文字","is-link":""}},[e("span",{staticStyle:{color:"green"}},[t._v("这里是元素")])]),t._v(" "),e("mt-cell",{attrs:{title:"标题",label:"描述信息","is-link":""}}),t._v(" "),e("mt-cell",{attrs:{title:"标题文字"}},[e("mt-button",{attrs:{type:"primary"},on:{click:t.toast}},[t._v("按钮")])],1),t._v(" "),e("mt-cell-swipe",{attrs:{title:t.cellSwipeInfo.info.title,right:t.getBtn(t.cellSwipeInfo.info)}}),t._v(" "),e("mt-cell-swipe",{attrs:{title:"右滑删除",left:t.getBtn(t.cellSwipeInfo.info)}}),t._v(" "),e("mt-cell-swipe",{attrs:{title:"左滑删除",right:t.getBtn(t.cellSwipeInfo.info)}})],1)],1)])},staticRenderFns:[]};var s=l("VU/8")(c,n,!1,function(t){l("3719")},"data-v-2e28fcdc",null);i.default=s.exports},3719:function(t,i){},"7Otq":function(t,i){t.exports="data:image/png;base64,[encoded data, 9132 characters]"}});
//# sourceMappingURL=7.af2b99ef90039e044b70.js.map