Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-28 11:11:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8f897c115675776a2774d86827296343c34abb1d
8f897c11
1 parent
4251219d
style(views): 统一标签页颜色为#4caf50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
src/views/study/StudyDetailPage.vue
src/views/study/StudyPage.vue
src/views/teacher/studentPage.vue
src/views/study/StudyDetailPage.vue
View file @
8f897c1
...
...
@@ -74,7 +74,7 @@
</div>
<!-- 标签页区域 -->
<div class="px-4 py-3 bg-white" style="position: relative;">
<van-tabs v-model:active="activeTab" sticky animated swipeable shrink @change="handleTabChange">
<van-tabs v-model:active="activeTab" sticky animated swipeable shrink
color="#4caf50"
@change="handleTabChange">
<van-tab title="介绍" name="intro">
</van-tab>
<van-tab :title-style="{ 'min-width': '50%' }" name="comments">
...
...
@@ -1087,7 +1087,7 @@ onMounted(async () => {
course_lessons.value = detail.data.schedule || [];
task_list.value = [];
timeout_task_list.value = [];
// 处理task_list数据格式
if (detail.data.task_list) {
detail.data.task_list.forEach(item => {
...
...
@@ -1099,7 +1099,7 @@ onMounted(async () => {
});
});
}
// 处理timeout_task_list数据格式
if (detail.timeout_task_list) {
detail.timeout_task_list.forEach(item => {
...
...
@@ -1111,7 +1111,7 @@ onMounted(async () => {
});
});
}
default_list.value = task_list.value;
showTaskList.value = true;
}
...
...
src/views/study/StudyPage.vue
View file @
8f897c1
...
...
@@ -26,7 +26,7 @@
</div>
<!-- 学习记录和统计标签页 -->
<van-tabs v-model:active="activeTab" sticky shrink>
<van-tabs v-model:active="activeTab" sticky shrink
color="#4caf50"
>
<!-- 学习记录标签 -->
<van-tab title="学习记录" name="record">
<div class=" bg-white z-10 px-4 py-3 border-b border-gray-100" style="position: sticky; top: 44px;">
...
...
src/views/teacher/studentPage.vue
View file @
8f897c1
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-06-19 17:12:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-
13 10:28:29
* @LastEditTime: 2025-10-
28 11:10:00
* @FilePath: /mlaj/src/views/teacher/studentPage.vue
* @Description: 学生详情页面
-->
...
...
@@ -95,7 +95,7 @@
<!-- 使用van-sticky包裹van-tabs实现粘性布局 -->
<div class="bg-white" style="margin: 1rem;">
<van-sticky :offset-top="0">
<van-tabs v-model:active="activeTab" color="#
10b981
" animated swipeable @change="handleTabChange">
<van-tabs v-model:active="activeTab" color="#
4caf50
" animated swipeable @change="handleTabChange">
<van-tab title="作业记录" name="homework"></van-tab>
<van-tab title="班主任点评" name="evaluation"></van-tab>
<van-tab title="打卡统计" name="statistics"></van-tab>
...
...
Please
register
or
login
to post a comment