|
@@ -8,7 +8,7 @@ import { Api } from '@/api/model/url'
|
|
|
|
|
|
const config = useRuntimeConfig()
|
|
const config = useRuntimeConfig()
|
|
const baseURL = config.public.apiBaseSiteUrl
|
|
const baseURL = config.public.apiBaseSiteUrl
|
|
-
|
|
|
|
|
|
+const activeItem = ref<string>('')
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
const commonStore = useCommonStore()
|
|
const commonStore = useCommonStore()
|
|
const { navigateTextColor, navigateBgColor } = storeToRefs(commonStore)
|
|
const { navigateTextColor, navigateBgColor } = storeToRefs(commonStore)
|
|
@@ -16,6 +16,7 @@ const { navigateTextColor, navigateBgColor } = storeToRefs(commonStore)
|
|
const catalogsVisible = ref<boolean>(false)
|
|
const catalogsVisible = ref<boolean>(false)
|
|
const resourceVisible = ref<boolean>(false)
|
|
const resourceVisible = ref<boolean>(false)
|
|
const aboutVisible = ref<boolean>(false)
|
|
const aboutVisible = ref<boolean>(false)
|
|
|
|
+
|
|
const list = ref<any>([])
|
|
const list = ref<any>([])
|
|
const TrendList = ref<any>([])
|
|
const TrendList = ref<any>([])
|
|
|
|
|
|
@@ -79,8 +80,8 @@ function toCategories() {
|
|
<svgo-arrowR class="w-14px h-14px ml-4px" />
|
|
<svgo-arrowR class="w-14px h-14px ml-4px" />
|
|
</div>
|
|
</div>
|
|
<div class="grid grid-cols-2 grid-gap-x-15px grid-gap-y-10px">
|
|
<div class="grid grid-cols-2 grid-gap-x-15px grid-gap-y-10px">
|
|
- <div v-for="(item, index) in list" :key="item.id" class="a-link-out hover:text-#9B6CFF hover:bg-#F3F4FB py-8px pl-10px b-rd-6px flex items-center cursor-pointer text-#999">
|
|
|
|
- <IconGroup :icon="`${index}`" />
|
|
|
|
|
|
+ <div v-for="(item, index) in list" :key="item.id" class="a-link-out hover:text-#9B6CFF hover:bg-#F3F4FB py-8px pl-10px b-rd-6px flex items-center cursor-pointer" @mouseover="activeItem = item.slug">
|
|
|
|
+ <!-- <IconGroup :icon="`${index}` + ''" :active="activeItem" /> -->
|
|
<NuxtLink
|
|
<NuxtLink
|
|
:to="`/categories/${item.slug}`"
|
|
:to="`/categories/${item.slug}`"
|
|
class="text-#333 ml-10px text-14px"
|
|
class="text-#333 ml-10px text-14px"
|