This commit is contained in:
薇薇安 2026-01-19 21:14:58 +08:00
parent 8bfdd83b01
commit 172d198c80
2 changed files with 13 additions and 4 deletions

View File

@ -142,12 +142,12 @@
} }
.direction.buy { .direction.buy {
background-color: #4CAF50; background-color: #00ff6c;
color: white; color: white;
} }
.direction.sell { .direction.sell {
background-color: #f44336; background-color: #f51b0c;
color: white; color: white;
} }
@ -324,13 +324,22 @@
/* 用户指南 */ /* 用户指南 */
.user-guide { .user-guide {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white; color: white;
padding: 15px; padding: 15px;
border-radius: 8px; border-radius: 8px;
margin: 10px 0; margin: 10px 0;
} }
.user-guide .buy-bg{
background: linear-gradient(135deg, #05e567, #795f94);
}
.user-guide .sell-bg{
background: linear-gradient(135deg, #f51b0c 0%, #f51b0c 100%);
}
.user-guide-head { .user-guide-head {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@ -441,7 +441,7 @@ function Recommendations() {
{/* 用户指南(人话版计划) */} {/* 用户指南(人话版计划) */}
{rec.user_guide && ( {rec.user_guide && (
<div className="user-guide"> <div className={`user-guide ${rec.direction === 'BUY' ? 'buy-bg' : 'sell-bg'}`}>
<div className="user-guide-head"> <div className="user-guide-head">
<strong>📋 操作计划</strong> <strong>📋 操作计划</strong>
<div className="user-guide-prices"> <div className="user-guide-prices">