diff --git a/ruoyi-ui/src/api/officialWebsite/getPageData.js b/ruoyi-ui/src/api/officialWebsite/getPageData.js index b4cd365..dd7c3f4 100644 --- a/ruoyi-ui/src/api/officialWebsite/getPageData.js +++ b/ruoyi-ui/src/api/officialWebsite/getPageData.js @@ -21,3 +21,10 @@ export function getContent(id) { method: 'get', }) } +export function getbaseInfo() { + return request({ + url: '/api/baseInfo', + method: 'get', + + }) +} diff --git a/ruoyi-ui/src/views/officialWebsite/competition.vue b/ruoyi-ui/src/views/officialWebsite/competition.vue index 2d38f13..f646e57 100644 --- a/ruoyi-ui/src/views/officialWebsite/competition.vue +++ b/ruoyi-ui/src/views/officialWebsite/competition.vue @@ -22,7 +22,7 @@
-
+
赛区参赛报名表(本科组)
@@ -118,34 +118,26 @@
-
-
-
- -
{{item.contentTitle}}
-
-
+
+ +
+
+
+
+ +
{{item.contentTitle}}
+
+
+
+
+ +
{{item.contentTitle}}
- - +
去报名
@@ -155,7 +147,7 @@ diff --git a/ruoyi-ui/src/views/officialWebsite/xufang.vue b/ruoyi-ui/src/views/officialWebsite/xufang.vue index e4f25ec..cdc8b89 100644 --- a/ruoyi-ui/src/views/officialWebsite/xufang.vue +++ b/ruoyi-ui/src/views/officialWebsite/xufang.vue @@ -723,4 +723,55 @@ export default { justify-content: center; margin-bottom: 50px; } +::v-deep .el-pagination .el-pager li:not(.disabled) { + border-radius: 100%; + /* 圆形 */ + width: 50px; + height: 50px; + /* 按钮高度 */ + line-height: 50px; + /* 文字垂直居中 */ + text-align: center; + /* 文字水平居中 */ + margin: 0 15px; + /* 按钮间距 */ + border-radius: 50%; + width: 50px; + height: 50px; + background: #FFFFFF; + + border: 1px solid #DDDDDD; +} + +/* 选中的页码按钮样式 */ +::v-deep .el-pagination .el-pager .active { + background-color: #005375; +; + /* 背景颜色 */ + color: #fff; + /* 文字颜色 */ +} + +::v-deep .el-pagination.is-background .btn-next, +::v-deep .el-pagination.is-background .btn-prev { + + background-color: #f4f4f5; + color: #333; + margin: 0 15px; + border-radius: 50%; + width: 50px; + height: 50px; + background: #FFFFFF; + + border: 1px solid #DDDDDD; +} + +::v-deep .el-pagination .btn-next .el-icon, +::v-deep .el-pagination .btn-prev .el-icon { + font-size: 18px; +} +.page-box{ + width: 80%; + margin: 10px auto; +}