index.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .main {
  2. margin: 1rem 0;
  3. float: right;
  4. width: 1.89rem;
  5. height: calc(100vh - 2rem);
  6. display: flex;
  7. flex-direction: column;
  8. align-items: flex-end;
  9. background: url('@/assets/menu/right_bg.png') no-repeat center;
  10. background-size: 100% 100%;
  11. border-radius: 0.78rem 0 0 0.78rem;
  12. box-shadow: 0.03rem 0.49rem 1rem 0rem rgba(60, 93, 133, 0.72);
  13. }
  14. .menu {
  15. margin-top: 0.2rem;
  16. width: 100%;
  17. // height: calc(100vh - 1.6rem);
  18. display: flex;
  19. flex-direction: column;
  20. overflow-y: auto;
  21. }
  22. .menuItem {
  23. padding: 0.2rem;
  24. color: #333;
  25. font-size: 0.28rem;
  26. cursor: pointer;
  27. &.active {
  28. color: #4a90e2;
  29. font-weight: bold;
  30. }
  31. }
  32. .icon {
  33. margin: 0.44rem auto 0.1rem;
  34. width: 0.7rem;
  35. height: 0.7rem;
  36. display: block;
  37. }
  38. .iconHome {
  39. .icon;
  40. margin: 0.24rem auto 0.1rem;
  41. }
  42. .arrowCon {
  43. width: 100%;
  44. height: 1.6rem;
  45. // text-align: center;
  46. display: flex;
  47. align-items: center;
  48. justify-content: center;
  49. }
  50. .arrow {
  51. width: 0.7rem;
  52. height: 0.7rem;
  53. background: url('@/assets/menu/arrow.png') no-repeat center;
  54. background-size: 100% 100%;
  55. }
  56. .text {
  57. text-align: center;
  58. font-size: 0.28rem;
  59. font-family: Source Han Sans, Source Han Sans;
  60. font-weight: 500;
  61. color: #555555;
  62. }
  63. :global {
  64. #root {
  65. min-height: auto;
  66. }
  67. }