style(uiux): 严格对齐UIUX设计约束规范,全面替换系统Emoji为电竞矢量SVG图标并修复H5居中自适应

这个提交包含在:
wikiboss
2026-09-16 17:01:01 +08:00
父节点 935d6fa840
当前提交 a377327465
共有 11 个文件被更改,包括 497 次插入 和 124 次删除

查看文件

@@ -33,13 +33,13 @@
</view>
</view>
<!-- 专属打招呼试听语音 -->
<!-- 专属打招呼试听语音 (矢量SVG播放条) -->
<view class="voice-card btn-active" @click="toggleVoice">
<view class="voice-icon-wrap">
<text class="play-icon">{{ isPlayingVoice ? '⏸' : '▶' }}</text>
<image class="play-svg" :src="isPlayingVoice ? ICONS.pause : ICONS.play" mode="aspectFit" />
</view>
<view class="voice-info">
<text class="voice-title">{{ isPlayingVoice ? '正在连麦试听语音...' : '点击试听打招呼语音' }}</text>
<text class="voice-title">{{ isPlayingVoice ? '正在连麦试听语音...' : '点击试听打招呼原声' }}</text>
<view class="voice-wave" v-if="isPlayingVoice">
<view class="bar b1"></view>
<view class="bar b2"></view>
@@ -125,10 +125,10 @@
</view>
</view>
<!-- 底部固定栏 -->
<!-- 底部固定栏 (限制居中与安全区) -->
<view class="bottom-bar">
<view class="icon-action btn-active" @click="chatOnline">
<text class="action-icon">💬</text>
<image class="action-svg" :src="ICONS.chat" mode="aspectFit" />
<text class="action-text">私聊</text>
</view>
<view class="price-summary">
@@ -144,6 +144,7 @@
import { ref, computed } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
import { EXPERTS_LIST } from '@/common/mock.js';
import { ICONS } from '@/common/icons.js';
const expert = ref(EXPERTS_LIST[0]);
const selectedServiceId = ref(EXPERTS_LIST[0].services[0] ? EXPERTS_LIST[0].services[0].id : null);
@@ -173,7 +174,7 @@ const selectService = (srv) => {
const toggleVoice = () => {
isPlayingVoice.value = !isPlayingVoice.value;
if (isPlayingVoice.value) {
uni.showToast({ title: '正在播放大神语音打招呼', icon: 'none' });
uni.showToast({ title: '正在播放大神打招呼原声', icon: 'none' });
setTimeout(() => {
isPlayingVoice.value = false;
}, 4000);
@@ -181,7 +182,7 @@ const toggleVoice = () => {
};
const chatOnline = () => {
uni.showToast({ title: '已开启即时连麦通道', icon: 'none' });
uni.showToast({ title: '已开启即时加密连麦通道', icon: 'none' });
};
const previewImage = (index) => {
@@ -261,6 +262,7 @@ const goToOrder = () => {
&.online {
background: #10B981;
box-shadow: 0 0 8rpx #10B981;
}
.pulse-dot {
@@ -351,9 +353,9 @@ const goToOrder = () => {
justify-content: center;
margin-right: 18rpx;
.play-icon {
color: #FFF;
font-size: 24rpx;
.play-svg {
width: 24rpx;
height: 24rpx;
}
}
@@ -569,6 +571,8 @@ const goToOrder = () => {
padding: 0 32rpx;
gap: 20rpx;
z-index: 100;
max-width: 450px;
margin: 0 auto;
.icon-action {
display: flex;
@@ -576,12 +580,14 @@ const goToOrder = () => {
align-items: center;
width: 80rpx;
.action-icon {
font-size: 32rpx;
.action-svg {
width: 36rpx;
height: 36rpx;
}
.action-text {
font-size: 18rpx;
color: #94A3B8;
margin-top: 4rpx;
}
}