fix
This commit is contained in:
parent
ad97f00fd5
commit
12fc99cb97
12
src/App.vue
12
src/App.vue
@ -57,19 +57,19 @@
|
||||
|
||||
<div class="bsky_comment" v-if="comment_open == false">
|
||||
<span class="comment">
|
||||
<p class="comment-body" v-if="comment_first.text">
|
||||
<img :src="'/icon/' + comment_first.did.replace('did:plc:', '') + '.jpg'" v-if="comment_first.avatar" class="comment"/> <span class="comment-time" v-if="comment_first.handle">{{ moment(comment_first.updated_at) }}</span> <span class="comment-handle" v-if="comment_first.handle"><a :href="comment_first.bsky_url">@{{ comment_first.handle }}</a></span>
|
||||
<span class="comment-text">{{ comment_first.text }}</span>
|
||||
<p class="comment-body" v-if="comment_first">
|
||||
<img :src="'/icon/' + comment_first.did.replace('did:plc:', '') + '.jpg'" v-if="comment_first.avatar" class="comment"/> <span class="comment-time" v-if="comment_first.updated_at">{{ moment(comment_first.updated_at) }}</span> <span class="comment-handle" v-if="comment_first.handle"><a :href="comment_first.bsky_url">@{{ comment_first.handle }}</a></span>
|
||||
<span class="comment-text" v-if="comment_first.text">{{ comment_first.text }}</span>
|
||||
</p>
|
||||
</span>
|
||||
<div class="comment_open"><button class="comment_open" v-on:click="comment_open = !comment_open"><i class="fa-solid fa-chevron-down"></i></button></div>
|
||||
</div>
|
||||
<div class="bsky_comment" v-else>
|
||||
<span v-for="i in api_json.data" class="comment">
|
||||
<p class="comment-body" v-if="i.text">
|
||||
<p class="comment-body" v-if="i">
|
||||
{{ axios_check('/icon/' + i.did.replace('did:plc:', '') + '.jpg') }}
|
||||
<img :src="'/icon/' + i.did.replace('did:plc:', '') + '.jpg'" v-if="url_check" class="comment"/><img :src="i.avatar" v-else-if="i.avatar" class="comment"/> <span class="comment-time" v-if="i.handle">{{ moment(i.updated_at) }}</span> <span class="comment-handle" v-if="i.handle"><a :href="i.bsky_url">@{{ i.handle }}</a></span>
|
||||
<span class="comment-text">{{ i.text }}</span>
|
||||
<img :src="'/icon/' + i.did.replace('did:plc:', '') + '.jpg'" v-if="url_check" class="comment"/><img :src="i.avatar" v-else-if="i.avatar" class="comment"/> <span class="comment-time" v-if="i.updated_at">{{ moment(i.updated_at) }}</span> <span class="comment-handle" v-if="i.handle"><a :href="i.bsky_url">@{{ i.handle }}</a></span>
|
||||
<span class="comment-text" v-if="i.text">{{ i.text }}</span>
|
||||
</p>
|
||||
</span>
|
||||
<div class="comment_open"><button class="comment_open" v-on:click="comment_open = !comment_open"><i class="fa-solid fa-chevron-up"></i></button></div>
|
||||
|
Loading…
Reference in New Issue
Block a user