From b30de85318fb666abfc850cba88b7630b36b20c2 Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 2 May 2024 18:45:21 +0900 Subject: [PATCH] fix --- public/index.html | 1 - public/json/manga.json | 2 + src/App.vue | 127 ++++++++++++++++++++++++++++++++--------- 3 files changed, 102 insertions(+), 28 deletions(-) diff --git a/public/index.html b/public/index.html index bb71e70..e4e32ef 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,6 @@ -
diff --git a/public/json/manga.json b/public/json/manga.json index 64a8aee..fa02e32 100644 --- a/public/json/manga.json +++ b/public/json/manga.json @@ -3,12 +3,14 @@ "id": 0, "end": 21, "updated_at": "2021-07-11T00:00:00+09:00", + "comment": "特別編", "dir": "0" }, { "id": 1, "end": 6, "updated_at": "2024-05-01T00:00:00+09:00", + "comment": "1話", "dir": "1" } ] diff --git a/src/App.vue b/src/App.vue index 58fdce8..817ce21 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,20 +2,21 @@
- - -
- -
- -
{{ n }}
-
- - - -
-
+
+ + +
+ +
+ +
{{ index }}
+
+ + + +
+
@@ -23,27 +24,98 @@ + - + - + + + + + + + + + + + + +
manga ver daycmt
- + {{ i.id }}{{ moment(i.updated_at) }}{{ moment(i.updated_at) }}{{ i.comment }}-
+ + {{ i.id }}{{ moment(i.updated_at) }}{{ i.comment }}-
+
+
+ + +
+ +
+ +
{{ n }}
+
+ + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mangaverdaycmt
+ + {{ i.id }}{{ moment(i.updated_at) }}{{ i.comment }}-
+ + {{ i.id }}{{ moment(i.updated_at) }}{{ i.comment }}-
+
+ +
+ +
@@ -62,8 +134,9 @@ import axios from 'axios' import moment from "moment"; import fs from 'fs'; -var page = 21; +var page = 6; var loc = window.location.pathname.split('/').slice(-1)[0]; +var loc_dir = window.location.pathname.split('/')[1]; //let loc = window.location.pathname.split('/').slice(0)[3]; const parameters = {} @@ -85,33 +158,33 @@ export default { loc: window.location.pathname.split('/').slice(-1)[0], bsky_pds: "https://bsky.social/xrpc", bsky_handle: "yui.syui.ai", - bsky_cursor: null, + bsky_cursor: "", bsky_cid: "", - bsky_json: null, - api_url: null, - api_json: null, + bsky_json: "", + api_url: "", + api_json: "", comment_open: false, - comment_first: null, + comment_first: "", loading: true, avatar_url: "", - f: null, + f: "", url_check: true, url: "/", start: 0, end: 21, - dir: "wa/0", + dir: "wa/1", s_a: 0, s_b: 2, s_c: 41, s_d: 51, s_e: 60, - m: null, + m: "", loc_manga: new URL(window.location.href), + loc_dir: window.location.pathname.split('/')[1], products: [...Array(Number(page)).keys()], hooperSettings: { itemsToShow: 1, centerMode: true, - initialSlide: loc, } }; }, @@ -223,7 +296,7 @@ ul.hooper-track { } .hooper-list img { - width:400px; + width:500px; border: solid 3px #313131; margin: 20px; }