Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Khoa1 #27

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,17 @@
var config = {
// 下面的句子不一定非要7句, 你也可以改成4句,2句话都可以
lines: [
"亲爱的雯雯",
"花开一季,有落红为证",
"逝去的岁月,如何能托于烟尘",
"你的浅笑,是我永生眷恋",
"相思的真情,是否能明白一二",
"亲爱的宝贝,你是我的唯一",
"爱你永远。。。",
Hi! Bất ngờ koooooo
chúc bạn sinh nhật tuổi 18 thật huy hoàng !
mau ăn chóng lớn !
lấy chồng đại gia !
du lịch Hàn Quốc 1 ngày không xaaaaa !
],
// 相爱的时间 记住格式不能写错了, 非常重要
// 格式一定要和下面这个时间格式一样
// 分别是 年-月-日 时:分:秒
date: "2017-07-20 20:15:0",
// 双方的名字
names: ["笨笨熊", "黑猪猪"]
names: ["Trân", "Sầm"]
}
```

Expand Down
17 changes: 8 additions & 9 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@
var config = {
// 下面的句子不一定非要7句, 你也可以改成4句,2句话都可以
lines: [
"亲爱的雯雯",
"花开一季,有落红为证",
"逝去的岁月,如何能托于烟尘",
"你的浅笑,是我永生眷恋",
"相思的真情,是否能明白一二",
"亲爱的宝贝,你是我的唯一",
"爱你永远。。。",
"Hù ! Bất ngờ kooooo",
"Chúc bạn sinh nhật tuổi 18 thật huy hoàng",
"Mau ăn chóng lớn",
"Lấy được chồng đại gia",
"Nhiềuuuuuuuuu sức khỏe",
"Sớm du lịch Hàn Quốc",
"happy birthday to you !!!!",
],
// 相爱的时间 记住格式不能写错了, 非常重要
// 格式一定要和下面这个时间格式一样
// 分别是 年-月-日T时时:分分:秒秒
// 温馨警告:
// 1.时分秒都必须是俩个数字 比如 00:00:00
// 2.T不能丢了
date: "2017-07-20T20:15:00",
// 双方的名字
names: ["笨笨熊", "黑猪猪"]
names: ["Trân", "Sầm"]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}).reduce((a, b) => {
return a + b;
}))
$("#clock-box-inside-text").html(`${config.names[0]}<span class="STYLE1"></span> ${config.names[1]}<span class="STYLE1">已经相恋了</span>`)
$("#clock-box-inside-text").html(`${config.names[0]}<span class="STYLE1"> </span> ${config.names[1]}<span class="STYLE1"> </span>`)
</script>

<script>
Expand Down
2 changes: 1 addition & 1 deletion index_files/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ function timeElapse(date){
}
seconds = Math.floor(seconds % 60);
seconds = (seconds + "").replace(/\.\d*/, "");
var result = " <span class=\"digit\">" + days + "</span> 天 <span class=\"digit\">" + hours + "</span> 小时 <span class=\"digit\">" + minutes + "</span> 分钟 <span class=\"digit\">" + seconds + "</span> 秒";
//var result = " <span class=\"digit\">" + days + "</span> 天 <span class=\"digit\">" + hours + "</span> 小时 <span class=\"digit\">" + minutes + "</span> 分钟 <span class=\"digit\">" + seconds + "</span> 秒";
$("#clock").html(result);
}