index.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .wx-flex {
  2. display: flex;
  3. align-items: center;
  4. }
  5. .wx-flex__item {
  6. flex: 1;
  7. }
  8. .thin-border-bottom {
  9. position: relative;
  10. }
  11. .thin-border-bottom:after {
  12. content: "";
  13. position: absolute;
  14. left: 0;
  15. bottom: 0;
  16. right: 0;
  17. height: 1px;
  18. border-bottom: 1px solid #EAEAEA;
  19. color: #e5e5e5;
  20. -webkit-transform-origin: 0 0;
  21. transform-origin: 0 0;
  22. -webkit-transform: scaleY(0.5);
  23. transform: scaleY(0.5);
  24. z-index: 2;
  25. }
  26. .index-group__title {
  27. padding: 32rpx 30rpx;
  28. color: rgba(0, 0, 0, 1);
  29. font-size: 28rpx;
  30. font-weight: 500;
  31. }
  32. .index-group__content {
  33. font-size: 0;
  34. }
  35. .index-group__item {
  36. padding: 28rpx 0rpx 28rpx 40rpx;
  37. color: rgba(51, 51, 51, 1);
  38. font-size: 32rpx;
  39. line-height: 40rpx;
  40. }
  41. .index-group__item.thin-border-bottom:after {
  42. left: 30rpx;
  43. right: 30rpx;
  44. }
  45. .anchor-bar__wrp {
  46. position: fixed;
  47. top: 0;
  48. bottom: 0;
  49. right: 0;
  50. width: 60rpx;
  51. z-index: 99;
  52. }
  53. .anchor-item {
  54. font-size: 0;
  55. text-align: center;
  56. position: relative;
  57. }
  58. .anchor-item__inner {
  59. line-height: 28rpx;
  60. height: 28rpx;
  61. width: 28rpx;
  62. border-radius: 50%;
  63. display: inline-block;
  64. font-size: 20rpx;
  65. margin: 6rpx 0;
  66. font-weight: 500;
  67. color: rgba(153, 153, 153, 1);
  68. }
  69. .tapped .anchor-item__pop {
  70. display: block;
  71. }
  72. .anchor-item__pop {
  73. position: absolute;
  74. font-size: 64rpx;
  75. width: 100rpx;
  76. height: 100rpx;
  77. line-height: 100rpx;
  78. color: #fff;
  79. background-color: #C9C9C9;
  80. border-radius: 50%;
  81. right: 80rpx;
  82. top: 50%;
  83. transform: translateY(-50%);
  84. display: none;
  85. }
  86. .anchor-item__pop:after {
  87. content: "";
  88. display: block;
  89. position: absolute;
  90. width: 0;
  91. height: 0;
  92. left: 80rpx;
  93. border: 40rpx solid;
  94. border-color: transparent transparent transparent #C9C9C9;
  95. top: 50%;
  96. transform: translateY(-50%);
  97. }
  98. .anchor-item.selected .anchor-item__inner {
  99. color: #fff;
  100. background-color: #1aad19;
  101. }