diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx index 952d9bf61..5c0735922 100644 --- a/src/forge/Information/Component/publicBanner.jsx +++ b/src/forge/Information/Component/publicBanner.jsx @@ -50,9 +50,9 @@ function PublicBanner(props){ 首页 开源项目 - 资源发布 + {/* 资源发布 */} 领域资讯 - Sig小组 + {/* Sig小组 */} 专区会员 diff --git a/src/forge/Information/Pages/headerPage.jsx b/src/forge/Information/Pages/headerPage.jsx index 34d9b1d11..9d4371d80 100644 --- a/src/forge/Information/Pages/headerPage.jsx +++ b/src/forge/Information/Pages/headerPage.jsx @@ -143,7 +143,7 @@ function HeaderPage(props){ } -
+ {/*

合作伙伴

-
+
*/} ) } diff --git a/src/forge/Information/Pages/zoneVIP.jsx b/src/forge/Information/Pages/zoneVIP.jsx index 76aafeed3..39c505b86 100644 --- a/src/forge/Information/Pages/zoneVIP.jsx +++ b/src/forge/Information/Pages/zoneVIP.jsx @@ -1,14 +1,17 @@ import React , { useState , useEffect } from 'react'; import Crown from '../img/crown.png'; +import { Spin } from 'antd'; import axios from 'axios'; function ZoneVIP(props){ const { deptId } = props.match.params; const [ vipLists , setVIPLists ] = useState(undefined); + const [ isSpin , setIsSpin ] = useState(true); useEffect(()=>{ if(deptId){ + setIsSpin(true); getLists(); } },[deptId]) @@ -18,50 +21,55 @@ function ZoneVIP(props){ axios.get(url).then(response=>{ if(response){ setVIPLists(response.data.rows); + setIsSpin(false); } - }).catch(error=>{}) + }).catch(error=>{setIsSpin(false);}) } return(

专区会员

社区根据您的贡献与扮演角色将用户划分成为不同的人员团队,并构建会员成长体系。您有兴趣成为会员,尽情发挥创意与智慧,与专区共同成长吗?

- { - vipLists && vipLists.length> 0 && -
- { - vipLists.map((i,k)=>{ - return( -
-
- - {i.typeName} + +
+ { + vipLists && vipLists.length> 0 && +
+ { + vipLists.map((i,k)=>{ + return( +
+
+ + {i.typeName} +
+

{i.typeIntroduction}

+ { + i.zoneMemberList && i.zoneMemberList.length > 0 && +
    + { + i.zoneMemberList.map((j,key)=>{ + return( +
  • + +
    +
    {j.name}{j.memberLevel && {j.memberLevel} }
    +

    {j.introduction}

    +
    +
  • + ) + }) + } +
+ }
-

{i.typeIntroduction}

- { - i.zoneMemberList && i.zoneMemberList.length > 0 && -
    - { - i.zoneMemberList.map((j,key)=>{ - return( -
  • - -
    -
    {j.name}{j.memberLevel && {j.memberLevel} }
    -

    {j.introduction}

    -
    -
  • - ) - }) - } -
- } -
- ) - }) - } + ) + }) + } +
+ }
- } +
) }