<!– 人生倒计时js引入开始 –>
<script src=”//css-js-1302683577.cos.ap-beijing.myqcloud.com/%E4%BA%BA%E7%94%9F%E5%80%92%E8%AE%A1%E6%97%B6/timeinfo.js”></script>
<!– 人生倒计时js引入结束 –>
<!– 时间倒计时代码 –>
<div class=”sidebar-box classListBox”>
<div class=”aside aside-count”>
<div class=”p-3″><svg class=”icon” aria-hidden=”true”>
<use xlink:href=”#icon-008-sakura”></use>
</svg>人生倒计时</div>
<div class=”content”>
<div class=”item” id=”dayProgress”>
<div class=”title”>今日已经过去<span></span>小时</div>
<div class=”progress”>
<div class=”progress-bar”>
<div class=”progress-inner progress-inner-1″></div>
</div>
<div class=”progress-percentage”></div>
</div>
</div>
<div class=”item” id=”weekProgress”>
<div class=”title”>这周已经过去<span></span>天</div>
<div class=”progress”>
<div class=”progress-bar”>
<div class=”progress-inner progress-inner-2″></div>
</div>
<div class=”progress-percentage”></div>
</div>
</div>
<div class=”item” id=”monthProgress”>
<div class=”title”>本月已经过去<span></span>天</div>
<div class=”progress”>
<div class=”progress-bar”>
<div class=”progress-inner progress-inner-3″></div>
</div>
<div class=”progress-percentage”></div>
</div>
</div>
<div class=”item” id=”yearProgress”>
<div class=”title”>今年已经过去<span></span>个月</div>
<div class=”progress”>
<div class=”progress-bar”>
<div class=”progress-inner progress-inner-4″></div>
</div>
<div class=”progress-percentage”></div>
</div>
</div>
</div>
</div>
</div>
<!– 时间倒计时代码 –>

里面的js可以自己右键保存改成你的

/* 时间表 */
.aside-count .content {
padding: 15px
}

.aside-count .content .item {
margin-bottom: 15px
}

.aside-count .content .item:last-child {
margin-bottom: 0
}

.aside-count .content .item .title {
font-size: 12px;
color: var(–minor);
margin-bottom: 5px;
display: flex;
align-items: center
}

.aside-count .content .item .title span {
color: var(–theme);
font-weight: 500;
font-size: 14px;
margin: 0 5px
}

.aside-count .content .item .progress {
display: flex;
align-items: center
}

.aside-count .content .item .progress .progress-bar {
height: 10px;
border-radius: 5px;
overflow: hidden;
background: var(–classC);
width: 0;
min-width: 0;
flex: 1;
margin-right: 5px
}
@keyframes progress {
0% {
background-position: 0 0
}

100% {
background-position: 30px 0
}
}
.aside-count .content .item .progress .progress-bar .progress-inner {
width: 0;
height: 100%;
border-radius: 5px;
transition: width 0.35s;
-webkit-animation: progress 750ms linear infinite;
animation: progress 750ms linear infinite
}

.aside-count .content .item .progress .progress-bar .progress-inner-1 {
background: #bde6ff;
background-image: linear-gradient(135deg, #50bfff 25%, transparent 25%, transparent 50%, #50bfff 50%, #50bfff 75%, transparent 75%, transparent 100%);
background-size: 30px 30px
}

.aside-count .content .item .progress .progress-bar .progress-inner-2 {
background: #ffd980;
background-image: linear-gradient(135deg, #f7ba2a 25%, transparent 25%, transparent 50%, #f7ba2a 50%, #f7ba2a 75%, transparent 75%, transparent 100%);
background-size: 30px 30px
}

.aside-count .content .item .progress .progress-bar .progress-inner-3 {
background: #ffa9a9;
background-image: linear-gradient(135deg, #ff4949 25%, transparent 25%, transparent 50%, #ff4949 50%, #ff4949 75%, transparent 75%, transparent 100%);
background-size: 30px 30px
}

.aside-count .content .item .progress .progress-bar .progress-inner-4 {
background: #67c23a;
background-image: linear-gradient(135deg, #4f9e28 25%, transparent 25%, transparent 50%, #4f9e28 50%, #4f9e28 75%, transparent 75%, transparent 100%);
background-size: 30px 30px
}

.aside-count .content .item .progress .progress-percentage {
color: var(–info)
}
/* 时间表结束 */

外观-自定义-额外CSS-粘贴