更新首页和产品详情页
@ -155,11 +155,9 @@ export default async function DynamicPage({ params, searchParams }) {
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
{/* Product Description 标题 */}
|
||||
<div className="prose max-w-none text-gray-700 mb-6 md:mb-8 px-1 md:px-0 prose-img:max-w-full prose-img:h-auto prose-table:border prose-table:border-gray-300 prose-th:border prose-th:border-gray-300 prose-td:border prose-td:border-gray-300 prose-th:bg-gray-50 prose-table:rounded-lg prose-table:overflow-hidden" dangerouslySetInnerHTML={{ __html: data.content || '' }} />
|
||||
{data.additional_content && (
|
||||
<>
|
||||
{/* Testing Report 标题 */}
|
||||
<div className="prose max-w-none text-gray-700 mt-6 md:mt-8 px-1 md:px-0 prose-img:max-w-full prose-img:h-auto prose-table:border prose-table:border-gray-300 prose-th:border prose-th:border-gray-300 prose-td:border prose-td:border-gray-300 prose-th:bg-gray-50 prose-table:rounded-lg prose-table:overflow-hidden" dangerouslySetInnerHTML={{ __html: data.additional_content }} />
|
||||
</>
|
||||
)}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import Hero15 from "@/components/homes/home-15/Hero15";
|
||||
import Features from "@/components/homes/home-15/Features";
|
||||
import CategoryItems from "@/components/homes/home-15/CategoryItems";
|
||||
import SwiperItems from "@/components/homes/home-15/SwiperItems";
|
||||
import React from "react";
|
||||
import { getSiteSettings } from "@/utils/data";
|
||||
@ -39,6 +40,9 @@ export default function Page() {
|
||||
<section className="container py-[4.5rem] xl:!py-24 lg:!py-24 md:!py-24">
|
||||
<Features />
|
||||
</section>
|
||||
<section className="container pb-[4.5rem]">
|
||||
<CategoryItems />
|
||||
</section>
|
||||
<section className="w-full xl:w-10/12 xl:mx-auto overflow-x-hidden">
|
||||
<SwiperItems />
|
||||
</section>
|
||||
|
||||
@ -132,24 +132,33 @@ export default async function Page({ params, searchParams }) {
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{data.subtitle && (
|
||||
<div className="bg-gray-50 rounded-md p-3 md:p-4 whitespace-pre-line text-gray-700 w-full shadow-sm max-w-full prose prose-sm">
|
||||
{data.subtitle}
|
||||
</div>
|
||||
)}
|
||||
<div className="flex-1 min-w-0">
|
||||
{/* 产品标题 */}
|
||||
{data.title && (
|
||||
<h1 className="text-2xl md:text-3xl font-bold text-gray-900 mb-4 md:mb-6 leading-tight">
|
||||
{data.title}
|
||||
</h1>
|
||||
)}
|
||||
{/* 产品副标题 */}
|
||||
{data.subtitle && (
|
||||
<div className="bg-gray-50 whitespace-pre-line text-gray-700 w-full max-w-full prose prose-sm">
|
||||
{data.subtitle}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{/* Product Description 和 Additional Content 标签式排版 */}
|
||||
{/* Content 和 Additional Content 标签式排版 */}
|
||||
<ul className="nav nav-tabs nav-tabs-basic !mt-[70px]">
|
||||
<li className="nav-item">
|
||||
<a className="nav-link active" data-bs-toggle="tab" href="#tab1-1">
|
||||
Product Description
|
||||
Description
|
||||
</a>
|
||||
</li>
|
||||
{data.additional_content && (
|
||||
<li className="nav-item">
|
||||
<a className="nav-link" data-bs-toggle="tab" href="#tab1-2">
|
||||
Additional Content
|
||||
Additional
|
||||
</a>
|
||||
</li>
|
||||
)}
|
||||
|
||||
@ -128,7 +128,7 @@ export default async function CategoryItems() {
|
||||
href={`/${category_slug}`}
|
||||
className="btn btn-lg btn-fuchsia !text-white !bg-[#1A1A1A] hover:text-white hover:bg-[#1A1A1A] hover:!border-[#1A1A1A] active:text-white active:bg-[#1A1A1A] active:border-[#1A1A1A] disabled:text-white disabled:bg-[#1A1A1A] disabled:border-[#1A1A1A] !rounded-[0.8rem] mx-1"
|
||||
>
|
||||
{button_text || "更多"}
|
||||
{button_text || "More"}
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
|
||||
BIN
public/files/0qkrqnrooo_bda2adcb.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
public/files/750_11.jpg
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
public/files/h8ibigsafe_dc0f0f81.png
Normal file
|
After Width: | Height: | Size: 1004 KiB |
BIN
public/files/lpd8ov2ak7_3d1b06d4.png
Normal file
|
After Width: | Height: | Size: 1024 KiB |
BIN
public/files/q52hutoidc_ac063ebd.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
public/files/r2o6791ovj_365d464f.png
Normal file
|
After Width: | Height: | Size: 920 KiB |
BIN
public/files/r2o6791ovj_ac75d0e9.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
public/files/r2o6791ovj_b5c2d034.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
public/files/r2o6791ovj_c23b3e0b.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
@ -7,112 +7,82 @@
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/shoulder-bags</loc>
|
||||
<loc>http://192.168.2.200:3001/products/chic-crossbody-bag-for-trendy-women</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/stylish-satchel-for-fashionable-women</loc>
|
||||
<loc>http://192.168.2.200:3001/products/fashion-handbags/exquisite-fashionable-womens-handbag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/classic-leather-handbag-for-timeless-style</loc>
|
||||
<loc>http://192.168.2.200:3001/products/chic-leather-crossbody-bag-2</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/clutch-bags</loc>
|
||||
<loc>http://192.168.2.200:3001/products/elegant-leather-crossbody-bag-2</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/backpacks</loc>
|
||||
<loc>http://192.168.2.200:3001/products/elegant-ladys-tote-bag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/stylish-sling-bag-for-modern-women</loc>
|
||||
<loc>http://192.168.2.200:3001/products/exquisite-womens-original-fashion-handbag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/contact-us</loc>
|
||||
<loc>http://192.168.2.200:3001/products/chic-leather-crossbody-bag-4</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/crossbody-bags/elegant-crossbody-bag-for-fashionable-women</loc>
|
||||
<loc>http://192.168.2.200:3001/products/fashion-handbags/elegant-pink-leather-handbag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/hobo-bags</loc>
|
||||
<loc>http://192.168.2.200:3001/products/elegant-leather-crossbody-bag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/shoulder-bags/stylish-quilted-leather-shoulder-bag</loc>
|
||||
<loc>http://192.168.2.200:3001/products/elegant-leather-tote-bag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/unique-fashion-backpack-for-womens-style</loc>
|
||||
<loc>http://192.168.2.200:3001/products/chic-pink-leather-crossbody-bag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/backpacks/enchanting-mini-backpack-for-fashionable-girls</loc>
|
||||
<loc>http://192.168.2.200:3001/products/fashion-handbags</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/blog</loc>
|
||||
<loc>http://192.168.2.200:3001/products/exquisite-ladys-handbag</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/backpacks/graceful-backpack-for-fashionable-journeys</loc>
|
||||
<loc>http://192.168.2.200:3001/products/exquisite-fashionable-womens-handbag-1</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/tote-bags</loc>
|
||||
<loc>http://192.168.2.200:3001/products/chic-leather-crossbody-bag-5</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/shoulder-bags/trendy-crescent-shoulder-bag-for-women</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/about</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/charming-waist-bag-for-fashionable-outings</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/clutch-bags/glamorous-clutch-for-fashionable-gatherings</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/hobo-bags/chic-hobo-bag-for-fashion-forward-women</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/glamorous-evening-clutch-for-fashionable-events</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/crossbody-bags</loc>
|
||||
<loc>http://192.168.2.200:3001/products/elegant-leather-crossbody-bag-1</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
@ -122,17 +92,12 @@
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/tote-bags/stylish-tote-bag-for-trendy-ladies</loc>
|
||||
<loc>http://192.168.2.200:3001/products/chic-leather-crossbody-bag-1</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/shoulder-bags/exquisite-shoulder-bag-for-womens-fashion</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.2.200:3001/products/gorgeous-bucket-bag-for-fashion-enthusiasts</loc>
|
||||
<loc>http://192.168.2.200:3001/products/elegant-leather-crossbody-bag-4</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
|
||||