| | |
| | | <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--> |
| | |
| | | computed: {}, |
| | | created() {}, |
| | | mounted() { |
| | | this.timeFn(); |
| | | //this.timeFn(); |
| | | this.cancelLoading(); |
| | | |
| | | // 鐩戝惉鍏ㄥ睆鍙樺寲 |
| | |
| | | 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; |