index.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. .punchClock {
  2. position: relative;
  3. background: #F5F5F5;
  4. min-height: calc(100vh - 50px);
  5. padding: 25px;
  6. .header {
  7. background: #FFFFFF;
  8. padding: 30px;
  9. border-radius: 30px;
  10. margin-bottom: 20px;
  11. .skeleton {
  12. padding: 0;
  13. }
  14. .headerContent {
  15. display: flex;
  16. flex-flow: row nowrap;
  17. align-items: center;
  18. }
  19. .userAvatarUrl {
  20. width: 100px;
  21. height: 100px;
  22. border-radius: 20px;
  23. overflow: hidden;
  24. }
  25. .infor {
  26. padding-left: 15px;
  27. .name {
  28. font-size: 28px;
  29. padding-bottom: 15px;
  30. }
  31. .address {
  32. font-size: 25px;
  33. color: #8e8d8d;
  34. display: flex;
  35. align-items: flex-start;
  36. .nickname {
  37. width: 270px;
  38. color: #4564DC;
  39. }
  40. }
  41. .types {
  42. font-size: 28px;
  43. margin-top: 10px;
  44. font-weight: bold;
  45. }
  46. }
  47. .state {
  48. margin-left: auto;
  49. font-size: 25px;
  50. align-self: flex-start;
  51. }
  52. .switchContent {
  53. display: flex;
  54. align-items: center;
  55. align-content: center;
  56. border-radius: 30px;
  57. border: 1px #999999 solid;
  58. padding: 11px 10px;
  59. margin-top: 28px;
  60. .switchTitle {
  61. font-size: 18px;
  62. color: #999999;
  63. padding-right: 10px;
  64. }
  65. .switchItem {
  66. width: 25px;
  67. height: 25px;
  68. }
  69. }
  70. }
  71. .content {
  72. background: #FFFFFF;
  73. padding: 30px;
  74. border-radius: 30px;
  75. margin-bottom: 20px;
  76. display: flex;
  77. flex-flow: column nowrap;
  78. align-items: center;
  79. position: relative;
  80. .history {
  81. display: flex;
  82. flex-flow: row nowrap;
  83. justify-content: space-between;
  84. align-items: center;
  85. font-size: 30px;
  86. width: 100%;
  87. }
  88. .noData {
  89. display: flex;
  90. flex-flow: column nowrap;
  91. align-items: center;
  92. justify-content: center;
  93. width: 100%;
  94. margin-top: -20px;
  95. padding-bottom: 225px;
  96. .tipsNoData {
  97. font-size: 28px;
  98. color: #969696;
  99. padding-bottom: 20px;
  100. }
  101. .goOut {
  102. font-size: 28px;
  103. color: #007aff;
  104. }
  105. }
  106. .timeContent {
  107. width: 100%;
  108. padding-top: 20px;
  109. display: flex;
  110. flex-flow: row nowrap;
  111. justify-content: space-between;
  112. padding-bottom: 30px;
  113. .timeItem {
  114. background: #eae8e8;
  115. padding: 20px;
  116. border-radius: 20px;
  117. .timeTitle {
  118. font-size: 30px;
  119. padding-bottom: 8px;
  120. }
  121. .timeValue {
  122. font-size: 27px;
  123. color: #767272;
  124. }
  125. }
  126. }
  127. .map {
  128. position: relative;
  129. height: 600px;
  130. width: 100%;
  131. border-radius: 20px;
  132. overflow: hidden;
  133. #map {
  134. height: 600px;
  135. width: 100%
  136. }
  137. }
  138. .tips {
  139. color: #999999;
  140. font-size: 18px;
  141. padding-top: 10px;
  142. align-self: flex-start;
  143. }
  144. .photographUnusual {
  145. width: 100px;
  146. height: 100px;
  147. box-shadow: 1px 1px 15px 1px red;
  148. background: red;
  149. border-radius: 50px;
  150. display: flex;
  151. align-items: center;
  152. justify-content: center;
  153. color: #FFFFFF;
  154. position: absolute;
  155. right: 30px;
  156. top: 300px;
  157. }
  158. .punchClockContent {
  159. width: 250px;
  160. height: 250px;
  161. border-radius: 250px;
  162. margin-top: 45px;
  163. display: flex;
  164. flex-flow: column nowrap;
  165. justify-content: center;
  166. align-items: center;
  167. margin-bottom: 75px;
  168. .punchClockTitle {
  169. color: white;
  170. font-size: 35px;
  171. padding-bottom: 8px;
  172. }
  173. .punchClockTime {
  174. color: #e8e6e6;
  175. font-size: 25px;
  176. padding-bottom: 8px;
  177. }
  178. .refreshClock {
  179. color: #f5f6f8;
  180. font-size: 25px;
  181. }
  182. }
  183. .photographContent {
  184. display: flex;
  185. flex-flow: row nowrap;
  186. align-items: center;
  187. justify-content: space-between;
  188. width: 100%;
  189. padding-left: 20px;
  190. padding-right: 20px;
  191. padding-bottom: 25px;
  192. .photographTitle {
  193. font-size: 30px;
  194. .tips {
  195. font-size: 18px;
  196. color: #999999;
  197. }
  198. }
  199. .photograph {}
  200. }
  201. }
  202. .locationContent {
  203. position: absolute;
  204. display: flex;
  205. flex-flow: column nowrap;
  206. padding: 35px;
  207. z-index: 999;
  208. .location {
  209. display: inline-block;
  210. padding: 15px 15px 10px 15px;
  211. background: #FFFFFF;
  212. border-radius: 150px;
  213. margin-bottom: 30px;
  214. .locationIcon {
  215. width: 50px;
  216. height: 50px;
  217. }
  218. }
  219. .punchRange {
  220. display: inline-block;
  221. padding: 15px 15px 10px 15px;
  222. background: #FFFFFF;
  223. border-radius: 150px;
  224. .punchRangeIcon {
  225. width: 50px;
  226. height: 50px;
  227. }
  228. }
  229. }
  230. }