From b6a722fa79239aa544ff5b45c01b665d3f14847f Mon Sep 17 00:00:00 2001 From: quantulr <35954003+quantulr@users.noreply.github.com> Date: Fri, 3 Nov 2023 17:25:10 +0800 Subject: [PATCH] update --- .idea/codeStyles/Project.xml | 64 +++++ .idea/codeStyles/codeStyleConfig.xml | 5 + .prettierrc | 2 + .../government-policy/page.tsx | 2 +- .../industry-docking/page.tsx | 2 +- .../intellectual-property-services/page.tsx | 4 +- .../intelligence-services/page.tsx | 2 +- .../investment-and-financing/page.tsx | 2 +- .../page.tsx | 2 +- .../technology-assessment/page.tsx | 2 +- app/(introduce)/contact-us/layout.tsx | 4 +- app/(introduce)/contact-us/page.tsx | 12 +- .../func-dep/asset-finance/layout.tsx | 4 +- .../func-dep/asset-finance/page.tsx | 4 +- .../func-dep/general-office/layout.tsx | 4 +- .../func-dep/general-office/page.tsx | 6 +- .../func-dep/industry/layout.tsx | 4 +- .../func-dep/industry/page.tsx | 4 +- .../func-dep/personnel/layout.tsx | 4 +- .../func-dep/personnel/page.tsx | 4 +- .../func-dep/technology/layout.tsx | 4 +- .../func-dep/technology/page.tsx | 4 +- .../(generally)/architecture/layout.tsx | 4 +- .../(generally)/dean-speech/layout.tsx | 4 +- .../(generally)/dean-speech/page.tsx | 8 +- .../(generally)/joint-laboratory/layout.tsx | 4 +- .../(generally)/joint-laboratory/page.tsx | 2 +- .../(generally)/joint-venture/layout.tsx | 4 +- .../(generally)/joint-venture/page.tsx | 2 +- .../(generally)/overview/layout.tsx | 4 +- .../(generally)/overview/page.tsx | 6 +- .../(generally)/research-platform/layout.tsx | 4 +- .../(generally)/research-platform/page.tsx | 2 +- .../organization/(generally)/stidc/layout.tsx | 4 +- .../organization/(generally)/stidc/page.tsx | 2 +- .../talents/academician/layout.tsx | 4 +- app/(introduce)/talents/academician/page.tsx | 4 +- app/(introduce)/talents/overview/layout.tsx | 4 +- app/(introduce)/talents/overview/page.tsx | 2 +- app/(introduce)/talents/researcher/layout.tsx | 4 +- app/(introduce)/talents/researcher/page.tsx | 2 +- .../talents/vice-researcher/layout.tsx | 4 +- .../talents/vice-researcher/page.tsx | 2 +- app/components/AnhuiSwiper.tsx | 99 ++++---- app/components/ArticleBlock.tsx | 8 +- app/components/ArticleHeading.tsx | 2 +- app/components/ArticleLayout.tsx | 2 +- app/components/ArticleList.tsx | 6 +- app/components/ArticleRender.tsx | 6 +- app/components/ArticleWithBreadcrumb.tsx | 4 +- app/components/BackToTop.tsx | 22 +- app/components/BranchLifeSketch.tsx | 12 +- app/components/Breadcrumb.tsx | 2 +- app/components/FriendLinks.tsx | 4 +- app/components/LatestNews.tsx | 12 +- app/components/LeftNav.tsx | 10 +- app/components/MainNav.tsx | 12 +- app/components/Pagination.tsx | 10 +- app/layout.tsx | 2 +- app/page.tsx | 6 +- package.json | 8 +- pnpm-lock.yaml | 227 ++++++++++++------ 62 files changed, 415 insertions(+), 260 deletions(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .prettierrc diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..11e0616 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..2e125e5 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,2 @@ +plugins: + - prettier-plugin-tailwindcss diff --git a/app/(introduce)/achievements-transformation/government-policy/page.tsx b/app/(introduce)/achievements-transformation/government-policy/page.tsx index 1de31bd..f879103 100644 --- a/app/(introduce)/achievements-transformation/government-policy/page.tsx +++ b/app/(introduce)/achievements-transformation/government-policy/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -
    +
    1. 帮助企业对接政府普惠政策,争取一事一议政策
    2. 帮助企业享受专项政策
    3. 帮助企业争取落地政策
    4. diff --git a/app/(introduce)/achievements-transformation/industry-docking/page.tsx b/app/(introduce)/achievements-transformation/industry-docking/page.tsx index 94de6d7..30670ed 100644 --- a/app/(introduce)/achievements-transformation/industry-docking/page.tsx +++ b/app/(introduce)/achievements-transformation/industry-docking/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -
        +
        1. 对接政府资源
        2. 对接行业资源
        3. 对接中科院科技资源
        4. diff --git a/app/(introduce)/achievements-transformation/intellectual-property-services/page.tsx b/app/(introduce)/achievements-transformation/intellectual-property-services/page.tsx index 81d2a01..47dd00d 100644 --- a/app/(introduce)/achievements-transformation/intellectual-property-services/page.tsx +++ b/app/(introduce)/achievements-transformation/intellectual-property-services/page.tsx @@ -4,10 +4,10 @@ const Page = () => { return ( <> -

          +

          知识产权服务内容:

          -
            +
            1. 知识产权申报
            2. 知识产权运营
            3. 知识产权交易
            4. diff --git a/app/(introduce)/achievements-transformation/intelligence-services/page.tsx b/app/(introduce)/achievements-transformation/intelligence-services/page.tsx index 5e2af32..4419327 100644 --- a/app/(introduce)/achievements-transformation/intelligence-services/page.tsx +++ b/app/(introduce)/achievements-transformation/intelligence-services/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -
                +
                1. 科技战略研究与决策咨询(战略情报)偏宏观。战略,规划,计划,布局,资源,政策。
                2. diff --git a/app/(introduce)/achievements-transformation/investment-and-financing/page.tsx b/app/(introduce)/achievements-transformation/investment-and-financing/page.tsx index cec833d..4c69218 100644 --- a/app/(introduce)/achievements-transformation/investment-and-financing/page.tsx +++ b/app/(introduce)/achievements-transformation/investment-and-financing/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -
                    +
                    1. 帮助企业对接科技银行提供信用贷款
                    2. 帮助企业对接投融资机构
                    3. 帮助企业对接产业资本助力上市
                    4. diff --git a/app/(introduce)/achievements-transformation/scientific-research-project-declaration/page.tsx b/app/(introduce)/achievements-transformation/scientific-research-project-declaration/page.tsx index 249c26a..44f8882 100644 --- a/app/(introduce)/achievements-transformation/scientific-research-project-declaration/page.tsx +++ b/app/(introduce)/achievements-transformation/scientific-research-project-declaration/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -
                        +
                        1. 帮助企业申报国家级、省、市、区科技研发项目
                        2. 联合企业申报国家级、省、市、区科研项目
                        3. diff --git a/app/(introduce)/achievements-transformation/technology-assessment/page.tsx b/app/(introduce)/achievements-transformation/technology-assessment/page.tsx index 18d4485..fd91450 100644 --- a/app/(introduce)/achievements-transformation/technology-assessment/page.tsx +++ b/app/(introduce)/achievements-transformation/technology-assessment/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -
                            +
                            1. 科技成果的技术水平,经济效益和价值的评估
                            2. 产业和地区的科技进步和绩效
                            3. 科技机构的综合实力和运营水平
                            4. diff --git a/app/(introduce)/contact-us/layout.tsx b/app/(introduce)/contact-us/layout.tsx index 0238e8a..1da510b 100644 --- a/app/(introduce)/contact-us/layout.tsx +++ b/app/(introduce)/contact-us/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                              +
                              -
                              {children}
                              +
                              {children}
                              ); diff --git a/app/(introduce)/contact-us/page.tsx b/app/(introduce)/contact-us/page.tsx index 46da347..1d421b5 100644 --- a/app/(introduce)/contact-us/page.tsx +++ b/app/(introduce)/contact-us/page.tsx @@ -1,22 +1,22 @@ const Page = () => { return ( <> -

                              +

                              信息公开联系方式

                              -

                              +

                              机构名称:中国科学院重庆绿色智能技术研究院合肥分院

                              -

                              +

                              工作时间:8:30-18:00(节假日除外)

                              -

                              +

                              联系电话:18156053255 18156054143

                              -

                              +

                              通信地址:安徽省合肥市高新区创新产业园D1 7楼

                              -

                              邮政编码:230022

                              +

                              邮政编码:230022

                              ); }; diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/layout.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/layout.tsx index 95d6303..d11b692 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/layout.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/layout.tsx @@ -10,9 +10,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                              +
                              -
                              {children}
                              +
                              {children}
                              ); }; diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/page.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/page.tsx index 743b9f0..2bc866f 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/page.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/asset-finance/page.tsx @@ -4,9 +4,9 @@ const Page = () => { return ( <> -

                              +

                              负责院财务管理、国有资产管理等工作,主要职责为: -

                                +
                                1. 负责院预算管理工作,含部门预算编报、下达、控制、调整、分析等。
                                2. diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/general-office/layout.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/general-office/layout.tsx index fd3ac06..50cd2a1 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/general-office/layout.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/general-office/layout.tsx @@ -10,9 +10,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                  +
                                  -
                                  {children}
                                  +
                                  {children}
                                  ); }; diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/general-office/page.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/general-office/page.tsx index a81def0..4da0cd8 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/general-office/page.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/general-office/page.tsx @@ -4,9 +4,9 @@ const Page = () => { return ( <> -

                                  +

                                  负责院党建与创新文化建设、综合行政管理、科学传播与信息化建设等工作,主要职责为: -

                                    +
                                    1. 负责党建日常工作,承担党委办公室职责,协助党委做好党的组织建设与发展、党委中心组学习、党员教育和管理等。
                                    2. @@ -32,7 +32,7 @@ const Page = () => {
                                    3. 承担院领导安排的其他工作。

                                    -

                                    +

                                    监察审计室挂靠综合办公室,承担院纪委日常工作(含科研道德委员会日常工作),负责院纪检、监察、审计等工作,协助党委做好党风廉政建设及反腐败工作。

                                    diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/industry/layout.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/industry/layout.tsx index c5450dc..a07ca5d 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/industry/layout.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/industry/layout.tsx @@ -10,9 +10,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                    +
                                    -
                                    {children}
                                    +
                                    {children}
                                    ); }; diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/industry/page.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/industry/page.tsx index 7828581..68acb78 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/industry/page.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/industry/page.tsx @@ -4,9 +4,9 @@ const Page = () => { return ( <> -

                                    +

                                    负责院科技成果转移转化与产业化工作,主要职责为: -

                                      +
                                      1. 负责产业化项目的申报和管理。
                                      2. 负责产业平台的统筹策划、建设运营和管理。
                                      3. 负责技术转移服务平台的建设与运营。
                                      4. diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/personnel/layout.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/personnel/layout.tsx index fe16821..2d0d650 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/personnel/layout.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/personnel/layout.tsx @@ -10,9 +10,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                        +
                                        -
                                        {children}
                                        +
                                        {children}
                                        ); }; diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/personnel/page.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/personnel/page.tsx index 478f5c0..14d20f1 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/personnel/page.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/personnel/page.tsx @@ -4,9 +4,9 @@ const Page = () => { return ( <> -

                                        +

                                        负责院人才队伍建设、人事管理等工作,主要职责为: -

                                          +
                                          1. 组织制定、修订院人力资源战略,编制人力资源发展规划。
                                          2. 负责院组织架构和岗位体系管理。
                                          3. diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/technology/layout.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/technology/layout.tsx index 1a7a1ce..29d4d0a 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/technology/layout.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/technology/layout.tsx @@ -10,9 +10,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                            +
                                            -
                                            {children}
                                            +
                                            {children}
                                            ); }; diff --git a/app/(introduce)/organization/(functional-departments)/func-dep/technology/page.tsx b/app/(introduce)/organization/(functional-departments)/func-dep/technology/page.tsx index 4bfb4f0..ff4ee90 100644 --- a/app/(introduce)/organization/(functional-departments)/func-dep/technology/page.tsx +++ b/app/(introduce)/organization/(functional-departments)/func-dep/technology/page.tsx @@ -4,10 +4,10 @@ const Page = () => { return ( <> -

                                            +

                                            负责院科技发展规划、学科体系建设、重大科技任务组织、科技管理、国际交流等工作,主要职责为:

                                            -
                                              +
                                              1. 建立、监督实施院战略规划体系,组织制(修)订院中长期战略规划和年度发展计划,明确院重点研究领域和学科发展方向。
                                              2. diff --git a/app/(introduce)/organization/(generally)/architecture/layout.tsx b/app/(introduce)/organization/(generally)/architecture/layout.tsx index b5b87c1..9f1e5d5 100644 --- a/app/(introduce)/organization/(generally)/architecture/layout.tsx +++ b/app/(introduce)/organization/(generally)/architecture/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/dean-speech/layout.tsx b/app/(introduce)/organization/(generally)/dean-speech/layout.tsx index c34e78b..ce2a559 100644 --- a/app/(introduce)/organization/(generally)/dean-speech/layout.tsx +++ b/app/(introduce)/organization/(generally)/dean-speech/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/dean-speech/page.tsx b/app/(introduce)/organization/(generally)/dean-speech/page.tsx index 28ca7c1..27fd3ba 100644 --- a/app/(introduce)/organization/(generally)/dean-speech/page.tsx +++ b/app/(introduce)/organization/(generally)/dean-speech/page.tsx @@ -4,17 +4,17 @@ const Page = () => { return ( <> -

                                                +

                                                世界处于百年未有之大变局,第四次工业革命方兴未艾,人工智能、机器人技术、虚拟现实以及量子科技等蓬勃发展,将深度改变人类生产和生活方式,对国际格局的发展产生重要影响。中国要强大、民族要复兴、人民要幸福,科技强国梦就必须要实现。

                                                -

                                                +

                                                合肥分院的设立,是响应中科院支持合肥国家科学中心建设的号召,中科院重庆绿色智能技术研究院在合肥设立的独立法人事业单位。主要从事绿色智能科技研发与科技成果转化。合肥分院秉持“市场为魂,创新为本”的理念。按照“院企共建、源头创新、科技共享、产业集聚”模式建设。以服务好科技工作者,服务好合作企业,服务好区域产业创新升级为宗旨。

                                                -

                                                +

                                                合肥分院积极探索政、产、学、研、用紧密结合的机制,以合肥产业发展重大科技需求为牵引在人工智能、精准医疗、5G物联网等领域进行科技布局,集聚中科院体系内绿色智能科技人才与科技成果,重点开展产业关键核心技术与前沿技术创新、技术集成创新、工程化研发和科技成果转移转化工作,与技术创新体系和区域产业体系紧密结合,提升合肥创新发展能力。 把合肥分院建设成为产业技术源头创新基地、技术集成创新与育成基地、高层次创新创业人才培养基地和科技与产业对接的重要平台。合肥分院坚持立足合肥、辐射安徽,坚持技术立院、应用立院,坚持需求牵引、创新驱动、院企共建,按照“地方政府满意、合作企业满意、科学家满意”的检验标准。

                                                -

                                                +

                                                合肥分院希望能走出一条开放、包容、协作、创新的新型科研院所的道路。竭诚欢迎海内外英才,共创大业,实现科技强国梦!

                                                diff --git a/app/(introduce)/organization/(generally)/joint-laboratory/layout.tsx b/app/(introduce)/organization/(generally)/joint-laboratory/layout.tsx index a201b2c..de8aaa5 100644 --- a/app/(introduce)/organization/(generally)/joint-laboratory/layout.tsx +++ b/app/(introduce)/organization/(generally)/joint-laboratory/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/joint-laboratory/page.tsx b/app/(introduce)/organization/(generally)/joint-laboratory/page.tsx index 2749065..0a904f5 100644 --- a/app/(introduce)/organization/(generally)/joint-laboratory/page.tsx +++ b/app/(introduce)/organization/(generally)/joint-laboratory/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -

                                                建设中...

                                                +

                                                建设中...

                                                ); }; diff --git a/app/(introduce)/organization/(generally)/joint-venture/layout.tsx b/app/(introduce)/organization/(generally)/joint-venture/layout.tsx index fbf45e6..0ea24cf 100644 --- a/app/(introduce)/organization/(generally)/joint-venture/layout.tsx +++ b/app/(introduce)/organization/(generally)/joint-venture/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/joint-venture/page.tsx b/app/(introduce)/organization/(generally)/joint-venture/page.tsx index 6a24ac7..a691a9e 100644 --- a/app/(introduce)/organization/(generally)/joint-venture/page.tsx +++ b/app/(introduce)/organization/(generally)/joint-venture/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -

                                                对接中...

                                                +

                                                对接中...

                                                ); }; diff --git a/app/(introduce)/organization/(generally)/overview/layout.tsx b/app/(introduce)/organization/(generally)/overview/layout.tsx index 1daa88c..7b1e436 100644 --- a/app/(introduce)/organization/(generally)/overview/layout.tsx +++ b/app/(introduce)/organization/(generally)/overview/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/overview/page.tsx b/app/(introduce)/organization/(generally)/overview/page.tsx index 8942b4e..88efe11 100644 --- a/app/(introduce)/organization/(generally)/overview/page.tsx +++ b/app/(introduce)/organization/(generally)/overview/page.tsx @@ -4,13 +4,13 @@ const Page = () => { return ( <> -

                                                +

                                                中国科学院重庆绿色智能技术研究院合肥分院(以下简称“合肥分院”)是在响应中科院号召支持合肥国家科学中心建设的前提下,中国科学院重庆绿色智能技术研究院与合肥市共建的直属事业法人科研机构。2018年2月20号在中科院与安徽省共建领导小组会议上正式签约筹建,2018年12月20日,正式获得事业法人登记证书。

                                                -

                                                +

                                                合肥分院设立科技咨询委员会和产业咨询委员会,设人工智能、精准医疗、5G物联、绿色环保等研究单元。主要从事绿色智能科技研发与科技成果转化。

                                                -

                                                +

                                                合肥分院秉持重庆研究院“市场为魂,创新为本”的理念。按照“院企共建、源头创新、科技共享、产业集聚”模式建设。以服务好科技工作者,服务好合作企业为宗旨。开展形式多样的成果转移转化,加快科研成果落地。

                                                diff --git a/app/(introduce)/organization/(generally)/research-platform/layout.tsx b/app/(introduce)/organization/(generally)/research-platform/layout.tsx index 66f17d4..05d8fa1 100644 --- a/app/(introduce)/organization/(generally)/research-platform/layout.tsx +++ b/app/(introduce)/organization/(generally)/research-platform/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/research-platform/page.tsx b/app/(introduce)/organization/(generally)/research-platform/page.tsx index a24829e..4bc61d8 100644 --- a/app/(introduce)/organization/(generally)/research-platform/page.tsx +++ b/app/(introduce)/organization/(generally)/research-platform/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -

                                                筹建中...

                                                +

                                                筹建中...

                                                ); }; diff --git a/app/(introduce)/organization/(generally)/stidc/layout.tsx b/app/(introduce)/organization/(generally)/stidc/layout.tsx index 7a9ef29..22b668b 100644 --- a/app/(introduce)/organization/(generally)/stidc/layout.tsx +++ b/app/(introduce)/organization/(generally)/stidc/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/organization/(generally)/stidc/page.tsx b/app/(introduce)/organization/(generally)/stidc/page.tsx index afc16ce..93e02f3 100644 --- a/app/(introduce)/organization/(generally)/stidc/page.tsx +++ b/app/(introduce)/organization/(generally)/stidc/page.tsx @@ -4,7 +4,7 @@ const Page = () => { return ( <> -

                                                筹备中...

                                                +

                                                筹备中...

                                                ); }; diff --git a/app/(introduce)/talents/academician/layout.tsx b/app/(introduce)/talents/academician/layout.tsx index 66f17d4..05d8fa1 100644 --- a/app/(introduce)/talents/academician/layout.tsx +++ b/app/(introduce)/talents/academician/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/talents/academician/page.tsx b/app/(introduce)/talents/academician/page.tsx index 494731f..b203efc 100644 --- a/app/(introduce)/talents/academician/page.tsx +++ b/app/(introduce)/talents/academician/page.tsx @@ -5,8 +5,8 @@ const Page = () => { return ( <> -

                                                中科院院士

                                                -

                                                +

                                                中科院院士

                                                +

                                                {"张景中"} { return ( -

                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/talents/overview/page.tsx b/app/(introduce)/talents/overview/page.tsx index 2080f0f..9da33ae 100644 --- a/app/(introduce)/talents/overview/page.tsx +++ b/app/(introduce)/talents/overview/page.tsx @@ -5,7 +5,7 @@ const Page = () => { <> -

                                                +

                                                截止2017年10月底,重庆研究院全院共有员工333人,包括正高级40人,副高级61人,中级136人,初级21人。具有环境科学与工程、光学工程两个一级学科博士学位培养点,截止2017年10月底,共有博士生导师25人,硕士生导师38人,在读研究生117,其中博士39人,硕士73 人,留学生5人。

                                                diff --git a/app/(introduce)/talents/researcher/layout.tsx b/app/(introduce)/talents/researcher/layout.tsx index 66f17d4..05d8fa1 100644 --- a/app/(introduce)/talents/researcher/layout.tsx +++ b/app/(introduce)/talents/researcher/layout.tsx @@ -9,9 +9,9 @@ const breadcrumb = [ const Layout = ({ children }: { children: ReactNode }) => { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/talents/researcher/page.tsx b/app/(introduce)/talents/researcher/page.tsx index 3356f52..5652aa0 100644 --- a/app/(introduce)/talents/researcher/page.tsx +++ b/app/(introduce)/talents/researcher/page.tsx @@ -55,7 +55,7 @@ const Page = () => { {academicians.map((academician) => (
                                                { return ( -
                                                +
                                                -
                                                {children}
                                                +
                                                {children}
                                                ); }; diff --git a/app/(introduce)/talents/vice-researcher/page.tsx b/app/(introduce)/talents/vice-researcher/page.tsx index 2e2c9c7..c0ed400 100644 --- a/app/(introduce)/talents/vice-researcher/page.tsx +++ b/app/(introduce)/talents/vice-researcher/page.tsx @@ -24,7 +24,7 @@ const Page = () => { {academicians.map((academician) => (
                                                { - // const [albums, setAlbums] = useState([]); - // useEffect(() => { - // request - // .get>>(`/albums/albumList`, { - // // baseURL: `${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}`, - // baseURL: `http://localhost:8082/api}`, - // params: { - // cid: 3, - // }, - // }) - // .then((res) => { - // setAlbums(() => res.data.lists); - // }); - // }, []); + useEffect(() => { + let swiper: Swiper | null = null; + swiper = new Swiper(".swiper", { + modules: [Pagination, EffectCoverflow, Autoplay], + autoplay: { + delay: 2000, + }, + loop: true, + slidesPerView: 3, + effect: "coverflow", + pagination: { + el: ".swiper-pagination", + dynamicBullets: true, + }, + }); + return () => { + swiper?.destroy(); + swiper = null; + }; + }, []); return ( -
                                                +
                                                安徽风采
                                                -
                                                - {/* @ts-ignore*/} - - {/* @ts-ignore*/} - {albums.map((el) => ( - // @ts-ignore - - {""} - {/*@ts-ignore*/} - - ))} - {/* @ts-ignore */} - +
                                                +
                                                +
                                                + {albums.map((el) => ( +
                                                + {""} +
                                                + ))} +
                                                +
                                                +
                                                ); diff --git a/app/components/ArticleBlock.tsx b/app/components/ArticleBlock.tsx index 7f9d989..2c53e9d 100644 --- a/app/components/ArticleBlock.tsx +++ b/app/components/ArticleBlock.tsx @@ -37,24 +37,24 @@ const ArticleBlock = async ({ className={"flex flex-col overflow-hidden"} >
                                                {"trumpet {title} 更多+
                                                -
                                                +
                                                  {data.lists?.map((article) => (
                                                • diff --git a/app/components/ArticleHeading.tsx b/app/components/ArticleHeading.tsx index fa6caf4..0b79f25 100644 --- a/app/components/ArticleHeading.tsx +++ b/app/components/ArticleHeading.tsx @@ -1,6 +1,6 @@ const ArticleHeading = ({ text }: { text: string }) => { return ( -

                                                  +

                                                  {text}

                                                  ); diff --git a/app/components/ArticleLayout.tsx b/app/components/ArticleLayout.tsx index 6dac388..08cca90 100644 --- a/app/components/ArticleLayout.tsx +++ b/app/components/ArticleLayout.tsx @@ -15,7 +15,7 @@ const ArticleLayout = ({
                                                  -
                                                  {children}
                                                  +
                                                  {children}
                                                ); }; diff --git a/app/components/ArticleList.tsx b/app/components/ArticleList.tsx index 43897cd..48a8bd6 100644 --- a/app/components/ArticleList.tsx +++ b/app/components/ArticleList.tsx @@ -22,15 +22,15 @@ const ArticleList = async ({ }); return ( <> -

                                                {title}

                                                +

                                                {title}

                                                  {data.lists.map((article, index) => (
                                                • - {article.title} + {article.title} {dayjs(article.createTime).format("YYYY-MM-DD")}
                                                • diff --git a/app/components/ArticleRender.tsx b/app/components/ArticleRender.tsx index 28a48e0..666dc46 100644 --- a/app/components/ArticleRender.tsx +++ b/app/components/ArticleRender.tsx @@ -7,11 +7,11 @@ const ArticleRender = ({ article }: { article: ArticleDetail }) => {
                                                  -
                                                  +
                                                  上一篇 {article.prev?.title ?? "没有了"} @@ -20,7 +20,7 @@ const ArticleRender = ({ article }: { article: ArticleDetail }) => {
                                                  下一篇 {article.next?.title ?? "没有了"} diff --git a/app/components/ArticleWithBreadcrumb.tsx b/app/components/ArticleWithBreadcrumb.tsx index c33f665..6072b54 100644 --- a/app/components/ArticleWithBreadcrumb.tsx +++ b/app/components/ArticleWithBreadcrumb.tsx @@ -9,9 +9,9 @@ const ArticleWithBreadcrumb = ({ children: ReactNode; }) => { return ( -
                                                  +
                                                  -
                                                  {children}
                                                  +
                                                  {children}
                                                  ); }; diff --git a/app/components/BackToTop.tsx b/app/components/BackToTop.tsx index e1c934b..9f10963 100644 --- a/app/components/BackToTop.tsx +++ b/app/components/BackToTop.tsx @@ -1,14 +1,28 @@ "use client"; import backTop from "@/app/assets/backtop.png"; import Image from "next/image"; -// import { useScroll } from "ahooks"; +import { useScroll } from "ahooks"; +/** + * 返回到顶部 + * @constructor + */ const BackToTop = () => { - // const position = useScroll(); + const position = useScroll(); return ( -
                                                  +
                                                  { + window.scroll({ + top: 0, + behavior: "smooth", + }); + }} + className={`${ + (position?.top ?? 0) > 100 ? "top-0" : "top-full" + } absolute left-0 h-full w-full cursor-pointer transition-all`} src={backTop} alt={""} /> diff --git a/app/components/BranchLifeSketch.tsx b/app/components/BranchLifeSketch.tsx index 6bb9f8e..ef48aaf 100644 --- a/app/components/BranchLifeSketch.tsx +++ b/app/components/BranchLifeSketch.tsx @@ -19,7 +19,7 @@ const BranchLifeSketch = async () => { return ( <>
                                                  {"trumpet 分院生活剪影 @@ -51,28 +51,28 @@ const BranchLifeSketch = async () => { return ( // @ts-ignore -
                                                  +
                                                  {article.title} -
                                                  +
                                                  {article.title} -
                                                  +
                                                  {articleText}
                                                  diff --git a/app/components/Breadcrumb.tsx b/app/components/Breadcrumb.tsx index 6eec076..648b06a 100644 --- a/app/components/Breadcrumb.tsx +++ b/app/components/Breadcrumb.tsx @@ -8,7 +8,7 @@ export interface BreadcrumbItem { const Breadcrumb = ({ navigations }: { navigations: BreadcrumbItem[] }) => { return ( -
                                                  +
                                                  当前位置: {navigations.map((navigation, index) => { if (index === navigations.length - 1) { diff --git a/app/components/FriendLinks.tsx b/app/components/FriendLinks.tsx index a490daf..df34c82 100644 --- a/app/components/FriendLinks.tsx +++ b/app/components/FriendLinks.tsx @@ -53,7 +53,7 @@ const FriendLinks = () => { return (
                                                  {"trumpet 友情链接 @@ -64,7 +64,7 @@ const FriendLinks = () => { • {link.title} diff --git a/app/components/LatestNews.tsx b/app/components/LatestNews.tsx index 682a697..000017b 100644 --- a/app/components/LatestNews.tsx +++ b/app/components/LatestNews.tsx @@ -23,33 +23,33 @@ const LatestNews = async () => { }); return ( -
                                                  +
                                                  {""} -
                                                  +
                                                  {article.title} {content} 更多新闻内容>> diff --git a/app/components/LeftNav.tsx b/app/components/LeftNav.tsx index 452ad18..4a7fb6b 100644 --- a/app/components/LeftNav.tsx +++ b/app/components/LeftNav.tsx @@ -17,24 +17,24 @@ const LeftNav = ({ return (
                                                  -
                                                  +
                                                  {"circle {title}
                                                  {(navigations?.length ?? 0) > 0 && (
                                                    {navigations?.map((navigation) => (
                                                  • { const pathname = usePathname(); const [activePopup, setActivePopup] = useState(-1); return ( -