diff --git a/generated/core/OpenAPI.ts b/generated/core/OpenAPI.ts index 685abe2..ea14d7e 100644 --- a/generated/core/OpenAPI.ts +++ b/generated/core/OpenAPI.ts @@ -22,7 +22,8 @@ export type OpenAPIConfig = { export const OpenAPI: OpenAPIConfig = { //BASE: 'http://39.106.16.162:8080', - BASE: 'http://127.0.0.1:8080', + // BASE: 'http://127.0.0.1:8080', + BASE: import.meta.env.VITE_APP_BASE_API, VERSION: '1.0.0', WITH_CREDENTIALS: false, CREDENTIALS: 'include', diff --git a/src/views/MyCourseStudy/learningProcess.vue b/src/views/MyCourseStudy/learningProcess.vue index fde2a54..4c58175 100644 --- a/src/views/MyCourseStudy/learningProcess.vue +++ b/src/views/MyCourseStudy/learningProcess.vue @@ -140,61 +140,29 @@ const goToAnotherPage = (address, courseId) => {
浏览记录 - + 批量删除 - + 管理
@@ -220,17 +200,10 @@ const goToAnotherPage = (address, courseId) => {
- +
@@ -241,9 +214,11 @@ const goToAnotherPage = (address, courseId) => { flex-direction: column; min-height: 100vh; } + .content { flex: 1; } + .example-pagination-block { position: sticky; bottom: 0; @@ -254,6 +229,7 @@ const goToAnotherPage = (address, courseId) => { .record-list { margin: 10px 0; } + ul { width: 100%; list-style-type: none; @@ -268,9 +244,11 @@ ul { grid-template-columns: repeat(auto-fill, 272px); justify-content: space-around; } + li { /* margin-bottom: 30px; */ - transition: filter 0.3s; /* 添加过渡动画 */ + transition: filter 0.3s; + /* 添加过渡动画 */ /* flex: 1 0 20%; */ width: calc(20% - 20px); width: 250px; @@ -285,6 +263,7 @@ li { transition: box-shadow 0.3s; cursor: pointer; } + li:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }