<template>
<div class="showTimes">
<div>{
{ this.nowdate }}</div>
<div>{
{ this.lunarYear }}</div>
<div>{
{ this.time }}</div>
<div id="he-plugin-simple"></div>
</div>
</template>
<script>
import { fontChart } from "@/utils/echartPxToRem.js";
import { getLunar } from "chinese-lunar-calendar";
export default {
data() {
return {
nowdate: "",
time: "",
lunarYear: "",
getLunarDay: "",
year: new Date().getFullYear(),
month: new Date().getMonth() + 1,
date: new Date().getDate()
};
},
mounted() {
this.timer = setInterval(() => {
this.getNowTime();
}, 1000);
window.WIDGET
及时时间+农历 + 天气 获取当前时间 获取农历日期
猜你喜欢
转载自blog.csdn.net/weixin_50885665/article/details/131697986
今日推荐
周排行