diff --git a/components/DeepMate.vue b/components/DeepMate.vue index d3e3b3b..e8cb349 100644 --- a/components/DeepMate.vue +++ b/components/DeepMate.vue @@ -5,18 +5,18 @@ DeepMate + 您的市场最佳顾问~ - 您的市场最佳顾问~ - - 今日股票策略推荐是什么? - + + 今日股票策略晨报 + 热门股票分析 @@ -35,7 +35,9 @@ - + + + @@ -78,34 +80,67 @@ .title-left { width: 50%; + display: flex; + flex-direction: column; } .title-right { width: 50%; display: flex; - justify-content: flex-end; + justify-content: center; + align-items: center; } .deepmate-title { font-size: 18px; font-weight: bold; color: #ff4d4f; + display: block; } .deepmate-icon { - width: 30px; - height: 30px; + width: 50px; + height: 50px; margin-left: 0; } .deepmate-subtitle { font-size: 12px; color: #666; - margin-left: 5px; + display: block; + margin-top: 5px; } .deepmate-hotspots { margin: 10px 0; + background-color: #ffffff; + border-radius: 10px; + padding: 10px; +} + +.deepmate-question { + display: flex; + align-items: center; + margin-bottom: 10px; + padding-left: 10px; + position: relative; +} + +.deepmate-question:before { + content: ""; + position: absolute; + left: 0; + top: 0; + bottom: 0; + width: 4px; + background-color: #ff4d4f; + border-radius: 2px; +} + +.question-text { + font-size: 16px; + font-weight: bold; + color: #333; } .hotspot-item { @@ -124,25 +159,40 @@ display: flex; justify-content: space-between; align-items: center; - background-color: #ffffff; - padding: 8px 10px; - border-radius: 6px; + background-color: #ff4d4f; + padding: 8px 15px; + border-radius: 25px; margin-top: 10px; - border: 1px solid #e0e0e0; + border: none; } .stock-input { flex: 1; height: 36px; font-size: 14px; - color: #333; + color: #ffffff; padding: 0 10px; border: none; + background-color: transparent; } -.send-button { - width: 30px; - height: 30px; +.stock-input::placeholder { + color: rgba(255, 255, 255, 0.8); +} + +.send-button-container { + display: flex; + justify-content: center; + align-items: center; + width: 36px; + height: 36px; + background-color: #ffffff; + border-radius: 50%; margin-left: 10px; } + +.send-button { + width: 20px; + height: 20px; +} \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index 6e2ca89..74777da 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -106,7 +106,9 @@ - 机构动向简报 + + 机构动向简报 + {{report.stock}} @@ -534,7 +536,7 @@ export default { .stock-list { display: flex; flex-direction: row; - justify-content: space-between; + justify-content: center; background-color: #f8f8f8; border-radius: 8px; padding: 15px; @@ -644,6 +646,23 @@ export default { padding: 10px; } +.section-title-container { + position: relative; + padding-left: 10px; + margin-bottom: 5px; +} + +.section-title-container:before { + content: ""; + position: absolute; + left: 0; + top: 0; + bottom: 0; + width: 4px; + background-color: #ff4d4f; + border-radius: 2px; +} + .report-item { background-color: #ffffff; border-radius: 8px;