Nenhuma descrição

Casper Dai 3b3e4a2ed9 chore: add LOGGER to control drop_console 3 anos atrás
keycloak-theme 8b4c65180e perf: merge styles and cancel some duplicate calls 3 anos atrás
mock b869fd4358 feat: perfect weekly programs 3 anos atrás
public 198fba8995 feat: backup 3 anos atrás
src 096c6619b1 refactor: remove useless tips 3 anos atrás
.browserslistrc 198fba8995 feat: backup 3 anos atrás
.editorconfig 198fba8995 feat: backup 3 anos atrás
.env 3b3e4a2ed9 chore: add LOGGER to control drop_console 3 anos atrás
.env.development a9a7d3fc22 feat: support alarm strategy configuration 3 anos atrás
.env.rc 63d265cac9 chore: rc env 3 anos atrás
.env.staging 43e63b5baa chore: feature flag 3 anos atrás
.env.xuzhou a6d23096ce feat: device dashboard 3 anos atrás
.eslintignore 198fba8995 feat: backup 3 anos atrás
.eslintrc.js 977ef9588f chore: feature flags 3 anos atrás
.gitignore 198fba8995 feat: backup 3 anos atrás
README.md 27551b8560 chore: rEADME.md 3 anos atrás
babel.config.js 198fba8995 feat: backup 3 anos atrás
commitlint.config.js 1d357056f5 chore: commit message detection and dist is determined by env file 3 anos atrás
feature.js 3b3e4a2ed9 chore: add LOGGER to control drop_console 3 anos atrás
package.json 2077084143 feat(device): baidu map 3 anos atrás
vue.config.js 3b3e4a2ed9 chore: add LOGGER to control drop_console 3 anos atrás
yarn.lock 2077084143 feat(device): baidu map 3 anos atrás

README.md

组件介绍

根组件

{
    name: "大屏",
    width: 1920,
    height: 1080,
    backgroundColor: "#000000",
    backgroundImage: [],
    widgets: [],
    bgm: []
}

文本

{
	type: "CText",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
    text: "文本",
    textAlign: "center",
    color: #FFFFFF",
    fontSize: 48,
    fontWeight: "normal",
    backgroundColor: "#00000000"
}

跑马灯

​ 垂直居中。

{
	type: "CMarquee",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
    text: "文本",
    color: #FFFFFF",
    fontSize: 48,
    fontWeight: "normal",
    backgroundColor: "#00000000"
}

图片

{
	type: "CImage",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
    radius: 0,
    interval: 10, // 切换间隔,单位秒
    toggleType: "cycle", // 切换方式,cycle 循环、random 随机
    animation: "none", // 动画,none 无、slide 幻灯片、fade 渐隐渐现、flip 翻转、section-flip 百叶窗
    sources: []
}

视频

​ 多个视频存在时至多只有一个有音频输出。

{
    type: "CVideo",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
    radius: 0,
    mute: 1, // 静音
    toggleType: "cycle", // 切换方式,cycle 循环、random 随机
    sources: []
}

时间

​ 垂直居中。

{
    type: "CTime",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
	color: "#FFFFFF",
	fontSize: 48,
    fontWeight: "normal",
    textAlign: "center",
    format: 'yyyy-MM-dd hh:mm'
}

天气

​ 垂直居中。

{
    type: "CWeather",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
	color: "#FFFFFF",
	fontSize: 48,
    fontWeight: "normal",
    textAlign: "center"
}

网页

{
    type: "CWeb",
    top: 0,
    left: 0,
    width: 200,
    height: 80,
    href: ""
}