From 149b75073832168c9cb5a6a7d5a7029f2db7ef92 Mon Sep 17 00:00:00 2001 From: ngthanhvu Date: Thu, 30 Jul 2026 23:54:33 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20reponsive=20c=C3=A1c=20v=E1=BB=8B=20tr?= =?UTF-8?q?=C3=AD=20=E1=BB=9F=20xem/[slug]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/xem/[slug].vue | 184 +++++++++++++++++++++++++-------------- 1 file changed, 117 insertions(+), 67 deletions(-) diff --git a/app/pages/xem/[slug].vue b/app/pages/xem/[slug].vue index 266123a..8c6fc80 100644 --- a/app/pages/xem/[slug].vue +++ b/app/pages/xem/[slug].vue @@ -580,7 +580,7 @@ useHead(() => ({
{{ formatEpisodeName(activeEpisode?.name, selectedEpisode) - }} + }} {{ serverLabel(activeServer, selectedServer) }}
@@ -600,65 +600,88 @@ useHead(() => ({ - -
- -
+ + +
+ + +
+
-
+ +
-

{{ movie.name }}

-

{{ movie.originName }}

+

+ {{ movie.name }} +

+ +

+ {{ movie.originName }} +

-
+
- TMDb - {{ - movie.rating.toFixed(1) }} + class="inline-flex items-center overflow-hidden rounded border border-solid border-[rgba(1,180,228,0.5)]"> + + TMDb + + + {{ movie.rating.toFixed(1) }} + + {{ - movie.quality }} + class="inline-flex h-5.5 items-center justify-center rounded-sm px-2 text-[11px] font-black" + style="background-color:#ffd875;background-image:linear-gradient(220deg, #ffd875 0%, #ffe7a8 45%, #ffffff 100%);color:#141414"> + {{ movie.quality }} + + {{ - movie.year }} + class="rounded border border-white/20 px-2 py-0.5 text-[11px] font-medium text-white/90"> + {{ movie.year }} + + {{ - episodeDisplay }} + class="rounded border border-white/20 px-2 py-0.5 text-[11px] font-medium text-white/90"> + {{ episodeDisplay }} +
+ class="flex flex-wrap items-center justify-center gap-2 sm:justify-start"> {{ cat }} + class="rounded bg-white/5 px-2.5 py-1 text-[11px] font-medium text-white/70"> + {{ cat }} +
+ class="mt-2 inline-flex self-center items-center gap-1.5 rounded-full border border-cinek-500/20 bg-cinek-500/10 px-3 py-1.5 text-cinek-500 sm:self-start"> - Đã chiếu: {{ episodeProgress.available }} / {{ episodeProgress.total - }} tập + + Đã chiếu: {{ episodeProgress.available }} / {{ episodeProgress.total }} tập +
-

{{ movie.content || - 'Đang cập nhật nội dung phim.' }}

+

+ {{ movie.content || 'Đang cập nhật nội dung phim.' }} +

+ + class="mt-1 inline-flex items-center gap-1 text-[13px] text-cinek-500 hover:underline"> Thông tin phim @@ -667,26 +690,35 @@ useHead(() => ({
-
+
+ -
+
+ +
- Phần: + + Phần:
-
+ +
- -
+ + +
@@ -696,14 +728,16 @@ useHead(() => ({
-
+
+ + +
+ +
-