From a04f3111213ff4e7fc72e57319771abf7ca5fb03 Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 3 Apr 2024 05:37:41 +0900 Subject: [PATCH] fix --- src/App.vue | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 35273a4..ecfae4e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -52,16 +52,24 @@ -
+ +
+ +

+ {{ moment(comment_first.updated_at) }} @{{ comment_first.handle }} + {{ comment_first.text }} +

+
+
+
+

- {{ moment(i.updated_at) }} @{{ i.handle }} {{ i.text }}

+
@@ -127,6 +135,8 @@ export default { bsky_json: null, api_url: null, api_json: null, + comment_open: false, + comment_first: null, loading: true, url: "/", s_a: 0, @@ -175,7 +185,11 @@ export default { let url = this.api_url + "/users/2/ma?itemsPerPage=4000"; axios .get(url,{ crossdomain: true }) - .then(response => (this.api_json = response)); + .then( + response => {this.api_json = response + this.comment_first = this.api_json.data[0] + } + ); } }; @@ -319,7 +333,16 @@ span.comment-text { span.comment { } -.bsky_comment { +button.comment_open { + padding:5px 40px 5px 40px; + background-color: #fff; +} +button.comment_open:hover { + background-color: #fff700; +} + +.comment_open { + text-align: center; } @media screen and (max-width:1000px) {