style(match): 主题分析入口移至拆约推荐头部「刷新」按钮之后,撤卡片内小链接,组织者卡片与普通成员完全一致

This commit is contained in:
2026-11-15 11:31:10 +08:00
parent 05784a4cfe
commit a0faca80c7
2 changed files with 27 additions and 21 deletions
@@ -55,10 +55,13 @@
<view class="section ai-section">
<view class="ai-section-header">
<text class="section-title">拆约推荐</text>
<button class="refresh-btn" bindtap="onRefreshAI" disabled="{{aiRefreshing || aiLoading}}">
<text wx:if="{{!aiRefreshing}}">刷新</text>
<text wx:else>刷新中...</text>
</button>
<view class="ai-header-actions">
<button class="refresh-btn" bindtap="onRefreshAI" disabled="{{aiRefreshing || aiLoading}}">
<text wx:if="{{!aiRefreshing}}">刷新</text>
<text wx:else>刷新中...</text>
</button>
<button class="theme-btn" bindtap="onThemeTap" disabled="{{themeLoading}}">主题分析</button>
</view>
</view>
<!-- 总体建议 -->
@@ -103,17 +106,6 @@
<text class="ai-match-action">完善信息</text>
<text class="ai-match-hint">点击补充</text>
</block>
<block wx:elif="{{item.isOrganizer}}">
<block wx:if="{{item.matchScore !== null && item.matchScore !== undefined}}">
<text class="ai-match-score">{{item.matchScore}}%</text>
<text class="ai-match-label">{{item.matchLabel}}</text>
</block>
<block wx:else>
<text class="ai-match-action">主题分析</text>
<text class="ai-match-hint">点击查看</text>
</block>
<text class="ai-match-theme" catchtap="onThemeTap">主题分析 ›</text>
</block>
<block wx:elif="{{item.matchScore !== null && item.matchScore !== undefined}}">
<text class="ai-match-score">{{item.matchScore}}%</text>
<text class="ai-match-label">{{item.matchLabel}}</text>
@@ -136,6 +136,26 @@
opacity: 0.6;
}
.ai-header-actions {
display: flex;
align-items: center;
gap: 12rpx;
}
.theme-btn {
padding: 8rpx 24rpx;
font-size: 24rpx;
background: linear-gradient(135deg, #b8860b, #d4a017);
color: #ffffff;
border-radius: 24rpx;
border: none;
line-height: 1.4;
}
.theme-btn[disabled] {
opacity: 0.6;
}
/* 总体建议 */
.ai-total-suggestion {
display: flex;
@@ -299,12 +319,6 @@
margin-top: 2rpx;
}
.ai-match-theme {
font-size: 20rpx;
color: #b8860b;
margin-top: 6rpx;
padding: 4rpx 0;
}
.ai-participant-card.is-self {
background-color: #f5faff;