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-06-12 15:43:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
827a59050956a6b4d0d852eb3b2ce6fe7004d25a
827a5905
1 parent
83019cfc
fix(profile): 替换社区链接为未开放提示
修复活动页面加载完成后文本显示问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
src/views/activities/MyActivitiesPage.vue
src/views/profile/ProfilePage.vue
src/views/activities/MyActivitiesPage.vue
View file @
827a590
...
...
@@ -11,7 +11,7 @@
<van-list
v-model:loading="loading"
:finished="finished"
finished-text="没有更多了
"
:finished-text="finishText
"
@load="onLoad"
class="px-4 py-3"
>
...
...
@@ -47,6 +47,7 @@ const loading = ref(false)
const finished = ref(false)
const page = ref(0)
const pageSize = 10
const finishText = ref('没有更多了');
// 加载活动数据
const onLoad = async () => {
...
...
@@ -66,6 +67,7 @@ const onLoad = async () => {
} else {
page.value += 1
}
finishText.value = '';
} catch (error) {
console.error('加载活动数据失败:', error)
} finally {
...
...
src/views/profile/ProfilePage.vue
View file @
827a590
...
...
@@ -179,7 +179,10 @@ const handleLogout = () => {
// Handle menu item click
const handleMenuClick = (path) => {
if (path === '/profile/community') {
window.location.href = 'https://community.mlaj.com';
// window.location.href = 'https://community.mlaj.com';
showToast('功能暂未开放')
} else if(path === '/profile/activities') {
showToast('功能暂未开放')
} else {
router.push(path);
}
...
...
Please
register
or
login
to post a comment