UNPKG

@ccos/webos-vue

Version:

A Web-Ui Framework for Skyworth/Coocaa TV

53 lines (52 loc) 1.43 kB
import { onMounted, onBeforeUnmount, openBlock, createElementBlock } from "vue"; import "./index12.mjs"; import "./index48.mjs"; import _export_sfc from "./index34.mjs"; const _sfc_main = { __name: "exp", props: { width: { // 宽度:以1920为屏幕的设计宽度,本组件的宽度(如果宽高为空则取父元素的宽高) type: Number, required: false, default: 0 }, height: { // 宽度:以1920为屏幕的设计宽度,本组件的高度 type: Number, required: false, default: 0 }, segment: { // segment 属性表示横向等分多少份 type: Number, required: false, default: 1 }, ratio: { // 等分组件里面的单元的宽高比,可以写成 '400x300' 或者 '400:300' 或者 '4:3' 都可以 type: String, required: false, default: "" }, lineHeight: { // 等分组件里面的单元的行高,以1920为屏幕的设计宽度的高度值 (注:lineHeight 与 ratio 必须有一个) type: Number, required: false, default: 0 } }, setup(__props) { onMounted(() => { }); onBeforeUnmount(() => { }); return (_ctx, _cache) => { return openBlock(), createElementBlock("div"); }; } }; const TvExp = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9f0f38c6"]]); export { TvExp as default };