sleepQualityIndexAssessment.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. page {
  2. display: flex;
  3. flex-direction: column;
  4. background: #ECFAF7;
  5. }
  6. .container {
  7. width: 100%;
  8. display: block;
  9. background: #ECFAF7;
  10. }
  11. .item {
  12. margin-top: 30rpx;
  13. width: 750rpx;
  14. background: #FBFDFC;
  15. border-radius: 24rpx;
  16. display: flex;
  17. flex-direction: column;
  18. }
  19. .item-problem {
  20. padding: 30rpx;
  21. font-weight: 500;
  22. font-size: 32rpx;
  23. color: #333333;
  24. }
  25. .item-problem-sub {
  26. padding: 0 30rpx 30rpx;
  27. font-size: 28rpx;
  28. font-weight: 300;
  29. color: #333333;
  30. }
  31. .item-border {
  32. width: 92%;
  33. height: 1rpx;
  34. margin: 0 auto;
  35. background: #E8F1EE;
  36. }
  37. .item-problem-input-view {
  38. display: flex;
  39. flex-direction: row;
  40. padding: 0 30rpx 30rpx;
  41. align-items: center;
  42. flex-wrap: nowrap;
  43. }
  44. .item-problem-input-title {
  45. font-size: 28rpx;
  46. color: #333333;
  47. font-weight: 300;
  48. }
  49. .item-problem-input-line {
  50. height: 30rpx;
  51. width: 1rpx;
  52. margin: 0 10rpx;
  53. background: #6BDBCB;
  54. }
  55. .item-problem-input {
  56. background: none;
  57. border: none;
  58. color: #333333;
  59. flex: 1;
  60. font-size: 28rpx;
  61. }
  62. .date-show-view {
  63. display: flex;
  64. padding: 30rpx;
  65. flex-direction: row;
  66. align-items: center;
  67. }
  68. .show-date-title {
  69. flex: 1;
  70. font-size: 28rpx;
  71. color: #666666;
  72. }
  73. .date-show-view:active {
  74. background: #effaf8;
  75. opacity: 0.7;
  76. }
  77. .radio-view {
  78. width: 100vw;
  79. display: flex;
  80. margin-top: 30rpx;
  81. flex-direction: row;
  82. align-items: center;
  83. }
  84. .radio-icon {
  85. width: 36rpx;
  86. margin-left: 10rpx;
  87. height: 36rpx;
  88. }
  89. .radio-title {
  90. font-size: 28rpx;
  91. margin: 0 20rpx;
  92. }
  93. .radio-list {
  94. padding-bottom: 30rpx;
  95. }
  96. .van-field {
  97. --cell-icon-size: 16px;
  98. --cell-icon-size: var(--field-icon-size, 16px);
  99. }
  100. .van-datetime-picker {
  101. border-radius: 24rpx 24rpx 0px 0px !important;
  102. overflow: hidden;
  103. background-color: #f0f0f0;
  104. }
  105. .van-picker {
  106. border-radius: 24rpx 24rpx 0px 0px !important;
  107. overflow: hidden;
  108. background: white !important;
  109. }
  110. .toolbar-class {
  111. border-radius: 24rpx 24rpx 0px 0px !important;
  112. overflow: hidden;
  113. background: #ECFAF7 !important;
  114. }
  115. .van-picker__confirm {
  116. padding: 0 !important;
  117. margin: 0 16px;
  118. font-size: 28rpx !important;
  119. color: #0BC3AA !important;
  120. }
  121. .van-picker__cancel {
  122. padding: 0 !important;
  123. margin: 0 16px;
  124. font-size: 28rpx !important;
  125. color: #666666 !important;
  126. }
  127. .custom-date-class {
  128. position: fixed;
  129. box-sizing: border-box;
  130. max-height: 100%;
  131. overflow-y: auto;
  132. transition-timing-function: ease;
  133. -webkit-animation: ease both;
  134. animation: ease both;
  135. -webkit-overflow-scrolling: touch;
  136. background-color: white !important;
  137. border-radius: 24rpx 24rpx 0px 0px !important;
  138. overflow: hidden;
  139. }
  140. .van-picker-column__item {
  141. color: #666666 !important;
  142. font-size: 32rpx !important;
  143. }
  144. .van-picker-column__item--selected {
  145. color: #333333 !important;
  146. font-size: 40rpx !important;
  147. }
  148. .bottom-view {
  149. width: 100vw;
  150. display: flex;
  151. height: 240rpx;
  152. flex-direction: column;
  153. align-items: center;
  154. }
  155. .bottom-view-privacy {
  156. width: 100vw;
  157. display: flex;
  158. margin-top: 42rpx;
  159. justify-content: center;
  160. flex-direction: row;
  161. align-items: center;
  162. }
  163. .privacy-checkbox {
  164. display: flex;
  165. flex-direction: row;
  166. align-items: center;
  167. }
  168. .privacy-checkbox-icon {
  169. width: 36rpx;
  170. height: 36rpx;
  171. }
  172. .privacy-detail-btn {
  173. font-size: 24rpx;
  174. margin-left: 16rpx;
  175. color: #888888;
  176. }
  177. .privacy-detail-btn_tk {
  178. font-size: 24rpx;
  179. color: #0BC3AA;
  180. }
  181. .commit-btn {
  182. line-height: 90rpx;
  183. border-radius: 45rpx;
  184. text-align: center;
  185. width: calc(100% - 120rpx);
  186. color: #FFFFFF;
  187. font-size: 32rpx;
  188. margin: 30rpx auto 0 auto;
  189. background: linear-gradient(278deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  190. }
  191. .commit-btn:active {
  192. opacity: 0.7;
  193. }
  194. .modal-content {
  195. background-color: #fff;
  196. margin: 5% auto;
  197. width: 90%;
  198. /* 根据需要调整 */
  199. height: 90%;
  200. max-width: 600px;
  201. /* 限定最大宽度 */
  202. box-sizing: border-box;
  203. }
  204. .modal-close {
  205. position: absolute;
  206. top: 0px;
  207. right: 0px;
  208. font-size: 24px;
  209. cursor: pointer;
  210. }
  211. .modal-close image {
  212. width: 20px;
  213. height: 20px;
  214. }
  215. .close-modal-btn {
  216. line-height: 90rpx;
  217. border-radius: 45rpx;
  218. text-align: center;
  219. width: calc(100% - 120rpx);
  220. color: #FFFFFF;
  221. font-size: 32rpx;
  222. margin: 30rpx auto 0 auto;
  223. background: linear-gradient(278deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  224. }
  225. .resultsAreShown-view {
  226. display: flex;
  227. flex-direction: column;
  228. align-items: center;
  229. }
  230. .resultsAreShown-content {
  231. width: 640rpx;
  232. margin-bottom: 30rpx;
  233. min-height: 516rpx;
  234. background: #FFFFFF;
  235. border-radius: 32rpx;
  236. overflow: hidden;
  237. display: flex;
  238. flex-direction: column;
  239. }
  240. .resultsAreShown-content-top {
  241. background: #23C983;
  242. width: 100%;
  243. position: relative;
  244. height: 186rpx;
  245. display: flex;
  246. justify-content: space-between;
  247. flex-direction: row;
  248. }
  249. .resultsAreShown-content-title {
  250. color: #FFFFFF;
  251. font-size: 36rpx;
  252. font-weight: bold;
  253. margin-top: 64rpx;
  254. position: absolute;
  255. margin-left: 40rpx;
  256. }
  257. .resultsAreShown-content-icon {
  258. width: 96rpx;
  259. margin-top: 52rpx;
  260. margin-right: 44rpx;
  261. height: 108rpx;
  262. }
  263. .resultsAreShown-content-bg {
  264. width: 100%;
  265. height: 186rpx;
  266. }
  267. .resultsAreShown-content-h {
  268. display: flex;
  269. flex-direction: row;
  270. align-items: baseline;
  271. width: 100%;
  272. }
  273. .resultsAreShown-content-desc {
  274. font-size: 28rpx;
  275. margin-left: 40rpx;
  276. margin-top: 30rpx;
  277. color: #333333;
  278. }
  279. .resultsAreShown-content-score {
  280. font-weight: 700;
  281. color: #1AC57D;
  282. font-size: 60rpx;
  283. }
  284. .resultsAreShown-content-units {
  285. font-size: 28rpx;
  286. color: #1AC57D;
  287. }
  288. .resultsAreShown-content-score-view {
  289. display: flex;
  290. flex-direction: row;
  291. margin-top: 22rpx;
  292. margin-left: 24rpx;
  293. align-items: center;
  294. width: calc(100% - 48rpx);
  295. }
  296. .resultsAreShown-content-score-item {
  297. flex: 1;
  298. display: flex;
  299. flex-direction: column;
  300. align-items: center;
  301. }
  302. .resultsAreShown-content-score-icon {
  303. width: 24rpx;
  304. opacity: 0;
  305. height: 16rpx;
  306. }
  307. .resultsAreShown-content-score-line {
  308. width: calc(100% - 32rpx);
  309. height: 12rpx;
  310. margin-top: 20rpx;
  311. border-radius: 12rpx;
  312. }
  313. .resultsAreShown-content-score-desc {
  314. font-size: 24rpx;
  315. margin-top: 16rpx;
  316. line-height: 32rpx;
  317. color: #666666;
  318. }
  319. .resultsAreShown-content-score-desc.active {
  320. color: #333333;
  321. margin-top: 16rpx;
  322. line-height: 32rpx;
  323. font-size: 28rpx;
  324. }
  325. .tips {
  326. margin: 20rpx auto;
  327. padding: 20rpx 35rpx;
  328. width: 600rpx;
  329. font-size: 24rpx;
  330. line-height: 40rpx;
  331. background: white;
  332. color: #5A5A5A;
  333. box-shadow: 4rpx 4rpx 0 #BAE2E0;
  334. }
  335. .resultsAreShown-content-tips {
  336. color: #888888;
  337. margin: 30rpx;
  338. font-size: 20rpx;
  339. }