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-12-24 18:42:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0248fbedc22e055663eef0e4944bd7925f0c60d8
0248fbed
1 parent
a82c828f
style(ActivityHistoryPage): 格式化代码缩进和换行
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
src/views/recall/ActivityHistoryPage.vue
src/views/recall/ActivityHistoryPage.vue
View file @
0248fbe
...
...
@@ -27,7 +27,8 @@
<!-- List -->
<div class="px-4 py-4 space-y-4">
<div v-for="item in activities" :key="item.id" class="bg-white rounded-xl py-4 pr-4 pl-0 shadow-sm relative overflow-hidden flex">
<div v-for="item in activities" :key="item.id"
class="bg-white rounded-xl py-4 pr-4 pl-0 shadow-sm relative overflow-hidden flex">
<!-- Blue Marker (Absolute or Flex) -->
<!-- Based on image, it is sticking to the left edge but inside the card padding area potentially, or flush left -->
...
...
@@ -62,8 +63,7 @@
</div>
<!-- Fixed Bottom Buttons -->
<div
v-if="!userInfo.has_activity_registration"
<div v-if="!userInfo.has_activity_registration"
class="fixed bottom-0 left-0 right-0 bg-white/60 backdrop-blur-md p-4 pb-8 z-30 shadow-[0_-2px_10px_rgba(0,0,0,0.05)]">
<van-button block color="#0052D9" class="!rounded-lg !mb-3 !h-[44px] !text-base !font-bold"
@click="handleCollectCoins">
...
...
@@ -143,13 +143,14 @@ const handleCollectCoins = async () => {
showToast({
message: '收集星球币成功',
icon: 'success'
})
router.push({ path: '/recall/points' })
} else {
showToast({
message: '收集星球币失败',
icon: 'error'
})
})
router.push({ path: '/recall/points' })
} else {
showToast({
message: '收集星球币失败',
icon: 'error'
})
}
}
}
...
...
Please
register
or
login
to post a comment