UNPKG

@ccos/webos-vue

Version:

A Web-Ui Framework for Skyworth/Coocaa TV

45 lines (44 loc) 1.35 kB
import { openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, pushScopeId, popScopeId } from "vue"; import "./index38.mjs"; import _export_sfc from "./index34.mjs"; const _withScopeId = (n) => (pushScopeId("data-v-5755b7df"), n = n(), popScopeId(), n); const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "bubble" }, null, -1)); const _sfc_main = { __name: "tips", props: { type: { type: String, default: "round" //round, rect }, size: { type: String, default: "default" }, content: String, visible: { //组件可见性 type: Boolean, default: true } }, setup(__props) { return (_ctx, _cache) => { return __props.visible ? (openBlock(), createElementBlock("div", { key: 0, class: normalizeClass(["type-" + __props.type, "tv-tips"]) }, [ createElementVNode("div", { class: normalizeClass(__props.size) }, [ createElementVNode("span", null, toDisplayString(__props.content), 1), _hoisted_1 ], 2) ], 2)) : createCommentVNode("", true); }; } }; const TvTips = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5755b7df"]]); export { TvTips as default };