UNPKG

@ccos/webos-vue

Version:

A Web-Ui Framework for Skyworth/Coocaa TV

45 lines (44 loc) 1.43 kB
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const vue = require("vue"); require("./index38.js"); const _pluginVue_exportHelper = require("./index34.js"); const _withScopeId = (n) => (vue.pushScopeId("data-v-5755b7df"), n = n(), vue.popScopeId(), n); const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.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 ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, class: vue.normalizeClass(["type-" + __props.type, "tv-tips"]) }, [ vue.createElementVNode("div", { class: vue.normalizeClass(__props.size) }, [ vue.createElementVNode("span", null, vue.toDisplayString(__props.content), 1), _hoisted_1 ], 2) ], 2)) : vue.createCommentVNode("", true); }; } }; const TvTips = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-5755b7df"]]); exports.default = TvTips;