78.js 1.8 KB

12
  1. /*! NutUI v1.2.2 Tue May 15 2018 17:51:06 GMT+0800 (中国标准时间) */
  2. webpackJsonpnutui([78],{1039:function(t,o,n){o=t.exports=n(2)(),o.push([t.i,"",""])},1138: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.showLoading1}},[t._v("自定义ICON")]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showLoading2}},[t._v("禁止点击关闭,4秒后自动关闭")]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showLoading3}},[t._v("自定义文字及颜色")]),t._v(" "),n("a",{staticClass:"button button-primary",attrs:{href:"javascript:;"},on:{click:t.showLoading4}},[t._v("渐隐渐现")])],1)},staticRenderFns:[]}},1231:function(t,o,n){var i=n(1039);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(3)("3fb26b5b",i,!0,{})},802:function(t,o,n){function i(t){n(1231)}var a=n(1)(n(893),n(1138),i,null,null);t.exports=a.exports},893:function(t,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={data:function(){return{loading1:null,loading2:null,loading3:null,loading4:null}},mounted:function(){this.loading1=this.$loading({iconUrl:"//misc.360buyimg.com/mtd/pc/o2_toolbar/1.0.0/home/images/loading.gif"}),this.loading2=this.$loading({maxDuring:4e3,userClose:!1}),this.loading3=this.$loading({text:"LOADING",textColor:"rgba(255,255,255,.7)"}),this.loading4=this.$loading({fade:!0})},methods:{showLoading1:function(t){this.loading1.show()},showLoading2:function(t){this.loading2.show()},showLoading3:function(t){this.loading3.show()},showLoading4:function(t){this.loading4.show()}}}}});