更新首页文章链接和二维码区域

This commit is contained in:
A1300399510
2024-11-11 12:09:56 +08:00
parent f19928d0a6
commit 1b29795e54
19 changed files with 711 additions and 551 deletions

View File

@@ -13,7 +13,7 @@ let socketTask = null
onMounted(() => {
// useSocket()
document.addEventListener("visibilitychange", () => {
if (document.visibilityState === "visible" && socketTask.readyState != 1) useSocket()
if (document.visibilityState === "visible" && socketTask?.readyState != 1) useSocket()
})
// 创建cnzz统计js //v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

File diff suppressed because one or more lines are too long

View File

@@ -38,7 +38,7 @@ import locale from "element-plus/lib/locale/lang/zh-cn"
import zhCn from "element-plus/dist/locale/zh-cn.mjs"
import lazyPlugin from "vue3-lazyload"
console.log("lazyPlugin",lazyPlugin);
console.log("lazyPlugin", lazyPlugin)
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import api from "./utils/api"
@@ -80,6 +80,9 @@ app.use(store).use(router).use(Axios)
api.index()
.then(res => {
const data = res.data
// const url = import("@/assets/homeImage/informationO.png")
// console.log("url", url)
// console.log("data", data.articleList)
store.state.seachTypeData = data.combination
store.state.indexData = data
store.state.ListSelectBtn = data.recommendedTab

File diff suppressed because it is too large Load Diff