index.module.less 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .sageContainer::-webkit-scrollbar {
  2. display: none; /* Chrome Safari */
  3. }
  4. .sageContainer {
  5. width: 100%;
  6. overflow: hidden;
  7. overflow-x: auto;
  8. display: flex;
  9. padding: 0 16px;
  10. box-sizing: border-box;
  11. flex-wrap: nowrap;
  12. .sage {
  13. position: relative;
  14. margin-right: 12px;
  15. width: 110px;
  16. padding: 15px 0;
  17. flex-shrink: 0;
  18. background-color: #fff;
  19. box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  20. border-radius: 10px;
  21. text-align: center;
  22. .animation {
  23. position: absolute;
  24. width: 13px;
  25. height: 12px;
  26. top: 9px;
  27. right: 8px;
  28. }
  29. .header {
  30. position: relative;
  31. border: 2px solid var(--van-primary);
  32. width: 58px;
  33. height: 58px;
  34. border-radius: 50%;
  35. margin: 0 auto;
  36. .living {
  37. position: absolute;
  38. bottom: -6px;
  39. left: 5px;
  40. background: linear-gradient(216deg, #ff8b39 0%, #ff4046 100%);
  41. border-radius: 7px;
  42. border: 1px solid #ffffff;
  43. font-size: 12px;
  44. padding: 2px 0;
  45. width: 48px;
  46. color: #ffffff;
  47. border-radius: 10px;
  48. }
  49. }
  50. .img {
  51. width: 58px;
  52. height: 58px;
  53. position: relative;
  54. > img,
  55. > div {
  56. position: absolute;
  57. border-radius: 50%;
  58. overflow: hidden;
  59. }
  60. }
  61. .username {
  62. font-size: 14px;
  63. font-weight: 600;
  64. padding-top: 12px;
  65. color: #333333;
  66. line-height: 20px;
  67. max-width: 88px;
  68. white-space: nowrap;
  69. overflow: hidden;
  70. text-overflow: ellipsis;
  71. margin: 0 auto;
  72. }
  73. .cert {
  74. font-size: 12px;
  75. color: #999999;
  76. line-height: 17px;
  77. padding: 4px 0 8px;
  78. }
  79. .btn {
  80. padding: 12px 0;
  81. width: 60px;
  82. font-size: 13px;
  83. &.van-button--disabled {
  84. opacity: 1;
  85. }
  86. }
  87. }
  88. }