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-05-15 11:59:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7fa08c5b978ef4d92eb2c2e2c35aebad04030685
7fa08c5b
1 parent
24b75127
Bob需求, 把页面几个地方文字修改掉
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
src/utils/mockData.js
src/views/HomePage.vue
src/utils/mockData.js
View file @
7fa08c5
...
...
@@ -194,11 +194,17 @@ export const userProfile = {
};
// Daily check-in data
// export const checkInTypes = [
// { id: 'reading', name: '阅读打卡', icon: 'book', path: '/checkin/reading' },
// { id: 'exercise', name: '运动打卡', icon: 'running', path: '/checkin/exercise' },
// { id: 'study', name: '学习打卡', icon: 'graduation-cap', path: '/checkin/study' },
// { id: 'reflection', name: '反思打卡', icon: 'pencil-alt', path: '/checkin/writing' }
// ];
export
const
checkInTypes
=
[
{
id
:
'reading'
,
name
:
'
阅读
打卡'
,
icon
:
'book'
,
path
:
'/checkin/reading'
},
{
id
:
'exercise'
,
name
:
'
运动
打卡'
,
icon
:
'running'
,
path
:
'/checkin/exercise'
},
{
id
:
'study'
,
name
:
'
学习
打卡'
,
icon
:
'graduation-cap'
,
path
:
'/checkin/study'
},
{
id
:
'reflection'
,
name
:
'
反思
打卡'
,
icon
:
'pencil-alt'
,
path
:
'/checkin/writing'
}
{
id
:
'reading'
,
name
:
'
课程
打卡'
,
icon
:
'book'
,
path
:
'/checkin/reading'
},
{
id
:
'exercise'
,
name
:
'
签到
打卡'
,
icon
:
'running'
,
path
:
'/checkin/exercise'
},
{
id
:
'study'
,
name
:
'
团队
打卡'
,
icon
:
'graduation-cap'
,
path
:
'/checkin/study'
},
{
id
:
'reflection'
,
name
:
'
学习
打卡'
,
icon
:
'pencil-alt'
,
path
:
'/checkin/writing'
}
];
// Community posts data
...
...
src/views/HomePage.vue
View file @
7fa08c5
<!--
* @Date: 2025-03-20 19:55:21
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-0
4-29 14:31:56
* @LastEditTime: 2025-0
5-15 11:56:30
* @FilePath: /mlaj/src/views/HomePage.vue
* @Description: 亲子学院首页组件
*
...
...
@@ -259,7 +259,7 @@
<div class="px-4 border-b border-gray-200">
<div class="flex space-x-6">
<button
v-for="tab in ['推荐', '直播'
, '精选'
]"
v-for="tab in ['推荐', '直播']"
:key="tab"
@click="activeTab = tab"
:class="[
...
...
Please
register
or
login
to post a comment