diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index d8fb74e..20a6e14 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -3,6 +3,7 @@ import Content from "@/components/content/page"; import Footer from "@/components/footer/footer"; import Header from "@/components/header/header"; +import JcdtContainer from "@/components/content/jcdt/page"; export default function HomePage() { return ( diff --git a/apps/web/components/content/jcdt/page.tsx b/apps/web/components/content/jcdt/page.tsx new file mode 100644 index 0000000..42ea847 --- /dev/null +++ b/apps/web/components/content/jcdt/page.tsx @@ -0,0 +1,15 @@ +const JcdtContainer = () => { + return ( + <> +
+ + +
+
+ +
+ + ); +}; + +export default JcdtContainer; \ No newline at end of file diff --git a/apps/web/components/content/navbar/page.tsx b/apps/web/components/content/navbar/page.tsx index 55b5d58..25e2917 100644 --- a/apps/web/components/content/navbar/page.tsx +++ b/apps/web/components/content/navbar/page.tsx @@ -134,13 +134,13 @@ const Navbar: React.FC = () => {
{/* 左侧内容 */}
-

1111

+

{/* 右侧烽火要闻容器 */}
{/* 标题栏 */} -
+

烽火要闻

{/* 右侧文章内容 */}
-

{article.title}【MORE】

+

{article.title}【MORE】

diff --git a/apps/web/components/content/page.tsx b/apps/web/components/content/page.tsx index 0087274..2536c5d 100644 --- a/apps/web/components/content/page.tsx +++ b/apps/web/components/content/page.tsx @@ -1,9 +1,11 @@ import React from 'react'; import Navbar from './navbar/page'; import NewPage from './qjsx/page'; - +import LearnPage from './xxjxs/page'; +import JcdtContainer from './jcdt/page'; const Content: React.FC = () => { return ( + // style={{ backgroundColor: '#e0dbdb' }}
{
+ +
+ +
); diff --git a/apps/web/components/content/qjsx/page.tsx b/apps/web/components/content/qjsx/page.tsx index 692e9b0..448abdf 100644 --- a/apps/web/components/content/qjsx/page.tsx +++ b/apps/web/components/content/qjsx/page.tsx @@ -26,7 +26,7 @@ const NewPage = () => { ]; return ( -
+
{/* 标题栏 */}
@@ -34,9 +34,9 @@ const NewPage = () => {
{/* 查看更多标签 */}
- +
{/* 新闻列表 */}
@@ -44,7 +44,7 @@ const NewPage = () => {
{/* 左侧圆点和标题 */}
-
+

{item.title}

{/* 右侧日期 */} @@ -60,9 +60,9 @@ const NewPage = () => {
{/* 查看更多标签 */}
- +
{/* 新闻列表 */}
@@ -70,7 +70,7 @@ const NewPage = () => {
{/* 左侧圆点和标题 */}
-
+

{item.title}

{/* 右侧日期 */} diff --git a/apps/web/components/content/xxjxs/page.tsx b/apps/web/components/content/xxjxs/page.tsx new file mode 100644 index 0000000..bf6b30e --- /dev/null +++ b/apps/web/components/content/xxjxs/page.tsx @@ -0,0 +1,70 @@ +const LearnPage = () => { + const newsList = [ + { title: '中华人民共和国监察法', id: 1 }, + { title: '2024年国办印发意见部门工作人员党听全国两...', id: 2 }, + { title: '十四届全国人大二次会议闭幕贺词', id: 3 }, + { title: '7天人代会:"小片段"折射民主"大全景"', id: 4 }, + { title: '全国政协十四届二次会议共收到提案5800多件', id: 5 }, + { title: '两会观察丨从两会八个高频词看中国', id: 6 }, + { title: '两会"清单"上新这些民生发展温度', id: 7 }, + { title: '"选择中国"——世界从中国两会读出心动机号', id: 8 }, + { title: '中国经济信心说丨新玛合信心从哪里来', id: 9 }, + ]; + + return ( +
+ {/* 学习进行时图片 */} +
+ {/* 轮播图 */} +
+ {/* 左边容器 */} +
{/* 左边容器内容 */}
+ {/* 新闻容器 */} +
+ {/* 新闻列表 */} +
+ {newsList.map((news, index) => ( +
+ {/* 圆点 */} +
+ {/* 新闻标题 */} +

+ {news.title} +

+
+ ))} +
+
+
+ {/* 图书容器 */} +
+
+
+ {/* 左边容器内容 */} +
+

+ 习近平新时代中国特色社会 +
+ 主义思想专题数据库 +

+
+
+
+
+ {/* 右边容器内容 */} +
+

习近平著作选读

+
+
+
+
+ ); +}; + +export default LearnPage; diff --git a/apps/web/public/book1.png b/apps/web/public/book1.png new file mode 100644 index 0000000..c74ffd8 Binary files /dev/null and b/apps/web/public/book1.png differ diff --git a/apps/web/public/book2.png b/apps/web/public/book2.png new file mode 100644 index 0000000..4e6ea37 Binary files /dev/null and b/apps/web/public/book2.png differ diff --git a/apps/web/public/jcdt.png b/apps/web/public/jcdt.png new file mode 100644 index 0000000..529c734 Binary files /dev/null and b/apps/web/public/jcdt.png differ diff --git a/apps/web/public/learn.png b/apps/web/public/learn.png new file mode 100644 index 0000000..0f975ec Binary files /dev/null and b/apps/web/public/learn.png differ