feat(recall): 添加生成海报页面跳转功能并调整底部按钮样式
在ActivityHistoryPage.vue中添加跳转到海报页面的路由功能 调整PosterPage.vue中底部按钮的样式和间距
Showing
2 changed files
with
4 additions
and
2 deletions
| ... | @@ -153,6 +153,8 @@ const missingInfo = ref('') | ... | @@ -153,6 +153,8 @@ const missingInfo = ref('') |
| 153 | 153 | ||
| 154 | // Actions | 154 | // Actions |
| 155 | const handleGeneratePoster = (item) => { | 155 | const handleGeneratePoster = (item) => { |
| 156 | + // 跳转到/recall/poster?id=item.id | ||
| 157 | + router.push({ path: '/recall/poster', query: { id: item.id } }) | ||
| 156 | showToast('生成海报: ' + item.title) | 158 | showToast('生成海报: ' + item.title) |
| 157 | } | 159 | } |
| 158 | 160 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-12-23 15:50:59 | 2 | * @Date: 2025-12-23 15:50:59 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-12-23 16:40:19 | 4 | + * @LastEditTime: 2025-12-23 17:02:26 |
| 5 | * @FilePath: /mlaj/src/views/recall/PosterPage.vue | 5 | * @FilePath: /mlaj/src/views/recall/PosterPage.vue |
| 6 | * @Description: 分享海报页面 | 6 | * @Description: 分享海报页面 |
| 7 | --> | 7 | --> |
| ... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
| 19 | </div> | 19 | </div> |
| 20 | 20 | ||
| 21 | <!-- Buttons (Fixed at Bottom) --> | 21 | <!-- Buttons (Fixed at Bottom) --> |
| 22 | - <div class="fixed bottom-0 left-0 right-0 bg-[#1E40C8] px-8 py-6 pb-10 flex gap-4 z-50 max-w-md mx-auto w-full"> | 22 | + <div class="fixed bottom-0 left-0 right-0 px-8 py-3 flex gap-4 z-50 max-w-md mx-auto w-full"> |
| 23 | <van-uploader :after-read="afterRead" accept="image/*" class="flex-1 w-full" :show-upload="false"> | 23 | <van-uploader :after-read="afterRead" accept="image/*" class="flex-1 w-full" :show-upload="false"> |
| 24 | <template #default> | 24 | <template #default> |
| 25 | <van-button block color="#0052D9" plain | 25 | <van-button block color="#0052D9" plain | ... | ... |
-
Please register or login to post a comment