fix: 修复导航头组件返回图标名称错误
将返回按钮的图标名称从"rectLeft"更正为"left",以匹配图标库中的正确命名
Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2026-01-29 21:09:28 | 2 | * @Date: 2026-01-29 21:09:28 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2026-01-29 21:18:14 | 4 | + * @LastEditTime: 2026-01-30 20:18:20 |
| 5 | * @FilePath: /manulife-weapp/src/components/NavHeader.vue | 5 | * @FilePath: /manulife-weapp/src/components/NavHeader.vue |
| 6 | * @Description: 通用导航头组件,用于页面顶部固定导航栏,展示页面标题。 | 6 | * @Description: 通用导航头组件,用于页面顶部固定导航栏,展示页面标题。 |
| 7 | --> | 7 | --> |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | <div class="fixed top-0 left-0 z-50 w-full h-[250rpx] bg-gradient-to-b from-[#1E3A8A] to-[#2563EB] pt-[100rpx]"> | 12 | <div class="fixed top-0 left-0 z-50 w-full h-[250rpx] bg-gradient-to-b from-[#1E3A8A] to-[#2563EB] pt-[100rpx]"> |
| 13 | <div class="relative w-full h-full flex items-center justify-center px-[32rpx]"> | 13 | <div class="relative w-full h-full flex items-center justify-center px-[32rpx]"> |
| 14 | <div v-if="canGoBack" class="absolute left-[32rpx] flex items-center justify-center w-[60rpx] h-[60rpx]" @tap="goBack"> | 14 | <div v-if="canGoBack" class="absolute left-[32rpx] flex items-center justify-center w-[60rpx] h-[60rpx]" @tap="goBack"> |
| 15 | - <IconFont name="rectLeft" size="18" color="#fff" /> | 15 | + <IconFont name="left" size="18" color="#fff" /> |
| 16 | </div> | 16 | </div> |
| 17 | <span class="text-white text-[35rpx] font-normal">{{ title }}</span> | 17 | <span class="text-white text-[35rpx] font-normal">{{ title }}</span> |
| 18 | </div> | 18 | </div> | ... | ... |
-
Please register or login to post a comment