|
|
|
@ -1,9 +1,9 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="container-1420" v-if="isLoading"> |
|
|
|
|
<div class="banner"> |
|
|
|
|
<div class="title">{{ reacProjectList[0].objName}}火热报名中</div> |
|
|
|
|
<div class="title">{{ reacProjectList[0].compname }}火热报名中</div> |
|
|
|
|
<div class="description"> |
|
|
|
|
{{ reacProjectList[0].annualCompId_dictText }} |
|
|
|
|
<div v-html="reacProjectList[0].introduce"></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="application gradient">立即报名</div> |
|
|
|
|
<div class="nav-title"> |
|
|
|
@ -20,7 +20,9 @@ |
|
|
|
|
<div class="reac-info"> |
|
|
|
|
<div class="reac-title">{{ item.compname }}</div> |
|
|
|
|
<div class="reac-project"><div v-html="item.introduce"></div></div> |
|
|
|
|
<div class="time">报名时间:{{item.starttime}}-{{ item.endtime }}</div> |
|
|
|
|
<div class="time"> |
|
|
|
|
报名时间:{{ item.starttime }}-{{ item.endtime }} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -78,17 +80,17 @@ const getRaceProjectListEvent = async () => { |
|
|
|
|
pageNo: 1, |
|
|
|
|
pageSize: 8, |
|
|
|
|
} |
|
|
|
|
const res:any = await getRaceList(page) |
|
|
|
|
const res: any = await getRaceList(page) |
|
|
|
|
console.log(res) |
|
|
|
|
reacProjectList.value = res.result.records |
|
|
|
|
console.log(reacProjectList.value ,'reacProjectList.value '); |
|
|
|
|
|
|
|
|
|
console.log(reacProjectList.value, 'reacProjectList.value ') |
|
|
|
|
|
|
|
|
|
isLoading.value = true |
|
|
|
|
} |
|
|
|
|
getRaceProjectListEvent() |
|
|
|
|
const active = ref(1) |
|
|
|
|
const setImageUrl = (url:string) => { |
|
|
|
|
return import.meta.env.VITE_APP_BASE_API +url |
|
|
|
|
const setImageUrl = (url: string) => { |
|
|
|
|
return import.meta.env.VITE_APP_BASE_API + url |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
@ -158,6 +160,10 @@ const setImageUrl = (url:string) => { |
|
|
|
|
width: 340px; |
|
|
|
|
height: 360px; |
|
|
|
|
// background-color: pink; |
|
|
|
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06); |
|
|
|
|
cursor: pointer; |
|
|
|
|
border-radius: 10px; |
|
|
|
|
transition: all 0.2s; |
|
|
|
|
.image { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 194px; |
|
|
|
@ -185,6 +191,9 @@ const setImageUrl = (url:string) => { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.item:hover{ |
|
|
|
|
transform: translateY(-5px); |
|
|
|
|
} |
|
|
|
|
.item:nth-child(n) { |
|
|
|
|
margin-top: 20px; |
|
|
|
|
} |
|
|
|
|