-
{{ reacProjectList[0].objName}}火热报名中
+
{{ reacProjectList[0].compname }}火热报名中
- {{ reacProjectList[0].annualCompId_dictText }}
+
立即报名
@@ -20,7 +20,9 @@
{{ item.compname }}
-
报名时间:{{item.starttime}}-{{ item.endtime }}
+
+ 报名时间:{{ item.starttime }}-{{ item.endtime }}
+
@@ -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
}
@@ -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;
}
diff --git a/src/views/raceInfo/index.vue b/src/views/raceInfo/index.vue
new file mode 100644
index 0000000..21195c4
--- /dev/null
+++ b/src/views/raceInfo/index.vue
@@ -0,0 +1,14 @@
+
+
+ 赛事详情
+
+
+
+
+
+