No Description

ConsumeListView.less 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .wrapper {
  2. display: flex;
  3. justify-content: center;
  4. .consumelist {
  5. padding: 0;
  6. margin: 0;
  7. display: flex;
  8. flex-wrap: wrap;
  9. padding-top: 10px;
  10. li {
  11. list-style: none;
  12. }
  13. .consumeItem {
  14. margin: 0 6px 10px;
  15. text-align: center;
  16. position: relative;
  17. .kingdomIcon {
  18. position: absolute;
  19. width: 24px;
  20. height: 22px;
  21. left: -6px;
  22. top: -12px;
  23. }
  24. .avatar {
  25. margin: 0 auto 4px;
  26. width: 36px;
  27. height: 36px;
  28. background-size: cover;
  29. border-radius: 50%;
  30. }
  31. .gray {
  32. color: #9b9b9b;
  33. font-size: 12px;
  34. }
  35. }
  36. .toggle {
  37. margin: 0 6px 10px;
  38. width: 36px;
  39. height: 36px;
  40. line-height: 36px;
  41. background-color: #ececec;
  42. border-radius: 50%;
  43. color: #a8adb6;
  44. cursor: pointer;
  45. background-image: url(../assets/btn_toggle.png);
  46. background-position: center;
  47. &.expand {
  48. transform: rotate(180deg);
  49. }
  50. }
  51. }
  52. }