flamingo-ui
Version:
火烈鸟UI组件库
176 lines (175 loc) • 6.32 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var stdin_exports = {};
__export(stdin_exports, {
default: () => stdin_default
});
module.exports = __toCommonJS(stdin_exports);
var import_index_sfc = require("./index-sfc.css");
var import_vue = require("vue");
var import_vue2 = require("vue");
const __default__ = {
name: "BottrustDialog"
};
const __vue_sfc__ = /* @__PURE__ */ Object.assign(__default__, {
props: {
BootTrustClose: {
type: String,
default: "https://gres.guopan.cn/png/20230313/boottrust-close.png"
},
product: {
type: String,
default: "66"
},
toKfSystem: {
type: Function,
default: () => {
}
},
// 回调函数
callback: {
type: Function
},
remove: Function
},
setup(__props, { expose }) {
expose();
const props = __props;
const show = (0, import_vue.ref)(true);
(0, import_vue.watch)(
() => show.value,
() => {
if (show.value == false) {
props.remove;
}
}
);
const fnCallback = (callback) => {
callback ? callback(close) : callback(location.href = "//vip.66sy.cn/embedded.mobileprovision");
};
const close = (e) => {
show.value = false;
};
const __returned__ = { show, props, fnCallback, close, watch: import_vue.watch, ref: import_vue.ref };
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
return __returned__;
}
});
const _hoisted_1 = { class: "fmg-boottrust" };
const _hoisted_2 = ["src"];
const _hoisted_3 = /* @__PURE__ */ (0, import_vue2.createElementVNode)(
"div",
{ class: "top" },
[
/* @__PURE__ */ (0, import_vue2.createElementVNode)("p", null, "\u201C\u4E3A\u6536\u4FE1\u4EBA\u7684\u4F01\u4E1A\u7EA7\u5F00\u53D1\u8005\u8D26\u53F7\u201D"),
/* @__PURE__ */ (0, import_vue2.createElementVNode)("p", null, "\u600E\u4E48\u89E3\u51B3"),
/* @__PURE__ */ (0, import_vue2.createElementVNode)("p", null, "\u4FE1\u4EFB\u6B64\u8BC1\u4E66")
],
-1
/* HOISTED */
);
const _hoisted_4 = { class: "bottom" };
const _hoisted_5 = { class: "trust" };
const _hoisted_6 = /* @__PURE__ */ (0, import_vue2.createElementVNode)(
"p",
null,
"\u65E0\u6CD5\u4FE1\u4EFB\u600E\u4E48\u529E\uFF1F",
-1
/* HOISTED */
);
const _hoisted_7 = /* @__PURE__ */ (0, import_vue2.createElementVNode)(
"p",
null,
"\u70B9\u51FB\u8BBE\u7F6E-->\u901A\u7528-->\u63CF\u8FF0\u6587\u4EF6\u4E0E\u8BBE\u5907\u7BA1\u7406\uFF0C\u5B8C\u6210\u4FE1\u4EFB",
-1
/* HOISTED */
);
function __vue_render__(_ctx, _cache, $props, $setup, $data, $options) {
return (0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)("div", _hoisted_1, [
$setup.show ? ((0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)(
"div",
{
key: 0,
class: "mask",
onTouchmove: _cache[3] || (_cache[3] = (0, import_vue2.withModifiers)(() => {
}, ["prevent"]))
},
[
(0, import_vue2.createElementVNode)(
"div",
{
class: (0, import_vue2.normalizeClass)($props.product == "guopan" ? "container-gp" : "container-66")
},
[
(0, import_vue2.createElementVNode)("img", {
onClick: $setup.close,
class: "close",
src: $props.BootTrustClose,
alt: "close"
}, null, 8, _hoisted_2),
_hoisted_3,
(0, import_vue2.createElementVNode)("div", _hoisted_4, [
(0, import_vue2.createElementVNode)("div", _hoisted_5, [
(0, import_vue2.createElementVNode)("button", {
class: "trust-content",
onClick: _cache[0] || (_cache[0] = ($event) => $setup.fnCallback($props.callback))
}, " \u70B9\u51FB\u524D\u53BB\u4FE1\u4EFB ")
]),
_hoisted_6,
_hoisted_7,
(0, import_vue2.createElementVNode)("p", null, [
$props.product == "guopan" ? ((0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)(
import_vue2.Fragment,
{ key: 0 },
[
(0, import_vue2.createTextVNode)(" \u5982\u6709\u7591\u95EE\uFF0C\u8BF7\u8054\u7CFB\u5BA2\u670DQQ : "),
(0, import_vue2.createElementVNode)("a", {
onClick: _cache[1] || (_cache[1] = ($event) => $props.toKfSystem($props.product)),
style: { "color": "#01a8ff" }
}, "800183983")
],
64
/* STABLE_FRAGMENT */
)) : ((0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)(
import_vue2.Fragment,
{ key: 1 },
[
(0, import_vue2.createTextVNode)(" \u8BF7"),
(0, import_vue2.createElementVNode)("a", {
style: { "color": "#01a8ff" },
onClick: _cache[2] || (_cache[2] = ($event) => $props.toKfSystem($props.product))
}, "\u8054\u7CFB\u5BA2\u670D")
],
64
/* STABLE_FRAGMENT */
))
])
])
],
2
/* CLASS */
)
],
32
/* HYDRATE_EVENTS */
)) : (0, import_vue2.createCommentVNode)("v-if", true)
]);
}
__vue_sfc__.render = __vue_render__;
__vue_sfc__._scopeId = "data-v-9cea930c";
var stdin_default = __vue_sfc__;