From 2a6eabac95376e5d6200c55031d0e9a51825aa21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Fri, 1 Oct 2021 21:42:30 +0800 Subject: [PATCH] fix CSS --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ css/mobile.css | 7 ++++++- js/time.js | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 852aec1..84be1c2 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,43 @@

無名の主页

一个小主页,原来的看够了,重新弄一个

+ +
+更新日志 + +**V1.2.0(2021.09.27)** + +- 新增 点击左侧简介弹出更多页面 +- 新增 时间胶囊 ( 时光进度条 ) +- 优化 移动端动画及细节 +- 修复 星期进度条显示错误 + +
+ +### 功能 + +- [x] 站点简介 +- [x] 一言展示 +- [x] 年月日及时间展示 +- [x] 天气信息 +- [x] 时间胶囊 *时光进度条* + +* [ ] 音乐插件 +* [ ] 没想好 + +### 插件 + +* [Bootstrap](https://getbootstrap.com/) +* [iziToast](https://izitoast.marcelodolza.com/) +* [iconfont](https://www.iconfont.cn/) +* [Font Awesome](https://fontawesome.com/) +* [vue.js](https://v3.vuejs.org/) +* [jQuery](https://jquery.com/) + +### API + +* [JsonBird](https://bird.ioliu.cn/) +* [天气 API](https://www.tianqiapi.com/) +* [Hitokoto - 一言](https://hitokoto.cn/) +     diff --git a/css/mobile.css b/css/mobile.css index 1ab9159..94125b3 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -207,6 +207,7 @@ } /*切换动画*/ +/* .hitokoto, .time, .link-card, @@ -217,12 +218,16 @@ -o-animation: fade-in 0.5s; -ms-animation: fade-in 0.5s; } - +*/ .logo, .line, .main-img, .social, .close, +.hitokoto, +.time, +.link-card, +.message, #link-text { animation: fade 0.5; -webkit-animation: fade 0.5s; diff --git a/js/time.js b/js/time.js index 6f1b90b..df6e1e5 100644 --- a/js/time.js +++ b/js/time.js @@ -22,7 +22,7 @@ var vm = new Vue({ var myHours = myDate.getHours(); // 获取当前小时(0-23) var myMinu = myDate.getMinutes(); // 获取当前分钟(0-59) var mySec = myDate.getSeconds(); // 获取当前秒数(0-59) - var myWeek = myDate.getDay() -1; //获取当前星期几(0-6) + var myWeek = myDate.getDay() - 1; //获取当前星期几(0-6) this.hour = myHours; this.year = myYear;