Skip to content

Commit

Permalink
优化展示,修改域名发生迁移的网站链接
Browse files Browse the repository at this point in the history
  • Loading branch information
llllllllllllll committed Jul 5, 2024
1 parent f544d50 commit c1865e1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 33 deletions.
37 changes: 11 additions & 26 deletions web/v4/index/src/components/index/NavigationBar.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,14 @@
<template>
<div id="NavigationBar">
<v-app-bar
short
class="px-4"
tile
app
clipped-left
hide-on-scroll
fixed
fade-img-on-scroll
color="rgb(242 243 245 / 92%)"
>
<v-app-bar short class="px-4" tile app clipped-left hide-on-scroll fixed fade-img-on-scroll
color="rgb(242 243 245 / 92%)">

<v-app-bar-nav-icon @click="homepageExCommit">
<img
class="k-nav-icon k-absolute k-cursor-pointer k-nav-img k-z-index-1"
src="../../assets/index/homepage/sitebar-icon.png"
/>
<img class="k-nav-icon k-absolute k-cursor-pointer k-nav-img k-z-index-1"
src="../../assets/index/homepage/sitebar-icon.png" />
</v-app-bar-nav-icon>

<v-tabs
show-arrows
background-color="transparent"
color="red accent-3"
centered
center-active
align-with-title
>
<v-tabs show-arrows background-color="transparent" color="red accent-3" centered center-active align-with-title>
<v-tab @click="navCommit(0)">
首页
</v-tab>
Expand Down Expand Up @@ -85,7 +67,7 @@ export default {
})
},
homepageExCommit() {
if (this.$store.state.s2p===true){
if (this.$store.state.s2p === true) {
this.$store.commit('s2p')
}
this.$store.commit('navCloseItem')
Expand All @@ -103,11 +85,13 @@ export default {
* 记录是否已经切换过主页面的显示内容
*/
beforeCreate() {
if (localStorage.getItem('k_home') === 'on') {
let k_home = localStorage.getItem('k_home');
if (k_home === 'on' || k_home === null) {
this.$store.commit({
type: "homepageInit",
k_home: true
})
if(!k_home)localStorage.setItem('k_home', 'on')
} else {
this.$store.commit({
type: "homepageInit",
Expand Down Expand Up @@ -156,7 +140,8 @@ export default {
}
}
}
.k-nav-img{
.k-nav-img {
width: 142px;
}
</style>
12 changes: 5 additions & 7 deletions web/v4/index/src/components/index/Section2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
id="section2"
@dblclick.stop="db"
>

<v-sheet color="transparent" class="k-site-box-class k-relative" v-for="(topic,index) in site" :key="index">

<a :id="topic.title" class="k-absolute k-element-penetrate"
Expand Down Expand Up @@ -43,21 +42,20 @@ export default {
title: "动漫/漫画",
List: [
{name: "哔哩哔哩", link: "https://www.bilibili.com/", area: "g"},
{name: "哔哩哔哩港番", link: "https://space.bilibili.com/11783021", area: "b"},
{name: "风车动漫", link: "https://www.dm530w.org/", area: "g"},
{name: "爱恋动漫BT", link: "https://www.kisssub.org/", area: "b"},
{name: "AGE动漫", link: "https://www.agedm.org/", area: "g"},
{name: "樱花动漫", link: "https://www.yhdmz.org/", area: "g"},
{name: "樱花动漫", link: "https://www.yinhuadm.cc/", area: "b"},
{name: "樱花动漫", link: "https://m.yhdmw.cc/", area: "g"},
{name: "樱花动漫", link: "https://www.yinhuadm.vip/", area: "b"},
{name: "omoFun", link: "https://www.omofun.in/", area: "b"},
{name: "NyaFun", link: "https://www.nyafun.net/", area: "b"},
{name: "MX动漫", link: "http://www.mxdm9.com/", area: "b"},
{name: "MX动漫", link: "https://www.mxdm6.fans/", area: "b"},
{name: "奇奇动漫", link: "https://www.qiqidongman.com/", area: "g"},
{name: "zzzFun", link: "http://www.zzzfun.com/", area: "b"},
{name: "ACG盒子", link: "https://myacg.pro/", area: "g"},
{name: "Hanime1", link: "https://hanime1.me/", area: "r"},
{name: "Kemono", link: "https://kemono.party/", area: "r"},
{name: "NHentai", link: "https://nhentai.net/", area: "r"},
{name: "漫画柜", link: "https://www.manhuagui.com/", area: "b"},
{name: "jump+", link: "https://shonenjumpplus.com/", area: "r"},
{name: "古风漫画网", link: "https://www.123gf.com/", area: "g"},
{name: "E-hentai", link: "https://e-hentai.org/", area: "r"},
{name: "18comic", link: "https://18comic.vip/", area: "r"},
Expand Down

0 comments on commit c1865e1

Please sign in to comment.