yaofang/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.js

94 lines
3.1 KiB
JavaScript

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "uni_modules/uni-popup/components/uni-popup-message/uni-popup-message" ], {
"10ed": function(e, t, n) {
"use strict";
n.r(t);
var u = n("8911"), i = n.n(u);
for (var o in u) [ "default" ].indexOf(o) < 0 && function(e) {
n.d(t, e, function() {
return u[e];
});
}(o);
t["default"] = i.a;
},
"13ef": function(e, t, n) {
"use strict";
var u = n("ee52"), i = n.n(u);
i.a;
},
"244d": function(e, t, n) {
"use strict";
n.d(t, "b", function() {
return u;
}), n.d(t, "c", function() {
return i;
}), n.d(t, "a", function() {});
var u = function() {
var e = this.$createElement;
this._self._c;
}, i = [];
},
"36c1": function(e, t, n) {
"use strict";
n.r(t);
var u = n("244d"), i = n("10ed");
for (var o in i) [ "default" ].indexOf(o) < 0 && function(e) {
n.d(t, e, function() {
return i[e];
});
}(o);
n("13ef");
var a = n("f0c5"), s = Object(a["a"])(i["default"], u["b"], u["c"], !1, null, null, null, !1, u["a"], void 0);
t["default"] = s.exports;
},
8911: function(e, t, n) {
"use strict";
var u = n("4ea4");
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = void 0;
var i = u(n("407c")), o = {
name: "uniPopupMessage",
mixins: [ i.default ],
props: {
type: {
type: String,
default: "success"
},
message: {
type: String,
default: ""
},
duration: {
type: Number,
default: 3e3
},
maskShow: {
type: Boolean,
default: !1
}
},
data: function() {
return {};
},
created: function() {
this.popup.maskShow = this.maskShow, this.popup.messageChild = this;
},
methods: {
timerClose: function() {
var e = this;
0 !== this.duration && (clearTimeout(this.timer), this.timer = setTimeout(function() {
e.popup.close();
}, this.duration));
}
}
};
t.default = o;
},
ee52: function(e, t, n) {}
} ]);
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ "uni_modules/uni-popup/components/uni-popup-message/uni-popup-message-create-component", {
"uni_modules/uni-popup/components/uni-popup-message/uni-popup-message-create-component": function(module, exports, __webpack_require__) {
__webpack_require__("543d")["createComponent"](__webpack_require__("36c1"));
}
}, [ [ "uni_modules/uni-popup/components/uni-popup-message/uni-popup-message-create-component" ] ] ]);