testSAS.wxss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. /* miniprogram/pages/testSAS/testSAS.wxss */
  2. page {
  3. background: rgb(211, 226, 249);
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: flex-start;
  7. }
  8. .sheet {
  9. background: #fff;
  10. border-radius: 36rpx;
  11. margin-top: 80rpx;
  12. width: 95%;
  13. height: 580rpx;
  14. display: flex;
  15. flex-direction: column;
  16. justify-content: flex-start;
  17. }
  18. .naire {
  19. height: 450rpx;
  20. }
  21. .question {
  22. font-size: 36rpx;
  23. font-weight: bold;
  24. margin-top: 40rpx;
  25. margin-left: 32rpx;
  26. }
  27. .question_1 {
  28. display: flex;
  29. font-size: 30rpx;
  30. font-weight: 500;
  31. margin-top: 20rpx;
  32. margin-left: 32rpx;
  33. }
  34. .question_2 {
  35. font-size: 20rpx;
  36. margin-top: 20rpx;
  37. margin-left: 32rpx;
  38. color:red;
  39. }
  40. .border {
  41. height: 2rpx;
  42. width: 90%;
  43. background-color: #d4d4d4;
  44. margin: 16rpx auto;
  45. }
  46. .radio-group-1 {
  47. display: flex;
  48. flex-direction: column;
  49. font-size: 30rpx;
  50. text-indent: 14rpx;
  51. margin-top: 40rpx;
  52. }
  53. .radio-group-2 {
  54. display: flex;
  55. flex-direction: column;
  56. font-size: 30rpx;
  57. text-indent: 14rpx;
  58. }
  59. .radio {
  60. margin-bottom: 14rpx;
  61. }
  62. .button-group {
  63. display: flex;
  64. flex-direction: row;
  65. width: 80%;
  66. margin: auto;
  67. justify-content: space-between;
  68. margin-top:20rpx;
  69. }
  70. .button {
  71. background: #fcbe39;
  72. border-radius: 100rpx;
  73. font-size: 30rpx;
  74. line-height: 52rpx;
  75. height: 52rpx;
  76. width: 172rpx;
  77. font-weight: bold;
  78. color: #fff;
  79. }
  80. .button::after {
  81. border: 0;
  82. }
  83. .idX {
  84. text-align: center;
  85. font-size: 38rpx;
  86. color: #ffffff;
  87. font-weight: bold;
  88. margin: auto;
  89. margin-top: 10rpx;
  90. }
  91. .id {
  92. text-align: center;
  93. font-size: 24rpx;
  94. color: #000000;
  95. margin: auto;
  96. margin-top: 20rpx;
  97. }
  98. .idR {
  99. text-align: center;
  100. font-size: 24rpx;
  101. color: #000000;
  102. margin: auto;
  103. margin-top: 2rpx;
  104. font-weight:700
  105. }
  106. form {
  107. width: 84%;
  108. }
  109. /* 睡眠时间容器样式 */
  110. .sleep-time-container {
  111. display: flex;
  112. align-items: center;
  113. margin-top: 20px; /* 你可以根据需要调整 */
  114. }
  115. /* 文本样式 */
  116. .sleep-time-container text {
  117. margin-right: 10px; /* 输入框前的文本与输入框之间的间距 */
  118. font-size: 16px; /* 字体大小 */
  119. color: #333; /* 字体颜色 */
  120. margin:20rpx;
  121. }
  122. /* 输入框样式 */
  123. .sleep-time-container input {
  124. flex: 1; /* 让输入框自动填充剩余空间 */
  125. height: 30px; /* 输入框高度 */
  126. padding: 0 5px; /* 输入框内边距 */
  127. font-size: 16px; /* 字体大小 */
  128. border: 1px solid #ccc; /* 边框 */
  129. width:30rpx;
  130. }
  131. /* "点钟"文本样式 */
  132. .sleep-time-container text:last-child {
  133. margin-left: 10px; /* 输入框后的文本与输入框之间的间距 */
  134. }
  135. .prompt {
  136. /* 其他样式,如 padding, margin 等 */
  137. margin-top:10rpx;
  138. padding:10rpx;
  139. }
  140. .small-red-text {
  141. font-size: 12px; /* 你可以根据需要调整字体大小 */
  142. color: #000000; /* 红色字体 */
  143. /* 如果需要处理多行文本,可以添加如下样式 */
  144. word-wrap: break-word; /* 防止单词被截断 */
  145. white-space: normal; /* 正常的空格处理 */
  146. }
  147. .small-red-text_ts {
  148. font-size: 12px; /* 你可以根据需要调整字体大小 */
  149. color: #6f6f6f;
  150. /* 如果需要处理多行文本,可以添加如下样式 */
  151. word-wrap: break-word; /* 防止单词被截断 */
  152. white-space: normal; /* 正常的空格处理 */
  153. font-weight: 600;
  154. }
  155. .privacy-section {
  156. /* 页脚样式 */
  157. position: fixed;
  158. bottom: 0;
  159. left: 0;
  160. right: 0;
  161. height: 50rpx;
  162. /* background-color: #f0f0f0; */
  163. display: flex;
  164. align-items: center;
  165. justify-content: center;
  166. }
  167. .privacy-checkbox {
  168. /* 单选按钮样式 */
  169. }
  170. .checkbox-text {
  171. /* 单选按钮旁边的文本样式 */
  172. }
  173. .privacy-text {
  174. /* 隐私条款文本样式 */
  175. font-size: 12rpx; /* 字体大小根据需要调整 */
  176. }
  177. .privacy-detail-btn {
  178. /* 查看隐私条款按钮样式 */
  179. font-size: 25rpx;
  180. color: #6f6f6f;
  181. }
  182. .privacy-detail-btn_tk {
  183. /* 查看隐私条款按钮样式 */
  184. font-size: 25rpx;
  185. color: #3385ff;
  186. }
  187. .other-btn {
  188. /* 其他操作按钮样式 */
  189. }
  190. .checkbox-item {
  191. display: block;
  192. margin-bottom: 5rpx;
  193. }
  194. checkbox {
  195. width:15rpx;
  196. height:15rpx;
  197. }
  198. .container_tk {
  199. display: flex;
  200. flex-direction: column;
  201. align-items: center;
  202. justify-content: center;
  203. height: 100vh;
  204. }
  205. .modal {
  206. position: fixed;
  207. top: 0;
  208. left: 0;
  209. right: 0;
  210. bottom: 0;
  211. background-color: rgba(0, 0, 0, 0.5);
  212. display: flex;
  213. justify-content: center;
  214. align-items: center;
  215. z-index: 1000;
  216. background-color: #fff;
  217. width: 100%; /* 根据需要调整 */
  218. margin-bottom: 10rpx;
  219. }
  220. .modal-content {
  221. background-color: #fff;
  222. padding: 1px;
  223. border-radius: 10px;
  224. width: 90%; /* 根据需要调整 */
  225. height:90%;
  226. max-width: 600px; /* 限定最大宽度 */
  227. box-sizing: border-box;
  228. position: relative;
  229. z-index: 1001;
  230. }
  231. .modal-close {
  232. position: absolute;
  233. top: 0px;
  234. right: 0px;
  235. font-size: 24px;
  236. cursor: pointer;
  237. }
  238. .modal-close image {
  239. width: 20px;
  240. height: 20px;
  241. }
  242. .container-yh {
  243. display: flex;
  244. flex-direction: column;
  245. align-items: center;
  246. justify-content: flex-start;
  247. height: 500rpx;
  248. padding: 20rpx;
  249. }
  250. .circle-container-yh {
  251. display: flex;
  252. align-items: center;
  253. justify-content: space-between; /* 让左右文本分布在图片两侧 */
  254. width: 100%; /* 根据需要调整,确保足够宽以容纳图片和文本 */
  255. }
  256. .circle-image-yh {
  257. width: 200rpx; /* 假设圆环图片宽度 */
  258. height: 200rpx; /* 假设圆环图片高度 */
  259. }
  260. .text-container-yh {
  261. display: flex;
  262. flex-direction: column; /* 文本内容垂直排列 */
  263. align-items: flex-start; /* 文本内容从顶部开始排列 */
  264. }
  265. .left-text-yh, .right-text-yh {
  266. /* 根据需要添加样式,如内边距、字体大小等 */
  267. display: flex;
  268. align-items: center;
  269. }
  270. .icon-yh {
  271. width: 30rpx; /* 假设小图片的宽度 */
  272. height: 30rpx; /* 假设小图片的高度 */
  273. margin-right: 10rpx; /* 小图片与文字的间距 */
  274. }
  275. .top-text-yh {
  276. /* 上方文字的样式 */
  277. display: flex;
  278. justify-content: space-between; /* 让左右文本分布在水平方向上 */
  279. align-items: center;
  280. margin-top: 20rpx; /* 与圆环图片的间距 */
  281. }
  282. .text-row-yh {
  283. display: flex;
  284. align-items: center;
  285. margin-bottom: 10rpx; /* 行与行之间的间距 */
  286. }
  287. .centered-text-yh {
  288. position: absolute;
  289. top: 85rpx; /* 垂直居中 */
  290. left: 0;
  291. right: 0;
  292. transform: translateY(-50%); /* 垂直居中 */
  293. text-align: center; /* 水平居中 */
  294. }
  295. .text-line-yh {
  296. display: block;
  297. margin-bottom: 20rpx; /* 行间距 */
  298. }
  299. .text-line-yh-1 {
  300. color: white; /* 第一行文字颜色 */
  301. font-size: 40rpx; /* 第一行文字大小 */
  302. }
  303. .text-line-yh-2 {
  304. color: #99ff62; /* 第二行文字颜色 */
  305. font-size: 120rpx; /* 第二行文字大小 */
  306. }
  307. .text-line-yh-3 {
  308. color: white; /* 第三行文字颜色 */
  309. font-size: 32rpx; /* 第三行文字大小 */
  310. }
  311. .close-btn {
  312. background-color: #ccc;
  313. color: #333;
  314. border: none;
  315. padding: 5rpx 20rpx;
  316. margin-top: 20rpx;
  317. /* margin-bottom: 5rpx; */
  318. height: 100rpx;
  319. width: 50%;
  320. }