index.module.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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: #CFF2FF;
  70. border-radius: 11px;
  71. line-height: 22px;
  72. font-weight: 400;
  73. color: #0089B9;
  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. cursor: pointer;
  120. &:nth-last-child(1) {
  121. &::after {
  122. width: 0px;
  123. border: 0px;
  124. }
  125. }
  126. &::after {
  127. content: '';
  128. width: 1px;
  129. height: 39px;
  130. border: 1px solid #e7e6e6;
  131. position: absolute;
  132. bottom: 0;
  133. right: 0;
  134. }
  135. .dropdownItemTitle {
  136. font-size: 28px;
  137. font-family: PingFangSC-Medium, PingFang SC;
  138. font-weight: 600;
  139. color: #333;
  140. line-height: 40px;
  141. }
  142. .dropdownItemsubTitle {
  143. height: 22px;
  144. font-size: 16px;
  145. font-family: PingFangSC-Regular, PingFang SC;
  146. font-weight: 400;
  147. color: #999;
  148. line-height: 22px;
  149. }
  150. .dropdownImg {
  151. width: 24px;
  152. height: 24px;
  153. }
  154. }
  155. }
  156. }
  157. :global {
  158. .loginPopper {
  159. border-radius: 10px !important;
  160. // overflow: hidden;
  161. .el-dropdown__popper.el-popper {
  162. border: none !important;
  163. // border-radius: 10px 10px;
  164. }
  165. .loginPopper {
  166. background-color: #000;
  167. transform: translate(-35px, 0px) !important;
  168. background: #ffffff;
  169. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  170. position: relative;
  171. &::after {
  172. content: '';
  173. position: absolute;
  174. width: 0;
  175. height: 0;
  176. border-left: 9px solid transparent;
  177. border-right: 9px solid transparent;
  178. border-bottom: 9px solid #fff;
  179. top: -9px;
  180. right: 15px;
  181. }
  182. }
  183. .el-dropdown-menu {
  184. .backItem {
  185. display: flex;
  186. flex-direction: row;
  187. align-items: center;
  188. justify-content: space-between;
  189. .icon_back {
  190. width: 7px;
  191. height: 12px;
  192. margin-right: 13px;
  193. }
  194. }
  195. }
  196. .el-dropdown-menu__item {
  197. line-height: 60px !important;
  198. color: #666666;
  199. padding: 0 18px;
  200. font-weight: 600;
  201. font-size: 16px;
  202. img {
  203. width: 24px;
  204. height: 24px;
  205. margin-right: 12px;
  206. margin-left: 5px;
  207. }
  208. .dropdownItemWrap {
  209. display: flex;
  210. flex-direction: row;
  211. align-items: center;
  212. }
  213. .changeWrap {
  214. display: flex;
  215. flex-direction: row;
  216. align-items: center;
  217. span {
  218. margin-right: 20px;
  219. color: #666;
  220. font-weight: 400;
  221. }
  222. }
  223. .backWrap {
  224. color: #ff5151;
  225. .backIcon {
  226. width: 24px;
  227. height: 24px;
  228. margin-right: 12px;
  229. margin-left: 5px;
  230. }
  231. }
  232. }
  233. .lineItem {
  234. width: 100%;
  235. border-top: 1px solid #f2f2f2;
  236. display: flex;
  237. flex-direction: row;
  238. align-items: center;
  239. justify-content: space-between;
  240. .backWrap {
  241. display: flex;
  242. flex-direction: row;
  243. align-items: center;
  244. }
  245. }
  246. .el-popper__arrow {
  247. // display: none;
  248. }
  249. }
  250. }