u-top-tips.js 2.0 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-top-tips/u-top-tips"],{"168c":function(t,e,n){"use strict";var i=n("19bb"),u=n.n(i);u.a},"19bb":function(t,e,n){},"1f50":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var u=function(){var t=this,e=t.$createElement;t._self._c},r=[]},"62b9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-top-tips",props:{navbarHeight:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""}},data:function(){return{timer:null,isShow:!1,title:"",type:"primary",duration:2e3}},computed:{uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.topTips}},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};clearTimeout(this.timer),e.duration&&(this.duration=e.duration),e.type&&(this.type=e.type),this.title=e.title,this.isShow=!0,this.timer=setTimeout((function(){t.isShow=!1,clearTimeout(t.timer),t.timer=null}),this.duration)}}};e.default=i},"83e4":function(t,e,n){"use strict";n.r(e);var i=n("1f50"),u=n("a023");for(var r in u)"default"!==r&&function(t){n.d(e,t,(function(){return u[t]}))}(r);n("168c");var o,a=n("f0c5"),s=Object(a["a"])(u["default"],i["b"],i["c"],!1,null,"42af02b4",null,!1,i["a"],o);e["default"]=s.exports},a023:function(t,e,n){"use strict";n.r(e);var i=n("62b9"),u=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=u.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'uview-ui/components/u-top-tips/u-top-tips-create-component',
  4. {
  5. 'uview-ui/components/u-top-tips/u-top-tips-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("83e4"))
  7. })
  8. },
  9. [['uview-ui/components/u-top-tips/u-top-tips-create-component']]
  10. ]);