diff --git a/wechat-miniprogram/pages/activity-detail/index.wxml b/wechat-miniprogram/pages/activity-detail/index.wxml index 73afa4f..3de80de 100644 --- a/wechat-miniprogram/pages/activity-detail/index.wxml +++ b/wechat-miniprogram/pages/activity-detail/index.wxml @@ -56,13 +56,8 @@ - - - 拆约推荐 - AI - - 按你的视角智能匹配共拆搭子 - + 拆约推荐 + AI diff --git a/wechat-miniprogram/pages/activity-detail/index.wxss b/wechat-miniprogram/pages/activity-detail/index.wxss index 705de63..5771a7d 100644 --- a/wechat-miniprogram/pages/activity-detail/index.wxss +++ b/wechat-miniprogram/pages/activity-detail/index.wxss @@ -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] {