(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{113:function(t,n,o){"use strict";var e=o(57);o.n(e).a},114:function(t,n,o){(t.exports=o(12)(!1)).push([t.i,".demo-dialog .van-doc-demo-block > .van-button {\n margin-left: 15px;\n}\n.demo-dialog img {\n width: 100%;\n padding: 25px 20px 0;\n box-sizing: border-box;\n}\n",""])},213:function(t,n,o){"use strict";o.r(n);var e={i18n:{"zh-CN":{alert1:"提示弹窗",alert2:"提示弹窗(无标题)",confirm:"确认弹窗",asyncClose:"异步关闭",componentCall:"组件调用",content:"代码是写出来给人看的,附带能在机器上运行"},"en-US":{alert1:"Alert",alert2:"Alert without title",confirm:"Confirm dialog",asyncClose:"Async Close",componentCall:"Component Call"}},data:function(){return{show:!1,currentRate:0,image:"https://img.yzcdn.cn/public_files/2017/09/05/4e3ea0898b1c2c416eec8c11c5360833.jpg"}},methods:{onClickAlert:function(){this.$dialog.alert({title:this.$t("title"),message:this.$t("content")})},onClickAlert2:function(){this.$dialog.alert({message:this.$t("content")})},onClickConfirm:function(){this.$dialog.confirm({title:this.$t("title"),message:this.$t("content")})},onClickAsyncClose:function(){this.$dialog.confirm({title:this.$t("title"),message:this.$t("content"),beforeClose:function(t,n){"confirm"===t?setTimeout(n,1e3):n()}})}}},i=(o(113),o(7)),l=Object(i.a)(e,function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("demo-section",[o("demo-block",{attrs:{title:t.$t("alert1")}},[o("van-button",{attrs:{type:"primary",plain:""},on:{click:t.onClickAlert}},[t._v("\n "+t._s(t.$t("alert1"))+"\n ")]),o("van-button",{attrs:{type:"primary",plain:""},on:{click:t.onClickAlert2}},[t._v("\n "+t._s(t.$t("alert2"))+"\n ")])],1),o("demo-block",{attrs:{title:t.$t("confirm")}},[o("van-button",{attrs:{type:"primary",plain:""},on:{click:t.onClickConfirm}},[t._v("\n "+t._s(t.$t("confirm"))+"\n ")])],1),o("demo-block",{attrs:{title:t.$t("asyncClose")}},[o("van-button",{attrs:{type:"primary",plain:""},on:{click:t.onClickAsyncClose}},[t._v("\n "+t._s(t.$t("asyncClose"))+"\n ")])],1),o("demo-block",{attrs:{title:t.$t("componentCall")}},[o("van-button",{attrs:{type:"danger",plain:""},on:{click:function(n){t.show=!0}}},[t._v("\n "+t._s(t.$t("componentCall"))+"\n ")]),o("van-dialog",{attrs:{title:t.$t("title"),"show-cancel-button":"","lazy-render":!1},model:{value:t.show,callback:function(n){t.show=n},expression:"show"}},[o("img",{attrs:{src:t.image}})])],1)],1)},[],!1,null,null,null);n.default=l.exports},57:function(t,n,o){var e=o(114);"string"==typeof e&&(e=[[t.i,e,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};o(13)(e,i);e.locals&&(t.exports=e.locals)}}]);