feat: Implement initial PolyWeather browser extension including sidepanel, options page, and core weather display logic.

This commit is contained in:
2569718930@qq.com
2026-03-20 18:43:01 +08:00
parent e4cc5b4263
commit 5e88e1480a
9 changed files with 202 additions and 38 deletions
+4 -4
View File
@@ -8,20 +8,20 @@
</head>
<body>
<main class="wrap">
<h1>PolyWeather 侧边栏设置</h1>
<h1 id="settingsTitle">PolyWeather 侧边栏设置</h1>
<label class="field">
<span>Site Base URL</span>
<span id="siteBaseLabel">Site Base URL</span>
<input id="siteBaseInput" type="text" placeholder="https://polyweather-pro.vercel.app" />
</label>
<label class="field">
<span>API Base URL</span>
<span id="apiBaseLabel">API Base URL</span>
<input id="apiBaseInput" type="text" placeholder="https://polyweather-pro.vercel.app" />
</label>
<label class="field">
<span>Bearer Token(可选)</span>
<span id="tokenLabel">Bearer Token(可选)</span>
<textarea
id="tokenInput"
rows="3"