Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
bd1edfc9
Commit
bd1edfc9
authored
Apr 07, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 21133】 ux: 加入表情包hover放大效果
parent
5e9fb2ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
2 deletions
+34
-2
index.vue
src/components/common/UploadEmojiIcon/index.vue
+34
-2
No files found.
src/components/common/UploadEmojiIcon/index.vue
View file @
bd1edfc9
...
...
@@ -73,9 +73,23 @@ const switchTab = (nextTab: EmojiTab) => {
<el-scrollbar
class=
"emoji-scrollbar"
>
<transition
:name=
"transitionName"
mode=
"out-in"
>
<div
:key=
"activeTab"
class=
"emoji-grid"
>
<div
v-for=
"item in currentEmojiList"
:key=
"item.name"
>
<el-popover
v-if=
"item.group === 'yaya'"
placement=
"top"
trigger=
"hover"
:offset=
"10"
:show-arrow=
"false"
:popper-style=
"{
height: '150px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}"
>
<el-image
:src=
"item.url"
:alt=
"item.name"
class=
"h-full w-full object-contain"
/>
<
template
#
reference
>
<button
v-for=
"item in currentEmojiList"
:key=
"item.name"
type=
"button"
class=
"emoji-item"
:title=
"item.name"
...
...
@@ -88,6 +102,24 @@ const switchTab = (nextTab: EmojiTab) => {
:class=
"
{ 'h-8 w-8': item.group === 'yaya' }"
/>
</button>
</
template
>
</el-popover>
<button
v-else
type=
"button"
class=
"emoji-item"
:title=
"item.name"
@
click=
"emit('selectEmoji', item as IEmoji)"
>
<img
:src=
"item.url"
:alt=
"item.name"
class=
"h-6 w-6 object-contain"
:class=
"{ 'h-8 w-8': item.group === 'yaya' }"
/>
</button>
</div>
</div>
</transition>
</el-scrollbar>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment