- 在搜索框中添加了一个指向 GitHub 仓库的按钮 - 用户可以点击按钮直接访问项目仓库页面
@@ -50,9 +50,9 @@
"name": "天气查询",
"icon": "favicon.svg",
"author": "PJ568",
- "latest_version": "0.1.0",
+ "latest_version": "0.2.0",
"description": "通过 wttr.in 获取和解析天气数据并显示的网页应用",
- "location": "./packages/pageos-weather/0.1.0"
+ "location": "./packages/pageos-weather/0.2.0"
}
],
"source": []
@@ -1 +0,0 @@
-<h1>项目体积过大,暂无法托管、请联系项目作者工程团队</h1>
@@ -1,15 +0,0 @@
-{
- "name": "bayoOS Next",
- "id": "bayoos-ui",
- "version": "1.334",
- "description": "流畅、功能一并俱全的艺术品",
- "icon": "",
- "author": "bayoOS 团队",
- "type": "system",
- "category": "bayoos",
- "permissions": [],
- "entry": "index.html",
- "all_files": {
- "index.html": "5d58eeadb9f4de898674b09a17839bad08711d29a05c55b8aec1ecde65caead9"
- }
-}
@@ -141,6 +141,10 @@
<div class="search-box">
<input type="text" id="cityInput" placeholder="输入城市名称" />
<button onclick="getWeather()">获取天气</button>
+ <button
+ onclick="window.open('https://github.com/swaybien/pageos-weather', '_blank')"
+ >仓库</button
+ >
<button id="translate">语言</button>
</div>
<div id="weatherResult" class="weather-info">
@@ -1,7 +1,7 @@
{
"id": "pageos-weather",
- "version": "0.1.0",
+ "version": "0.2.0",
@@ -10,7 +10,7 @@
"permissions": [],
"entry": "index.html",
"all_files": {
- "index.html": "2d4e2b015cf8a317b521052d4d9d9d11335d872a59a183b8066f7cd9a0e5e28b",
+ "index.html": "86edb35b65c16706ab510a9da211c5eb225fd873fb6cae609340e938d37b9cd1",
"favicon.svg": "1f6b367fa55c2d7bfead4755d39f7c2e40b78c24cb85702619630e3f288b7c6f"
@@ -1 +1,2 @@
-0.1.0
+0.1.0
+0.2.0