testSAS.wxss 7.2 KB

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