home.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @import "../../themes/page.scss";
  2. @import "../../themes/draggable-sheet.scss";
  3. @import "../../themes/t.cell.scss";
  4. @import "../../themes/card.scss";
  5. .container-bg-image {
  6. position: absolute;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 100%;
  11. }
  12. /* pages/home/home.wxss */
  13. $scale: 0.5;
  14. .header-container {
  15. padding: 12px;
  16. display: flex;
  17. flex-direction: row;
  18. justify-content: space-between;
  19. align-items: center;
  20. box-sizing: border-box;
  21. }
  22. .user-info-wrapper {
  23. position: relative;
  24. display: flex;
  25. flex-direction: row;
  26. // justify-content: center;
  27. align-items: center;
  28. padding: 0 8px;
  29. width: 254px * $scale;
  30. height: 66px * $scale;
  31. box-sizing: border-box;
  32. .user {
  33. &-icon {
  34. flex: none;
  35. margin-left: 4px;
  36. width: 12px * $scale;
  37. height: 16px * $scale;
  38. }
  39. &-select-icon {
  40. flex: none;
  41. margin-left: 4px;
  42. width: 8px;
  43. height: 4px;
  44. }
  45. &-name {
  46. flex: none;
  47. margin-left: 4px;
  48. font-size: 14px;
  49. color: global.$primary-color;
  50. }
  51. &-age {
  52. flex: none;
  53. margin-left: 4px;
  54. font-size: 8px;
  55. }
  56. &-description {
  57. flex: auto;
  58. margin-left: 4px;
  59. font-size: 8px;
  60. }
  61. }
  62. }
  63. .tool-bar-wrapper {
  64. display: flex;
  65. flex-direction: row;
  66. font-size: 12px;
  67. .tool {
  68. display: flex;
  69. flex-direction: row;
  70. align-items: center;
  71. image {
  72. width: 15px;
  73. height: 14px;
  74. margin-right: 4px;
  75. }
  76. }
  77. .tool+.tool {
  78. margin-left: 8px;
  79. }
  80. }
  81. .banner-wrapper {
  82. padding-top: 12px;
  83. .container-bg-image {
  84. position: static;
  85. margin: auto;
  86. width: calc(100% - 24px);
  87. }
  88. }
  89. .health-scheme-wrapper {
  90. padding: 0 12px 12px 12px;
  91. }
  92. .draggable-sheet-wrapper {
  93. .bottom-wrapper {
  94. display: flex;
  95. justify-content: center;
  96. padding: 6px 0 24px;
  97. }
  98. .row+.row {
  99. margin-top: 8px;
  100. }
  101. .picture-wrapper {
  102. display: flex;
  103. flex-direction: row;
  104. justify-content: center;
  105. image {
  106. margin: 12px;
  107. width: 128px;
  108. height: 128px;
  109. }
  110. }
  111. }
  112. .fab-wrapper {
  113. position: absolute;
  114. top: 50%;
  115. right: -36px;
  116. .fab-main {
  117. width: 72px;
  118. height: 72px;
  119. transform: translateY(6px);
  120. // z-index: 2;
  121. }
  122. .fab {
  123. position: absolute;
  124. top: 6px;
  125. right: 6px;
  126. display: flex;
  127. flex-direction: column;
  128. justify-content: center;
  129. align-items: center;
  130. width: 60px;
  131. height: 60px;
  132. background-color: var(--td-bg-color-container);
  133. border-radius: 50%;
  134. }
  135. }
  136. .CT.row {
  137. padding: 0 var(--td-cell-horizontal-padding, 32rpx);
  138. }
  139. .science-list-wrapper {
  140. padding: 0 12px;
  141. .list-title {
  142. display: flex;
  143. flex-direction: row;
  144. align-items: center;
  145. font-size: 16px;
  146. color: #37B473;
  147. }
  148. }