diff --git a/public/template.json b/public/template.json new file mode 100644 index 0000000..706a972 --- /dev/null +++ b/public/template.json @@ -0,0 +1,6 @@ +{ + "name": "Sakanana的手机", + "author": "0nepeop1e", + "link": "https://x.com/0nepeop1e", + "description": "长得像Sakanana的手机" +} diff --git a/src/App.svelte b/src/App.svelte index b4adf5f..8c4138a 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -3,7 +3,9 @@ import { BatteryFullIcon, HomeIcon, + MessageCircleIcon, SendHorizontalIcon, + SignalIcon, Tally4Icon, TriangleIcon, WifiIcon @@ -24,7 +26,7 @@ const s = str.toString(); const diff = char - s.length; if (diff <= 0) return s; - return s + '0'.repeat(diff); + return '0'.repeat(diff) + s; } $effect(() => { @@ -54,13 +56,18 @@
-
- {pad(hour, 2)}:{pad(minute, 2)} - - - 100% +
+
+ {pad(hour, 2)}:{pad(minute, 2)} + + + + 100% +
+
+ + 聊天室 +
- - + +