diff --git a/scripts/story.js b/scripts/story.js index f98458a..d1314ac 100644 --- a/scripts/story.js +++ b/scripts/story.js @@ -3,7 +3,7 @@ let $timeline = $(".timeline"); let Timeline = function() { // 使用同步加载 let data = $.parseJSON($.ajax({ - url: "../static/img-story/timeline.json", + url: "https://raw.githubusercontent.com/Kicamon/Kicamon.github.io/main/static/img-story/timeline.json", dataType: "json", async: false }).responseText); @@ -11,7 +11,7 @@ let Timeline = function() { $timeline.append(`
- +

${item.time}

${item.text}

diff --git a/static/img-story/12.png b/static/img-story/12.png new file mode 100644 index 0000000..a9f5051 Binary files /dev/null and b/static/img-story/12.png differ diff --git a/static/img-story/13.png b/static/img-story/13.png new file mode 100644 index 0000000..199f04e Binary files /dev/null and b/static/img-story/13.png differ diff --git a/static/img-story/14.jpg b/static/img-story/14.jpg new file mode 100644 index 0000000..18231cc Binary files /dev/null and b/static/img-story/14.jpg differ diff --git a/static/img-story/15.png b/static/img-story/15.png new file mode 100644 index 0000000..3b646be Binary files /dev/null and b/static/img-story/15.png differ diff --git a/static/img-story/timeline.json b/static/img-story/timeline.json index 2d29d15..aa0c4b1 100644 --- a/static/img-story/timeline.json +++ b/static/img-story/timeline.json @@ -53,5 +53,25 @@ "img": "11.jpg", "time": "2024.06.01", "text": "我们是永远的彼此~" + }, + { + "img": "12.png", + "time": "2024.06.30", + "text": "第一次去衡阳找允宝" + }, + { + "img": "13.png", + "time": "2024.07.01", + "text": "我们一起星露谷~" + }, + { + "img": "14.jpg", + "time": "2024.07.04", + "text": "头脑特工队2,好看~3D眼镜有点贵" + }, + { + "img": "15.png", + "time": "2024.07.04", + "text": "回家了~舍不得允宝qwq" } ]