diagnosis.wxss 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. .diagnosis-page {
  2. min-height: 100%;
  3. background: #f7f4ed;
  4. padding: 24rpx 24rpx 180rpx;
  5. box-sizing: border-box;
  6. }
  7. .ai-banner {
  8. display: flex;
  9. align-items: center;
  10. gap: 16rpx;
  11. padding: 18rpx 22rpx;
  12. margin-bottom: 20rpx;
  13. background: #fff6e0;
  14. border: 1rpx solid #f0c97a;
  15. border-radius: 16rpx;
  16. box-shadow: 0 4rpx 12rpx rgba(212, 147, 43, 0.08);
  17. }
  18. .ai-banner-tag {
  19. flex-shrink: 0;
  20. padding: 6rpx 16rpx;
  21. background: #d49500;
  22. color: #fff;
  23. font-size: 22rpx;
  24. font-weight: 600;
  25. border-radius: 999rpx;
  26. letter-spacing: 1rpx;
  27. }
  28. .ai-banner-text {
  29. flex: 1;
  30. font-size: 24rpx;
  31. color: #6b4a14;
  32. line-height: 1.5;
  33. }
  34. .topbar {
  35. display: flex;
  36. align-items: center;
  37. justify-content: space-between;
  38. margin-bottom: 24rpx;
  39. }
  40. .user-switch,
  41. .user-detail-card,
  42. .record-btn,
  43. .tips-card,
  44. .upload-card,
  45. .question-card,
  46. .popup {
  47. background: #fff;
  48. border-radius: 22rpx;
  49. box-shadow: 0 10rpx 22rpx rgba(0, 0, 0, 0.05);
  50. }
  51. .user-switch {
  52. flex: 1;
  53. padding: 20rpx 24rpx;
  54. margin-right: 18rpx;
  55. }
  56. .user-name {
  57. display: block;
  58. font-size: 30rpx;
  59. color: #2b2b2b;
  60. font-weight: 600;
  61. }
  62. .user-meta {
  63. display: block;
  64. margin-top: 8rpx;
  65. font-size: 22rpx;
  66. color: #999;
  67. }
  68. .record-btn {
  69. width: 180rpx;
  70. height: 88rpx;
  71. line-height: 88rpx;
  72. text-align: center;
  73. font-size: 26rpx;
  74. color: #9a6a16;
  75. background: #f8efe0;
  76. }
  77. .user-detail-card {
  78. padding: 22rpx 24rpx;
  79. margin-bottom: 20rpx;
  80. }
  81. .user-detail-title {
  82. font-size: 26rpx;
  83. font-weight: 600;
  84. color: #2b2b2b;
  85. }
  86. .user-detail-tags,
  87. .user-item-tags {
  88. display: flex;
  89. flex-wrap: wrap;
  90. margin-top: 14rpx;
  91. }
  92. .user-detail-tag,
  93. .user-item-tag {
  94. margin-right: 12rpx;
  95. margin-bottom: 12rpx;
  96. padding: 10rpx 16rpx;
  97. border-radius: 999rpx;
  98. background: #f8f2e6;
  99. color: #9a6a16;
  100. font-size: 22rpx;
  101. line-height: 1.4;
  102. }
  103. .user-detail-empty {
  104. margin-top: 12rpx;
  105. font-size: 24rpx;
  106. line-height: 1.7;
  107. color: #b7802a;
  108. }
  109. .tips-card {
  110. padding: 28rpx;
  111. margin-bottom: 20rpx;
  112. border: 1rpx solid #efe0be;
  113. background: linear-gradient(180deg, #fcf8ef, #ffffff);
  114. }
  115. .tips-title,
  116. .question-title {
  117. font-size: 32rpx;
  118. font-weight: bold;
  119. color: #2b2b2b;
  120. }
  121. .tips-item {
  122. position: relative;
  123. padding-left: 22rpx;
  124. margin-top: 18rpx;
  125. font-size: 24rpx;
  126. line-height: 1.7;
  127. color: #666;
  128. }
  129. .tips-item::before {
  130. content: '';
  131. position: absolute;
  132. left: 0;
  133. top: 16rpx;
  134. width: 10rpx;
  135. height: 10rpx;
  136. border-radius: 50%;
  137. background: #eab86a;
  138. }
  139. .upload-card,
  140. .question-card {
  141. padding: 26rpx;
  142. margin-bottom: 20rpx;
  143. }
  144. .upload-content {
  145. display: flex;
  146. justify-content: space-between;
  147. }
  148. .upload-info {
  149. flex: 1;
  150. padding-right: 20rpx;
  151. }
  152. .upload-title {
  153. font-size: 30rpx;
  154. font-weight: 600;
  155. color: #2b2b2b;
  156. }
  157. .required-mark {
  158. color: #e35b4e;
  159. margin-right: 6rpx;
  160. }
  161. .upload-desc,
  162. .question-hint,
  163. .option-desc,
  164. .selected-text,
  165. .example-hint {
  166. margin-top: 12rpx;
  167. font-size: 24rpx;
  168. line-height: 1.7;
  169. color: #777;
  170. }
  171. .example-link {
  172. margin-top: 18rpx;
  173. font-size: 24rpx;
  174. color: #b7802a;
  175. }
  176. .upload-box {
  177. width: 172rpx;
  178. height: 172rpx;
  179. border-radius: 18rpx;
  180. overflow: hidden;
  181. position: relative;
  182. background: #f7f7f7;
  183. border: 1rpx solid #e4e4e4;
  184. }
  185. .upload-box.done {
  186. border-color: #eab86a;
  187. }
  188. .upload-empty,
  189. .upload-mask {
  190. width: 100%;
  191. height: 100%;
  192. display: flex;
  193. flex-direction: column;
  194. align-items: center;
  195. justify-content: center;
  196. }
  197. .upload-icon {
  198. font-size: 56rpx;
  199. color: #c9c9c9;
  200. }
  201. .upload-text {
  202. margin-top: 4rpx;
  203. font-size: 22rpx;
  204. color: #999;
  205. }
  206. .upload-image {
  207. width: 100%;
  208. height: 100%;
  209. }
  210. .upload-mask {
  211. position: absolute;
  212. left: 0;
  213. top: 0;
  214. background: rgba(0, 0, 0, 0.35);
  215. color: #fff;
  216. font-size: 24rpx;
  217. }
  218. .step-indicator {
  219. display: flex;
  220. align-items: center;
  221. margin-bottom: 22rpx;
  222. padding: 22rpx;
  223. background: #fff;
  224. border-radius: 22rpx;
  225. }
  226. .step-item {
  227. display: flex;
  228. flex-direction: column;
  229. align-items: center;
  230. }
  231. .step-dot {
  232. width: 54rpx;
  233. height: 54rpx;
  234. line-height: 54rpx;
  235. border-radius: 50%;
  236. background: #eab86a;
  237. color: #fff;
  238. text-align: center;
  239. font-size: 24rpx;
  240. font-weight: 600;
  241. }
  242. .step-dot.pending {
  243. background: #dedede;
  244. color: #999;
  245. }
  246. .step-line {
  247. flex: 1;
  248. height: 4rpx;
  249. margin: 0 10rpx 26rpx;
  250. background: #dedede;
  251. }
  252. .step-line.active {
  253. background: #eab86a;
  254. }
  255. .step-label {
  256. margin-top: 10rpx;
  257. font-size: 22rpx;
  258. color: #b7802a;
  259. }
  260. .step-label.pending {
  261. color: #999;
  262. }
  263. .loading-box {
  264. padding: 90rpx 0;
  265. text-align: center;
  266. font-size: 26rpx;
  267. color: #999;
  268. }
  269. .question-head {
  270. display: flex;
  271. justify-content: space-between;
  272. align-items: flex-start;
  273. }
  274. .question-mode {
  275. font-size: 22rpx;
  276. color: #b7802a;
  277. }
  278. .question-option {
  279. margin-top: 16rpx;
  280. padding: 20rpx 22rpx;
  281. border-radius: 16rpx;
  282. background: #f7f7f7;
  283. border: 1rpx solid #ececec;
  284. }
  285. .question-option.selected {
  286. background: linear-gradient(135deg, #f0cf97, #eab86a);
  287. border-color: #eab86a;
  288. }
  289. .question-option.selected .option-label,
  290. .question-option.selected .option-desc {
  291. color: #fff;
  292. }
  293. .question-option.disabled {
  294. opacity: 0.4;
  295. }
  296. .option-label {
  297. font-size: 26rpx;
  298. color: #2b2b2b;
  299. }
  300. .custom-input {
  301. width: 100%;
  302. min-height: 140rpx;
  303. margin-top: 16rpx;
  304. padding: 18rpx 20rpx;
  305. box-sizing: border-box;
  306. background: #faf7f1;
  307. border-radius: 16rpx;
  308. font-size: 24rpx;
  309. color: #2b2b2b;
  310. }
  311. .note-input {
  312. min-height: 180rpx;
  313. }
  314. .bottom-action {
  315. position: fixed;
  316. left: 0;
  317. right: 0;
  318. bottom: 0;
  319. padding: 18rpx 24rpx 34rpx;
  320. background: rgba(247, 244, 237, 0.96);
  321. }
  322. .action-btn,
  323. .secondary-btn,
  324. .popup-add-btn {
  325. height: 88rpx;
  326. border-radius: 999rpx;
  327. text-align: center;
  328. line-height: 88rpx;
  329. font-size: 28rpx;
  330. }
  331. .action-btn {
  332. background: linear-gradient(135deg, #efc57b, #d4932b);
  333. color: #fff;
  334. }
  335. .action-group {
  336. display: flex;
  337. justify-content: space-between;
  338. }
  339. .secondary-btn {
  340. width: 210rpx;
  341. background: #f2ead9;
  342. color: #9a6a16;
  343. }
  344. .action-btn.submit {
  345. width: 470rpx;
  346. }
  347. .disabled-btn {
  348. opacity: 0.6;
  349. }
  350. .mask {
  351. position: fixed;
  352. left: 0;
  353. top: 0;
  354. width: 100%;
  355. height: 100%;
  356. background: rgba(0, 0, 0, 0.45);
  357. z-index: 30;
  358. }
  359. .popup {
  360. position: absolute;
  361. left: 24rpx;
  362. right: 24rpx;
  363. bottom: 30rpx;
  364. padding: 28rpx;
  365. }
  366. .popup-title {
  367. font-size: 32rpx;
  368. font-weight: bold;
  369. text-align: center;
  370. color: #2b2b2b;
  371. }
  372. .user-item {
  373. display: flex;
  374. justify-content: space-between;
  375. align-items: center;
  376. margin-top: 20rpx;
  377. padding: 22rpx 24rpx;
  378. border-radius: 18rpx;
  379. background: #faf7f1;
  380. }
  381. .user-item-main {
  382. flex: 1;
  383. min-width: 0;
  384. }
  385. .user-item-name {
  386. font-size: 28rpx;
  387. color: #2b2b2b;
  388. font-weight: 600;
  389. }
  390. .user-item-meta {
  391. margin-top: 8rpx;
  392. font-size: 22rpx;
  393. color: #999;
  394. }
  395. .current-user {
  396. border: 1rpx solid #eab86a;
  397. }
  398. .user-actions {
  399. display: flex;
  400. align-items: center;
  401. margin-left: 20rpx;
  402. }
  403. .user-action-btn {
  404. min-width: 72rpx;
  405. height: 52rpx;
  406. padding: 0 14rpx;
  407. box-sizing: border-box;
  408. margin-right: 12rpx;
  409. border-radius: 999rpx;
  410. background: #f2ead9;
  411. color: #9a6a16;
  412. text-align: center;
  413. line-height: 52rpx;
  414. font-size: 22rpx;
  415. }
  416. .user-action-btn.danger {
  417. background: #f8e6e4;
  418. color: #d85b50;
  419. }
  420. .user-check {
  421. font-size: 24rpx;
  422. color: #b7802a;
  423. }
  424. .popup-add-btn {
  425. margin-top: 24rpx;
  426. background: #f8efe0;
  427. color: #9a6a16;
  428. }
  429. .example-popup {
  430. top: 50%;
  431. bottom: auto;
  432. transform: translateY(-50%);
  433. }
  434. .example-image {
  435. width: 100%;
  436. height: 720rpx;
  437. margin-top: 20rpx;
  438. border-radius: 18rpx;
  439. background: #f3f3f3;
  440. }