You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
2.8 KiB

1 month ago
  1. <template>
  2. <view class="deepmate">
  3. <view class="deepmate-container">
  4. <view class="deepmate-header">
  5. <view class="title-container">
  6. <view class="title-left">
  7. <text class="deepmate-title">DeepMate</text>
  8. </view>
  9. <view class="title-right">
  10. <image class="deepmate-icon" src="https://d31zlh4on95l9h.cloudfront.net/images/7faa683450cc071bcc746fea8191ff6b.png" mode="aspectFit"></image>
  11. </view>
  12. </view>
  13. <text class="deepmate-subtitle">您的市场最佳顾问~</text>
  14. </view>
  15. <view class="deepmate-content">
  16. <view class="deepmate-question">
  17. <text>今日股票策略推荐是什么</text>
  18. </view>
  19. <view class="deepmate-hotspots">
  20. <view class="hotspot-item">
  21. <text>热门股票分析</text>
  22. </view>
  23. <view class="hotspot-item">
  24. <text>行业趋势预测</text>
  25. </view>
  26. <view class="hotspot-item">
  27. <text>市场风险提示</text>
  28. </view>
  29. <view class="hotspot-item">
  30. <text>投资策略建议</text>
  31. </view>
  32. <view class="hotspot-item">
  33. <text>财经新闻解读</text>
  34. </view>
  35. </view>
  36. <view class="deepmate-action">
  37. <input class="stock-input" type="text" placeholder="请输入股票代码/名称,获取AI洞察" />
  38. <image class="send-button" src="https://d31zlh4on95l9h.cloudfront.net/images/3da018821a5c82b06a1d6ddc81b960ac.png" mode="aspectFit"></image>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </template>
  44. <script>
  45. export default {
  46. name: 'DeepMate',
  47. data() {
  48. return {
  49. }
  50. }
  51. }
  52. </script>
  53. <style>
  54. /* DeepMate样式 */
  55. .deepmate-container {
  56. background-color: #ffe6e6;
  57. border-radius: 10px;
  58. padding: 15px 15px 15px 15px;
  59. margin: 0;
  60. width: 100%;
  61. box-sizing: border-box;
  62. overflow: hidden;
  63. }
  64. .deepmate-header {
  65. margin-bottom: 10px;
  66. }
  67. .title-container {
  68. display: flex;
  69. align-items: center;
  70. justify-content: space-between;
  71. width: 100%;
  72. }
  73. .title-left {
  74. width: 50%;
  75. }
  76. .title-right {
  77. width: 50%;
  78. display: flex;
  79. justify-content: flex-end;
  80. }
  81. .deepmate-title {
  82. font-size: 18px;
  83. font-weight: bold;
  84. color: #ff4d4f;
  85. }
  86. .deepmate-icon {
  87. width: 30px;
  88. height: 30px;
  89. margin-left: 0;
  90. }
  91. .deepmate-subtitle {
  92. font-size: 12px;
  93. color: #666;
  94. margin-left: 5px;
  95. }
  96. .deepmate-hotspots {
  97. margin: 10px 0;
  98. }
  99. .hotspot-item {
  100. background-color: #f5f5f5;
  101. padding: 8px 12px;
  102. border-radius: 6px;
  103. margin-bottom: 8px;
  104. }
  105. .hotspot-item text {
  106. font-size: 14px;
  107. color: #333;
  108. }
  109. .deepmate-action {
  110. display: flex;
  111. justify-content: space-between;
  112. align-items: center;
  113. background-color: #ffffff;
  114. padding: 8px 10px;
  115. border-radius: 6px;
  116. margin-top: 10px;
  117. border: 1px solid #e0e0e0;
  118. }
  119. .stock-input {
  120. flex: 1;
  121. height: 36px;
  122. font-size: 14px;
  123. color: #333;
  124. padding: 0 10px;
  125. border: none;
  126. }
  127. .send-button {
  128. width: 30px;
  129. height: 30px;
  130. margin-left: 10px;
  131. }
  132. </style>