Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
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-09-16 13:19:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2407b78f2796ac33810c6d0d23acb99af68ea7e1
2407b78f
1 parent
226981ac
fix(CreateFamily): 修复封面图上传点击区域错误
将点击上传封面图的事件从容器移动到无图片时的提示区域,避免误触
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/pages/CreateFamily/index.vue
src/pages/CreateFamily/index.vue
View file @
2407b78
...
...
@@ -107,7 +107,7 @@
</view>
<!-- 封面显示区域 -->
<view class="mb-4">
<view class="relative bg-gray-100 rounded-lg h-48 flex items-center justify-center"
@click="chooseImage"
>
<view class="relative bg-gray-100 rounded-lg h-48 flex items-center justify-center">
<!-- 有图片时显示图片 -->
<image
v-if="familyAvatar"
...
...
@@ -117,7 +117,7 @@
@tap="previewAvatar"
/>
<!-- 没有图片时显示上传提示 -->
<view v-else class="flex flex-col items-center justify-center text-gray-400">
<view v-else class="flex flex-col items-center justify-center text-gray-400"
@click="chooseImage"
>
<IconFont size="48" class="mb-2" name="https://cdn.ipadbiz.cn/lls_prog/icon/%E5%88%9B%E5%BB%BA%E5%AE%B6%E5%BA%AD4.png" />
<text class="text-sm">点击上传封面图</text>
</view>
...
...
Please
register
or
login
to post a comment