From 52748cb988cfc7afdaf3d3c1b013b29e2704e368 Mon Sep 17 00:00:00 2001 From: Dao Duc Date: Thu, 5 Feb 2026 17:22:56 +0700 Subject: [PATCH] 05/02 --- src/app/[slug]/metadataBySlug.tsx | 79 +++ src/app/[slug]/page.tsx | 69 ++- src/app/[slug]/renderBySlug.tsx | 30 ++ src/app/layout.tsx | 2 +- src/app/page.tsx | 4 +- src/app/tin-tuc/page.tsx | 7 +- src/components/article/Category/index.tsx | 464 ++++++----------- src/components/article/Home/Tiktok.tsx | 208 +++----- src/components/article/Home/index.tsx | 20 +- src/components/home/Product/index.tsx | 2 +- src/components/product/Category/FAQ/index.tsx | 2 +- src/components/product/Category/index.tsx | 5 +- .../product/Category/productList/index.tsx | 2 +- .../product/detail/comments/index.tsx | 9 +- .../product/detail/images/index.tsx | 1 - src/components/product/detail/index.tsx | 1 + .../product/detail/products/index.tsx | 2 +- .../product/detail/reviews/index.tsx | 5 +- src/data/articleDetail/index.tsx | 482 ++++++++++++++++++ src/data/comments/index.tsx | 71 +++ .../{ => products}/productCategory/index.tsx | 0 .../{ => products}/productDetail/index.tsx | 0 .../{ => products}/productHistory/index.tsx | 0 src/data/{ => products}/productList/index.tsx | 0 src/data/reviews/index.tsx | 71 +++ src/lib/slug/resolveArticlePage.ts | 40 +- src/lib/slug/resolveProductPage.ts | 4 +- src/lib/slug/slugMap.ts | 4 +- src/lib/utils.tsx | 2 +- src/styles/pc_style.css | 2 +- 30 files changed, 1080 insertions(+), 508 deletions(-) create mode 100644 src/app/[slug]/metadataBySlug.tsx create mode 100644 src/app/[slug]/renderBySlug.tsx create mode 100644 src/data/articleDetail/index.tsx rename src/data/{ => products}/productCategory/index.tsx (100%) rename src/data/{ => products}/productDetail/index.tsx (100%) rename src/data/{ => products}/productHistory/index.tsx (100%) rename src/data/{ => products}/productList/index.tsx (100%) diff --git a/src/app/[slug]/metadataBySlug.tsx b/src/app/[slug]/metadataBySlug.tsx new file mode 100644 index 0000000..9f30158 --- /dev/null +++ b/src/app/[slug]/metadataBySlug.tsx @@ -0,0 +1,79 @@ +import type { Metadata } from "next"; + +export function metadataBySlug(result: any): Metadata { + console.log('metadataBySlug: ', result) + switch (result.type) { + case "product_category": + return { + title: result.data.title, + description: stripHtml(result.data.summary), + openGraph: { + type: 'website', + images: [ + result.data.big_image + ], + }, + }; + + case "product_detail": + return { + title: result.data.productName, + description: stripHtml(result.data.productSummary), + openGraph: { + type: 'website', + images: [ + result.data.productImage.large.replace('/250_', '/') + ], + }, + }; + + case "article_home": + return { + title: "Tin tức", + description: "Tin tức mới nhất", + openGraph: { + type: 'article', + images: [ + result.data.productImage.large.replace('/250_', '/') + ] + } + }; + + case "article_category": + return { + title: result.data.title, + description: stripHtml(result.data.summary), + openGraph: { + type: 'article', + images: [ + result.data.thumbnail + ] + } + }; + + case "article_detail": + return { + title: result.data.title, + description: result.data.excerpt, + openGraph: { + type: 'article', + } + }; + + default: + return { + title: "Local PC", + openGraph: { + type: 'website', + images: [ + '/images/logo.png' + ], + } + }; + } +} + + +function stripHtml(html: string) { + return html.replace(/<[^>]*>/g, ''); +} diff --git a/src/app/[slug]/page.tsx b/src/app/[slug]/page.tsx index 86158bb..517cb7d 100644 --- a/src/app/[slug]/page.tsx +++ b/src/app/[slug]/page.tsx @@ -1,47 +1,46 @@ -// src/app/[slug]/page.tsx -import { notFound } from "next/navigation"; +// app/[slug]/page.tsx +import { cache } from "react"; +import { renderBySlug } from "./renderBySlug"; +import { metadataBySlug } from "./metadataBySlug"; import { findBySlug } from "@/lib/slug/slugMap"; +import { notFound } from "next/navigation"; +import type { Metadata } from "next"; -import ProductCategory from "@/components/product/category"; -import ProductDetail from "@/components/product/detail"; -import ArticleCategory from "@/components/article/category"; -import ArticleDetail from "@/components/article/detail"; -import ArticleHome from "@/components/article/home"; +// Cache findBySlug để tránh gọi 2 lần +const getCachedSlugData = cache(async (slug: string) => { + if (!slug) return null; + // fetch data + + return findBySlug(slug); +}); + +export async function generateMetadata({ + params, +}: { + params: Promise<{ slug: string }>; +}): Promise { + const { slug } = await params; + const result = await getCachedSlugData(slug); + + + if (!result) { + return { title: "Local PC" }; + } + + return metadataBySlug(result); +} export default async function SlugPage({ params, }: { params: Promise<{ slug: string }>; }) { - const { slug } = await params; - if (!slug) { - notFound(); - } - - const result = findBySlug(slug); + const { slug } = await params; + const result = await getCachedSlugData(slug); if (!result) { notFound(); } - - switch (result.type) { - case "product_category": - return ; - - case "product_detail": - return ; - - case "article_home": - return ; - - case "article_category": - return ; - - case "article_detail": - return ; - - default: - const _exhaustive: never = result; - notFound(); - } -} + + return renderBySlug(result, slug); +} \ No newline at end of file diff --git a/src/app/[slug]/renderBySlug.tsx b/src/app/[slug]/renderBySlug.tsx new file mode 100644 index 0000000..9ac6e49 --- /dev/null +++ b/src/app/[slug]/renderBySlug.tsx @@ -0,0 +1,30 @@ +// src/app/[slug]/renderBySlug.tsx +import { notFound } from "next/navigation"; + +import ProductCategory from "@/components/product/category"; +import ProductDetail from "@/components/product/detail"; +import ArticleCategory from "@/components/article/category"; +import ArticleDetail from "@/components/article/detail"; +import ArticleHome from "@/components/article/home"; + +export function renderBySlug(result: any, slug: string) { + switch (result.type) { + case "product_category": + return ; + + case "product_detail": + return ; + + case "article_home": + return ; + + case "article_category": + return ; + + case "article_detail": + return ; + + default: + notFound(); + } +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a83538d..9ce8d07 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,7 +7,7 @@ import TooltipProvider from "@/components/providers/TooltipProvider"; import '../styles/globals.css'; export const metadata: Metadata = { - title: "Local Pc", + title: "Homepage- Local Pc", description: "hoanghapc", }; diff --git a/src/app/page.tsx b/src/app/page.tsx index e643fb4..8e9f06a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,8 +3,6 @@ import Home from "@/components/home"; export default function HomePage() { return ( - <> - - + ) } diff --git a/src/app/tin-tuc/page.tsx b/src/app/tin-tuc/page.tsx index 13e58d3..014976c 100644 --- a/src/app/tin-tuc/page.tsx +++ b/src/app/tin-tuc/page.tsx @@ -1,8 +1,13 @@ import ArticleHome from "@/components/article/home"; +import type { Metadata } from "next"; +export const metadata: Metadata = { + title: "Tin tức ", + description: "hoanghapc", +}; export default function Home() { return ( - + ) } diff --git a/src/components/article/Category/index.tsx b/src/components/article/Category/index.tsx index d419471..1cbbadb 100644 --- a/src/components/article/Category/index.tsx +++ b/src/components/article/Category/index.tsx @@ -1,312 +1,168 @@ -export default function ArticleCategory({ slug }: { slug: string }) { - return( +'use client'; +import Link from "next/link"; +import { useEffect } from 'react'; +import { categories } from "@/data/categories"; +import ArticleItem from "@/components/shared/ArticleItem"; + +export default function ArticleCategory({ slug }: any) { + useEffect(() => { + document.body.style.background = '#F5F8FF'; + }, []); + + console.log('slug: ', slug) + const { article } = categories.article.all_category + + + const categoryList = slug.children.length > 0 + ? slug.children + : article + console.log('categoryList: ', categoryList) + return ( <> -

Danh mục tin

-
- {/* */} - - {/* Tin tức */} -
-
- - - -
- -

- {" "} - Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eum - quidem asperiores provident dicta veniam deleniti eaque - repudiandae cum esse, ducimus officiis quibusdam pariatur neque - voluptates voluptas. Quisquam qui minus dolorum?{" "} -

-
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit, - obcaecati ducimus veritatis aliquid sunt accusamus unde nisi nostrum - fugit facere illo quos. Ad error suscipit, quidem optio aut - laudantium at! +

Danh mục tin

+
+ {/* */} +
+ {categoryList.map((item:any) => ( + + {item.title} + + ))}
- -
- - - -
- -

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eum - quidem asperiores provident dicta veniam deleniti eaque - repudiandae cum esse, ducimus officiis quibusdam pariatur neque - voluptates voluptas. Quisquam qui minus dolorum? -

-
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit, - obcaecati ducimus veritatis aliquid sunt accusamus unde nisi nostrum - fugit facere illo quos. Ad error suscipit, quidem optio aut - laudantium at! -
-
- - - - Mai Văn Học -
-
-
-
- - - -
- -

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eum - quidem asperiores provident dicta veniam deleniti eaque - repudiandae cum esse, ducimus officiis quibusdam pariatur neque - voluptates voluptas. Quisquam qui minus dolorum? -

-
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit, - obcaecati ducimus veritatis aliquid sunt accusamus unde nisi nostrum - fugit facere illo quos. Ad error suscipit, quidem optio aut - laudantium at! -
-
- - - - Mai Văn Học -
-
-
-
- - - -
- -

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eum - quidem asperiores provident dicta veniam deleniti eaque - repudiandae cum esse, ducimus officiis quibusdam pariatur neque - voluptates voluptas. Quisquam qui minus dolorum? -

-
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit, - obcaecati ducimus veritatis aliquid sunt accusamus unde nisi nostrum - fugit facere illo quos. Ad error suscipit, quidem optio aut - laudantium at! -
-
- - - - Mai Văn Học -
-
-
-
- - - -
- -

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eum - quidem asperiores provident dicta veniam deleniti eaque - repudiandae cum esse, ducimus officiis quibusdam pariatur neque - voluptates voluptas. Quisquam qui minus dolorum? -

-
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit, - obcaecati ducimus veritatis aliquid sunt accusamus unde nisi nostrum - fugit facere illo quos. Ad error suscipit, quidem optio aut - laudantium at! -
-
- - - - Mai Văn Học -
-
-
-
- {/* Video */} - - {/* Paging */} - -
) diff --git a/src/components/article/Home/Tiktok.tsx b/src/components/article/Home/Tiktok.tsx index a586ec5..37fc02b 100644 --- a/src/components/article/Home/Tiktok.tsx +++ b/src/components/article/Home/Tiktok.tsx @@ -1,166 +1,124 @@ import Link from "next/link"; +import { Swiper, SwiperSlide } from 'swiper/react'; +import { Pagination, Autoplay } from 'swiper/modules'; export default function Tiktok() { + return (

- Tiktok Channel

+

- Theo dõi kênh tiktok của Hoàng hà PC:

- - ORIGINAL SOUND - HOÀNG HÀ PC - +
+
) diff --git a/src/components/article/Home/index.tsx b/src/components/article/Home/index.tsx index ee49431..e863da2 100644 --- a/src/components/article/Home/index.tsx +++ b/src/components/article/Home/index.tsx @@ -1,27 +1,21 @@ 'use client'; import Link from "next/link"; import { useEffect } from 'react'; -import useScrollSpy from "@/hooks/useScrollSpy"; import { articleList } from "@/data/articles"; import { categories } from "@/data/categories"; +import useScrollSpy from "@/hooks/useScrollSpy"; + import TopArticleList from "./TopArticleList"; import ArticleCategories from "./ArticleCategories"; import Video from "./Video" import Tiktok from "./Tiktok"; export default function ArticleHome() { - const { - article, - video, - job - } = categories.article.all_category; - - console.log(video, job) const top_article_list = articleList - .flatMap(item => item.list) - .filter(item => item.is_featured == 1) - .slice(0, 10); + .flatMap(item => item.list) + .filter(item => item.is_featured == 1) + .slice(0, 10); useEffect(() => { document.body.style.background = '#F5F8FF'; @@ -44,7 +38,7 @@ export default function ArticleHome() {
- {article.map((item) => ( + {categories.article.all_category.article.map((item:any) => (
- {article.map((item: any) =>{ + {categories.article.all_category.article.map((item: any) =>{ const data = articleList.find(i => i.id === item.id)?.list || []; return (null); + const productComment = CommentData.list.filter( (item:any) => item.item_type === "product" ); + const filteredComments = useMemo(() => { - if (star === null) return CommentData.list; - return CommentData.list.filter(item => Number(item.rate) === star); + if (star === null) return productComment; + return productComment.filter(item => Number(item.rate) === star); }, [star]); + return (
-

{CommentData.list.length} Bình luận

+

{filteredComments.length} Bình luận

- {item.list.length > 0 && + {productReview.length > 0 &&
- +
}
diff --git a/src/data/articleDetail/index.tsx b/src/data/articleDetail/index.tsx new file mode 100644 index 0000000..b1966d4 --- /dev/null +++ b/src/data/articleDetail/index.tsx @@ -0,0 +1,482 @@ +export const ArticleDetail = { + "content": "

N\u1ebfu b\u1ea1n l\u00e0 game th\u1ee7 hay l\u00e0 nh\u1eefng ng\u01b0\u1eddi ch\u1ea1y gi\u1ea3 l\u1eadp<\/strong> \u0111\u1ec3 t\u1ea1o view, th\u00ec kh\u00e1i ni\u1ec7m gi\u1ea3 l\u1eadp Android<\/strong>\u00a0nh\u01b0 NoxPlayer, LD Player<\/strong> tr\u00ean Windows PC<\/strong> kh\u00f4ng c\u00f2n l\u00e0 g\u00ec qu\u00e1 xa l\u1ea1. V\u1edbi nhu c\u1ea7u c\u00e0ng ng\u00e0y c\u00e0ng t\u0103ng c\u1ee7a vi\u1ec7c ch\u1ea1y gi\u1ea3 l\u1eadp m\u00e1y \u1ea3o Android<\/strong> c\u00e0ng cao, th\u00ec vi\u1ec7c x\u00e2y d\u1ef1ng m\u1ed9t c\u1ea5u h\u00ecnh ch\u1ea5t l\u01b0\u1ee3ng c\u00f3 th\u1ec3 \u0111\u1ea3m b\u1ea3o login \u0111\u01b0\u1ee3c nhi\u1ec1u Account<\/strong> m\u1ed9t l\u00fac, hay ch\u1ea1y c\u00e1c soft auto m\u1ed9t c\u00e1ch d\u1ec5 d\u00e0ng, Ho\u00e0ng H\u00e0 PC<\/strong> xin h\u01b0\u1edbng d\u1eabn v\u1edbi b\u1ea1n trong b\u00e0i vi\u1ebft sau.<\/em><\/p>\r\n

L\u01b0u \u00dd: \u0110\u1ec3 m\u1edf \u0111\u01b0\u1ee3c nhi\u1ec1u th\u00ec m\u00e1y t\u00ednh gi\u1ea3 l\u1eadp NoxPlayer<\/strong> th\u00ec y\u00eau c\u1ea7u ph\u1ea3i c\u00f3 CPU nhi\u1ec1u nh\u00e2n, h\u1ed7 tr\u1ee3 \u1ea3o h\u00f3a, v\u00e0 RAM h\u1ec7 th\u1ed1ng ph\u1ea3i nhi\u1ec1u, Card \u0111\u1ed3 h\u1ecda ph\u1ea3i c\u00f3 t\u1eeb 4GB VRAM tr\u1edf l\u00ean.<\/p>\r\n

Gi\u1ea3i ph\u00e1p ch\u1ea1y NoxPlayer<\/strong> tr\u00ecnh gi\u1ea3 l\u1eadp Android<\/strong> tr\u00ean h\u1ec7 th\u1ed1ng m\u00e1y PC<\/strong> \u0111\u00e1p \u1ee9ng t\u1ed1t 16-20 gi\u1ea3 l\u1eadp<\/em> \u0111\u01b0\u1ee3c Ho\u00e0ng H\u00e0 PC<\/strong><\/a> tri\u1ec3n khai r\u1ea5t nhi\u1ec1u t\u1edbi qu\u00fd kh\u00e1ch h\u00e0ng trong th\u1eddi gian qua nh\u01b0 sau :<\/p>\r\n

\"C\u1ea5u<\/p>\r\n

Ch\u1ecdn CPU n\u00e0o \u0111\u1ec3 ch\u1ea1y gi\u1ea3 l\u1eadp NoxPlayer?<\/strong><\/h2>\r\n

Hi\u1ec7n nay c\u00f3 r\u1ea5t nhi\u1ec1u ng\u01b0\u1eddi b\u00e1n kh\u00f4ng c\u00f3 chuy\u00ean m\u00f4n s\u00e2u v\u1ec1 c\u00f4ng ngh\u1ec7 \u0111\u00e3 gi\u1edbi thi\u1ec7u cho nhi\u1ec1u b\u1ea1n tr\u1ebb CPU ch\u1ea1y gi\u1ea3 l\u1eadp Nox th\u00f4ng qua chip Intel<\/strong><\/em>\u00a0CORE I7<\/em><\/strong><\/a> ho\u1eb7c AMD RYZEN 7<\/a><\/strong>\u00a0ho\u1eb7c cao c\u1ea5p h\u01a1n<\/em>. Ch\u00fang t\u00f4i xin khuy\u1ebfn c\u00e1o v\u1edbi c\u00e1c b\u1ea1n nh\u1eefng con CPU n\u00e0y ch\u1ec9 c\u00f3 t\u1ea7m 6 nh\u00e2n 12 lu\u1ed3ng n\u00ean ch\u1ec9 c\u00f3 th\u1ec3 ch\u1ea1y \u0111\u01b0\u1ee3c 6 NOX ho\u1eb7c th\u1ea5p h\u01a1n v\u00e0 chi ph\u00ed \u0111\u1ea7u t\u01b0 cho nh\u1eefng CPU n\u00e0y gi\u00e1 x\u1ea5p ch\u1ec9 30tr r\u1ea5t ch\u00e1t v\u1edbi nhi\u1ec1u b\u1ea1n tr\u1ebb.<\/p>\r\n

\u0110\u1ec3 c\u00f3 th\u1ec3 ch\u1ea1y \u0111\u01b0\u1ee3c 24-35 NOX<\/strong> ho\u1eb7c th\u1eadm ch\u00ed 60 NOX<\/strong> th\u00ec ch\u1ec9 c\u00f3 CPU INTEL XEON<\/em><\/strong> chuy\u00ean d\u1ee5ng m\u1edbi c\u00f3 th\u1ec3 \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c nhu c\u1ea7u n\u00e0y. B\u1edfi\u00a01 CPU XEON<\/em> <\/strong>c\u00f3 th\u1ec3 c\u00f3 s\u1ed1 nh\u00e2n t\u1ed1i \u0111a l\u00e0 36 s\u1ed1 lu\u1ed3ng t\u1ed1i \u0111a la 72. Mainboard h\u1ed7 tr\u1ee3 CPU XEON<\/em><\/strong> l\u1ea1i c\u00f3 th\u1ec3 l\u1eafp \u0111\u01b0\u1ee3c 2-4 con<\/strong> ch\u1ea1y song song cho t\u1ed5ng s\u1ed1 nh\u00e2n v\u00e0 s\u1ed1 lu\u1ed3ng c\u1ee7a 1 m\u00e1y c\u00f3 th\u1ec3 l\u00ean h\u01a1n 100.<\/p>\r\n

V\u1edbi t\u1ea7m ti\u1ec1n 30tr, mua Intel CORE I7<\/em><\/strong> hay AMD RYZEN<\/em><\/strong> ch\u1ec9 ch\u1ea1y \u0111\u01b0\u1ee3c 4-6 NOX<\/strong> trong khi \u0111\u00f3 c\u00f9ng t\u1ea7m ti\u1ec1n \u0111\u00f3 c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1ea7u t\u01b0 m\u00e1y ch\u1ea1y INTEL XEON<\/em><\/strong> ch\u1ea1y \u0111\u01b0\u1ee3c 24-28 NOX<\/strong> nh\u01b0 v\u1eady chi ph\u00ed b\u1ecf ra th\u1ef1c s\u1ef1 m\u1edbi hi\u1ec7u qu\u1ea3.<\/p>\r\n

Ch\u1ecdn Mainboard<\/a>, Ngu\u1ed3n n\u00e0o \u0111\u1ec3 c\u00e0y gi\u1ea3 l\u1eadp, Auto NoxPlayer ch\u1ea1y 24\/24 ?<\/h2>\r\n

Ch\u1ea1y 24\/24 l\u00e0 m\u00e1y ch\u1ea1y li\u00ean t\u1ee5c c\u1ea3 th\u00e1ng ho\u1eb7c c\u1ea3 n\u0103m kh\u00f4ng t\u1eaft. Ch\u1ec9 c\u00f3 mainboard c\u1ee7a m\u00e1y ch\u1ee7 SERVER<\/em><\/strong> m\u1edbi c\u00f3 th\u1ec3 \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c \u0111i\u1ec1u n\u00e0y. M\u00e1y tr\u1ea1m (WORKSTATION<\/em>)<\/strong> l\u00e0 m\u00e1y c\u00f3 hi\u1ec7u n\u0103ng l\u00e0m vi\u1ec7c cao h\u01a1n m\u00e1y b\u00e0n b\u00ecnh th\u01b0\u1eddng (DESKTOP<\/em>)<\/strong> do c\u00f3 h\u1ed7 tr\u1ee3 \u0111\u01b0\u1ee3c CPU INTEL XEON<\/em><\/strong>.<\/p>\r\n

Tuy nhi\u00ean m\u00e1y tr\u1ea1m l\u1ea1i kh\u00f4ng th\u1ec3 ch\u1ea1y auto 24\/24 v\u00ec c\u01a1 ch\u1ebf ki\u1ec3m tra l\u1ed7i v\u00e0 t\u1ef1 s\u1eeda l\u1ed7i kh\u00f4ng c\u00f3 tr\u00ean main m\u00e1y tr\u1ea1m. R\u1ea5t nhi\u1ec1u ng\u01b0\u1eddi b\u00e1n \u00edt kinh nghi\u1ec7m kh\u00f4ng ph\u00e2n bi\u1ec7t \u0111\u01b0\u1ee3c m\u00e1y WORKSTATION<\/em><\/strong> (m\u00e1y tr\u1ea1m) v\u00e0 m\u00e1y SERVER<\/em><\/strong> (m\u00e1y ch\u1ee7) n\u00ean \u0111\u00e3 gi\u1edbi thi\u1ec7u mainboard <\/strong>ASUS<\/strong>\u00a0<\/em>ho\u1eb7c\u00a0ASROCK<\/em><\/strong> \u0111i k\u00e8m v\u1edbi ngu\u1ed3n c\u1ee7a m\u00e1y b\u00e0n nh\u01b0 ANTEC, ROSEWILL,....<\/em><\/strong> Nh\u1eefng th\u01b0\u01a1ng hi\u1ec7u ASUS, MSI,...<\/em> hay ANTEC NEO, ROSEWILL<\/em><\/strong> ch\u1ec9 chuy\u00ean v\u1ec1 m\u00e1y b\u00e0n n\u00ean s\u1ea3n ph\u1ea9m c\u1ee7a h\u1ecd th\u01b0\u1eddng kh\u00f4ng th\u1ec3 ch\u1ea1y 24\/24.<\/p>\r\n

Ch\u00fang t\u00f4i khuy\u1ebfn c\u00e1o kh\u00e1ch h\u00e0ng ch\u1ec9 s\u1eed d\u1ee5ng mainboard ho\u1eb7c ngu\u1ed3n m\u00e1y ch\u1ee7\u00a0SERVER<\/em> v\u1edbi nh\u1eefng th\u01b0\u01a1ng hi\u1ec7u chuy\u00ean v\u1ec1 m\u00e1y ch\u1ee7 nh\u01b0: DELL, IBM, HP, SUPERMICRO, INTEL,..<\/strong>.<\/em> \u0111\u1ec3 c\u00f3 th\u1ec3 ch\u1ea1y 24\/24 b\u1ec1n v\u1eefng l\u00e2u d\u00e0i, kh\u00f4ng lo s\u1ee3 ch\u1ebft main, s\u1eadp ngu\u1ed3n, ch\u00e1y n\u1ed5,...<\/strong><\/p>\r\n

Ch\u1ecdn\u00a0Card M\u00e0n H\u00ecnh<\/a> n\u00e0o \u0111\u1ec3 ch\u1ea1y gi\u1ea3 l\u1eadp Nox ?<\/strong><\/h2>\r\n

Ch\u00fang t\u00f4i khuy\u1ebfn c\u00e1o n\u00ean ch\u1ea1y t\u1ed1i thi\u1ec3u VGA<\/strong> c\u00f3 VRAM 4GB<\/strong>\u00a0(gi\u1ea3 l\u1eadp 12-16 NOX), 8GB<\/strong> (24-28NOX), 11GB<\/strong> (> 40NOX)<\/em> - C\u00e1c b\u1ea1n kh\u00f4ng \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng QUADRO<\/strong> hay FIREPRO<\/strong> b\u1edfi \u0111\u00e2y l\u00e0 d\u00f2ng chuy\u00ean thi\u1ebft k\u1ebf, s\u1ed1 nh\u00e2n CUDA (NVIDIA)<\/strong> hay Shading Units (AMD RADEON)<\/strong> c\u1ee7a card s\u1ebd kh\u00f4ng cao, r\u1ea5t kh\u00f3 \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c \u0111\u1ed9 m\u01b0\u1ee3t c\u1ee7a game.<\/p>\r\n

Ch\u1ecdn\u00a0\u1ed4 C\u1ee9ng SSD<\/a> n\u00e0o \u0111\u1ec3 ch\u1ea1y gi\u1ea3 l\u1eadp Nox ?<\/strong><\/h2>\r\n

M\u1ed9t\u00a0game online t\u1ed1n g\u1ea7n 1-2GB d\u1eef li\u1ec7u, do v\u1eady khi ch\u1ea1y nhi\u1ec1u c\u1eeda s\u1ed5 NOX t\u1ed1c \u0111\u1ed9 \u0111\u1ecdc ghi c\u1ee7a \u1ed5 c\u1ee9ng b\u1eaft bu\u1ed9c ph\u1ea3i tr\u00ean 400MB\/s. Ho\u00e0ng H\u00e0 PC khuy\u00ean c\u00e1c b\u1ea1n n\u00ean s\u1eed d\u1ee5ng \u1ed5 c\u1ee9ng ch\u1ea5t l\u01b0\u1ee3ng cao nh\u01b0 SAMSUNG, INTEL, ADATA...<\/em>\u00a0<\/strong><\/p>\r\n

C\u00e1c b\u1ea1n ch\u1ec9 n\u00ean s\u1eed d\u1ee5ng \u1ed5 th\u01b0\u01a1ng hi\u1ec7u SAMSUNG<\/em><\/strong> ho\u1eb7c INTEL<\/em> <\/strong>v\u00ec \u0111\u00e2y l\u00e0 2 th\u01b0\u01a1ng hi\u1ec7u n\u1ed5i ti\u1ebfng chuy\u00ean v\u1ec1 SSD<\/strong> t\u1ed1c \u0111\u1ed9 cao c\u0169ng nh\u01b0 c\u00f3 t\u00ednh \u1ed5n \u0111\u1ecbnh v\u00e0 \u0111\u1ed9 b\u1ec1n t\u1ed1t. Ho\u00e0ng H\u00e0 PC<\/strong>\u00a0ch\u1ec9 s\u1eed d\u1ee5ng \u1ed5 SAMSUNG<\/strong> ho\u1eb7c INTEL<\/strong> ho\u1eb7c nh\u1eefng \u1ed5 c\u1ee9ng ch\u1ea5t l\u01b0\u1ee3ng cao \u0111\u00e3 \u0111\u01b0\u1ee3c ki\u1ec3m tra k\u1ef9 \u0111\u1ec3 l\u1eafp cho c\u00e1c b\u1ea1n ch\u1ea1y NOX<\/strong> nh\u1eb1m b\u1ea3o \u0111\u1ea3m th\u01b0\u01a1ng hi\u1ec7u, t\u00ednh \u1ed5n \u0111\u1ecbnh \u0111\u1ec3 c\u00e1c b\u1ea1n c\u00e0y game.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\u2705B\u1ed9 nh\u1edb RAM<\/td>\r\n32GB tr\u1edf l\u00ean<\/td>\r\n<\/tr>\r\n
\u2705CPU<\/td>\r\nIntel\u00a0Xeon<\/td>\r\n<\/tr>\r\n
\u2705Bo m\u1ea1ch ch\u1ee7<\/td>\r\nMainboard Server<\/td>\r\n<\/tr>\r\n
\u2705\u1ed4 C\u1ee9ng HDD, SSD<\/td>\r\nSSD t\u1eeb 256GB tr\u1edf l\u00ean<\/td>\r\n<\/tr>\r\n
\u2705Card \u0111\u1ed3 h\u1ecda<\/td>\r\nVGA t\u1eeb 4GB tr\u1edf L\u00ean<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n

C\u1ea5u h\u00ecnh NOX \u0111\u1ec3 ch\u1ea1y gi\u1ea3 l\u1eadp t\u1ed1i \u01b0u<\/h2>\r\n

R\u1ea5t nhi\u1ec1u ng\u01b0\u1eddi b\u00e1n, c\u1eeda h\u00e0ng kh\u00e1c kh\u00f4ng c\u00f3 kinh nghi\u1ec7m ch\u1ea1y NOX<\/strong> \u0111\u00e3 l\u00ean m\u1ea1ng c\u00f3p nh\u1eb7t nh\u1eefng m\u1eabu b\u00e0i vi\u1ebft config NOX<\/strong> v\u00e0\u00a0nh\u1eefng config n\u00e0y ch\u1ec9 ch\u1ea1y \u0111\u01b0\u1ee3c t\u1ea7m 4-8 NOX. Ch\u01b0a k\u1ec3 nh\u1eefng ng\u01b0\u1eddi b\u00e1n n\u00e0y ho\u00e0n to\u00e0n kh\u00f4ng h\u1ec1 c\u00f3 video quay th\u1ef1c t\u1ebf ch\u1ea1y gi\u1ea3 l\u1eadp NOX<\/strong> d\u1eabn t\u1edbi kh\u00f4ng \u0111\u00e1p \u1ee9ng y\u00eau c\u1ea7u c\u1ee7a ng\u01b0\u1eddi mua.\u00a0Ho\u00e0ng H\u00e0\u00a0PC<\/strong> \u0111\u00e3 c\u00f3 kinh nghi\u1ec7m chuy\u00ean s\u00e2u trong v\u1ea5n \u0111\u1ec1 config NOX gi\u00fap \u0111\u1ea3m b\u1ea3o y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng mu\u1ed1n.<\/p>\r\n

\u0110\u00c2Y L\u00c0 M\u1ed8T Y\u1ebeU T\u1ed0 R\u1ea4T QUAN TR\u1eccNG \u0110\u1ec2 C\u00d3 TH\u1ec2 CH\u1ea0Y M\u01af\u1ee2T M\u00c0 S\u1ed0 L\u01af\u1ee2NG L\u1edaN NOX 24\/24<\/strong><\/p>\r\n

Ho\u00e0ng H\u00e0 PC<\/strong> s\u1ebd cho kh\u00e1ch h\u00e0ng ch\u1ea1y th\u1eed t\u1ea1i c\u1eeda h\u00e0ng ho\u1eb7c TeamView hay Zalo Live Camera \u0111\u1ec3 xem tr\u1ef1c ti\u1ebfp k\u1ebft qu\u1ea3 ch\u1ea1y tr\u01b0\u1edbc khi b\u00e0n giao cho kh\u00e1ch.<\/p>\r\n

L\u01afU \u00dd: <\/em><\/strong>C\u00f3 r\u1ea5t nhi\u1ec1u kh\u00e1ch h\u00e0ng t\u1ef1 build c\u1ea5u h\u00ecnh gi\u1ed1ng nh\u01b0 nh\u1eefng c\u1ea5u h\u00ecnh m\u00e0\u00a0Ho\u00e0ng H\u00e0\u00a0PC<\/strong> \u0111\u00e3 \u0111\u1ec1 ngh\u1ecb t\u1eeb nh\u1eefng ng\u01b0\u1eddi b\u00e1n kh\u00e1c, tuy nhi\u00ean khi ch\u1ea1y th\u00ec ch\u1ec9 ch\u1ea1y \u0111\u01b0\u1ee3c h\u01a1n 10 nox l\u00e0 b\u1ecb gi\u1eadt v\u00e0 \u0111\u00e3 g\u1ecdi \u0111i\u1ec7n nh\u1edd\u00a0Ho\u00e0ng H\u00e0\u00a0PC h\u1ed7 tr\u1ee3.<\/strong>\u00a0Ho\u00e0ng H\u00e0\u00a0PC t<\/strong>h\u00e0nh th\u1eadt kh\u00f4ng th\u1ec3 h\u1ed7 tr\u1ee3 b\u1edfi v\u00ec c\u1ea5u h\u00ecnh kh\u00e1ch t\u1ef1 build b\u00ean ngo\u00e0i kh\u00f4ng \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c ti\u00eau chu\u1ea9n c\u1ee7a\u00a0Ho\u00e0ng H\u00e0\u00a0PC<\/strong> \u0111\u1ec1 ra (MAIN SERVER, NGU\u1ed2N SERVER,....)<\/em><\/p>\r\n

Xem Th\u00eam:\u00a0C\u1ea5u H\u00ecnh m\u00e1y t\u00ednh d\u1ef1ng phim, edit video chuy\u00ean nghi\u1ec7p<\/a><\/em><\/strong><\/p>\r\n

N\u1ebfu b\u1ea1n \u0111ang c\u00f3 nhu c\u1ea7u ch\u1ea1y m\u00e1y \u1ea3o gi\u1ea3 l\u1eadp hay Nox Player, h\u00e3y li\u00ean h\u1ec7 v\u1edbi Ho\u00e0ng H\u00e0 PC \u0111\u1ec3 \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n k\u1ef9, b\u1edfi n\u1ebfu kh\u00f4ng b\u1ea1n s\u1ebd d\u1ec5 ch\u1ecdn nh\u1ea7m s\u1ea3n ph\u1ea9m m\u00ecnh kh\u00f4ng mong mu\u1ed1n v\u00ec \u0111\u1eb7c t\u00ednh c\u0169ng nh\u01b0 t\u1ed1i \u01b0u c\u1ee7a c\u1ea5u h\u00ecnh n\u00e0y. Ho\u00e0ng H\u00e0 PC l\u00e0 chuy\u00ean gia h\u00e0ng \u0111\u1ea7u trong l\u0129nh v\u1ef1c l\u1eafp \u0111\u1eb7t v\u00e0 thi\u1ebft l\u1eadp m\u00e1y \u1ea3o, gi\u1ea3 l\u1eadp.<\/p>", + "author": "Mai V\u0103n H\u1ecdc", + "image_list": [ + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_12-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_11-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_10-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_9-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_8-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_7-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_6-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_5-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_4-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_3-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_2-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2110_pc_gia_lap_1-min.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2008_task-manager-chay-nox.png" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/1408_pc-chay-gia-lap.JPG" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/1308_case-chay-gia-lap.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_da-nhiem.JPG" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_nhanh-muot-ma.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_noxplayer3.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_noxplayer1.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_nox-app-player-7.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_nox-app-player-6.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_nox-app-player-5.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_nox-app-player-12.jpg" + }, + { + "caption": "0", + "file_location": "https:\/\/hoanghapccdn.com\/media\/news\/2710_nox-app-player-11.jpg" + } + ], + "related": { + "product": [ + { "id": 2829, "productId": 2829, "priceUnit": "chiếc", "marketPrice": 5890000, "price": 5390000, "price_off": 8, "currency": "vnd", "sale_rules": { "price": 5390000, "normal_price": 5390000, "min_purchase": 1, "max_purchase": 1, "remain_quantity": 1, "from_time": 0, "to_time": 0, "type": "" }, "lastUpdate": "2025-06-30 15:36:26", "warranty": "36 Tháng", "productName": "Màn hình đồ họa Asus ProArt PA247CV (23.8inch / FHD / IPS/ 75Hz/ USB-C 65W)", "productSummary": "

Kích thước: 23.8 inch

\r\n

Tấm nền: IPS

\r\n

Độ phân giải: FHD (1920x1080)

\r\n

Tốc độ làm mới: 75Hz

\r\n

Thời gian đáp ứng: 5ms(GTG)

\r\n

Cổng kết nối: HDMI(v1.4) x 1, DisplayPort 1.2 x 2, USB-C x 1

\r\n

Phụ kiện: Cáp nguồn, Cáp DisplayPort

", "package_accessory": "0", "productImage": { "small": "https://hoanghapccdn.com/media/product/75_2829_asus_pro_art_pa_247cv_1.jpg", "large": "https://hoanghapccdn.com/media/product/250_2829_asus_pro_art_pa_247cv_1.jpg", "original": "" }, "imageCollection": [{ "image": { "small": "https://hoanghapccdn.com/media/product/75_2829_", "large": "https://hoanghapccdn.com/media/product/250_2829_", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_2829_asus_pro_art_pa_247cv_5.jpg", "large": "https://hoanghapccdn.com/media/product/250_2829_asus_pro_art_pa_247cv_5.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_2829_asus_pro_art_pa_247cv_4.jpg", "large": "https://hoanghapccdn.com/media/product/250_2829_asus_pro_art_pa_247cv_4.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_2829_asus_pro_art_pa_247cv_3.jpg", "large": "https://hoanghapccdn.com/media/product/250_2829_asus_pro_art_pa_247cv_3.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_2829_asus_pro_art_pa_247cv_2.jpg", "large": "https://hoanghapccdn.com/media/product/250_2829_asus_pro_art_pa_247cv_2.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_2829_asus_pro_art_pa_247cv_1.jpg", "large": "https://hoanghapccdn.com/media/product/250_2829_asus_pro_art_pa_247cv_1.jpg", "original": "" }, "alt": "" }], "productUrl": "/man-hinh-asus-proart-pa247cv", "brand": { "id": 2, "brand_index": "asus", "name": "ASUS", "image": "https://hoanghapccdn.com/media/brand/asus.jpg", "url": "/brand/asus" }, "visit": 18220, "rating": 5, "reviewCount": 3810, "review": { "rate": 5, "total": 3810 }, "comment": { "rate": 0, "total": 0 }, "quantity": 1, "productSKU": "0", "productModel": "", "hasVAT": 0, "condition": "0", "config_count": 0, "configurable": 0, "component_count": 0, "specialOffer": { "all": [] }, "specialOfferGroup": [], "productType": { "isNew": 0, "isHot": 1, "isBestSale": 0, "isSaleOff": 0, "online-only": 0 }, "bulk_price": null, "thum_poster": "0", "thum_poster_type": "", "addon": [], "variants": [], "variant_option": [], "extend": [], "weight": 0, "promotion_price": null, "deal_list": [], "pricing_traces": [], "categories": [{ "id": 75, "catPath": ":75:52:9", "name": "Màn hình Asus", "url": "/man-hinh-asus" }, { "id": 9, "catPath": ":9", "name": "Màn Hình Máy Tính", "url": "/man-hinh-may-tinh" }, { "id": 52, "catPath": ":52:9", "name": "Màn Hình Theo Hãng", "url": "/man-hinh-theo-hang" }] }, { "id": 5677, "productId": 5677, "priceUnit": "chiếc", "marketPrice": 34000000, "price": 30990000, "price_off": 9, "currency": "vnd", "sale_rules": { "price": 30990000, "normal_price": 30990000, "min_purchase": 1, "max_purchase": 1, "remain_quantity": 1, "from_time": 0, "to_time": 0, "type": "" }, "lastUpdate": "2025-09-30 13:50:46", "warranty": "36 Tháng", "productName": "Màn hình cong Dell UltraSharp U3824DW (38 inch/ WQHD+/ IPS/ 60Hz/ USB-C 15W/ RJ45)", "productSummary": "

Màn hình cong Dell UltraSharp U3824DW

\r\n

Tỉ lệ: 21:9

\r\n

Kích thước: 38 inch

\r\n

Độ phân giải: WQHD+ 3840 x 1600 at 60 Hz

\r\n

Tấm nền: IPS

\r\n

Thời gian đáp ứng: 5 ms (Fast)

\r\n

Cổng kết nối: HDMI, DP, RJ45, USB 3.2, USB-C

", "package_accessory": "0", "productImage": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha1.jpg", "original": "" }, "imageCollection": [{ "image": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha1.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha6.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha6.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha4.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha4.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha5.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha5.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha3.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha3.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5677_dell_ultrasharp_u3824dw_ha2.jpg", "large": "https://hoanghapccdn.com/media/product/250_5677_dell_ultrasharp_u3824dw_ha2.jpg", "original": "" }, "alt": "" }], "productUrl": "/man-hinh-cong-dell-ultrasharp-u3824dw", "brand": { "id": 14, "brand_index": "dell", "name": "DELL", "image": "https://hoanghapccdn.com/media/brand/dell.jpg", "url": "/brand/dell" }, "visit": 1064, "rating": 0, "reviewCount": 0, "review": { "rate": 0, "total": 0 }, "comment": { "rate": 0, "total": 0 }, "quantity": 1, "productSKU": "0", "productModel": "", "hasVAT": 0, "condition": "0", "config_count": 0, "configurable": 0, "component_count": 0, "specialOffer": { "all": [] }, "specialOfferGroup": [], "productType": { "isNew": 0, "isHot": 1, "isBestSale": 0, "isSaleOff": 0, "online-only": 0 }, "bulk_price": [], "thum_poster": "0", "thum_poster_type": "", "addon": [], "variants": [], "variant_option": [], "extend": [], "weight": 0, "promotion_price": null, "deal_list": [], "pricing_traces": [], "categories": [{ "id": 60, "catPath": ":60:52:9", "name": "Màn hình Dell", "url": "/man-hinh-dell" }] }, { "id": 5589, "productId": 5589, "priceUnit": "chiếc", "marketPrice": 23000000, "price": 22600000, "price_off": 2, "currency": "vnd", "sale_rules": { "price": 22600000, "normal_price": 22600000, "min_purchase": 1, "max_purchase": 1, "remain_quantity": 1, "from_time": 0, "to_time": 0, "type": "" }, "lastUpdate": "2025-07-21 11:14:15", "warranty": "36 Tháng", "productName": "Màn hình cong Dell UltraSharp U3425WE (34 inch/ 2K/ IPS/ 120Hz/ Thunderbolt 4 90W/ RJ45/ Loa)", "productSummary": "

Tỉ lệ: 21:9

\r\n

Kích thước: 34 inch

\r\n

Độ phân giải: 2K (3440 x 1440)

\r\n

Tấm nền: IPS

\r\n

Tần số quét : 120 Hz

\r\n

Thời gian đáp ứng : 5 ms (Fast)

\r\n

Cổng kết nối: HDMI, DP, RJ45, Thunderbolt™ 4, USB 3.2, USB-C

", "package_accessory": "0", "productImage": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha1.jpg", "original": "" }, "imageCollection": [{ "image": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha1.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha2.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha2.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha6.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha6.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha4.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha4.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5589_dell_u3425we_ha3.jpg", "large": "https://hoanghapccdn.com/media/product/250_5589_dell_u3425we_ha3.jpg", "original": "" }, "alt": "" }], "productUrl": "/man-hinh-dell-u3425we", "brand": { "id": 14, "brand_index": "dell", "name": "DELL", "image": "https://hoanghapccdn.com/media/brand/dell.jpg", "url": "/brand/dell" }, "visit": 2170, "rating": 0, "reviewCount": 0, "review": { "rate": 0, "total": 0 }, "comment": { "rate": 0, "total": 0 }, "quantity": 1, "productSKU": "0", "productModel": "", "hasVAT": 0, "condition": "0", "config_count": 0, "configurable": 0, "component_count": 0, "specialOffer": { "all": [] }, "specialOfferGroup": [], "productType": { "isNew": 0, "isHot": 1, "isBestSale": 0, "isSaleOff": 0, "online-only": 0 }, "bulk_price": [], "thum_poster": "0", "thum_poster_type": "", "addon": [], "variants": [], "variant_option": [], "extend": [], "weight": 0, "promotion_price": null, "deal_list": [], "pricing_traces": [], "categories": [{ "id": 60, "catPath": ":60:52:9", "name": "Màn hình Dell", "url": "/man-hinh-dell" }] }, { "id": 5152, "productId": 5152, "priceUnit": "chiếc", "marketPrice": 0, "price": 14690000, "price_off": "", "currency": "vnd", "sale_rules": { "price": 14690000, "normal_price": 14690000, "min_purchase": 1, "max_purchase": 1, "remain_quantity": 1, "from_time": 0, "to_time": 0, "type": "" }, "lastUpdate": "2025-08-04 11:53:26", "warranty": "36 Tháng", "productName": "Màn hình Dell P3424WE (34 Inch/ 2K/ IPS/ 60Hz/ USB-C 90W)", "productSummary": "

Màn hình Dell P3424WE

\r\n

Tỉ lệ: 21:9

\r\n

Kích thước: 34 inch

\r\n

Độ phân giải: 2K (WQHD 3440 x 1440)

\r\n

Tấm nền: IPS

\r\n

Tần số quét : 60 Hz

\r\n

Thời gian đáp ứng : 5 ms (Fast)

\r\n

Cổng kết nối: HDMI, DP, LAN, USB 3.2, USB-C

", "package_accessory": "0", "productImage": { "small": "https://hoanghapccdn.com/media/product/75_5152_p3424we_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5152_p3424we_ha1.jpg", "original": "" }, "imageCollection": [{ "image": { "small": "https://hoanghapccdn.com/media/product/75_5152_p3424we_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5152_p3424we_ha1.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5152_p3424we_ha3.jpg", "large": "https://hoanghapccdn.com/media/product/250_5152_p3424we_ha3.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5152_p3424we_ha2.jpg", "large": "https://hoanghapccdn.com/media/product/250_5152_p3424we_ha2.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5152_p3424we_ha4.jpg", "large": "https://hoanghapccdn.com/media/product/250_5152_p3424we_ha4.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5152_p3424we_ha5.jpg", "large": "https://hoanghapccdn.com/media/product/250_5152_p3424we_ha5.jpg", "original": "" }, "alt": "" }], "productUrl": "/man-hinh-dell-p3424we", "brand": { "id": 14, "brand_index": "dell", "name": "DELL", "image": "https://hoanghapccdn.com/media/brand/dell.jpg", "url": "/brand/dell" }, "visit": 2911, "rating": 5, "reviewCount": 1, "review": { "rate": 5, "total": 1 }, "comment": { "rate": 0, "total": 0 }, "quantity": 1, "productSKU": "0", "productModel": "", "hasVAT": 0, "condition": "0", "config_count": 0, "configurable": 0, "component_count": 0, "specialOffer": { "all": [] }, "specialOfferGroup": [], "productType": { "isNew": 0, "isHot": 1, "isBestSale": 0, "isSaleOff": 0, "online-only": 0 }, "bulk_price": [], "thum_poster": "0", "thum_poster_type": "", "addon": [], "variants": [], "variant_option": [], "extend": [], "weight": 0, "promotion_price": null, "deal_list": [], "pricing_traces": [], "categories": [{ "id": 60, "catPath": ":60:52:9", "name": "Màn hình Dell", "url": "/man-hinh-dell" }] }, { "id": 5151, "productId": 5151, "priceUnit": "chiếc", "marketPrice": 6000000, "price": 5590000, "price_off": 7.000000000000001, "currency": "vnd", "sale_rules": { "price": 5590000, "normal_price": 5590000, "min_purchase": 1, "max_purchase": 1, "remain_quantity": 1, "from_time": 0, "to_time": 0, "type": "" }, "lastUpdate": "2025-07-29 10:56:34", "warranty": "36 Tháng", "productName": "Màn hình Dell Pro P2725H Plus (27 Inch/ FHD/ IPS/ 100Hz/ USB-C 15W)", "productSummary": "

Tỉ lệ: 16:9

\r\n

Kích thước: 27 inch

\r\n

Độ phân giải: FHD (1920 x 1080)

\r\n

Tấm nền: IPS

\r\n

Tần số quét : 100 Hz

\r\n

Thời gian đáp ứng : 5 ms (Fast)

\r\n

Cổng kết nối: HDMI, DP, VGA, USB 3.2, USB-C

", "package_accessory": "0", "productImage": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha1.jpg", "original": "" }, "imageCollection": [{ "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha1.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha4.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha4.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha3.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha3.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha6.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha6.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha5.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha5.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha7.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha7.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5151_p2725h_ha2.jpg", "large": "https://hoanghapccdn.com/media/product/250_5151_p2725h_ha2.jpg", "original": "" }, "alt": "" }], "productUrl": "/man-hinh-dell-pro-p2725h-plus", "brand": { "id": 14, "brand_index": "dell", "name": "DELL", "image": "https://hoanghapccdn.com/media/brand/dell.jpg", "url": "/brand/dell" }, "visit": 5438, "rating": 5, "reviewCount": 2, "review": { "rate": 5, "total": 2 }, "comment": { "rate": 0, "total": 0 }, "quantity": 1, "productSKU": "0", "productModel": "", "hasVAT": 0, "condition": "0", "config_count": 0, "configurable": 0, "component_count": 0, "specialOffer": { "all": [] }, "specialOfferGroup": [], "productType": { "isNew": 0, "isHot": 1, "isBestSale": 0, "isSaleOff": 0, "online-only": 0 }, "bulk_price": [], "thum_poster": "0", "thum_poster_type": "", "addon": [], "variants": [], "variant_option": [], "extend": [], "weight": 0, "promotion_price": null, "deal_list": [], "pricing_traces": [], "categories": [{ "id": 60, "catPath": ":60:52:9", "name": "Màn hình Dell", "url": "/man-hinh-dell" }] }, { "id": 5150, "productId": 5150, "priceUnit": "chiếc", "marketPrice": 5000000, "price": 4590000, "price_off": 8, "currency": "vnd", "sale_rules": { "price": 4590000, "normal_price": 4590000, "min_purchase": 1, "max_purchase": 1, "remain_quantity": 1, "from_time": 0, "to_time": 0, "type": "" }, "lastUpdate": "2025-07-21 11:12:11", "warranty": "36 Tháng", "productName": "Màn hình Dell P2425H (23.8 Inch/ FHD/ IPS/ 100Hz/ USB-C 15W)", "productSummary": "

Màn hình Dell P2425H

\r\n

Tỉ lệ: 16:9

\r\n

Kích thước: 23.8 inch

\r\n

Độ phân giải: FHD (1920 x 1080)

\r\n

Tấm nền: IPS

\r\n

Tần số quét : 100 Hz

\r\n

Thời gian đáp ứng : 5 ms (Fast)

\r\n

Cổng kết nối: HDMI, DP, VGA, USB 3.2, USB-C

", "package_accessory": "0", "productImage": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha1s.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha1s.jpg", "original": "" }, "imageCollection": [{ "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha1s.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha1s.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha6.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha6.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha5.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha5.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha7.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha7.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha1.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha1.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha3.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha3.jpg", "original": "" }, "alt": "" }, { "image": { "small": "https://hoanghapccdn.com/media/product/75_5150_p2425h_ha2.jpg", "large": "https://hoanghapccdn.com/media/product/250_5150_p2425h_ha2.jpg", "original": "" }, "alt": "" }], "productUrl": "/man-hinh-dell-p2425h-hh", "brand": { "id": 14, "brand_index": "dell", "name": "DELL", "image": "https://hoanghapccdn.com/media/brand/dell.jpg", "url": "/brand/dell" }, "visit": 5520, "rating": 5, "reviewCount": 1, "review": { "rate": 5, "total": 1 }, "comment": { "rate": 0, "total": 0 }, "quantity": 1, "productSKU": "0", "productModel": "", "hasVAT": 0, "condition": "0", "config_count": 0, "configurable": 0, "component_count": 0, "specialOffer": { "all": [] }, "specialOfferGroup": [], "productType": { "isNew": 0, "isHot": 1, "isBestSale": 0, "isSaleOff": 0, "online-only": 0 }, "bulk_price": [], "thum_poster": "0", "thum_poster_type": "", "addon": [], "variants": [], "variant_option": [], "extend": [], "weight": 0, "promotion_price": null, "deal_list": [], "pricing_traces": [], "categories": [{ "id": 60, "catPath": ":60:52:9", "name": "Màn hình Dell", "url": "/man-hinh-dell" }] } + ], + "article": [ + { + "id": 1226, + "type": "article", + "changeCount": 0, + "sellerId": 0, + "article_category": ",19,", + "title": "Ch\u01b0\u01a1ng Tr\u00ecnh Khuy\u1ebfn M\u00e3i Gi\u1edd V\u00e0ng - Gi\u00e1 S\u1ed1c T\u1ea1i Ho\u00e0ng H\u00e0 PC", + "video_code": "", + "external_url": "", + "url": "\/gio-vang-gia-soc", + "redirect_url": "", + "url_hash": "0", + "image_background": "", + "extend": false, + "summary": "Th\u1eddi Gian: 10h - 12h ng\u00e0y 23\/04\/2023 \u00e1p d\u1ee5ng offline t\u1ea1i showroom Ho\u00e0ng H\u00e0 PC t\u1ea1i: 94E-94F \u0110\u01b0\u1eddng L\u00e1ng, Ng\u00e3 t\u01b0 S\u1edf, H\u00e0 N\u1ed9i\r\n\r\n", + "tags": "", + "createDate": "Hôm nay, 10:02 am", + "createBy": 22, + "create_by_name": "Mai V\u0103n H\u1ecdc", + "lastUpdate": "Hôm nay, 3:48 pm", + "lastUpdateBy": 22, + "lastUpdateByUser": "Mai V\u0103n H\u1ecdc", + "review_rate": 0, + "review_count": 0, + "visit": 11822, + "like_count": 0, + "is_featured": 0, + "album_id": 0, + "search_fulltext": null, + "meta_title": "", + "meta_keywords": "", + "meta_description": "", + "url_canonical": "", + "article_time": "Hôm nay, 10:02 am", + "allow_se_index": 1, + "comment_count": 0, + "comment_rate": 0, + "counter": 1, + "image": { + "thum": "https:\/\/hoanghapccdn.com\/media\/news\/120_1226_km_gio_vang.jpg", + "original": "https:\/\/hoanghapccdn.com\/media\/news\/1226_km_gio_vang.jpg" + }, + "categories": [ + { + "id": 19, + "type": "article", + "name": "Tin Khuy\u1ebfn M\u00e3i", + "summary": "", + "description": "", + "isParent": 0, + "imgUrl": "", + "parentId": 0, + "extend": null, + "visit": 49922, + "item_count": 45, + "display_option": "child_article", + "lastUpdateBy": 8, + "request_path": "\/tin-khuyen-mai", + "relate_product": null + } + ] + }, + { + "id": 1493, + "type": "article", + "changeCount": 0, + "sellerId": 0, + "article_category": "19", + "title": "[Khuy\u1ebfn m\u1ea1i] Nh\u1eadn qu\u00e0 c\u1ef1c ch\u1ea5t - Ch\u01a1i game c\u1ef1c \u0111\u1ec9nh", + "video_code": "", + "external_url": "", + "url": "\/khuyen-mai-nhan-qua-cuc-chat-choi-game-cuc-dinh", + "redirect_url": "", + "url_hash": "0", + "image_background": "", + "extend": false, + "summary": "C\u00f9ng m\u00e0n h\u00ecnh AOC tr\u1ea3i nghi\u1ec7m m\u1ecdi t\u1ef1a game hot hit v\u00e0 nh\u1eadn qu\u00e0 c\u1ef1c ch\u1ea5t khi mua c\u00e1c s\u1ea3n ph\u1ea9m AOC t\u1ea1i Ho\u00e0ng H\u00e0 PC v\u00e0 \u0111\u01b0\u1ee3c ph\u00e2n ph\u1ed1i t\u1eeb C\u00f4ng ty c\u1ed5 ph\u1ea7n m\u00e1y t\u00ednh V\u0129nh Xu\u00e2n.", + "tags": "", + "createDate": "29-08-2024, 4:11 pm", + "createBy": 26, + "create_by_name": "Thanh Th\u01b0", + "lastUpdate": "29-08-2024, 4:16 pm", + "lastUpdateBy": 26, + "lastUpdateByUser": "Thanh Th\u01b0", + "review_rate": 0, + "review_count": 0, + "visit": 1567, + "like_count": 0, + "is_featured": 0, + "album_id": 0, + "search_fulltext": null, + "meta_title": "", + "meta_keywords": "", + "meta_description": "", + "url_canonical": "", + "article_time": "", + "allow_se_index": 0, + "comment_count": 0, + "comment_rate": 0, + "counter": 2, + "image": { + "thum": "https:\/\/hoanghapccdn.com\/media\/news\/120_1493_km_aoc_t9_2024.jpg", + "original": "https:\/\/hoanghapccdn.com\/media\/news\/1493_km_aoc_t9_2024.jpg" + }, + "categories": [ + { + "id": 19, + "type": "article", + "name": "Tin Khuy\u1ebfn M\u00e3i", + "summary": "", + "description": "", + "isParent": 0, + "imgUrl": "", + "parentId": 0, + "extend": null, + "visit": 49922, + "item_count": 45, + "display_option": "child_article", + "lastUpdateBy": 8, + "request_path": "\/tin-khuyen-mai", + "relate_product": null + } + ] + }, + { + "id": 1523, + "type": "article", + "changeCount": 0, + "sellerId": 0, + "article_category": "19", + "title": "[Khuy\u1ebfn m\u1ea1i] M\u00c1Y M\u01af\u1ee2T - DEAL M\u00ca c\u00f9ng GIGABYTE", + "video_code": "", + "external_url": "", + "url": "\/khuyen-mai-may-muot-deal-me-cung-gigabyte", + "redirect_url": "", + "url_hash": "0", + "image_background": "", + "extend": false, + "summary": "CH\u01af\u01a0NG TR\u00ccNH \u01afU \u0110\u00c3I L\u1edaN NH\u1ea4T M\u00d9A H\u00c8 t\u1eeb 01\/06 \u2013 30\/08\/2025 d\u00e0nh cho kh\u00e1ch h\u00e0ng khi mua combo linh ki\u1ec7n GIGABYTE ch\u00ednh h\u00e3ng t\u1ea1i Ho\u00e0ng H\u00e0 PC", + "tags": "", + "createDate": "13-06-2025, 9:04 am", + "createBy": 26, + "create_by_name": "Thanh Th\u01b0", + "lastUpdate": "13-06-2025, 9:10 am", + "lastUpdateBy": 26, + "lastUpdateByUser": "Thanh Th\u01b0", + "review_rate": 0, + "review_count": 0, + "visit": 783, + "like_count": 0, + "is_featured": 0, + "album_id": 0, + "search_fulltext": null, + "meta_title": "", + "meta_keywords": "", + "meta_description": "", + "url_canonical": "", + "article_time": "", + "allow_se_index": 0, + "comment_count": 0, + "comment_rate": 0, + "counter": 3, + "image": { + "thum": "https:\/\/hoanghapccdn.com\/media\/news\/120_1523_km_may_muot_deal_me_gigabyte_t6_2025.jpg", + "original": "https:\/\/hoanghapccdn.com\/media\/news\/1523_km_may_muot_deal_me_gigabyte_t6_2025.jpg" + }, + "categories": [ + { + "id": 19, + "type": "article", + "name": "Tin Khuy\u1ebfn M\u00e3i", + "summary": "", + "description": "", + "isParent": 0, + "imgUrl": "", + "parentId": 0, + "extend": null, + "visit": 49922, + "item_count": 45, + "display_option": "child_article", + "lastUpdateBy": 8, + "request_path": "\/tin-khuyen-mai", + "relate_product": null + } + ] + }, + { + "id": 1519, + "type": "article", + "changeCount": 0, + "sellerId": 0, + "article_category": "19", + "title": "[Khuy\u1ebfn m\u1ea1i] MSI - Nh\u1eadn code game Star Wars Outlaw Gold Edition", + "video_code": "", + "external_url": "", + "url": "\/khuyen-mai-msi-nhan-code-game-star-wars-outlaw-gold-edition", + "redirect_url": "", + "url_hash": "0", + "image_background": "", + "extend": false, + "summary": "Th\u00e1ng 3 n\u00e0y, MSI g\u1eedi t\u1edbi Qu\u00fd kh\u00e1ch h\u00e0ng ch\u01b0\u01a1ng tr\u00ecnh khuy\u1ebfn m\u1ea1i h\u1ea5p d\u1eabn khi mua bo m\u1ea1ch ch\u1ee7 MSI chip set Intel\u00ae nh\u1eadn ngay code game Star Wars Outlaws\u2122 Gold Edition.", + "tags": "", + "createDate": "08-03-2025, 3:42 pm", + "createBy": 26, + "create_by_name": "Thanh Th\u01b0", + "lastUpdate": "29-04-2025, 1:11 pm", + "lastUpdateBy": 34, + "lastUpdateByUser": "Hurasoft", + "review_rate": 0, + "review_count": 0, + "visit": 879, + "like_count": 0, + "is_featured": 0, + "album_id": 0, + "search_fulltext": null, + "meta_title": "", + "meta_keywords": "", + "meta_description": "", + "url_canonical": "", + "article_time": "", + "allow_se_index": 0, + "comment_count": 0, + "comment_rate": 0, + "counter": 4, + "image": { + "thum": "https:\/\/hoanghapccdn.com\/media\/news\/120_1519_km_msi_tang_code_game_t3_2025.png", + "original": "https:\/\/hoanghapccdn.com\/media\/news\/1519_km_msi_tang_code_game_t3_2025.png" + }, + "categories": [ + { + "id": 19, + "type": "article", + "name": "Tin Khuy\u1ebfn M\u00e3i", + "summary": "", + "description": "", + "isParent": 0, + "imgUrl": "", + "parentId": 0, + "extend": null, + "visit": 49922, + "item_count": 45, + "display_option": "child_article", + "lastUpdateBy": 8, + "request_path": "\/tin-khuyen-mai", + "relate_product": null + } + ] + }, + { + "id": 1517, + "type": "article", + "changeCount": 0, + "sellerId": 0, + "article_category": "19", + "title": "[Khuy\u1ebfn m\u1ea1i] AMD - Nh\u1eadn code game Monster Hunter Wilds si\u00eau hot", + "video_code": "", + "external_url": "", + "url": "\/khuyen-mai-amd-nhan-code-game-monster-hunter-wilds", + "redirect_url": "", + "url_hash": "0", + "image_background": "", + "extend": false, + "summary": "B\u00f9ng ch\u00e1y th\u00e1ng 2 n\u00e0y v\u1edbi CTKM t\u1eb7ng code game m\u1edbi nh\u1ea5t t\u1eeb AMD. Tr\u1ea3i nghi\u1ec7m c\u00e0ng nhi\u1ec1u game, c\u00e0ng c\u00f3 c\u01a1 h\u1ed9i \u0111\u1ea1t \u0111\u1ec9nh vinh quang trong c\u00e1c t\u1ef1a game c\u1ef1c cu\u1ed1n h\u00fat v\u1edbi c\u00e1c c\u1ea5u h\u00ecnh AMD. Nhanh tay s\u1edf h\u1eefu c\u01a1 h\u1ed9i v\u00e0ng cho m\u00ecnh t\u1ef1a game Monster Hunter Wilds\u2122.", + "tags": "", + "createDate": "27-02-2025, 1:31 pm", + "createBy": 26, + "create_by_name": "Thanh Th\u01b0", + "lastUpdate": "27-02-2025, 1:36 pm", + "lastUpdateBy": 26, + "lastUpdateByUser": "Thanh Th\u01b0", + "review_rate": 0, + "review_count": 0, + "visit": 1163, + "like_count": 0, + "is_featured": 0, + "album_id": 0, + "search_fulltext": null, + "meta_title": "", + "meta_keywords": "", + "meta_description": "", + "url_canonical": "", + "article_time": "", + "allow_se_index": 0, + "comment_count": 0, + "comment_rate": 0, + "counter": 5, + "image": { + "thum": "https:\/\/hoanghapccdn.com\/media\/news\/120_1517_km_amd_tang_code_game_t2_2025.jpg", + "original": "https:\/\/hoanghapccdn.com\/media\/news\/1517_km_amd_tang_code_game_t2_2025.jpg" + }, + "categories": [ + { + "id": 19, + "type": "article", + "name": "Tin Khuy\u1ebfn M\u00e3i", + "summary": "", + "description": "", + "isParent": 0, + "imgUrl": "", + "parentId": 0, + "extend": null, + "visit": 49922, + "item_count": 45, + "display_option": "child_article", + "lastUpdateBy": 8, + "request_path": "\/tin-khuyen-mai", + "relate_product": null + } + ] + }, + { + "id": 1516, + "type": "article", + "changeCount": 0, + "sellerId": 0, + "article_category": "19", + "title": "[Khuy\u1ebfn m\u1ea1i] Asus - Nh\u1eadn code game Monster Hunter Wilds khi build b\u1ed9 m\u00e1y Asus Rog", + "video_code": "", + "external_url": "", + "url": "\/khuyen-mai-asus-nhan-code-game-monster-hunter-wilds", + "redirect_url": "", + "url_hash": "0", + "image_background": "", + "extend": false, + "summary": "Ch\u01b0\u01a1ng tr\u00ecnh khuy\u1ebfn m\u1ea1i h\u1ea5p d\u1eabn d\u00e0nh cho Qu\u00fd kh\u00e1ch h\u00e0ng khi build m\u00e1y b\u1ed9 PBA s\u1eed d\u1ee5ng Bo m\u1ea1ch ch\u1ee7 ASUS Z790\/ Z890 + Card \u0111\u1ed3 h\u1ecda ASUS RTX50 series t\u1eb7ng ngay code game MONSTER HUNTER WILDS tr\u1ecb gi\u00e1 1.390.000\u0111", + "tags": "", + "createDate": "27-02-2025, 11:42 am", + "createBy": 26, + "create_by_name": "Thanh Th\u01b0", + "lastUpdate": "27-02-2025, 11:43 am", + "lastUpdateBy": 26, + "lastUpdateByUser": "Thanh Th\u01b0", + "review_rate": 0, + "review_count": 0, + "visit": 604, + "like_count": 0, + "is_featured": 0, + "album_id": 0, + "search_fulltext": null, + "meta_title": "", + "meta_keywords": "", + "meta_description": "", + "url_canonical": "", + "article_time": "", + "allow_se_index": 0, + "comment_count": 0, + "comment_rate": 0, + "counter": 6, + "image": { + "thum": "https:\/\/hoanghapccdn.com\/media\/news\/120_1516_rtx5090_get_monster_hunter_wild.jpg", + "original": "https:\/\/hoanghapccdn.com\/media\/news\/1516_rtx5090_get_monster_hunter_wild.jpg" + }, + "categories": [ + { + "id": 19, + "type": "article", + "name": "Tin Khuy\u1ebfn M\u00e3i", + "summary": "", + "description": "", + "isParent": 0, + "imgUrl": "", + "parentId": 0, + "extend": null, + "visit": 49922, + "item_count": 45, + "display_option": "child_article", + "lastUpdateBy": 8, + "request_path": "\/tin-khuyen-mai", + "relate_product": null + } + ] + }, + ] + }, + "tag_list": [] +} \ No newline at end of file diff --git a/src/data/comments/index.tsx b/src/data/comments/index.tsx index 6f57360..ec614b0 100644 --- a/src/data/comments/index.tsx +++ b/src/data/comments/index.tsx @@ -5,6 +5,77 @@ export const CommentData = { "total": 0, }, "list": [ + { + "id": "1", + "item_type": "article", + "item_id": "2", + "people_like_count": "0", + "people_dislike_count": "0", + "reply_count": "0", + "is_user_admin": "0", + "user_avatar": "", + "user_name": "VU THANH CHUNG - S\u0110T: 0988358888", + "rate": "5", + "title": "HHPC CORE i7 14700KF | 64GB | NVIDIA RTX 5070 Ti 16G", + "content": "Test review article ", + "files": [], + "approved": "0", + "post_time": "1766984975", + "counter": 1, + "new_replies": [ + { + "id": "2", + "item_type": "article", + "item_id": "6434", + "people_like_count": "0", + "people_dislike_count": "0", + "reply_count": "1", + "is_user_admin": "0", + "user_avatar": "", + "user_name": "hura test - S\u0110T: 0987654321", + "rate": "2", + "title": "HuraSoft - S\u1ea3n ph\u1ea9m test (Kh\u00f4ng x\u00f3a)", + "content": "Test reply article 1", + "files": [], + "approved": "1", + "post_time": "1760330892", + "counter": 5, + "new_replies": [ + { + "id": 742, + "comment_id": 8760, + "user_avatar": "0", + "user_name": "Hurasoft \u0110\u1ee9c", + "is_user_admin": 1, + "people_like_count": 0, + "approved": 1, + "people_dislike_count": 0, + "content": "admin test", + "post_time": 1760331038 + } + ] + }, + { + "id": "8757", + "item_type": "article", + "item_id": "6270", + "people_like_count": "0", + "people_dislike_count": "0", + "reply_count": "0", + "is_user_admin": "0", + "user_avatar": "", + "user_name": "Ch\u1ecbu - S\u1ed1 \u0111t : 0938553437", + "rate": "5", + "title": "\u0110\u00e1nh gi\u00e1 s\u1ea3n ph\u1ea9m Fan Xigmatek Infinity Pro 2 RGB Reverse", + "content": "5 sao", + "files": [], + "approved": "0", + "post_time": "1759639059", + "counter": 6, + "new_replies": [] + }, + ] + }, { "id": "10187", "item_type": "product", diff --git a/src/data/productCategory/index.tsx b/src/data/products/productCategory/index.tsx similarity index 100% rename from src/data/productCategory/index.tsx rename to src/data/products/productCategory/index.tsx diff --git a/src/data/productDetail/index.tsx b/src/data/products/productDetail/index.tsx similarity index 100% rename from src/data/productDetail/index.tsx rename to src/data/products/productDetail/index.tsx diff --git a/src/data/productHistory/index.tsx b/src/data/products/productHistory/index.tsx similarity index 100% rename from src/data/productHistory/index.tsx rename to src/data/products/productHistory/index.tsx diff --git a/src/data/productList/index.tsx b/src/data/products/productList/index.tsx similarity index 100% rename from src/data/productList/index.tsx rename to src/data/products/productList/index.tsx diff --git a/src/data/reviews/index.tsx b/src/data/reviews/index.tsx index bdfd42f..e0f14f8 100644 --- a/src/data/reviews/index.tsx +++ b/src/data/reviews/index.tsx @@ -19,6 +19,77 @@ export const ReviewData = { "total": 20, }, "list": [ + { + "id": "1", + "item_type": "article", + "item_id": "2", + "people_like_count": "0", + "people_dislike_count": "0", + "reply_count": "0", + "is_user_admin": "0", + "user_avatar": "", + "user_name": "VU THANH CHUNG - S\u0110T: 0988358888", + "rate": "5", + "title": "HHPC CORE i7 14700KF | 64GB | NVIDIA RTX 5070 Ti 16G", + "content": "Test review article ", + "files": [], + "approved": "0", + "post_time": "1766984975", + "counter": 1, + "new_replies": [ + { + "id": "2", + "item_type": "article", + "item_id": "6434", + "people_like_count": "0", + "people_dislike_count": "0", + "reply_count": "1", + "is_user_admin": "0", + "user_avatar": "", + "user_name": "hura test - S\u0110T: 0987654321", + "rate": "2", + "title": "HuraSoft - S\u1ea3n ph\u1ea9m test (Kh\u00f4ng x\u00f3a)", + "content": "Test reply article 1", + "files": [], + "approved": "1", + "post_time": "1760330892", + "counter": 5, + "new_replies": [ + { + "id": 742, + "comment_id": 8760, + "user_avatar": "0", + "user_name": "Hurasoft \u0110\u1ee9c", + "is_user_admin": 1, + "people_like_count": 0, + "approved": 1, + "people_dislike_count": 0, + "content": "admin test", + "post_time": 1760331038 + } + ] + }, + { + "id": "8757", + "item_type": "article", + "item_id": "6270", + "people_like_count": "0", + "people_dislike_count": "0", + "reply_count": "0", + "is_user_admin": "0", + "user_avatar": "", + "user_name": "Ch\u1ecbu - S\u1ed1 \u0111t : 0938553437", + "rate": "5", + "title": "\u0110\u00e1nh gi\u00e1 s\u1ea3n ph\u1ea9m Fan Xigmatek Infinity Pro 2 RGB Reverse", + "content": "5 sao", + "files": [], + "approved": "0", + "post_time": "1759639059", + "counter": 6, + "new_replies": [] + }, + ] + }, { "id": "8768", "item_type": "product", diff --git a/src/lib/slug/resolveArticlePage.ts b/src/lib/slug/resolveArticlePage.ts index d3feaab..4a1542c 100644 --- a/src/lib/slug/resolveArticlePage.ts +++ b/src/lib/slug/resolveArticlePage.ts @@ -1,6 +1,7 @@ // src/lib/articlePage.ts import { categories } from "@/data/categories"; import { articleList } from "@/data/articles"; +import { ArticleDetail } from "@/data/articleDetail" export type ArticleResult = | { type: "article_home"; data: any } @@ -12,28 +13,51 @@ export function resolveArticlePage(slug: string): ArticleResult | null { // HOME if (url === "/tin-tuc") { - return { type: "article_home", data: null }; + return { + type: "article_home", + data : null + }; } // CATEGORY const cats = categories.article.all_category.article; for (const parent of cats) { if (parent.url === url) { - return { type: "article_category", data: parent }; + return { + type: "article_category", + data: parent + }; } for (const child of parent.children ?? []) { if (child.url === url) { - return { type: "article_category", data: child }; + return { + type: "article_category", + data: child + }; } } } // DETAIL - const allArticles = articleList.flatMap(article => article.list); - for (const article of allArticles) { - if (article.url === url) { - return { type: "article_detail", data: { slug } }; + const detail = articleList + .flatMap(article => article.list) + .find((a: any) => a.url === url); + if(detail) { + const data = { + ...detail, + content : ArticleDetail.content, + author : ArticleDetail.author, + image_list : ArticleDetail.image_list, + related : ArticleDetail.related, + tag_list : ArticleDetail.tag_list, } - } + + return { + type: "article_detail", + data + }; + } + + return null; } diff --git a/src/lib/slug/resolveProductPage.ts b/src/lib/slug/resolveProductPage.ts index ea1eee1..40274d8 100644 --- a/src/lib/slug/resolveProductPage.ts +++ b/src/lib/slug/resolveProductPage.ts @@ -1,7 +1,7 @@ // hoanghapc/src/lib/productPage.ts import { categories } from "@/data/categories"; -import { productList } from "@/data/productList"; -import { productDetail } from "@/data/productDetail" +import { productList } from "@/data/products/productList"; +import { productDetail } from "@/data/products/productDetail" export type ProductResult = | { type: "product_category"; data: any } diff --git a/src/lib/slug/slugMap.ts b/src/lib/slug/slugMap.ts index 607a0d2..830eb35 100644 --- a/src/lib/slug/slugMap.ts +++ b/src/lib/slug/slugMap.ts @@ -15,8 +15,8 @@ export function findBySlug(slug?: string): SlugResult | null { if (product) return product; // ARTICLE - const articler = resolveArticlePage(slug); - if (articler) return articler; + const article = resolveArticlePage(slug); + if (article) return article; // 404 return null; diff --git a/src/lib/utils.tsx b/src/lib/utils.tsx index eadcf41..ba20664 100644 --- a/src/lib/utils.tsx +++ b/src/lib/utils.tsx @@ -1,5 +1,5 @@ // Add tất cả sp trong data product vào 1 mảng -import { productList } from '@/data/productList'; +import { productList } from '@/data/products/productList'; export function getAllProducts() { return productList.flatMap((group: any) => group.list); diff --git a/src/styles/pc_style.css b/src/styles/pc_style.css index 25991dd..1b6e878 100644 --- a/src/styles/pc_style.css +++ b/src/styles/pc_style.css @@ -60,7 +60,7 @@ body{min-width:1248px;background:#E8ECF6} .icon-gift{background-position:-40px -159px} .icon-card{background-position:-5px -193px} .icon-flame{background-position:-40px -194px} -.icon-goTop{position:fixed;bottom:100px;right:10px;width:48px;height:48px;line-height:46px;border-radius:50%;border:1px solid #E0E0E0;color:#fff;background:#3947b9;font-size:28px;z-index:8;} +.icon-goTop{position:fixed;bottom:100px;right:10px;width:48px;height:48px;line-height:46px;border-radius:50%;border:1px solid #E0E0E0;color:#fff;background:#3947b9;font-size:28px;z-index:10;} .icon-finger{background-position:-155px -222px} .inherit,.art-item .art-title *,.p-item .p-name *,.deal-item .deal-name *{font-weight:inherit!important;font-size:inherit!important;line-height:inherit!important;margin:0} .custom-dots .swiper-pagination-bullet{width:20px;height:6px;border:2px solid rgba(255,255,255,0.7);border-radius:8px 0 8px 0;background:transparent;opacity:1;margin:0 3px!important;transition:.15s all}