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.

253 lines
4.4 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
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. <text class="deepmate-subtitle">您的市场最佳顾问~</text>
  9. </view>
  10. <view class="title-right">
  11. <image class="deepmate-icon" src="https://d31zlh4on95l9h.cloudfront.net/images/7faa683450cc071bcc746fea8191ff6b.png" mode="aspectFit"></image>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="deepmate-content">
  16. <view class="deepmate-hotspots">
  17. <view class="deepmate-question">
  18. <text class="question-text">今日股票策略晨报</text>
  19. </view>
  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. <view class="send-button-container">
  39. <image class="send-button" src="https://d31zlh4on95l9h.cloudfront.net/images/3da018821a5c82b06a1d6ddc81b960ac.png" mode="aspectFit"></image>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. name: 'DeepMate',
  49. data() {
  50. return {
  51. }
  52. }
  53. }
  54. </script>
  55. <style>
  56. /* DeepMate样式 */
  57. .deepmate-container {
  58. background-color: #ffe6e6;
  59. border-radius: 10px;
  60. padding: 15px 15px 15px 15px;
  61. margin: 0;
  62. width: 100%;
  63. box-sizing: border-box;
  64. overflow: hidden;
  65. }
  66. .deepmate-header {
  67. margin-bottom: 10px;
  68. }
  69. .title-container {
  70. display: flex;
  71. align-items: center;
  72. justify-content: space-between;
  73. width: 100%;
  74. }
  75. .title-left {
  76. width: 50%;
  77. display: flex;
  78. flex-direction: column;
  79. }
  80. .title-right {
  81. width: 50%;
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. }
  86. .deepmate-title {
  87. font-size: 18px;
  88. font-weight: bold;
  89. color: #ff4d4f;
  90. display: block;
  91. }
  92. .deepmate-icon {
  93. width: 50px;
  94. height: 50px;
  95. margin-left: 0;
  96. }
  97. .deepmate-subtitle {
  98. font-size: 12px;
  99. color: #666;
  100. display: block;
  101. margin-top: 5px;
  102. }
  103. .deepmate-hotspots {
  104. margin: 10px 0;
  105. background-color: #ffffff;
  106. border-radius: 10px;
  107. padding: 10px;
  108. }
  109. .deepmate-question {
  110. display: flex;
  111. align-items: center;
  112. margin-bottom: 10px;
  113. padding-left: 10px;
  114. position: relative;
  115. }
  116. .deepmate-question:before {
  117. content: "";
  118. position: absolute;
  119. left: 0;
  120. top: 0;
  121. bottom: 0;
  122. width: 4px;
  123. background-color: #ff4d4f;
  124. border-radius: 2px;
  125. }
  126. .question-text {
  127. font-size: 16px;
  128. font-weight: bold;
  129. color: #333;
  130. }
  131. .hotspot-item {
  132. background-color: #f5f5f5;
  133. padding: 8px 12px;
  134. border-radius: 6px;
  135. margin-bottom: 8px;
  136. }
  137. .hotspot-item text {
  138. font-size: 14px;
  139. color: #333;
  140. }
  141. .deepmate-action {
  142. display: flex;
  143. justify-content: space-between;
  144. align-items: center;
  145. background-color: #ff4d4f;
  146. padding: 8px 15px;
  147. border-radius: 25px;
  148. margin-top: 10px;
  149. border: none;
  150. }
  151. .stock-input {
  152. flex: 1;
  153. height: 36px;
  154. font-size: 14px;
  155. color: #ffffff;
  156. padding: 0 10px;
  157. border: none;
  158. background-color: transparent;
  159. }
  160. .stock-input::placeholder {
  161. color: rgba(255, 255, 255, 0.8);
  162. }
  163. .send-button-container {
  164. display: flex;
  165. justify-content: center;
  166. align-items: center;
  167. width: 36px;
  168. height: 36px;
  169. background-color: #ffffff;
  170. border-radius: 50%;
  171. margin-left: 10px;
  172. }
  173. .send-button {
  174. width: 20px;
  175. height: 20px;
  176. }
  177. .icon-container {
  178. position: relative;
  179. width: 50px;
  180. height: 50px;
  181. border-radius: 50%;
  182. display: flex;
  183. justify-content: center;
  184. align-items: center;
  185. background-color: #f0f8ff;
  186. }
  187. .deepmate-icon {
  188. width: 40px;
  189. height: 40px;
  190. border-radius: 50%;
  191. }
  192. .ripple-effect {
  193. position: absolute;
  194. border-radius: 50%;
  195. background: radial-gradient(circle, rgba(255, 0, 0, 0.4) 0%, rgba(255, 0, 0, 0.1) 70%);
  196. animation-name: ripple;
  197. animation-duration: 3s;
  198. animation-timing-function: ease-out;
  199. animation-iteration-count: infinite;
  200. }
  201. .ripple-1 {
  202. width: 100%;
  203. height: 100%;
  204. animation-delay: 0s;
  205. }
  206. .ripple-2 {
  207. width: 100%;
  208. height: 100%;
  209. animation-delay: 1s;
  210. }
  211. .ripple-3 {
  212. width: 100%;
  213. height: 100%;
  214. animation-delay: 2s;
  215. }
  216. @keyframes ripple {
  217. 0% {
  218. transform: scale(0.8);
  219. opacity: 1;
  220. }
  221. 100% {
  222. transform: scale(1.5);
  223. opacity: 0;
  224. }
  225. }
  226. </style>