base.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. // 公用less
  2. @font-size: 13.33333333vw !important;
  3. // @theme-color:#4F50FF;
  4. // 命名空间和访问符,映射
  5. #colors(){
  6. theme:#6678FF; //主题色,选中色
  7. text:#7C828E; //患者信息及选项文字颜色
  8. quest:#333333; //问题颜色
  9. exclu:#e6e7e9; //互斥文字颜色
  10. btn:#6678FF;//按钮颜色
  11. line:#E6E6E6;//按钮颜色
  12. bgques:#F9F9F9;//问题背景颜色
  13. }
  14. .mask{
  15. width:100%;
  16. height: 100%;
  17. position: fixed;
  18. top:0;
  19. left: 0;
  20. background:rgba(0,0,0,.5);
  21. }
  22. .footer{
  23. width:100%;
  24. text-align: center;
  25. position: absolute;
  26. bottom: 0;
  27. left: 0;
  28. z-index: 998;
  29. padding: .22rem .3rem .18rem .3rem;
  30. box-sizing: border-box;
  31. box-shadow:0px -2px 10px 0px rgba(0,0,0,0.06);
  32. font-size: .32rem;
  33. background-color: #fff;
  34. .nextBtn {
  35. color:#fff;
  36. height: .88rem;
  37. line-height: .88rem;
  38. background: #colors[btn];
  39. border-radius: .44rem;
  40. }
  41. }
  42. .dbfooter{
  43. width:100%;
  44. font-size: .32rem;
  45. position: absolute;
  46. bottom: 0;
  47. left: 0;
  48. background: #fff;
  49. z-index: 66;
  50. padding: .22rem .3rem .18rem .3rem;
  51. box-sizing: border-box;
  52. box-shadow:0px -2px 10px 0px rgba(0,0,0,0.06);
  53. display: flex;
  54. justify-content: space-between;
  55. overflow: hidden;
  56. .back,.next{
  57. display: inline-block;
  58. height: .88rem;
  59. line-height: .88rem;
  60. text-align: center;
  61. vertical-align: top;
  62. border: 1px solid #colors[theme];
  63. box-sizing: border-box;
  64. border-radius: .44rem;
  65. }
  66. .back{
  67. width: 48%;
  68. float: left;
  69. color: #colors[theme];
  70. }
  71. .next{
  72. width: 48%;
  73. color: #fff;
  74. float: right;
  75. background: #colors[theme];
  76. }
  77. }
  78. .over{
  79. font-size: .24rem !important;
  80. }
  81. .label{
  82. padding-bottom: .2rem;
  83. .symp{
  84. display: inline-block;
  85. min-width:2rem;
  86. height: .74rem;
  87. line-height: .74rem;
  88. border: 1px solid #DFE0E4;
  89. border-radius: .08rem;
  90. text-align: center;
  91. // color: #7C828E;
  92. color: #colors[text];
  93. margin: 0 .25rem .3rem 0;
  94. padding: 0 .05rem;
  95. box-sizing: border-box;
  96. }
  97. /* .symp:nth-child(3n+2){
  98. margin-left: 0;
  99. } */
  100. .tip{
  101. color: #AAAAAA;
  102. margin-top: .2rem;
  103. font-size: .24rem;
  104. }
  105. .over{
  106. font-size: .24rem !important;
  107. }
  108. }
  109. .result{
  110. // padding-right: .3rem;
  111. .title{
  112. color: #333;
  113. // padding-left: .1rem;
  114. margin-bottom: .19rem;
  115. font-weight: 700;
  116. .line {
  117. width: .08rem;
  118. height: .32rem;
  119. background-color: #colors[btn];
  120. display: inline-block;
  121. border-radius: .04rem;
  122. position: relative;
  123. top: .03rem;
  124. margin-right: .08rem;
  125. }
  126. }
  127. p {
  128. color: #666;
  129. line-height: .44rem;
  130. }
  131. .bgResult {
  132. background-color: #f5f5f5;
  133. padding: .24rem;
  134. border-radius: 5px;
  135. }
  136. }
  137. .btscroll {
  138. position: absolute;
  139. height: 100%;
  140. width: 100%;
  141. left: 0;
  142. top: 0;
  143. padding-left: .3rem;
  144. padding-right: .3rem;
  145. z-index: 99;
  146. box-sizing: border-box;
  147. background-color: #fff;
  148. .content {
  149. padding-bottom: 1.5rem;
  150. box-sizing: border-box;
  151. padding-top:1rem;
  152. }
  153. }
  154. .toastWrapper {
  155. background-color: #colors[quest];
  156. }
  157. .bgques {//问题内容
  158. padding: .12rem .3rem .12rem .3rem;
  159. // display: none;
  160. }
  161. .pubques {//问题题目
  162. font-size: .32rem;
  163. // font-weight: 800;
  164. padding: .24rem 0.5rem .24rem .3rem;
  165. word-break: break-all;
  166. background-color: #fff;
  167. box-shadow:0px 2px 8px 0px rgba(0,0,0,0.07);
  168. }
  169. .displayBlock {
  170. display: block !important;
  171. }
  172. .displayNone {
  173. display: none !important;
  174. }