style.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. html,
  2. body {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. width: 100%;
  7. height: 100%;
  8. }
  9. html{
  10. font-size: 3vw; // 小屏1080*1920 大屏幕深圳1280×720 大屏东莞1920*1080
  11. &.big{
  12. font-size: 1.26vw;
  13. }
  14. }
  15. .adm-selector {
  16. max-height: 8rem;
  17. overflow: auto;
  18. }
  19. #root,
  20. #root > div,
  21. .page-body {
  22. width: 100%;
  23. background: #1e50a1;
  24. color: #333;
  25. height: 100%;
  26. box-sizing: border-box;
  27. }
  28. .bottom-set{
  29. position: fixed;
  30. right: 0.6rem;
  31. bottom: 0.6rem;
  32. padding: 0.4rem;
  33. font-size: 1.2rem;
  34. }
  35. .page-body {
  36. margin: 0;
  37. padding: 0.6rem;
  38. font-family: PingFang SC;
  39. display: flex;
  40. flex-direction: column;
  41. .mt {
  42. margin-top: 0.6rem;
  43. }
  44. .center {
  45. text-align: center;
  46. }
  47. .header {
  48. position: relative;
  49. display: flex;
  50. min-height: 2.6rem;
  51. align-items: center;
  52. .logo {
  53. width: 10rem;
  54. border-radius: 0.5rem;
  55. display: inline-block;
  56. padding: 0.1em 1.5rem;
  57. background: #FFF;
  58. }
  59. .logodefault {
  60. width: 10rem;
  61. border-radius: 0.5rem;
  62. display: inline-block;
  63. padding: 0.1em 1.5rem;
  64. background: #FFF;
  65. }
  66. .room-name {
  67. position: absolute;
  68. top: 50%;
  69. left: 50%;
  70. transform: translate(-50%, -50%);
  71. border-radius: 0 0 0.5rem 0.5rem;
  72. box-sizing: border-box;
  73. display: inline-block;
  74. padding: 0.8rem 2rem;
  75. font-size: 2rem;
  76. font-weight: 500;
  77. color: #fff;
  78. white-space: nowrap;
  79. overflow: hidden;
  80. text-overflow: ellipsis;
  81. }
  82. .heaer-btn {
  83. position: absolute;
  84. right: 0;
  85. top: 50%;
  86. transform: translate(0, -50%);
  87. border-radius: 0.5rem;
  88. display: inline-block;
  89. padding: 0.4em 1.5rem;
  90. background: #6fba2c;
  91. line-height: 1.2rem;
  92. font-size: 0.8rem;
  93. color: #fff;
  94. .date {
  95. font-size: 1rem;
  96. }
  97. }
  98. }
  99. .section {
  100. background: #f8f8f8;
  101. padding: 0.6rem;
  102. border-radius: 0.5rem;
  103. box-sizing: border-box;
  104. &.section-inner {
  105. background-color: #f0f0f0;
  106. }
  107. .chinese-name {
  108. font-weight: bold;
  109. font-size: 2.2rem;
  110. white-space: nowrap;
  111. overflow: hidden;
  112. text-overflow: ellipsis;
  113. &.big {
  114. font-size: 2.4rem;
  115. }
  116. }
  117. }
  118. .user-header {
  119. width: 5.2rem;
  120. height: 5.2rem;
  121. border-radius: 50%;
  122. overflow: hidden;
  123. }
  124. .qrccode-img {
  125. width: 7rem;
  126. height: 7rem;
  127. background-color: #fff;
  128. }
  129. .qrccode-text {
  130. font-size: 1.2rem;
  131. text-align: center;
  132. margin-top: 0.5rem;
  133. }
  134. .doctor-profile {
  135. font-weight: bold;
  136. font-size: 1.2rem;
  137. height: 9.4rem;
  138. overflow: hidden;
  139. }
  140. .table {
  141. flex: 1;
  142. overflow: hidden;
  143. .table-content,
  144. .table-header {
  145. box-sizing: border-box;
  146. background: #21469b;
  147. border-radius: 0.5rem;
  148. border: 0.14rem solid #21469b;
  149. padding: 0 0.8rem;
  150. font-size: 1.6rem;
  151. white-space: nowrap;
  152. overflow: hidden;
  153. text-overflow: ellipsis;
  154. height: 3.9rem;
  155. line-height: 3.62rem;
  156. text-align: center;
  157. color: #fff;
  158. div{
  159. display: inline-block;
  160. position: relative;
  161. }
  162. }
  163. .table-content {
  164. background-color: #f0f0f0;
  165. border-color: #f0f0f0;
  166. color: #333;
  167. &.wait-list{
  168. text-align: left;
  169. }
  170. &.docname{
  171. background: #21469b;
  172. border-radius: 0.5rem;
  173. border: 0.14rem solid #21469b;
  174. color: #fff;
  175. }
  176. &.patname{
  177. color: red;
  178. }
  179. &.patOpeName {
  180. color: #f39a06;
  181. padding: 0 0.4rem;
  182. font-size: 1.2rem;
  183. display: -webkit-box;
  184. -webkit-line-clamp: 2;
  185. -webkit-box-orient: vertical;
  186. overflow: hidden;
  187. text-overflow: ellipsis;
  188. word-break: break-word;
  189. white-space: normal;
  190. }
  191. &.waiting {
  192. background-color: #f39a06;
  193. border-color: #f39a06;
  194. }
  195. &.sussess {
  196. background-color: #6fba2c;
  197. border-color: #6fba2c;
  198. }
  199. }
  200. .swaper-wrap{
  201. height: 100%;
  202. }
  203. .border{
  204. position: relative;
  205. &::before{
  206. content: '';
  207. display: block;
  208. width: 1px;
  209. height: 98%;
  210. position: absolute;
  211. left: 0;
  212. top: 2%;
  213. background-color: #333;
  214. opacity: 0.3;
  215. }
  216. }
  217. .swaper-header{
  218. font-size: 1.4rem;
  219. text-align: center;
  220. padding: 0.6rem 0;
  221. white-space: nowrap;
  222. overflow: hidden;
  223. text-overflow: ellipsis;
  224. &.bg{
  225. background-color: #21469b;
  226. color: #fff;
  227. }
  228. &.red{
  229. color: #F22039;
  230. }
  231. }
  232. .swaper-text-wrap{
  233. display: flex;
  234. }
  235. .swaper-text{
  236. flex: 1;
  237. height: 2.88rem;
  238. line-height: 2.88rem;;
  239. white-space: nowrap;
  240. overflow: hidden;
  241. text-overflow: ellipsis;
  242. font-size: 1.6rem;
  243. box-sizing: border-box;
  244. padding: 0 4px;
  245. &.green{
  246. color: #64B77C;
  247. }
  248. &.yellow{
  249. color: #E0A11B;
  250. }
  251. &.icon{
  252. flex: 0 0 1.9rem;
  253. text-align: center;
  254. }
  255. &.state{
  256. font-size: 1.4rem;
  257. flex: 0 0 3rem;
  258. text-align: center;
  259. }
  260. }
  261. }
  262. .footer {
  263. font-size: 1.2rem;
  264. padding: 0.8rem 3.5rem 0.4rem 0;
  265. box-sizing: border-box;
  266. color: #fff;
  267. &.big{
  268. font-size: 1.5rem;
  269. display: flex;
  270. padding: 0.6rem 3.5rem 0.4rem 0;
  271. .scroll-big{
  272. flex: 1;
  273. white-space: nowrap;
  274. overflow: hidden;
  275. text-overflow: ellipsis;
  276. div{
  277. position: relative;
  278. display: inline-block;
  279. }
  280. }
  281. }
  282. }
  283. }
  284. .white-bg {
  285. .page-body {
  286. color: #333;
  287. background: #fff;
  288. }
  289. .header {
  290. .room-name {
  291. color: #333;
  292. }
  293. .heaer-btn {
  294. background: rgba(111, 186, 44, 0.3);
  295. color: #333;
  296. }
  297. }
  298. .section {
  299. background: #f8f8f8;
  300. &.section-inner {
  301. background-color: #f0f0f0;
  302. }
  303. }
  304. .table {
  305. .table-header,
  306. .table-content {
  307. background-color: #f0f0f0;
  308. border-color: #f0f0f0;
  309. color: #333;
  310. }
  311. }
  312. .footer {
  313. color: #333;
  314. }
  315. }
  316. .dark-bg {
  317. .page-body {
  318. background: #0d1943;
  319. color: #fff;
  320. }
  321. .header {
  322. .room-name {
  323. color: #fff;
  324. }
  325. .heaer-btn {
  326. background-color: #6fba2c;
  327. color: #fff;
  328. }
  329. }
  330. .section {
  331. background: #0d2764;
  332. &.section-inner {
  333. background-color: #1a387f;
  334. }
  335. }
  336. .table {
  337. .table-header,
  338. .table-content {
  339. background-color: #4474c3;
  340. border-color: #f0f0f0;
  341. color: #fff;
  342. }
  343. }
  344. .footer {
  345. color: #fff;
  346. }
  347. }
  348. .marquee {
  349. animation: marquee 10s linear infinite;
  350. display: inline-block;
  351. position: absolute;
  352. top: 0;
  353. left: 0;
  354. }
  355. .marquee.fast {
  356. animation: marquee 5s linear infinite;
  357. }
  358. @keyframes marquee {
  359. 0% { left: 0; }
  360. 100% { left: -50%; }
  361. }
  362. .scroll-wrap{
  363. display: flex;
  364. height: 100%;
  365. overflow: hidden;
  366. box-sizing: border-box;
  367. flex-direction: column;
  368. }
  369. .scroll-content{
  370. flex: 1;
  371. overflow: hidden;
  372. }
  373. .marqueeTop-parent{
  374. position: relative;
  375. z-index: 1;
  376. overflow: visible;
  377. }
  378. .marqueeTop {
  379. animation: marqueeTop 20s linear infinite;
  380. width: 100%;
  381. display: inline-block;
  382. position: absolute;
  383. top: 0;
  384. left: 0;
  385. }
  386. .marqueeTop.fast {
  387. animation: marqueeTop 10s linear infinite;
  388. }
  389. @keyframes marqueeTop {
  390. 0% { top: 0; }
  391. 100% { top: -100%; }
  392. }