index.module.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. .userInfoWrap {
  2. min-height: 72px;
  3. line-height: 72px;
  4. display: flex;
  5. flex-direction: row;
  6. align-items: center;
  7. .title {
  8. font-size: 16px;
  9. font-family: PingFangSC-Regular, PingFang SC;
  10. font-weight: 400;
  11. color: #ffffff;
  12. }
  13. .userHeader {
  14. width: 40px;
  15. height: 40px;
  16. // margin-left: 12px;
  17. border-radius: 50%;
  18. overflow: hidden;
  19. border: 2px solid var(--theme-color);
  20. background-color: #fff;
  21. }
  22. }
  23. .dropdownWrap {
  24. padding: 0 !important;
  25. width: 304px;
  26. // border-radius: 30px;
  27. overflow: hidden;
  28. .dropdownWrapUser {
  29. position: relative;
  30. .userInfoWrap1 {
  31. z-index: 100;
  32. left: 16px;
  33. top: 15px;
  34. // position: absolute;
  35. min-height: 60px;
  36. line-height: 60px;
  37. // display: flex;
  38. // flex-direction: row;
  39. // align-items: center;
  40. padding: 28px 20px;
  41. .titleWrap {
  42. display: flex;
  43. flex-direction: row;
  44. align-items: center;
  45. .title {
  46. font-size: 18px;
  47. font-family: PingFangSC-Regular, PingFang SC;
  48. font-weight: 400;
  49. color: #333333;
  50. line-height: 25px;
  51. font-weight: 600;
  52. margin-right: 10px;
  53. }
  54. .vipLogo {
  55. width: 42px;
  56. height: 26px;
  57. }
  58. }
  59. .iconList {
  60. display: flex;
  61. flex-direction: row;
  62. margin-top: 9px;
  63. .teacherTag {
  64. width: 38px;
  65. height: 22px;
  66. background: #cffff0;
  67. border-radius: 11px;
  68. line-height: 22px;
  69. font-weight: 400;
  70. color: #00ab76;
  71. text-align: center;
  72. }
  73. .studentTag {
  74. width: 38px;
  75. height: 22px;
  76. background: #ffe7cf;
  77. border-radius: 11px;
  78. line-height: 22px;
  79. font-weight: 400;
  80. color: #ab5400;
  81. text-align: center;
  82. }
  83. .icon {
  84. margin-left: 10px;
  85. width: 26px;
  86. height: 26px;
  87. }
  88. }
  89. .userHeader {
  90. width: 44px;
  91. height: 44px;
  92. margin-right: 9px;
  93. margin-left: 0;
  94. border-radius: 50%;
  95. overflow: hidden;
  96. }
  97. }
  98. }
  99. img {
  100. width: 100%;
  101. position: relative;
  102. vertical-align: bottom;
  103. // border-radius: 10px 10px 0px 0px;
  104. }
  105. .dropdownInfo {
  106. display: flex;
  107. flex-direction: row;
  108. justify-content: space-around;
  109. text-align: center;
  110. margin-bottom: 42px;
  111. // margin-top: 10px;
  112. // margin-bottom: 10px;
  113. .dropdownItem {
  114. position: relative;
  115. width: 50%;
  116. &:nth-last-child(1) {
  117. &::after {
  118. width: 0px;
  119. border: 0px;
  120. }
  121. }
  122. &::after {
  123. content: '';
  124. width: 1px;
  125. height: 39px;
  126. border: 1px solid #e7e6e6;
  127. position: absolute;
  128. bottom: 0;
  129. right: 0;
  130. }
  131. .dropdownItemTitle {
  132. font-size: 28px;
  133. font-family: PingFangSC-Medium, PingFang SC;
  134. font-weight: 600;
  135. color: #333;
  136. line-height: 40px;
  137. }
  138. .dropdownItemsubTitle {
  139. height: 22px;
  140. font-size: 16px;
  141. font-family: PingFangSC-Regular, PingFang SC;
  142. font-weight: 400;
  143. color: #999;
  144. line-height: 22px;
  145. }
  146. .dropdownImg {
  147. width: 24px;
  148. height: 24px;
  149. }
  150. }
  151. }
  152. }
  153. :global {
  154. .loginPopper {
  155. border-radius: 10px!important;
  156. // overflow: hidden;
  157. .el-dropdown__popper.el-popper {
  158. border: none !important;
  159. // border-radius: 10px 10px;
  160. }
  161. .loginPopper {
  162. background-color: #000;
  163. transform: translate(-35px, 0px) !important;
  164. background: #ffffff;
  165. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  166. position: relative;
  167. &::after {
  168. content: '';
  169. position: absolute;
  170. width: 0;
  171. height: 0;
  172. border-left: 9px solid transparent;
  173. border-right: 9px solid transparent;
  174. border-bottom: 9px solid #fff;
  175. top: -9px;
  176. right: 15px;
  177. }
  178. }
  179. .el-dropdown-menu {
  180. .backItem {
  181. display: flex;
  182. flex-direction: row;
  183. align-items: center;
  184. justify-content: space-between;
  185. .icon_back {
  186. width: 7px;
  187. height: 12px;
  188. margin-right: 13px;
  189. }
  190. }
  191. }
  192. .el-dropdown-menu__item {
  193. line-height: 60px !important;
  194. color: #666666;
  195. padding: 0 18px;
  196. font-weight: 600;
  197. font-size: 16px;
  198. img {
  199. width: 24px;
  200. height: 24px;
  201. margin-right: 12px;
  202. margin-left: 5px;
  203. }
  204. .dropdownItemWrap {
  205. display: flex;
  206. flex-direction: row;
  207. align-items: center;
  208. }
  209. .changeWrap {
  210. display: flex;
  211. flex-direction: row;
  212. align-items: center;
  213. span {
  214. margin-right: 20px;
  215. color: #666;
  216. font-weight: 400;
  217. }
  218. }
  219. .backWrap {
  220. color: #ff5151;
  221. .backIcon {
  222. width: 24px;
  223. height: 24px;
  224. margin-right: 12px;
  225. margin-left: 5px;
  226. }
  227. }
  228. }
  229. .lineItem {
  230. width: 100%;
  231. border-top: 1px solid #f2f2f2;
  232. display: flex;
  233. flex-direction: row;
  234. align-items: center;
  235. justify-content: space-between;
  236. .backWrap {
  237. display: flex;
  238. flex-direction: row;
  239. align-items: center;
  240. }
  241. }
  242. .el-popper__arrow {
  243. // display: none;
  244. }
  245. }
  246. }