yaofang/components/xpop/xpop.js

94 lines
3.5 KiB
JavaScript

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "components/xpop/xpop" ], {
"67bb": function(n, e, t) {
"use strict";
t.r(e);
var o = t("d156"), i = t.n(o);
for (var u in o) [ "default" ].indexOf(u) < 0 && function(n) {
t.d(e, n, function() {
return o[n];
});
}(u);
e["default"] = i.a;
},
"8c3c": function(n, e, t) {
"use strict";
t.r(e);
var o = t("b8c1"), i = t("67bb");
for (var u in i) [ "default" ].indexOf(u) < 0 && function(n) {
t.d(e, n, function() {
return i[n];
});
}(u);
var c = t("f0c5"), l = Object(c["a"])(i["default"], o["b"], o["c"], !1, null, "13085a74", null, !1, o["a"], void 0);
e["default"] = l.exports;
},
b8c1: function(n, e, t) {
"use strict";
t.d(e, "b", function() {
return i;
}), t.d(e, "c", function() {
return u;
}), t.d(e, "a", function() {
return o;
});
var o = {
uniPopup: function() {
return t.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(t.bind(null, "edb0"));
},
uniPopupDialog: function() {
return Promise.all([ t.e("common/vendor"), t.e("uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog") ]).then(t.bind(null, "b336"));
},
uniPopupMessage: function() {
return Promise.all([ t.e("common/vendor"), t.e("uni_modules/uni-popup/components/uni-popup-message/uni-popup-message") ]).then(t.bind(null, "36c1"));
}
}, i = function() {
var n = this.$createElement;
this._self._c;
}, u = [];
},
d156: function(n, e, t) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}), e.default = void 0;
var o = {
name: "xpop",
data: function() {
return {
msgType: "success",
cancelText: "关闭",
confirmText: "确定",
confirmTitle: "提示",
content: "",
call: null,
t: null
};
},
methods: {
messageToggle: function(n, e, t) {
this.t = n, e && (this.msgType = e), t && (this.confirmTitle = t), this.$refs.message.open();
},
dialogToggle: function(n, e, t, o, i, u, c) {
this.t = n, e && (this.type = e), t && (this.confirmTitle = t), o && (this.content = o),
u && (this.confirmText = u), c && (this.cancelText = c), i && (this.call = i), this.$refs.alertDialog.open();
},
dialogConfirm: function() {
if (this.call) {
var n = this.t, e = this.call;
n[e]();
}
},
dialogClose: function() {
console.log("点击关闭");
}
}
};
e.default = o;
}
} ]);
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ "components/xpop/xpop-create-component", {
"components/xpop/xpop-create-component": function(module, exports, __webpack_require__) {
__webpack_require__("543d")["createComponent"](__webpack_require__("8c3c"));
}
}, [ [ "components/xpop/xpop-create-component" ] ] ]);