test.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. body {
  27. height: 100%;
  28. }
  29. .content {
  30. height: 100vh;
  31. }
  32. .content .msg-cont {
  33. padding-bottom: 17.1875rem;
  34. width: 100%;
  35. height: calc(100vh - 23.75rem);
  36. }
  37. .content .msg-cont .msg-scroll {
  38. height: calc(100vh - 23.75rem);
  39. }
  40. .content .msg-cont .msg-scroll .msgs {
  41. overflow: hidden;
  42. width: 100%;
  43. }
  44. .content .msg-cont .msg-scroll .msgs .msg-item {
  45. padding: 0.3125rem 0.46875rem;
  46. display: flex;
  47. flex-direction: column;
  48. justify-content: center;
  49. align-items: flex-start;
  50. width: 100%;
  51. }
  52. .content .msg-cont .msg-scroll .msgs .msg-item .left {
  53. width: 100%;
  54. display: flex;
  55. justify-content: flex-start;
  56. align-items: flex-start;
  57. }
  58. .content .msg-cont .msg-scroll .msgs .msg-item .left .img {
  59. min-width: 3.125rem;
  60. width: 3.125rem;
  61. height: 3.125rem;
  62. border-radius: 50%;
  63. }
  64. .content .msg-cont .msg-scroll .msgs .msg-item .left .img uni-image {
  65. width: 100%;
  66. height: 100%;
  67. }
  68. .content .msg-cont .msg-scroll .msgs .msg-item .left .msg-content {
  69. margin-top: 0.46875rem;
  70. margin-left: 0.3125rem;
  71. border-radius: 0.46875rem;
  72. padding: 0.46875rem;
  73. background-color: #fff;
  74. color: #111;
  75. font-size: 0.875rem;
  76. font-family: PingFang SC;
  77. }
  78. .content .msg-cont .msg-scroll .msgs .msg-item .right {
  79. width: 100%;
  80. display: flex;
  81. justify-content: flex-end;
  82. align-items: flex-start;
  83. }
  84. .content .msg-cont .msg-scroll .msgs .msg-item .right .msg-content {
  85. margin-top: 0.46875rem;
  86. margin-right: 0.3125rem;
  87. border-radius: 0.46875rem;
  88. padding: 0.46875rem;
  89. background-color: #d3ad58;
  90. color: #fff;
  91. font-size: 0.875rem;
  92. font-family: PingFang SC;
  93. }
  94. .content .msg-cont .msg-scroll .msgs .msg-item .right .img {
  95. min-width: 3.125rem;
  96. width: 3.125rem;
  97. height: 3.125rem;
  98. border-radius: 50%;
  99. }
  100. .content .msg-cont .msg-scroll .msgs .msg-item .right .img uni-image {
  101. width: 100%;
  102. height: 100%;
  103. }
  104. .content .option-cont {
  105. position: fixed;
  106. bottom: 0;
  107. height: 17.1875rem;
  108. width: 100%;
  109. background-color: #fff;
  110. border-radius: 1.875rem 1.875rem 0 0;
  111. padding: 0.9375rem;
  112. }
  113. .content .option-cont .option-title {
  114. width: 100%;
  115. padding-bottom: 0.46875rem;
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. font-size: 1rem;
  120. font-family: PingFang SC;
  121. color: #111;
  122. }
  123. .content .option-cont .options {
  124. display: flex;
  125. flex-direction: column;
  126. justify-content: center;
  127. align-items: center;
  128. }
  129. .content .option-cont .options .option-item {
  130. display: flex;
  131. align-items: center;
  132. justify-content: center;
  133. width: 100%;
  134. border: 0.03125rem solid #eee;
  135. margin-bottom: 0.3125rem;
  136. padding: 0.46875rem;
  137. border-radius: 0.15625rem;
  138. }
  139. .content .title {
  140. padding: 0.46875rem 0.9375rem;
  141. display: flex;
  142. justify-content: center;
  143. align-items: center;
  144. width: 100%;
  145. background-color: #d3ad58;
  146. font-size: 0.75rem;
  147. font-family: PingFang SC;
  148. font-weight: bold;
  149. color: #fff;
  150. }
  151. .content .patient-cont {
  152. padding: 0.46875rem;
  153. }
  154. .content .patient-cont .chose-patient {
  155. padding: 0.9375rem;
  156. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  157. background-color: #fff;
  158. border-radius: 0.46875rem;
  159. }
  160. .content .patient-cont .chose-patient .patient-box {
  161. display: flex;
  162. align-items: center;
  163. justify-content: space-between;
  164. }
  165. .content .patient-cont .chose-patient .patient-box .patient-title {
  166. font-size: 1rem;
  167. font-family: PingFang SC;
  168. font-weight: bold;
  169. color: #111111;
  170. }
  171. .content .patient-cont .chose-patient .patient-box .right {
  172. height: 100%;
  173. display: flex;
  174. align-items: center;
  175. justify-content: center;
  176. }
  177. .content .patient-cont .chose-patient .patient-box .right .value {
  178. font-size: 0.875rem;
  179. font-family: PingFang SC;
  180. color: #999;
  181. margin-right: 0.3125rem;
  182. }
  183. .content .patient-cont .chose-patient .patient-box .right uni-image {
  184. width: 0.46875rem;
  185. height: 0.9375rem;
  186. }
  187. .content .patient-cont .chose-patient .patient {
  188. display: flex;
  189. align-items: center;
  190. justify-content: space-between;
  191. height: 3.4375rem;
  192. }
  193. .content .patient-cont .chose-patient .patient .left .name {
  194. font-size: 0.9375rem;
  195. line-height: 1;
  196. font-family: PingFang SC;
  197. font-weight: bold;
  198. color: #111111;
  199. }
  200. .content .patient-cont .chose-patient .patient .left .info {
  201. margin-top: 0.9375rem;
  202. display: flex;
  203. align-items: center;
  204. }
  205. .content .patient-cont .chose-patient .patient .left .info .text {
  206. font-size: 0.8125rem;
  207. font-family: PingFang SC;
  208. line-height: 1;
  209. font-weight: 500;
  210. color: #999;
  211. margin-right: 0.59375rem;
  212. }
  213. .content .patient-cont .chose-patient .patient .right {
  214. display: flex;
  215. align-items: center;
  216. }
  217. .content .patient-cont .chose-patient .patient .right uni-image {
  218. width: 0.46875rem;
  219. height: 0.9375rem;
  220. }
  221. .content .items {
  222. padding: 0.46875rem;
  223. width: 100%;
  224. padding: 0.9375rem;
  225. border-radius: 0.46875rem;
  226. background-color: #fff;
  227. display: flex;
  228. flex-direction: column;
  229. align-items: flex-start;
  230. justify-content: flex-start;
  231. }
  232. .content .items .item {
  233. display: flex;
  234. flex-direction: column;
  235. align-items: flex-start;
  236. justify-content: flex-start;
  237. width: 100%;
  238. background-color: #f8f8f8;
  239. margin-bottom: 0.46875rem;
  240. }
  241. .content .items .item .name {
  242. font-size: 1rem;
  243. font-family: PingFang SC;
  244. color: #2a2b2e;
  245. font-weight: bold;
  246. margin-bottom: 0.46875rem;
  247. }
  248. .content .items .item .options {
  249. margin: 0.46875rem 0;
  250. width: 100%;
  251. display: flex;
  252. align-items: center;
  253. justify-content: space-between;
  254. }
  255. .content .items .item .options .option {
  256. margin-right: 0.3125rem;
  257. margin-bottom: 0.3125rem;
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. border-radius: 0.3125rem;
  262. width: 20%;
  263. height: 2.5rem;
  264. border: 0.03125rem solid #9b9b9b;
  265. font-size: 0.875rem;
  266. font-family: PingFang SC;
  267. color: #2a2b2e;
  268. background-color: #fff;
  269. }
  270. .content .items .item .options .option:last-child {
  271. margin-right: 0;
  272. margin-bottom: 0;
  273. }
  274. .content .items .item .options .active {
  275. border: 0.03125rem solid #d3ad58;
  276. background-color: #d3ad58;
  277. color: #fff;
  278. }
  279. .content .btns {
  280. display: flex;
  281. align-items: center;
  282. justify-content: space-between;
  283. width: 100%;
  284. padding: 0.9375rem;
  285. }
  286. .content .btns .btn {
  287. height: 2.5rem;
  288. margin: 0 0.9375rem;
  289. border-radius: 1.875rem;
  290. width: 100%;
  291. border: 0.03125rem solid #d3ad58;
  292. font-size: 32supx;
  293. font-family: PingFang SC;
  294. color: #fff;
  295. font-weight: bold;
  296. background-color: #d3ad58;
  297. display: flex;
  298. align-items: center;
  299. justify-content: center;
  300. }
  301. .content .tips {
  302. flex-direction: column;
  303. display: flex;
  304. align-items: center;
  305. justify-content: center;
  306. width: 100%;
  307. padding: 0.9375rem;
  308. }
  309. .content .tips .tip-title {
  310. font-size: 26supx;
  311. font-family: PingFang SC;
  312. color: #888;
  313. font-weight: bold;
  314. }
  315. .content .tips .desc {
  316. margin-top: 0.46875rem;
  317. font-size: 0.75rem;
  318. font-family: PingFang SC;
  319. color: #b8bdb5;
  320. }