1
李凌
2026-01-21 e01cee0f0c5c5c2eb2d8595eadb3c7a9df2a37fc
src/components/fx-footer/index.vue
@@ -21,10 +21,10 @@
        </template>
      </van-tabbar-item>
      <van-tabbar-item name="STO" to="/ICO/ico">
        <span :class="[active === 'STO' ? 'active' : '']">STO</span>
      <van-tabbar-item name="ICO" to="/ICO/ico">
        <span :class="[active === 'ICO' ? 'active' : '']">ICO</span>
        <template #icon="props">
          <img :src="props.active ? icon.sto.active : icon.sto.inactive" />
          <img :src="props.active ? icon.ICO.active : icon.ICO.inactive" />
        </template>
      </van-tabbar-item>
@@ -115,7 +115,7 @@
} else if (route.path == "/documentation/index") {
  active.value = 'documentation'
} else if (route.path == "/ICO/ico") {
  active.value = 'sto'
  active.value = 'ICO'
}
let quotesStore = useQuotesStore()
@@ -137,7 +137,7 @@
  } else if (route.path == "/documentation/index") {
    active.value = 'documentation'
  } else if (route.path == "/ICO/ico") {
    active.value = 'sto'
    active.value = 'ICO'
  }
})
// 底部列表
@@ -158,7 +158,7 @@
  //   active: new URL('@/assets/imgs/footer/news-active.png', import.meta.url),
  //   inactive: new URL('@/assets/imgs/footer/news.png', import.meta.url),
  // },
  sto: {
  ICO: {
    active: new URL('@/assets/imgs/footer/sto-active.png', import.meta.url),
    inactive: new URL('@/assets/imgs/footer/sto.png', import.meta.url),
  },