diff --git a/src/assets/img/01.png b/src/assets/img/01.png new file mode 100644 index 0000000..1bbd5ea Binary files /dev/null and b/src/assets/img/01.png differ diff --git a/src/assets/img/Group1618.png b/src/assets/img/Group1618.png new file mode 100644 index 0000000..84fae34 Binary files /dev/null and b/src/assets/img/Group1618.png differ diff --git a/src/components/TimeComponent.vue b/src/components/TimeComponent.vue index 7a18941..5b103d6 100644 --- a/src/components/TimeComponent.vue +++ b/src/components/TimeComponent.vue @@ -22,7 +22,7 @@

{{ high }}-{{ low }}

-

剑阁

+

{{cityName.city}}

{{ currentWeather.type }}

@@ -41,6 +41,7 @@ export default { currentWeather: {}, //当前天气 high: "", low: "", + cityName:{}, }; }, mounted() { @@ -55,6 +56,7 @@ export default { this.currentWeather = response.data.data.yesterday; this.high = this.currentWeather.high.slice(3); this.low = this.currentWeather.low.slice(3); + this.cityName= response.data.data }) .catch(function (error) { console.log(error); diff --git a/src/views/home.vue b/src/views/home.vue index 841089a..86cf5c6 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -9,48 +9,57 @@ - + -
+
-
- - - + +
+

通知信息

雪亮工程

@@ -59,21 +68,20 @@
-
+

文化宣传

-
+

景区风采

-
+
@@ -97,15 +105,20 @@
疫情防控
+ style="width: 218px; height: 364px; border-radius: 10px" + class="right_rotation box_8" + v-focusable + @up="moveToTop" + > + +
-
+

剑阁县推广大豆+玉米兼容发展 “一地双丰收”模式

@@ -134,27 +147,27 @@
+ +
111