fix
This commit is contained in:
parent
dfc877a462
commit
15db5bb120
@ -4,14 +4,8 @@
|
||||
<span v-for="i in api_json_record" class="comment">
|
||||
<p class="comment-body" v-if="i.cid_root == cid_root">
|
||||
<span v-if="i.did.replace('did:plc:', '') != ''">
|
||||
{{ axios_check('/icon/' + i.did.replace('did:plc:', '') + '.jpg') }}
|
||||
</span>
|
||||
<span v-if="url_check == true && i.did.replace('did:plc:', '') != ''">
|
||||
<img :src="'https://git.syui.ai/ai/comment/raw/branch/main/public/icon/' + i.did.replace('did:plc:', '') + '.jpg'" class="comment"/>
|
||||
</span>
|
||||
<span v-else-if="i.avatar">
|
||||
<img :src="i.avatar" class="comment"/>
|
||||
</span>
|
||||
<span class="comment-time" v-if="i.updated_at"><a :href="i.bsky_url" v-if="i.bsky_url">{{ moment(i.updated_at) }}</a></span> <span class="comment-handle" v-if="i.handle"><a :href="'https://' + i.bsky_url.split('/').slice(2,5).join('/')" v-if="i.bsky_url">@{{ i.handle.replace('.bsky.social', '') }}</a></span>
|
||||
<span class="comment-text" v-if="i.text">{{ i.text }}</span>
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user