diff --git a/components/BloggerItem.vue b/components/BloggerItem.vue index 2da908c5..25655e32 100644 --- a/components/BloggerItem.vue +++ b/components/BloggerItem.vue @@ -18,9 +18,9 @@ const goUrl = (url) => {
-

+
{{ member.name }} -

+

{{ member.title }} @@ -157,7 +157,7 @@ const goUrl = (url) => { object-fit: cover; } -.name { +.author_name { margin: 0; font-weight: 600; cursor: pointer; diff --git a/components/PostItem.vue b/components/PostItem.vue index d20012ed..e04c1c50 100644 --- a/components/PostItem.vue +++ b/components/PostItem.vue @@ -111,18 +111,6 @@ const showTime = computed(() => { return formatShowDate(props.Date) }) -// function isWrappedWithPreventDefault(element: HTMLElement) { -// let parent = element.parentElement - -// while (parent) { -// if (parent.hasAttribute('preventDefault')) { -// return true -// } -// parent = parent.parentElement -// } - -// return false -// }