style(match): 修复推荐头部遮挡——去副标题改单行紧凑布局,微信button默认样式重置,刷新改浅色衬金色主题按钮
This commit is contained in:
@@ -56,13 +56,8 @@
|
||||
<view class="ai-section-header">
|
||||
<view class="ai-header-title">
|
||||
<view class="ai-title-bar"></view>
|
||||
<view class="ai-title-text">
|
||||
<view class="ai-title-main">
|
||||
<text class="section-title">拆约推荐</text>
|
||||
<text class="ai-title-badge">AI</text>
|
||||
</view>
|
||||
<text class="ai-title-sub">按你的视角智能匹配共拆搭子</text>
|
||||
</view>
|
||||
<text class="section-title">拆约推荐</text>
|
||||
<text class="ai-title-badge">AI</text>
|
||||
</view>
|
||||
<view class="ai-header-actions">
|
||||
<button class="refresh-btn" bindtap="onRefreshAI" disabled="{{aiRefreshing || aiLoading}}">
|
||||
@@ -168,7 +163,7 @@
|
||||
loading="{{joining}}"
|
||||
bindtap="{{isCreator ? 'goToEditActivity' : 'handleJoinOrCancel'}}"
|
||||
>
|
||||
{{isCreator ? '编辑活动' : (isJoined ? '取消' : '报名')}}
|
||||
{{isCreator ? '编辑' : (isJoined ? '取消' : '报名')}}
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -123,32 +123,21 @@
|
||||
.ai-header-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14rpx;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ai-title-bar {
|
||||
width: 8rpx;
|
||||
height: 52rpx;
|
||||
height: 36rpx;
|
||||
border-radius: 4rpx;
|
||||
background: linear-gradient(180deg, #4A90E2, #7AB3F0);
|
||||
}
|
||||
|
||||
.ai-title-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ai-title-main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10rpx;
|
||||
margin-right: 14rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ai-section-header .section-title {
|
||||
margin-bottom: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ai-title-badge {
|
||||
@@ -158,16 +147,9 @@
|
||||
background: linear-gradient(135deg, #722ed1, #eb2f96);
|
||||
border-radius: 8rpx;
|
||||
padding: 2rpx 10rpx;
|
||||
margin-left: 10rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ai-title-sub {
|
||||
font-size: 20rpx;
|
||||
color: #999999;
|
||||
margin-top: 2rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ai-header-actions {
|
||||
@@ -175,16 +157,29 @@
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
flex-shrink: 0;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
|
||||
.ai-header-actions button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
padding: 8rpx 22rpx;
|
||||
font-size: 22rpx;
|
||||
border-radius: 999rpx;
|
||||
border: none;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ai-header-actions button::after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.refresh-btn {
|
||||
padding: 8rpx 24rpx;
|
||||
font-size: 24rpx;
|
||||
background: linear-gradient(135deg, #4A90E2, #7AB3F0);
|
||||
color: #ffffff;
|
||||
border-radius: 24rpx;
|
||||
border: none;
|
||||
line-height: 1.4;
|
||||
background: #e8f4fd;
|
||||
color: #4A90E2;
|
||||
}
|
||||
|
||||
.refresh-btn[disabled] {
|
||||
@@ -192,13 +187,8 @@
|
||||
}
|
||||
|
||||
.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] {
|
||||
|
||||
Reference in New Issue
Block a user