| 12 |
- /*! NutUI v1.2.2 Tue May 15 2018 17:51:06 GMT+0800 (中国标准时间) */
- webpackJsonpnutui([55],{1048:function(t,o,s){o=t.exports=s(2)(),o.push([t.i,"",""])},1147:function(t,o){t.exports={render:function(){var t=this,o=t.$createElement,s=t._self._c||o;return s("div",[s("nut-demoheader",{attrs:{name:t.$route.name}}),t._v(" "),s("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:function(o){t.showToast("我只传了文案一个参数")}}},[t._v("只传文案")]),t._v(" "),s("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:function(o){t.showToast("我传了文案和显示时长两个参数,多行文字默认居中展示",4e3)}}},[t._v("设置显示时长")]),t._v(" "),s("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showToast3}},[t._v("传对象,包含ID,不居中")]),t._v(" "),s("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showToast4}},[t._v("与上一个示例ID相同")])],1)},staticRenderFns:[]}},1240:function(t,o,s){var n=s(1048);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);s(3)("43fe179a",n,!0,{})},825:function(t,o,s){function n(t){s(1240)}var a=s(1)(s(916),s(1147),n,null,null);t.exports=a.exports},916:function(t,o,s){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={data:function(){return{}},components:{},methods:{showToast:function(t,o){this.$toast(t,o)},showToast3:function(){this.$toast({msg:"我传了一个对象,包括id属性值,显示位置不居中,多行文字居左展示",id:"demo",center:!1,textAlignCenter:!1,fontSize:.24,bgColor:"rgba(0,0,0,.6)",bottom:1})},showToast4:function(){this.$toast({msg:"我传了一个对象,且id值与上一个示例的id值相同,将与上一个示例共享一个实例。",id:"demo"})}}}}});
|