index.module.less 5.4 KB

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