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

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

查看文件

@@ -32,7 +32,7 @@
</view>
</view>
<!-- 开黑时段选择 -->
<!-- 开黑时段选择 (矢量SVG时段图标) -->
<view class="order-card">
<view class="section-title">服务时间</view>
<view class="time-tabs">
@@ -41,7 +41,10 @@
:class="{ active: timeType === 'NOW' }"
@click="timeType = 'NOW'"
>
<text class="tab-t">⚡ 即刻出发</text>
<view class="tab-title-wrap">
<image class="tab-svg" :src="ICONS.bolt" mode="aspectFit" />
<text class="tab-t">即刻出发</text>
</view>
<text class="tab-d">付款后立即连麦开黑</text>
</view>
<view
@@ -49,7 +52,10 @@
:class="{ active: timeType === 'APPOINT' }"
@click="timeType = 'APPOINT'"
>
<text class="tab-t">📅 预约时间</text>
<view class="tab-title-wrap">
<image class="tab-svg" :src="ICONS.clock" mode="aspectFit" />
<text class="tab-t">预约时段</text>
</view>
<text class="tab-d">今晚 20:30 开打</text>
</view>
</view>
@@ -101,6 +107,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 selectedService = ref(EXPERTS_LIST[0].services[0]);
@@ -301,12 +308,23 @@ const handlePay = () => {
}
}
.tab-t {
font-size: 26rpx;
color: #CBD5E1;
display: block;
.tab-title-wrap {
display: flex;
align-items: center;
justify-content: center;
gap: 8rpx;
margin-bottom: 6rpx;
.tab-svg {
width: 28rpx;
height: 28rpx;
}
.tab-t {
font-size: 26rpx;
color: #CBD5E1;
}
}
.tab-d {
font-size: 20rpx;
color: #64748B;
@@ -416,6 +434,8 @@ const handlePay = () => {
align-items: center;
padding: 0 32rpx;
z-index: 100;
max-width: 450px;
margin: 0 auto;
.amount-wrap {
display: flex;

查看文件

@@ -67,7 +67,7 @@
</view>
<view v-if="filteredOrders.length === 0" class="empty-state">
<text class="empty-icon">📦</text>
<image class="empty-svg" :src="ICONS.orderList" mode="aspectFit" />
<text class="empty-text">暂无此类订单</text>
</view>
</view>
@@ -77,6 +77,7 @@
<script setup>
import { ref, computed } from 'vue';
import { ORDERS_LIST } from '@/common/mock.js';
import { ICONS } from '@/common/icons.js';
const tabs = [
{ key: 'ALL', name: '全部' },
@@ -398,10 +399,12 @@ const rateExpert = (id) => {
text-align: center;
padding: 100rpx 0;
.empty-icon {
font-size: 64rpx;
.empty-svg {
width: 72rpx;
height: 72rpx;
opacity: 0.5;
margin: 0 auto 16rpx;
display: block;
margin-bottom: 16rpx;
}
.empty-text {
color: #64748B;