بدون توضیح

Casper Dai 873c71684f refactor: change default password to 123456a? 3 سال پیش
keycloak-theme 73002ad456 feat: support PPT and PDF 3 سال پیش
mock b869fd4358 feat: perfect weekly programs 3 سال پیش
public 198fba8995 feat: backup 3 سال پیش
src 10d5cafa6d refactor: adjust some styles 3 سال پیش
.browserslistrc 198fba8995 feat: backup 3 سال پیش
.editorconfig 198fba8995 feat: backup 3 سال پیش
.env 873c71684f refactor: change default password to 123456a? 3 سال پیش
.env.development a9a7d3fc22 feat: support alarm strategy configuration 3 سال پیش
.env.rc 63d265cac9 chore: rc env 3 سال پیش
.env.staging 43e63b5baa chore: feature flag 3 سال پیش
.env.xuzhou a6d23096ce feat: device dashboard 3 سال پیش
.eslintignore 8ad8afd39b feat: password use MD5 3 سال پیش
.eslintrc.js 977ef9588f chore: feature flags 3 سال پیش
.gitignore 198fba8995 feat: backup 3 سال پیش
README.md 27551b8560 chore: rEADME.md 3 سال پیش
babel.config.js 198fba8995 feat: backup 3 سال پیش
commitlint.config.js 1d357056f5 chore: commit message detection and dist is determined by env file 3 سال پیش
feature.js 0e9aecaa51 chore: logger 3 سال پیش
package.json 335aa7896d refactor: device player and camera player 3 سال پیش
vue.config.js 3b3e4a2ed9 chore: add LOGGER to control drop_console 3 سال پیش
yarn.lock 335aa7896d refactor: device player and camera player 3 سال پیش

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: ""
}