Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit baf5720

Browse files
authored
fix: remove ads (#19)
1 parent a8b56af commit baf5720

File tree

4 files changed

+3
-144
lines changed

4 files changed

+3
-144
lines changed

docs/.vuepress/components/HomeAds.vue

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,7 @@ const isApple = computed(() => {
4040
</script>
4141

4242
<template>
43-
<div class="ads-container">
44-
<div class="wwads-container">
45-
<div
46-
class="wwads wwads-cn wwads-horizontal"
47-
data-id="213"
48-
style="width: 100% !important"
49-
v-if="!isApple"
50-
></div>
51-
<a v-else class="vidhub" :href="vidHub.url" target="_blank">
52-
<div>
53-
<img src="/img/ss/vidhub-logo.png" alt="" />
54-
<div>
55-
<div class="title">
56-
<span>{{ vidHub.title }}</span>
57-
<span class="tag">{{ vidHub.tag }}</span>
58-
</div>
59-
<div class="hero" v-for="hero in vidHub.hero" :key="hero">
60-
{{ hero }}
61-
</div>
62-
</div>
63-
</div>
64-
</a>
65-
</div>
66-
</div>
43+
6744
</template>
6845

6946
<style scoped lang="scss">
@@ -162,16 +139,4 @@ const isApple = computed(() => {
162139
display: flex;
163140
justify-content: center;
164141
}
165-
166-
.wwads-container {
167-
padding-top: 10px !important;
168-
padding-bottom: 0 !important;
169-
:deep(img) {
170-
display: unset;
171-
max-width: unset;
172-
max-height: unset;
173-
margin: unset;
174-
}
175-
max-width: var(--home-page-width);
176-
}
177142
</style>

docs/.vuepress/components/NormalPage.vue

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
<template>
22
<NormalPage>
33
<template #contentBefore>
4-
<div class="theme-hope-content ads-container" vp-content>
5-
<div class="mingdao" v-if="showMingdao">
6-
<a href="https://www.mingdao.com?s=utm_51=utm_source=alist&utm_medium=banner&utm_campaign=%E5%93%81%E7%89%8C%E6%8E%A8%E5%B9%BF&utm_content=IT%E8%B5%8B%E8%83%BD%E4%B8%9A%E5%8A%A1"
7-
target="_blank">
8-
<img src="/img/ss/mingdao-h.png" alt="" />
9-
<span>{{ spStr }}</span>
10-
</a>
11-
</div>
12-
<div class="wwads wwads-cn wwads-horizontal" data-id="213" style="width:100% !important" v-else>
13-
</div>
14-
<ApiSelect v-if="isTool" />
15-
</div>
4+
165
</template>
176
<template #contentAfter>
18-
<div class="bottom-wwads">
19-
<div class="wwads wwads-cn wwads-horizontal" data-id="213" style="width:90% !important" v-if="showMingdao">
20-
</div>
21-
</div>
7+
228
</template>
239
</NormalPage>
2410
</template>
@@ -74,15 +60,4 @@ const spStr = computed(() => {
7460
}
7561
}
7662
}
77-
78-
.bottom-wwads {
79-
display: flex;
80-
justify-content: center;
81-
margin-top: 20px;
82-
}
83-
84-
.ads-container {
85-
padding-top: 0 !important;
86-
padding-bottom: 0 !important;
87-
}
8863
</style>

docs/.vuepress/public/adb.js

Lines changed: 0 additions & 54 deletions
This file was deleted.

docs/.vuepress/styles/index.scss

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +0,0 @@
1-
.ads-card {
2-
background-color: #f4f8fa;
3-
padding: 14px;
4-
border-radius: 8px;
5-
}
6-
7-
html[data-theme="dark"] .ads-card {
8-
background-color: #272829;
9-
}
10-
11-
.wwads-cn,
12-
.wwads {
13-
background-color: #f4f8fa;
14-
}
15-
16-
.wwads-text {
17-
color: #0e1011;
18-
}
19-
20-
html[data-theme="dark"] .wwads-cn,
21-
html[data-theme="dark"] .wwads {
22-
background-color: #272829 !important;
23-
}
24-
25-
html[data-theme="dark"] .wwads-text {
26-
color: #9e9e9e !important;
27-
}

0 commit comments

Comments
 (0)