tipPop.js
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
"use strict";
var common_vendor = require("../common/vendor.js");
if (!Array) {
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
_easycom_u_popup2();
}
const _easycom_u_popup = () => "../uni_modules/uview-plus/components/u-popup/u-popup.js";
if (!Math) {
_easycom_u_popup();
}
const _sfc_main = {
props: {
tipShow: {
type: Boolean,
default: false
},
integral: {
type: String,
default: 0
},
tipType: {
type: Number,
default: 0
}
},
emits: ["pointsBtns"],
setup(__props, { emit }) {
common_vendor.ref(false);
const pointsBtns = (type) => {
emit("pointsBtns", type);
};
return (_ctx, _cache) => {
return common_vendor.e({
a: __props.tipType == 0
}, __props.tipType == 0 ? {
b: common_vendor.t(__props.integral)
} : {}, {
c: common_vendor.t(__props.tipType == 0 ? "\u662F\u5426\u786E\u8BA4\u4F7F\u7528\u79EF\u5206\u5151\u6362" : __props.tipType == 1 ? "\u662F\u5426\u786E\u5B9A\u53D6\u6D88\u652F\u4ED8" : "\u662F\u5426\u786E\u5B9A\u53D6\u6D88\u8BA2\u5355"),
d: common_vendor.o(($event) => pointsBtns(0)),
e: common_vendor.o(($event) => pointsBtns(1)),
f: common_vendor.o(($event) => pointsBtns(0)),
g: common_vendor.p({
show: __props.tipShow,
round: 16,
safeAreaInsetBottom: false,
mode: "center"
})
});
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/vue/\u5927\u5065\u5EB7\u5546\u57CE/healthMall/componets/tipPop.vue"]]);
wx.createComponent(Component);