Преглед изворни кода

【修复】优化天气查询页面布局并更新版本

- 将 weather 查询结果的展示布局进行优化,使用 flex 布局
- 更新天气查询页面的版本号至 1.0.2
- 修改相关文件路径以适应新版本
PJ568 пре 1 година
родитељ
комит
a062b98566

+ 2 - 2
index.json

@@ -50,9 +50,9 @@
       "name": "天气查询",
       "icon": "favicon.svg",
       "author": "PJ568",
-      "latest_version": "1.0.1",
+      "latest_version": "1.0.2",
       "description": "通过 wttr.in 获取和解析天气数据并显示的网页应用",
-      "location": "./packages/pageos-weather/1.0.1"
+      "location": "./packages/pageos-weather/1.0.2"
     }
   ],
   "source": []

+ 0 - 0
packages/pageos-weather/1.0.1/favicon.svg → packages/pageos-weather/1.0.2/favicon.svg


+ 4 - 0
packages/pageos-weather/1.0.1/index.html → packages/pageos-weather/1.0.2/index.html

@@ -104,7 +104,11 @@
       }
 
       #graph {
+        display: flex;
+        flex-direction: column;
+        justify-content: space-evenly;
         flex: 1;
+        min-width: 60%;
       }
 
       .weather-terminal-info {

+ 2 - 2
packages/pageos-weather/1.0.1/metadata.json → packages/pageos-weather/1.0.2/metadata.json

@@ -1,7 +1,7 @@
 {
   "name": "天气查询",
   "id": "pageos-weather",
-  "version": "1.0.1",
+  "version": "1.0.2",
   "description": "通过 wttr.in 获取和解析天气数据并显示的网页应用",
   "icon": "favicon.svg",
   "author": "PJ568",
@@ -10,7 +10,7 @@
   "permissions": [],
   "entry": "index.html",
   "all_files": {
-    "index.html": "aaa80966a1af9d3def42dd3a12840e5f073f637b68727a343c8eb8bff4dddf0c",
+    "index.html": "7c45946fa96d7eddcf0034ba057c381ba1ee8ff436f99209b2d271103fe1dd0a",
     "favicon.svg": "1f6b367fa55c2d7bfead4755d39f7c2e40b78c24cb85702619630e3f288b7c6f"
   }
 }

+ 2 - 1
packages/pageos-weather/versions.txt

@@ -1,4 +1,5 @@
 0.1.0
 0.2.0
 1.0.0
-1.0.1
+1.0.1
+1.0.2