From a34059e688e947a2ea079a0646872f1a21089940 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期一, 22 九月 2025 14:47:00 +0800 Subject: [PATCH] 1 --- 项目代码/DP/src/views/home.vue | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/home.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/home.vue" index 595a084..7d24101 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/home.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/home.vue" @@ -23,14 +23,14 @@ <span class="title-text">杞鍘嬭鏅鸿兘閫夐厤绯荤粺</span> </div> </div> - <div class="timers"> + <!-- <div class="timers"> {{ dateYear }} {{ dateWeek }} {{ dateDay }} <i class="blq-icon-shezhi02" style="margin-left: 10px" @click="showSetting" ></i> - </div> + </div> --> </div> <!-- 澶撮儴 e--> <!-- 鍐呭 s--> @@ -67,7 +67,7 @@ computed: {}, created() {}, mounted() { - this.timeFn(); + //this.timeFn(); this.cancelLoading(); // 鐩戝惉鍏ㄥ睆鍙樺寲 @@ -81,13 +81,13 @@ showSetting() { this.$refs.setting.init(); }, - timeFn() { - this.timing = setInterval(() => { - this.dateDay = formatTime(new Date(), "HH: mm: ss"); - this.dateYear = formatTime(new Date(), "yyyy-MM-dd"); - this.dateWeek = this.weekday[new Date().getDay()]; - }, 1000); - }, + // timeFn() { + // this.timing = setInterval(() => { + // this.dateDay = formatTime(new Date(), "HH: mm: ss"); + // this.dateYear = formatTime(new Date(), "yyyy-MM-dd"); + // this.dateWeek = this.weekday[new Date().getDay()]; + // }, 1000); + // }, cancelLoading() { let timer = setTimeout(() => { this.loading = false; -- Gitblit v1.9.3