diff --git a/src/modules/[chain]/gov/index.vue b/src/modules/[chain]/gov/index.vue index 373c7445..5c5cedf7 100644 --- a/src/modules/[chain]/gov/index.vue +++ b/src/modules/[chain]/gov/index.vue @@ -2,39 +2,45 @@ import { useGovStore } from '@/stores'; import ProposalListItem from '@/components/ProposalListItem.vue'; import { ref, onMounted } from 'vue'; -const tab = ref(''); +const tab = ref('2'); const store = useGovStore(); onMounted(() => { store.fetchProposals('2'); }); + +const changeTab = (val: '2' | '3' | '4') => { + tab.value = val; + store.fetchProposals(val); +}; - { - meta: { - i18n: 'governance' - } + { + meta: { + i18n: 'governance' } - + } + diff --git a/tailwind.config.js b/tailwind.config.js index c7ee96da..38e06972 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -21,6 +21,7 @@ module.exports = { { light: { ...require('daisyui/src/colors/themes')['[data-theme=light]'], + primary: '#666cff', info: '#666CFF', 'base-content': '#e9eaeb' }, @@ -28,6 +29,7 @@ module.exports = { { dark: { ...require('daisyui/src/colors/themes')['[data-theme=dark]'], + primary: '#666cff', info: '#666CFF', 'base-100': '#2a334c', 'base-content': '#373f57'