Add files via upload

This commit is contained in:
xiaoshi
2025-11-11 22:58:58 +08:00
committed by GitHub
parent 32a670994a
commit 31c03e6231
3 changed files with 329 additions and 0 deletions

24
xiaoshi-pad-card.js Normal file
View File

@@ -0,0 +1,24 @@
console.info("%c 消逝卡-平板端 \n%c v 0.0.0 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
const loadCards = async () => {
await import('./xiaoshi-pad-grid-card.js');
await import('./xiaoshi-pad-slider-card.js');
window.customCards = window.customCards || [];
window.customCards.push(...cardConfigs);
};
const cardConfigs = [
{
type: 'xiaoshi-pad-grid-card',
name: '消逝卡(平板端)-分布卡',
description: '温度分布、湿度分布'
},
{
type: 'xiaoshi-pad-slider-card',
name: '消逝卡(平板端)-进度条',
description: '进度条'
}
];
loadCards();