Skip to content

Commit ac29836

Browse files
committed
Update Download.vue
1 parent 979077e commit ac29836

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/.vitepress/theme/components/Download.vue

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ const downloadSources: DownloadSource[] = [
5858
{ id: 'github', name: 'GitHub 源', icon: '/svg/github.svg', description: '官方发布渠道', speed: '海外较快' },
5959
{ id: 'ghfast', name: 'GitHub 第三方镜像源', icon: '/svg/github.svg', description: 'ghfast.top 加速', speed: '国内较快' },
6060
{ id: 'ghproxy', name: 'GitHub 第三方镜像源', icon: '/svg/github.svg', description: 'gh-proxy.com 加速', speed: '国内较快' },
61-
{ id: 'cloud123', name: '123云盘源', icon: '/123pan.png', description: '云盘下载页面', speed: '不限速', contributor: { name: 'lzy98276', url: 'https://github.com/lzy98276' } },
62-
{ id: 'cloudreve', name: 'Cloudreve分流', icon: '/Cloudreve.png', description: 'Lotus大佬提供的分流', speed: '稳定快速', contributor: { name: 'Lotus', url: 'https://github.com/SummerLotus520/' } }
61+
{ id: 'cloud123', name: '123云盘源', icon: '/123pan.png', description: '云盘下载页面', speed: '不限速', contributor: { name: 'lzy98276', url: 'https://github.com/lzy98276' } }
6362
]
6463
6564
// 动态设备类型
@@ -130,8 +129,6 @@ function getDownloadUrl(asset: any): string {
130129
return `https://gh-proxy.com/${asset.browser_download_url.replace('https://github.com/', '')}`
131130
case 'cloud123':
132131
return 'https://www.123684.com/s/9529jv-U4Fxh'
133-
case 'cloudreve':
134-
return 'https://cloud.lotusshared.cn/s/A9QCA'
135132
default:
136133
return asset.browser_download_url
137134
}
@@ -304,8 +301,6 @@ onBeforeUnmount(() => {
304301
<div class="item-description">{{ source.description }} · {{ source.speed }}</div>
305302
<div v-if="source.contributor" class="contributor">
306303
由 <a :href="source.contributor.url" target="_blank">{{ source.contributor.name }}</a> 提供
307-
<span v-if="source.id === 'cloudreve'"> · 欢迎进入 <a href="https://qm.qq.com/q/d4Dd9EOvcI"
308-
target="_blank">QQ群</a> 了解更多</span>
309304
</div>
310305
</div>
311306
</div>
@@ -360,17 +355,13 @@ onBeforeUnmount(() => {
360355
</div>
361356
</div>
362357
<a :href="getDownloadUrl(file)" class="download-button" target="_blank"
363-
v-if="selectedDownloadSource !== 'cloud123' && selectedDownloadSource !== 'cloudreve'">
358+
v-if="selectedDownloadSource !== 'cloud123'">
364359
下载
365360
</a>
366361
<a :href="getDownloadUrl(file)" class="download-button" target="_blank"
367362
v-else-if="selectedDownloadSource === 'cloud123'">
368363
前往下载页面
369364
</a>
370-
<a :href="getDownloadUrl(file)" class="download-button" target="_blank"
371-
v-else-if="selectedDownloadSource === 'cloudreve'">
372-
前往分流页面
373-
</a>
374365
</div>
375366
</div>
376367

0 commit comments

Comments
 (0)