feat: remove like on list
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, defineProps } from 'vue'
|
import { computed, defineProps } from 'vue'
|
||||||
import { AiOutlineEye, AiOutlineLike } from 'vue-icons-plus/ai'
|
import { AiOutlineEye } from 'vue-icons-plus/ai'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
@@ -57,10 +57,10 @@ const showArticle = (article) => {
|
|||||||
<AiOutlineEye class="w-3.5 h-3.5" />
|
<AiOutlineEye class="w-3.5 h-3.5" />
|
||||||
{{ article.views }}
|
{{ article.views }}
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center gap-1 text-gray-700">
|
<!-- <span class="flex items-center gap-1 text-gray-700">
|
||||||
<AiOutlineLike class="w-3.5 h-3.5" />
|
<AiOutlineLike class="w-3.5 h-3.5" />
|
||||||
{{ article.likes }}
|
{{ article.likes }}
|
||||||
</span>
|
</span> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center gap-2 ml-4 flex-shrink-0 font-mono">
|
<div class="flex items-center gap-2 ml-4 flex-shrink-0 font-mono">
|
||||||
<span v-if="article.bought" class="px-2 py-0.5 text-xs bg-green-50 text-green-600 rounded">
|
<span v-if="article.bought" class="px-2 py-0.5 text-xs bg-green-50 text-green-600 rounded">
|
||||||
|
|||||||
Reference in New Issue
Block a user