tipPop.js 1.6 KB
"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);