修改细节部分
This commit is contained in:
parent
d0d96fcfcf
commit
d071ddf54a
|
@ -8,10 +8,6 @@ export const Competitions = {
|
|||
component: '@/pages/Competitions/Index',
|
||||
},
|
||||
{
|
||||
//竞赛首页
|
||||
path: '/competitions/exports',
|
||||
component: '@/pages/Competitions/Exports/',
|
||||
},{
|
||||
path: '/competitions/2024/information/:id',
|
||||
component: '@/pages/metting/information/detail',
|
||||
},
|
||||
|
@ -19,19 +15,19 @@ export const Competitions = {
|
|||
path: '/competitions/2024',
|
||||
component: '@/pages/metting/banner',
|
||||
routes: [
|
||||
{
|
||||
path: '/competitions/2024',
|
||||
component: '@/pages/metting/home',
|
||||
},{
|
||||
path: '/competitions/2024/organization',
|
||||
component: '@/pages/metting/organization',
|
||||
},{
|
||||
path: '/competitions/2024/track/:id',
|
||||
component: '@/pages/metting/track',
|
||||
},{
|
||||
path: '/competitions/2024/information',
|
||||
component: '@/pages/metting/information',
|
||||
}
|
||||
{
|
||||
path: '/competitions/2024',
|
||||
component: '@/pages/metting/home',
|
||||
},{
|
||||
path: '/competitions/2024/organization',
|
||||
component: '@/pages/metting/organization',
|
||||
},{
|
||||
path: '/competitions/2024/track/:id',
|
||||
component: '@/pages/metting/track',
|
||||
},{
|
||||
path: '/competitions/2024/information',
|
||||
component: '@/pages/metting/information',
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -39,6 +35,26 @@ export const Competitions = {
|
|||
path: '/competitions',
|
||||
component: '@/pages/Competitions/Index',
|
||||
},
|
||||
{
|
||||
//竞赛详情页
|
||||
path: '/competitions/:identifier',
|
||||
component: '@/pages/Competitions/Detail',
|
||||
},
|
||||
{
|
||||
//竞赛报名页
|
||||
path: '/competitions/:identifier/enroll',
|
||||
component: '@/pages/Competitions/Entered',
|
||||
},
|
||||
{
|
||||
//修改战队名页
|
||||
path: '/competitions/:identifier/UpdateTeanname/:Teannameid',
|
||||
component: '@/pages/Competitions/Update',
|
||||
},
|
||||
{
|
||||
//战队详情
|
||||
path: '/competitions/:identifier/teamDetail/:Teamid',
|
||||
component: '@/pages/Competitions/Entered/Assembly/TeamDateil',
|
||||
},
|
||||
{
|
||||
//竞赛详情页
|
||||
path: '/competitions/index/:identifier',
|
||||
|
|
|
@ -73,7 +73,7 @@ function Home(){
|
|||
<span className='btn'>报名人数</span>
|
||||
</li>
|
||||
<li>
|
||||
<span className='number'>¥<em>1000,000</em></span>
|
||||
<span className='number'>¥<em>2,100,000</em></span>
|
||||
<div className='line'><img src={Diamond} alt="" width={23} /></div>
|
||||
<span className='btn'>奖金总数</span>
|
||||
</li>
|
||||
|
@ -111,7 +111,7 @@ function Home(){
|
|||
<p className='tracktitle'><span>贡献:</span>开源项目贡献赛道</p>
|
||||
<p style={{opacity:"0.71"}}>参赛队伍解决开源项目疑修,提交代码,创新应用并移植工具,凭贡献获奖。</p>
|
||||
</div>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/633'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/675'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<span className='money'><span>约 ¥</span>600,000</span>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -122,7 +122,7 @@ function Home(){
|
|||
<p className='tracktitle'><span>挑战:</span>开源任务挑战赛道</p>
|
||||
<p style={{opacity:"0.71"}}>根据指定任务汇聚优秀算法和解决方案,可持续优化更新,结合性能和效果评奖。</p>
|
||||
</div>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/634'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/677'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<span className='money'><span>约 ¥</span>1,100,000</span>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -133,7 +133,7 @@ function Home(){
|
|||
<p className='tracktitle'><span>教学:</span>开源案例教学赛道</p>
|
||||
<p style={{opacity:"0.71"}}>在线汇聚高校实践教学案例,助力实践教学创新,依据案例质量与应用成效评奖。</p>
|
||||
</div>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/635'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/679'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<span className='money'><span>约 ¥</span>200,000</span>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -144,7 +144,7 @@ function Home(){
|
|||
<p className='tracktitle'><span>评注:</span>开源代码评注赛道</p>
|
||||
<p style={{opacity:"0.71"}}>研读开源项目代码,撰写技术评注、代码注释及缺陷报告,按数量、质量及贡献评奖。</p>
|
||||
</div>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/636'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<a className='applicationBtn' href='/competitions/2024/track/678'>查看详情<img src={ArrowPurple} width={19}/></a>
|
||||
<span className='money'><span>约 ¥</span>200,000</span>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -10,7 +10,7 @@ export const menu = [
|
|||
},
|
||||
{
|
||||
name: '赛事安排',
|
||||
link: '/competitions/2024/track/633',
|
||||
link: '/competitions/2024/track/675',
|
||||
},
|
||||
{
|
||||
name: '赛事动态',
|
||||
|
|
|
@ -41,7 +41,7 @@ function Information() {
|
|||
if(scrollTop < 362) setTabKey(0);
|
||||
if(positionNum && positionNum.length>0){
|
||||
for(let i=0;i<positionNum.length;i++){
|
||||
if(i>0 && scrollTop <= positionNum[i] && scrollTop > positionNum[i-1] ){
|
||||
if(scrollTop <= positionNum[i]+360){
|
||||
setTabKey(i);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -73,10 +73,10 @@ function Track(props) {
|
|||
<div className='track'>
|
||||
<div className='tabPanel'>
|
||||
<div className="tab">
|
||||
<Link key={ 633 } to='/competitions/2024/track/633' className={`tab-item ${tabKey === "633" ?"active":""}`}>开源项目贡献赛道</Link>
|
||||
<Link key={ 634 } to='/competitions/2024/track/634' className={`tab-item ${tabKey === "634" ?"active":""}`}>开源任务挑战赛道</Link>
|
||||
<Link key={ 635 } to='/competitions/2024/track/635' className={`tab-item ${tabKey === "635" ?"active":""}`}>开源案例教学赛道</Link>
|
||||
<Link key={ 636 } to='/competitions/2024/track/636' className={`tab-item ${tabKey === "636" ?"active":""}`}>开源代码评注赛道</Link>
|
||||
<Link key={ 675 } to='/competitions/2024/track/675' className={`tab-item ${tabKey === "675" ?"active":""}`}>开源项目贡献赛道</Link>
|
||||
<Link key={ 677 } to='/competitions/2024/track/677' className={`tab-item ${tabKey === "677" ?"active":""}`}>开源任务挑战赛道</Link>
|
||||
<Link key={ 679 } to='/competitions/2024/track/679' className={`tab-item ${tabKey === "679" ?"active":""}`}>开源案例教学赛道</Link>
|
||||
<Link key={ 678 } to='/competitions/2024/track/678' className={`tab-item ${tabKey === "678" ?"active":""}`}>开源代码评注赛道</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="detail-info">
|
||||
|
|
Loading…
Reference in New Issue