test.wxss 7.3 KB

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