diff --git a/src/App.vue b/src/App.vue index 7b66047..bf4a0bf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -171,7 +171,7 @@ body { } .dashboard-header { - height: 80px; + height: 100px; background: rgba(12, 20, 38, 0.9); display: flex; align-items: center; diff --git a/src/components/Home.vue b/src/components/Home.vue index 9f01d07..dc85c24 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -5,14 +5,14 @@
-

全国牛单价排行榜(元/头)

+

全国牛单价排行榜(元/斤)

序号
省份
品种
-
单价(元/头)
+
单价(元/斤)
{{ idx + 1 }}
@@ -47,9 +47,9 @@ autoresize />
-
+
@@ -59,6 +59,11 @@
+ +
+ {{ noDataMessage }} +
+
@@ -70,21 +75,21 @@
-

品种单价排行榜(元/头)

+

品种单价排行榜(元/斤)

-
序号
品种
+
省份
地区
-
单价(元/头)
+
单价(元/斤)
-
{{ idx + 1 }}
{{ row.breed }}
+
{{ row.province }}
{{ row.region }}
{{ formatPrice(row.price) }}
@@ -92,24 +97,24 @@
-
-
-

全国省份单价排行榜(元/头)

+
+
+

全国省份平均单价排行榜(元/斤)

+
+
+ +
-
- -
-
-

全国牛出栏率

+

全国牛出栏量

diff --git a/vite.config.js b/vite.config.js index 4217010..c54f20f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -10,6 +10,15 @@ export default defineConfig({ vue(), vueDevTools(), ], + server: { + proxy: { + '/api': { + target: 'https://ad.yunmainiu.com', + changeOrigin: true, + secure: false, + }, + }, + }, resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url))