index.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /** 首页量化查询界面样式 **/
  2. .page {
  3. height: 100vh;
  4. box-sizing: border-box;
  5. padding: 32rpx 32rpx 48rpx;
  6. background: #f5f6fb;
  7. }
  8. .page-title {
  9. margin-top: 8rpx;
  10. margin-bottom: 24rpx;
  11. text-align: center;
  12. font-size: 32rpx;
  13. font-weight: 700;
  14. color: #5d55e8;
  15. letter-spacing: 4rpx;
  16. }
  17. .card {
  18. background: #ffffff;
  19. border-radius: 24rpx;
  20. padding: 32rpx 32rpx 36rpx;
  21. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  22. margin-bottom: 32rpx;
  23. }
  24. .search-card {
  25. margin-top: 16rpx;
  26. }
  27. .card-title {
  28. display: block;
  29. font-size: 32rpx;
  30. font-weight: 600;
  31. color: #222222;
  32. margin-bottom: 32rpx;
  33. }
  34. .search-row {
  35. display: flex;
  36. align-items: center;
  37. background: #f7f8fc;
  38. border-radius: 999rpx;
  39. padding: 0 8rpx 0 32rpx;
  40. height: 96rpx;
  41. box-sizing: border-box;
  42. }
  43. .search-input {
  44. flex: 1;
  45. font-size: 28rpx;
  46. color: #222222;
  47. }
  48. .search-placeholder {
  49. color: #b4b8c6;
  50. }
  51. .search-button {
  52. width: 96rpx;
  53. height: 80rpx;
  54. margin-left: 12rpx;
  55. border-radius: 999rpx;
  56. background: linear-gradient(135deg, #5d55e8, #7568ff);
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.4);
  61. }
  62. .icon-search {
  63. width: 0;
  64. height: 0;
  65. border-radius: 50%;
  66. border: 10rpx solid #ffffff;
  67. border-color: #ffffff transparent transparent transparent;
  68. position: relative;
  69. }
  70. .icon-search::after {
  71. content: '';
  72. position: absolute;
  73. width: 24rpx;
  74. height: 4rpx;
  75. border-radius: 999rpx;
  76. background: #ffffff;
  77. transform: rotate(45deg);
  78. right: -20rpx;
  79. bottom: -6rpx;
  80. }
  81. .search-tip {
  82. display: block;
  83. margin-top: 20rpx;
  84. font-size: 24rpx;
  85. color: #9ca2b5;
  86. }
  87. .result-card {
  88. margin-top: 8rpx;
  89. }
  90. .result-loading {
  91. font-size: 26rpx;
  92. color: #666a7f;
  93. }
  94. .result-error {
  95. font-size: 26rpx;
  96. color: #ff5b5b;
  97. }
  98. .result-header {
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. margin-bottom: 16rpx;
  103. }
  104. .result-name-line {
  105. display: flex;
  106. flex-direction: column;
  107. }
  108. .result-name {
  109. font-size: 32rpx;
  110. font-weight: 600;
  111. color: #222222;
  112. }
  113. .result-code {
  114. margin-top: 6rpx;
  115. font-size: 24rpx;
  116. color: #8187a0;
  117. }
  118. .result-market {
  119. margin-top: 2rpx;
  120. font-size: 22rpx;
  121. color: #b0b4c5;
  122. }
  123. .result-score-block {
  124. min-width: 140rpx;
  125. padding: 12rpx 20rpx;
  126. border-radius: 20rpx;
  127. background: linear-gradient(135deg, #5d55e8, #7568ff);
  128. text-align: right;
  129. color: #ffffff;
  130. }
  131. .result-score {
  132. font-size: 40rpx;
  133. font-weight: 700;
  134. }
  135. .result-score-label {
  136. display: block;
  137. margin-top: 4rpx;
  138. font-size: 20rpx;
  139. opacity: 0.9;
  140. }
  141. .result-meta {
  142. margin-top: 10rpx;
  143. }
  144. .meta-item {
  145. font-size: 24rpx;
  146. color: #666a7f;
  147. }
  148. .meta-change {
  149. margin-left: 10rpx;
  150. }
  151. .meta-change.up {
  152. color: #e53935;
  153. }
  154. .meta-change.down {
  155. color: #1a9b4a;
  156. }
  157. .card-header {
  158. display: flex;
  159. align-items: center;
  160. margin-bottom: 24rpx;
  161. }
  162. .card-header-title {
  163. font-size: 30rpx;
  164. font-weight: 600;
  165. color: #222222;
  166. }
  167. .icon-circle {
  168. width: 40rpx;
  169. height: 40rpx;
  170. border-radius: 50%;
  171. background: #e7f7ef;
  172. display: flex;
  173. align-items: center;
  174. justify-content: center;
  175. margin-right: 16rpx;
  176. }
  177. .icon-check {
  178. font-size: 24rpx;
  179. color: #28a745;
  180. }
  181. .advantage-item {
  182. margin-bottom: 12rpx;
  183. font-size: 26rpx;
  184. line-height: 1.6;
  185. color: #4a4f63;
  186. }
  187. .advantage-label {
  188. font-weight: 600;
  189. }
  190. .advantage-desc {
  191. font-weight: 400;
  192. }
  193. .risk-card {
  194. margin-bottom: 24rpx;
  195. }
  196. .icon-warning {
  197. width: 40rpx;
  198. height: 40rpx;
  199. border-radius: 50%;
  200. background: #ffecef;
  201. display: flex;
  202. align-items: center;
  203. justify-content: center;
  204. margin-right: 16rpx;
  205. }
  206. .icon-warning-text {
  207. font-size: 26rpx;
  208. color: #ff5b5b;
  209. }
  210. .risk-text {
  211. display: block;
  212. font-size: 24rpx;
  213. line-height: 1.8;
  214. color: #666a7f;
  215. }
  216. .bottom-safe-area {
  217. height: 80rpx;
  218. }