92.js 2.6 KB

12
  1. /*! NutUI v1.2.8 Wed Jun 27 2018 20:09:26 GMT+0800 (CST) */
  2. webpackJsonpnutui([92],{1046:function(t,o,n){(t.exports=n(1)()).push([t.i,"",""])},1196:function(t,o){t.exports={render:function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",[n("nut-demoheader",{attrs:{name:t.$route.name}}),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showDialog1}},[t._v("自定义标题和内容")]),t._v(" "),n("div",{staticStyle:{display:"none"}},[n("pre",[n("code",{directives:[{name:"highlight",rawName:"v-highlight"}]},[t._v('@click="showDialog1"')])]),t._v(" "),n("pre",[n("code",{directives:[{name:"highlight",rawName:"v-highlight"}]},[t._v("export default {\n methods:{\n 'showDialog1'(){\n const options = {\n 'title':'自定义Dialog标题',\n 'content':'小屏或移动端浏览效果最佳'\n };\n\n this.$dialog(options);\n }\n }\n}")])])]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showDialog2}},[t._v("移除右上角关闭按钮")]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showDialog3}},[t._v("移除标题栏")]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showDialog4}},[t._v("移除按钮栏")]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showDialog5}},[t._v("事件")])],1)},staticRenderFns:[]}},1255:function(t,o,n){var i=n(1046);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(3)("27398221",i,!0,{})},826:function(t,o,n){var i=n(2)(n(925),n(1196),function(t){n(1255)},null,null);t.exports=i.exports},925:function(t,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={methods:{showDialog1:function(){this.$dialog({id:"demo1",title:"自定义Dialog标题",content:"小屏或移动端浏览效果最佳"})},showDialog2:function(){this.$dialog({id:"demo2",title:"自定义Dialog标题",content:"小屏或移动端浏览效果最佳",noCloseBtn:!0})},showDialog3:function(){this.$dialog({id:"demo3",content:"小屏或移动端浏览效果最佳",noHeader:!0})},showDialog4:function(){this.$dialog({title:"自定义Dialog标题",content:"小屏或移动端浏览效果最佳",noFooter:!0})},showDialog5:function(){var t={title:"自定义Dialog标题",content:"小屏或移动端浏览效果最佳",onOkBtn:function(t){alert("okBtn"),this.close()},onCancelBtn:function(t){alert("cancelBtn")},onCloseBtn:function(t){alert("closeBtn")},closeCallback:function(t){alert("will close")}};this.$dialog(t)}}}}});