cloudroam
2025-01-09 04be125365bfd254166072f75da87e406f633ba3
pages/home.vue
@@ -78,6 +78,16 @@
              </div>
              <div :class="getRateClass(getRateValue(item.key, 'countRate'))">
                日环比:{{ getRateValue(item.key, 'countRate') || 0 }}%
                <img
                  v-if="getRateValue(item.key, 'countRate') > 0"
                  src="~static/images/home/up.png"
                  class="rate-container__img"
                />
                <img
                  v-if="getRateValue(item.key, 'countRate') < 0"
                  src="~static/images/home/down.png"
                  class="rate-container__img"
                />
              </div>
            </div>
          </div>
@@ -404,6 +414,12 @@
        align-items: center;
        justify-content: space-between;
      }
      &__img {
        width: 16PX;
        height: 16PX;
        position: relative;
        top: 2PX;
      }
    }
  }
}