From ec2f78a2581d3fac887074a559ed29b9f73ae536 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 29 May 2023 10:55:34 +0800 Subject: [PATCH] save --- .../Information/Component/publicBanner.jsx | 9 ++- src/forge/Information/Pages/headerPage.jsx | 53 ++++++++++-------- src/forge/Information/Pages/newsList.jsx | 31 +++++----- src/forge/Information/Pages/projectSource.jsx | 2 +- src/forge/Information/Pages/zoneVIP.jsx | 14 +++++ src/forge/Information/img/menu6.png | Bin 0 -> 4824 bytes src/forge/Information/index.jsx | 10 ++++ src/forge/Information/index.scss | 21 ++++++- 8 files changed, 98 insertions(+), 42 deletions(-) create mode 100644 src/forge/Information/Pages/zoneVIP.jsx create mode 100644 src/forge/Information/img/menu6.png diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx index d94b5665b..952d9bf61 100644 --- a/src/forge/Information/Component/publicBanner.jsx +++ b/src/forge/Information/Component/publicBanner.jsx @@ -5,6 +5,7 @@ import Menu2 from '../img/menu2.png'; import Menu3 from '../img/menu3.png'; import Menu4 from '../img/menu4.png'; import Menu5 from '../img/menu5.png'; +import Menu6 from '../img/menu6.png'; import { Link } from 'react-router-dom'; @@ -18,16 +19,21 @@ function PublicBanner(props){ if(pathname){ const head = /\/information\/[0-9]{0,}/g; const info = /\/information\/[0-9]{0,}\/news/g; + const infodetail = /\/information\/[0-9]{0,}\/newdetail/g; const project = /\/information\/[0-9]{0,}\/projects/g; + const vip = /\/information\/[0-9]{0,}\/VIP/g; if(head.test(pathname)){ setKey("1"); } if(project.test(pathname)){ setKey("2"); } - if(info.test(pathname)){ + if(info.test(pathname) || infodetail.test(pathname)){ setKey("4"); } + if(vip.test(pathname)){ + setKey("6"); + } } },[pathname]) @@ -47,6 +53,7 @@ function PublicBanner(props){
{i.projectProperties && i.projectProperties.description ? i.projectProperties.description : "暂无~"}
核心贡献者
-我是贡献者的简介内容占两行我是贡献者的简介内容占两行我是贡献者的简介内容占两行
-我是贡献者的简介内容占两行我是贡献者的简介内容占两行我是贡献者的简介内容占两行
-我是贡献者的简介内容占两行我是贡献者的简介内容占两行我是贡献者的简介内容占两行
-我是贡献者的简介内容占两行我是贡献者的简介内容占两行我是贡献者的简介内容占两行
-{i.introduction}
+{details && details.name}
- {i.fullName} + window.open(i.projectURL)}>{i.fullName} { i.projectProperties &&
专区会员
+社区根据您的贡献与扮演角色将用户划分成为不同的人员团队,并构建会员成长体系。您有兴趣成为会员,尽情发挥创意与智慧,与专区共同成长吗?
+E2>z*2AY*kJhSw0uBy({hKdYI9IML-d=M zT>8x)-9QS?By{<&Q7v9WOal=7+*J5DUSr$~MsWR=?l0fI-9MKav8QlQ G7iuxt& zb0DFMT&4qy5in#Cn=`?I=dHcZ2uPX#9>2k()B3^w7z7nXV#^@~mB5QJk#8l&n&Y9A z1uz&jRXLh@p(+xkW1QVS61L`66c{n{YWW<+2p vrUBp=Oqdyp74{C7_uZzwqBl;&tA(}! zHdEr LRjmnTw0PTUy*fW87-bBSSyL*K13ILEqKXkfUiZX8f`U#}@lh zLgez+hc%nFF*Gw7SV|kPe1;677R)B}&F_7j2PW_i96;!8s1cvLdXXp^77Pl69u^8m z*3-SX`RnC?QCFR#Sftc+I&dn_dap&x;&Tng)V2V~|l!;+39Drr91;_^m{I=I-BYc2hyb7-~;K=4&4 z$cAu8%@w%(E~hCvMXd1R+Ae2NNkZbLvVbs+F8PAINaPeCt8uQR#lp1aoU-1`4t@gf zi_%eemL9xyqishaBZ9V|P%YRFi~_)%X-Z@Jjt|Fid$INZHEbrARo*ZpAPgWKe<#O@ z6fMInF2lJle2N-XuCr=smee!`?=pLU;5{(pGxVaZAHk8T$+lI(H?kTCE+XL!G+v=r zEXxN_ZZFi}ku@EI7neq{WLQ9i8|>(oi!iZMaK2ecmD^~>?<^|qRZ%*=zY7lTUOa~m z33uS$RMNQ$8?g import("./Pages/zoneVIP"), + loading: Loading, +}); const HeaderPage = Loadable({ loader: () => import("./Pages/headerPage"), loading: Loading, @@ -87,6 +91,12 @@ function Index(props){ )} > + ( + + )} + > ( diff --git a/src/forge/Information/index.scss b/src/forge/Information/index.scss index 36b2222d7..4fc305386 100644 --- a/src/forge/Information/index.scss +++ b/src/forge/Information/index.scss @@ -1,5 +1,6 @@ .information_main{ background-color:#f3f5f8; + min-height: 100vh; .ant-breadcrumb{ font-size: 15px; margin-bottom: 20px; @@ -673,15 +674,17 @@ } .zone_contributor{ min-height: 466px; - background-image: url(./img/productBg2.png); - background-size: 100% 100%; + // background-image: url(./img/productBg2.png); + // background-size: 100% 100%; + background-color: #F7F9FC; width: 100%; - padding:44px 0px 58px; + padding:44px 0px 30px; .zone_c_lists{ display: flex; align-items: center; margin-top: 50px; justify-content: space-between; + flex-wrap: wrap; li{ padding:17px 13px; background-image: url(./img/contributebg.png); @@ -691,6 +694,7 @@ display: flex; flex-direction: column; align-items: center; + margin-bottom: 30px!important; &>img{ width: 80px; height: 80px; @@ -747,4 +751,15 @@ } } } +} +.zone_VIP_box{ + padding:50px 0px; + .vip_sub_title{ + color:#1f2329; + font-size:15px; + line-height:27px; + text-align:center; + margin-top: 16px; + max-width: 1000px; + } } \ No newline at end of file