chore:表情的布局改为横板

This commit is contained in:
2026-04-25 14:36:31 +08:00
parent 7f33b6948a
commit 82b856f5d9
2 changed files with 11 additions and 11 deletions

View File

@@ -276,7 +276,7 @@
<text>×</text>
</button>
</view>
<scroll-view class="emoji-grid" scroll-y>
<view class="emoji-grid">
<view
v-for="(emoji, index) in emojiList"
:key="index"
@@ -284,7 +284,7 @@
@click="insertEmoji(emoji)">
<text class="emoji-text">{{ emoji }}</text>
</view>
</scroll-view>
</view>
</view>
</view>
@@ -3562,31 +3562,31 @@ $radius-lg: 36rpx;
.emoji-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 12rpx;
padding: 16rpx 8rpx;
gap: 8rpx;
padding: 20rpx 16rpx;
overflow-y: auto;
max-height: 50vh;
max-height: 45vh;
.emoji-item {
display: flex;
align-items: center;
justify-content: center;
width: 72rpx;
height: 72rpx;
width: 100%;
height: 80rpx;
border-radius: 8rpx;
background-color: transparent;
transition: all 0.15s ease;
&:hover {
background-color: #f0f0f0;
background-color: #f5f5f5;
}
&:active {
background-color: #e0e0e0;
background-color: #e5e5e5;
}
.emoji-text {
font-size: 44rpx;
font-size: 48rpx;
line-height: 1;
}
}