3 Commits

Author SHA1 Message Date
xiaoshi
f1535f81e4 Update xiaoshi-pad-card.js 2025-11-23 23:33:21 +08:00
xiaoshi
c30552dfca Update xiaoshi-device-offline-card.js 2025-11-23 23:32:57 +08:00
xiaoshi
deb3c38e87 Update xiaoshi-device-update-card.js 2025-11-23 23:32:22 +08:00
3 changed files with 6 additions and 7 deletions

View File

@@ -281,7 +281,7 @@ export class XiaoshiOfflineCard extends LitElement {
align-items: center;
padding: 0px;
border-bottom: 1px solid rgb(150,150,150,0.2);
margin: 0 32px 8px 32px;
margin: 0 32px 0px 32px;
}
/*设备、实体明细背景*/
@@ -289,7 +289,7 @@ export class XiaoshiOfflineCard extends LitElement {
flex: 1;
overflow-y: auto;
min-height: 0;
padding: 0 0 8px 0;
padding: 0 0 8px 0;
}
.device-icon {
@@ -304,7 +304,7 @@ export class XiaoshiOfflineCard extends LitElement {
.device-name {
font-weight: 500;
color: var(--fg-color, #000);
margin-bottom: 4px;
padding: 6px 0 0 0;
}
.device-entity {
@@ -316,7 +316,6 @@ export class XiaoshiOfflineCard extends LitElement {
.device-details {
font-size: 10px;
color: var(--fg-color, #000);
margin-top: 4px;
}
.device-last-seen {
@@ -327,7 +326,7 @@ export class XiaoshiOfflineCard extends LitElement {
.no-devices {
text-align: center;
padding: 0px;
padding: 8px 0 0 0;
color: var(--fg-color, #000);
}

View File

@@ -307,7 +307,7 @@ export class XiaoshiUpdateCard extends LitElement {
.no-devices {
text-align: center;
padding: 0px;
padding: 8px 0 0 0;
color: var(--fg-color, #000);
}

View File

@@ -1,4 +1,4 @@
console.info("%c 消逝卡-平板端 \n%c v 0.0.2 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
console.info("%c 消逝卡-平板端 \n%c v 0.0.3 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
const loadCards = async () => {
await import('./xiaoshi-pad-grid-card.js');