添加关照、全局等高线、修改图层问题
This commit is contained in:
@ -6,9 +6,13 @@
|
||||
<span>{{ date.ymd }}</span>
|
||||
<span>{{ $t("headerTitles.week")[date.week] }}</span>
|
||||
<span>{{ batteryInfo }}</span>
|
||||
<div @click="openWeather">
|
||||
<svg-icon style="width: 20px;height: 20px;cursor: pointer;" icon-class="weather" ></svg-icon>
|
||||
</div>
|
||||
</div>
|
||||
<setTool ref="setTool"></setTool>
|
||||
<systemPopup ref="systemPopup" v-if="showSystem"></systemPopup>
|
||||
<weather ref="weather"></weather>
|
||||
<!-- <headButton class="headButton"></headButton> -->
|
||||
</div>
|
||||
</template>
|
||||
@ -20,12 +24,14 @@ import setTool from "./setTool/setTool.vue";
|
||||
import systemPopup from "./systemPopup/systemPopup.vue";
|
||||
// btn
|
||||
// import headButton from "./headButton/buttonMenu.vue";
|
||||
import weather from "./weather/index.vue";
|
||||
|
||||
export default {
|
||||
name: "index",
|
||||
components: {
|
||||
setTool,
|
||||
systemPopup,
|
||||
weather
|
||||
// headButton
|
||||
},
|
||||
|
||||
@ -73,6 +79,9 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
openWeather(){
|
||||
this.$changeComponentShow(".my_weather", true);
|
||||
},
|
||||
setTime() {
|
||||
let date = new Date();
|
||||
let year = date.getFullYear();
|
||||
|
||||
Reference in New Issue
Block a user