From f0583929fec868911e189e3a40ae1b8b5edde7f0 Mon Sep 17 00:00:00 2001 From: Li1304553726 <1304553726@qq.com> Date: Wed, 11 Jun 2025 09:55:47 +0800 Subject: [PATCH] =?UTF-8?q?jcdt=E6=9D=BF=E5=9D=97=E4=B8=89=E4=B8=AA?= =?UTF-8?q?=E8=BD=AE=E6=92=AD=E5=9B=BE=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/app/page.tsx | 2 + apps/web/components/content/jcdt/bqrx.tsx | 70 ++++++++++++++++ apps/web/components/content/jcdt/fhjt.tsx | 84 +++++++++++++++++++ apps/web/components/content/jcdt/fhws.tsx | 70 ++++++++++++++++ apps/web/components/content/jcdt/jcdtlist.tsx | 44 ++++++++++ apps/web/components/content/jcdt/page.tsx | 37 +++++--- apps/web/components/content/page.tsx | 2 +- .../components/content/xxjxs/carouselDemo.tsx | 20 ++--- apps/web/components/footer/footer.tsx | 2 +- 9 files changed, 306 insertions(+), 25 deletions(-) create mode 100644 apps/web/components/content/jcdt/bqrx.tsx create mode 100644 apps/web/components/content/jcdt/fhjt.tsx create mode 100644 apps/web/components/content/jcdt/fhws.tsx create mode 100644 apps/web/components/content/jcdt/jcdtlist.tsx diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index a875f48..c30b7cf 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -8,9 +8,11 @@ import Header from "@/components/header/header"; export default function HomePage() { return ( <> +
); } diff --git a/apps/web/components/content/jcdt/bqrx.tsx b/apps/web/components/content/jcdt/bqrx.tsx new file mode 100644 index 0000000..0729f3e --- /dev/null +++ b/apps/web/components/content/jcdt/bqrx.tsx @@ -0,0 +1,70 @@ +import React from 'react'; + +const BqrxPage = () => { + return ( +
+ {/* 左侧图片容器 */} +
+
+
+
+
+
+
+ + {/* 右侧烽火讲堂容器 */} +
+ {/* 标题部分 */} +
+

兵情热线

+ {/* 蓝色装饰线 */} +
+
+ + {/* 奖项列表 */} +
+ {/* 奖项1 */} +
+
+ 首长信箱 + +
+ +
+ + {/* 奖项2 */} +
+
+ 有问必答 + +
+ +
+ + {/* 奖项3 */} +
+
+ 心灵树洞 + +
+
+
+ + {/* 更多授课按钮 +
+ +
*/} +
+
+ ); +}; + +export default BqrxPage; \ No newline at end of file diff --git a/apps/web/components/content/jcdt/fhjt.tsx b/apps/web/components/content/jcdt/fhjt.tsx new file mode 100644 index 0000000..dbea04d --- /dev/null +++ b/apps/web/components/content/jcdt/fhjt.tsx @@ -0,0 +1,84 @@ +import React from 'react'; + +const FhjtPage = () => { + return ( +
+ {/* 左侧图片容器 */} +
+
+
+
+
+
+
+
+ + {/* 右侧烽火讲堂容器 */} +
+ {/* 标题部分 */} +
+

烽火讲堂

+ {/* 蓝色装饰线 */} +
+
+ + {/* 奖项列表 */} +
+ {/* 奖项1 */} +
+
+ 一等奖 + +
+

+ 高级软件开发工程师王老八 +
+ 王老八 +

+
+ + {/* 奖项2 */} +
+
+ 一等奖 + +
+

+ 高级软件开发工程师王老八 +
+ 王老八 +

+
+ + {/* 奖项3 */} +
+
+ 一等奖 + +
+

+ 高级软件开发工程师王老八 +
+ 王老八 +

+
+
+ + {/* 更多授课按钮 */} +
+ +
+
+
+ ); +}; + +export default FhjtPage; \ No newline at end of file diff --git a/apps/web/components/content/jcdt/fhws.tsx b/apps/web/components/content/jcdt/fhws.tsx new file mode 100644 index 0000000..e46fac4 --- /dev/null +++ b/apps/web/components/content/jcdt/fhws.tsx @@ -0,0 +1,70 @@ +import React from 'react'; + +const FhwsPage = () => { + return ( +
+ {/* 右侧烽火微视容器 */} +
+ {/* 标题部分 */} +
+

烽火微视

+ {/* 蓝色装饰线 */} +
+
+ + {/* 视频列表 */} +
+ {/* 视频项1 */} +
+ +

岗位尖兵比武视频

+
+ + {/* 视频项2 */} +
+ +

晚会视频

+
+ + {/* 视频项3 */} +
+ +

退伍视频

+
+ + {/* 视频项4 */} +
+ +

共同科目尖兵比武视频

+
+
+ + {/* 更多精彩按钮 */} +
+ +
+
+ + {/* 左侧图片/视频容器 */} +
+ {/* 右下角圆点指示器 */} +
+
+
+
+
+
+
+
+ ); +}; + +export default FhwsPage; diff --git a/apps/web/components/content/jcdt/jcdtlist.tsx b/apps/web/components/content/jcdt/jcdtlist.tsx new file mode 100644 index 0000000..44ec28e --- /dev/null +++ b/apps/web/components/content/jcdt/jcdtlist.tsx @@ -0,0 +1,44 @@ +// apps/web/components/content/jcdt/jcdt/jcdtlist.tsx +import React from 'react'; + +const JcdtList: React.FC = () => { + const publicNews = [ + { title: '国务院办公厅印发《关于完善仲', date: '2018.06.21' }, + { title: '国务院办公厅关于推进养老服务', date: '2016.11.03' }, + { title: '《关于统筹推进自然资源资产产', date: '2018.11.27' }, + { title: '中共中央印发《中国共产党党组工作条例》', date: '2018.01.31' }, + { title: '国务院关于修改部分行政法规的决定', date: '2018.01.31' }, + { title: '国务院关于落实《政府工作报告》', date: '2018.01.31' }, + { title: '关于同意建立自然灾', date: '2018.01.31' }, + { title: '国务院办公厅印发', date: '2018.01.31' }, + { title: '国务院关于落实《政府工作报告》', date: '2018.01.31' }, + { title: '关于同意建立自然灾', date: '2018.01.31' }, + ]; + return ( +
+ {/* 这里可以添加内容 */} +
+
+ {publicNews.map((item, index) => ( +
+ {/* 左侧圆点和标题 */} +
+
+

{item.title}

+
+ {/* 右侧日期 */} + {item.date} +
+ ))} +
+
+ ); +}; + +export default JcdtList; diff --git a/apps/web/components/content/jcdt/page.tsx b/apps/web/components/content/jcdt/page.tsx index b8fb3da..2181437 100644 --- a/apps/web/components/content/jcdt/page.tsx +++ b/apps/web/components/content/jcdt/page.tsx @@ -1,20 +1,35 @@ +import JcdtList from './jcdtlist'; +import FhjtPage from './fhjt'; +import FhwsPage from './fhws'; +import BqrxPage from './bqrx'; const JcdtContainer = () => { return ( <> -
- {/* 内容 */} +
+

+ 基层动态 +

+
+ className="bg-cover bg-center w-[1920px] h-[6000px] ml-1 pt-10" + style={{ backgroundImage: 'url(/jcdt.png)' ,backgroundSize: '100% 100%', backgroundRepeat: 'no-repeat'}} + > + + + + +
- ); + ); }; export default JcdtContainer; diff --git a/apps/web/components/content/page.tsx b/apps/web/components/content/page.tsx index 34df47d..82dd40c 100644 --- a/apps/web/components/content/page.tsx +++ b/apps/web/components/content/page.tsx @@ -10,7 +10,7 @@ const Content: React.FC = () => { className="w-[1920px] min-h-[calc(100vh-704px-758px)] relative left-1/2 transform -translate-x-1/2 bg-center flex justify-center items-center" > -
+
diff --git a/apps/web/components/content/xxjxs/carouselDemo.tsx b/apps/web/components/content/xxjxs/carouselDemo.tsx index a959bcc..16a864b 100644 --- a/apps/web/components/content/xxjxs/carouselDemo.tsx +++ b/apps/web/components/content/xxjxs/carouselDemo.tsx @@ -23,18 +23,14 @@ const CarouselDemo: React.FC = () => { ]; return ( -
- +
+ {slides.map((slide) => ( -
- {slide.content} + {slide.content}
@@ -44,4 +40,4 @@ const CarouselDemo: React.FC = () => { ); }; -export default CarouselDemo; \ No newline at end of file +export default CarouselDemo; diff --git a/apps/web/components/footer/footer.tsx b/apps/web/components/footer/footer.tsx index 2119841..3483827 100644 --- a/apps/web/components/footer/footer.tsx +++ b/apps/web/components/footer/footer.tsx @@ -3,7 +3,7 @@ import React from 'react'; const Footer: React.FC = () => { return (
{/* 主标题 */}