百色农校完成

This commit is contained in:
2025-05-16 20:15:45 +08:00
parent e97d08f410
commit e37c9640a8
17 changed files with 51 additions and 47 deletions

View File

@@ -17,7 +17,7 @@ const config = useConfigInfo();
<nuxt-link to="https://beian.miit.gov.cn/" class="visited:text-gray-400 hover:text-gray-200" target="_blank"> <span>备案号{{ config?.icpNo }}</span></nuxt-link>
</div>
<div class="tools flex items-center opacity-80 hover:opacity-90 text-gray-400 text-xs">
Powered by <a rel="nofollow" href="https://site.websoft.top" target="_blank" class="visited:text-gray-400 hover:text-gray-200 ml-1">·企业官网</a>
Powered by <a rel="nofollow" href="https://site.gxbsnx.com" target="_blank" class="visited:text-gray-400 hover:text-gray-200 ml-1">·企业官网</a>
</div>
</div>
</div>
@@ -37,7 +37,7 @@ const config = useConfigInfo();
<nuxt-link to="https://beian.miit.gov.cn/" target="_blank"> <span class="text-gray-400 visited:text-gray-400 hover:text-gray-200">备案号{{ config?.icpNo }}</span></nuxt-link>
</div>
<div class="tools flex items-center opacity-80 hover:opacity-90 text-gray-300 text-xs mt-5">
Powered by <a rel="nofollow" href="https://site.websoft.top" target="_blank" class="visited:text-gray-300 hover:text-gray-200 ml-1">·企业官网</a>
Powered by <a rel="nofollow" href="https://site.gxbsnx.com" target="_blank" class="visited:text-gray-300 hover:text-gray-200 ml-1">·企业官网</a>
</div>
</div>
</div>

View File

@@ -9,7 +9,7 @@
<div class="flex justify-between menu-bg w-full py-3">
<div class="xl:w-screen-xl m-auto flex justify-between">
<Logo />
<img src="https://gxbsnx.com/Temp/images/background/title_right.png" width="291" height="88" />
<img src="http://img.gxbsnx.com/Temp/images/background/title_right.png" width="291" height="88" />
</div>
</div>
<div class="w-full bg-white">

View File

@@ -10,6 +10,15 @@ const drawer = ref<boolean>(false);
const onSearch = () => {
window.location.href = `/${i18n.locale.value}/search/${keyword.value}`;
}
const route = useRoute();
watch(
() => route.params.keywords,
(text) => {
keyword.value = String(text);
},
{ immediate: true }
);
</script>
<template>
@@ -19,10 +28,10 @@ const onSearch = () => {
<div class="lang flex justify-center text-center items-center">
<el-space size="large">
<a href="mailto:1145119853@qq.com" class="text-sm flex items-center hidden-sm-and-down"><el-icon color="#fff" size="16"><Message /></el-icon><span class="text-white px-1">校长信箱</span></a>
<a :href="`https://www.gxbsnx.com`" class="text-sm flex items-center hidden-sm-and-down"><el-icon color="#fff" size="16"><Message /></el-icon><span class="text-white px-1">旧版</span></a>
<!-- <a href="/search/请输入搜索关键词" class="text-sm flex items-center hidden-sm-and-down"><el-icon color="#fff" size="16"><Search /></el-icon><span class="text-white px-1">站内搜搜</span></a>-->
<div class="search mx-5 hidden-sm-and-down">
<div class="fl">
<el-input v-model="keyword" :placeholder="`${$t('searchKeywords')}...`" :suffix-icon="Search" @change="onSearch" />
<el-input v-model="keyword" :placeholder="`${$t('searchKeywords')}...`" style="height: 28px;" :suffix-icon="Search" @change="onSearch" />
</div>
</div>
<!-- 移动端 -->

View File

@@ -89,10 +89,7 @@ const reload = async () => {
limit: 8,
categoryId: props.categoryId
}).then(res => {
list.value = res?.list.map(d => {
d.image = getImage(d.image)
return d;
}) || [];
list.value = res?.list || [];
})
}
reload();