feat: update player
This commit is contained in:
@@ -114,6 +114,11 @@ onUnmounted(() => {
|
||||
<button @click="handleBack" class="text-gray-700">
|
||||
<BsChevronLeft class="w-6 h-6" />
|
||||
</button>
|
||||
<template v-if="article">
|
||||
<h1 class="text-lg font-semibold text-gray-800 ml-4">
|
||||
{{ article.title }}
|
||||
</h1>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div class="flex-1">
|
||||
@@ -125,6 +130,13 @@ onUnmounted(() => {
|
||||
</video>
|
||||
<div class="p-4">
|
||||
<h1 class="text-2xl my-1.5">{{ article.title }}</h1>
|
||||
<div class="py-2 flex items-center gap-2">
|
||||
<span v-for="tag in article.tags" :key="tag"
|
||||
class="px-1.5 py-0.5 text-xs bg-gray-100 text-gray-600 rounded">
|
||||
<span class="mr-1">#</span>{{ tag }}
|
||||
</span>
|
||||
</div>
|
||||
<p class="text-gray-600">{{ article.content }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user