sleepQualityIndexAssessment.wxss 6.4 KB

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