sleepQualityIndexAssessment.wxss 6.3 KB

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