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

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

查看文件

@@ -93,7 +93,7 @@
<!-- 底部固定操作栏 -->
<view class="bottom-bar">
<view class="ticket-link btn-active" @click="goToMyTicket">
<text class="ticket-icon">🎟️</text>
<image class="ticket-svg" :src="ICONS.ticket" mode="aspectFit" />
<text class="ticket-text">我的门票</text>
</view>
<button class="btn-join btn-active" @click="handleJoin">
@@ -107,6 +107,7 @@
import { ref } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
import { ACTIVITIES_LIST } from '@/common/mock.js';
import { ICONS } from '@/common/icons.js';
const activity = ref(ACTIVITIES_LIST[0]);
@@ -441,6 +442,8 @@ const handleJoin = () => {
padding: 0 32rpx;
gap: 24rpx;
z-index: 100;
max-width: 450px;
margin: 0 auto;
.ticket-link {
display: flex;
@@ -449,12 +452,14 @@ const handleJoin = () => {
justify-content: center;
width: 120rpx;
.ticket-icon {
font-size: 34rpx;
.ticket-svg {
width: 38rpx;
height: 38rpx;
}
.ticket-text {
font-size: 20rpx;
color: #94A3B8;
margin-top: 4rpx;
}
}

查看文件

@@ -1,6 +1,6 @@
<template>
<view class="activity-container">
<!-- 顶部模式切换选项卡 -->
<!-- 顶部模式切换选项卡 (矢量SVG模式图标) -->
<view class="tab-header">
<view
class="tab-item btn-active"
@@ -15,7 +15,8 @@
:class="{ active: currentTab === 'AA' }"
@click="switchTab('AA')"
>
<text class="tab-text">⚡ AA制车队</text>
<image class="tab-svg" :src="ICONS.bolt" mode="aspectFit" />
<text class="tab-text">AA制车队</text>
<view class="tab-indicator" v-if="currentTab === 'AA'"></view>
</view>
<view
@@ -23,15 +24,16 @@
:class="{ active: currentTab === 'PROJECT' }"
@click="switchTab('PROJECT')"
>
<text class="tab-text">🏆 项目制赛事</text>
<image class="tab-svg" :src="ICONS.gameTrophy" mode="aspectFit" />
<text class="tab-text">项目制赛事</text>
<view class="tab-indicator" v-if="currentTab === 'PROJECT'"></view>
</view>
</view>
<!-- 顶部状态小提示 -->
<!-- 顶部状态小提示 (矢量盾牌图标) -->
<view class="tips-bar">
<text class="tips-icon">💡</text>
<text class="tips-text">AA制活动人均AA平摊,项目制为房主全额悬赏或奖池分配</text>
<image class="tips-svg" :src="ICONS.shield" mode="aspectFit" />
<text class="tips-text">AA制活动人均AA平摊,项目制为房主全额悬赏或赛事奖池</text>
</view>
<!-- 活动列表 -->
@@ -56,14 +58,14 @@
<!-- 卡片标题 -->
<view class="activity-title">{{ act.title }}</view>
<!-- 详细信息条 -->
<!-- 详细信息条 (矢量时钟与麦克风) -->
<view class="meta-row">
<view class="meta-item">
<text class="meta-icon">⏰</text>
<image class="meta-svg" :src="ICONS.clock" mode="aspectFit" />
<text class="meta-val">{{ act.startTime }}</text>
</view>
<view class="meta-item">
<text class="meta-icon">🎙️</text>
<image class="meta-svg" :src="ICONS.mic" mode="aspectFit" />
<text class="meta-val">{{ act.location }}</text>
</view>
</view>
@@ -114,6 +116,7 @@
<script setup>
import { ref, computed } from 'vue';
import { ACTIVITIES_LIST } from '@/common/mock.js';
import { ICONS } from '@/common/icons.js';
const activities = ref(ACTIVITIES_LIST);
const currentTab = ref('ALL');
@@ -159,11 +162,19 @@ const createActivity = () => {
.tab-item {
flex: 1;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
gap: 8rpx;
padding: 18rpx 0;
position: relative;
border-radius: 14rpx;
.tab-svg {
width: 26rpx;
height: 26rpx;
}
.tab-text {
font-size: 26rpx;
color: #94A3B8;
@@ -202,9 +213,11 @@ const createActivity = () => {
padding: 12rpx 20rpx;
margin-bottom: 28rpx;
.tips-icon {
font-size: 24rpx;
.tips-svg {
width: 28rpx;
height: 28rpx;
margin-right: 12rpx;
flex-shrink: 0;
}
.tips-text {
font-size: 22rpx;
@@ -293,9 +306,11 @@ const createActivity = () => {
font-size: 22rpx;
color: #94A3B8;
.meta-icon {
font-size: 22rpx;
.meta-svg {
width: 24rpx;
height: 24rpx;
margin-right: 8rpx;
opacity: 0.8;
}
}
}

查看文件

@@ -250,14 +250,14 @@ const goBack = () => {
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 20rpx rgba(16, 185, 129, 0.3);
box-shadow: 0 0 24rpx rgba(16, 185, 129, 0.45);
.digit-text {
font-size: 64rpx;
font-weight: 800;
color: #10B981;
font-family: 'Courier New', Courier, monospace;
text-shadow: 0 0 12rpx rgba(16, 185, 129, 0.6);
text-shadow: 0 0 16rpx rgba(16, 185, 129, 0.7);
}
}
}
@@ -305,6 +305,7 @@ const goBack = () => {
height: 12rpx;
border-radius: 50%;
background-color: #10B981;
box-shadow: 0 0 8rpx #10B981;
}
.time-text {
@@ -339,6 +340,7 @@ const goBack = () => {
height: 88rpx;
line-height: 88rpx;
border-radius: 44rpx;
box-shadow: 0 4rpx 20rpx rgba(99, 102, 241, 0.4);
}
.btn-back {