feat(theme): 全面完善暖色系双主题动态适配,优化同城组局品类筛选与试听条防折行规范

这个提交包含在:
wikiboss
2026-09-16 20:20:25 +08:00
父节点 21549b1f13
当前提交 21792f10b3
共有 6 个文件被更改,包括 259 次插入 和 144 次删除

查看文件

@@ -5,7 +5,7 @@
<view class="badge-row">
<text class="game-tag">{{ activity.game }}</text>
<text class="mode-tag" :class="activity.payType === 'AA' ? 'aa-mode' : 'project-mode'">
{{ activity.payType === 'AA' ? 'AA制平摊车队' : '项目制悬赏' }}
{{ activity.payType === 'AA' ? 'AA制平摊组局' : '房主请客组局' }}
</text>
</view>
<view class="act-title">{{ activity.title }}</view>
@@ -13,12 +13,12 @@
<!-- 费用看板 -->
<view class="fee-board">
<view class="fee-col">
<text class="col-label">总费用</text>
<text class="col-label">总预算</text>
<text class="col-val">¥{{ activity.totalFee }}</text>
</view>
<view class="fee-divider"></view>
<view class="fee-col">
<text class="col-label">{{ activity.payType === 'AA' ? '人均分摊' : '奖金池' }}</text>
<text class="col-label">{{ activity.payType === 'AA' ? '人均分摊' : '房主请客' }}</text>
<text class="col-val highlight">
¥{{ activity.payType === 'AA' ? activity.aaFee : activity.totalFee }}
</text>
@@ -31,19 +31,19 @@
</view>
</view>
<!-- 房主与开黑信息 -->
<!-- 房主与阵地信息 -->
<view class="section-card">
<view class="sec-header">
<text class="sec-title">开黑阵地与房主</text>
<text class="sec-title">组局阵地与发起人</text>
</view>
<view class="creator-box">
<image class="creator-avatar" :src="activity.creatorAvatar" mode="aspectFill" />
<view class="creator-info">
<view class="creator-name-row">
<text class="creator-name">{{ activity.creatorNickname }}</text>
<text class="host-badge">活动房主</text>
<text class="host-badge">同城局长</text>
</view>
<text class="creator-sub">前职业选手 · 胜率保障车头</text>
<text class="creator-sub">同城组局召集人 · 氛围担当</text>
</view>
<button class="btn-chat btn-active" @click="chatWithHost">私聊</button>
</view>
@@ -54,7 +54,7 @@
<text class="info-val">{{ activity.startTime }}</text>
</view>
<view class="info-row">
<text class="info-label">语音频道</text>
<text class="info-label">活动地点</text>
<view class="copy-val" @click="copyLocation">
<text class="info-val">{{ activity.location }}</text>
<text class="copy-btn">复制</text>
@@ -62,16 +62,16 @@
</view>
<view class="info-row">
<text class="info-label">核销机制</text>
<text class="info-val green-text">入队出示4位动态门票码核销</text>
<text class="info-val green-text">现场出示4位动态门票码核销签到</text>
</view>
</view>
</view>
<!-- 已报名队友成员列表 -->
<!-- 已报名成员列表 -->
<view class="section-card">
<view class="sec-header">
<text class="sec-title">已报名队友 ({{ activity.participants ? activity.participants.length : 0 }})</text>
<text class="sec-sub">满员即锁车</text>
<text class="sec-title">已加入成员 ({{ activity.participants ? activity.participants.length : 0 }})</text>
<text class="sec-sub">满员即成局</text>
</view>
<view class="member-list" v-if="activity.participants && activity.participants.length > 0">
<view v-for="(p, index) in activity.participants" :key="p.id" class="member-item">
@@ -81,12 +81,12 @@
<text class="member-seat">#{{ index + 1 }}号位</text>
</view>
<view class="checkin-badge" :class="{ checked: p.checkedIn }">
{{ p.checkedIn ? '已核销入队' : '已购票待验' }}
{{ p.checkedIn ? '已核销到场' : '待现场核销' }}
</view>
</view>
</view>
<view v-else class="empty-members">
<text>暂无其他队员,快抢先上车!</text>
<text>暂无其他成员,快抢先加入同城聚会!</text>
</view>
</view>
@@ -97,7 +97,7 @@
<text class="ticket-text">我的门票</text>
</view>
<button class="btn-join btn-active" @click="handleJoin">
立即上车 (¥{{ activity.payType === 'AA' ? activity.aaFee : 0 }})
立即加入 (¥{{ activity.payType === 'AA' ? activity.aaFee : 0 }})
</button>
</view>
</view>
@@ -124,13 +124,13 @@ const copyLocation = () => {
uni.setClipboardData({
data: activity.value.location,
success: () => {
uni.showToast({ title: '语音频道已复制', icon: 'success' });
uni.showToast({ title: '活动地点已复制', icon: 'success' });
}
});
};
const chatWithHost = () => {
uni.showToast({ title: '已建立与房主的加密通道', icon: 'none' });
uni.showToast({ title: '已建立与局长的私聊会话', icon: 'none' });
};
const goToMyTicket = () => {
@@ -142,8 +142,8 @@ const goToMyTicket = () => {
const handleJoin = () => {
uni.showModal({
title: '确认报名',
content: `报名该【${activity.value.payType === 'AA' ? 'AA制' : '项目制'}】活动,需支付分摊款 ¥${activity.value.aaFee}。支付成功后自动生成4位入队核销码。`,
confirmText: '微信支付',
content: `报名该【${activity.value.payType === 'AA' ? 'AA制' : '房主请客'}】组局,${activity.value.payType === 'AA' ? `需支付分摊款 ¥${activity.value.aaFee}` : '由房主全额买单请客'}。报名后自动生成4位入局核销码。`,
confirmText: '确认报名',
confirmColor: '#6366F1',
success: (res) => {
if (res.confirm) {