更新内置软件源

This commit is contained in:
Super Manito
2026-04-16 12:40:40 +08:00
parent 2f446d984f
commit f1e1f766f8
13 changed files with 102 additions and 53 deletions

View File

@@ -442,6 +442,40 @@ const mirrorsTableData = [
manjaro: true,
endeavouros: true,
},
{
name: __isZhHant ? '華中科技大學' : __isEn ? 'Huazhong University of Science and Technology' : '华中科技大学',
officialName: __isZhHant ? '華中科技大學開源鏡像站' : __isEn ? 'Huazhong University of Science and Technology Open Source Mirror' : '华中科技大学开源镜像站',
icon: 'hust.png',
iconStyle: { verticalAlign: '-0.2em' },
url: 'https://mirrors.hust.edu.cn',
domain: 'mirrors.hust.edu.cn',
ipv6: false,
debian: true,
ubuntu: true,
centos_vault: false,
centos_stream: false,
opensuse: false,
archlinux: true,
kali: true,
deepin: false,
rocky: true,
almalinux: false,
epel: false,
fedora: true,
opencloudos: false,
openeuler: true,
anolis: false,
openkylin: true,
alpine: true,
armbian: false,
proxmox: false,
linuxmint: true,
gentoo: true,
nix_channels: false,
raspberrypi: false,
manjaro: true,
endeavouros: false,
},
{
name: __isZhHant ? '中國科學技術大學' : __isEn ? 'University of Science and Technology of China' : '中国科学技术大学',
officialName: __isZhHant ? '中國科學技術大學開源軟體鏡像站' : __isEn ? 'University of Science and Technology of China Open Source Software Mirror' : '中国科学技术大学开源软件镜像站',
@@ -552,7 +586,7 @@ const mirrorsTableColumns = [
colKey: 'name',
title: __isZhHant ? '鏡像站' : __isEn ? 'Mirror Site' : '镜像站',
align: 'left',
width: '180',
width: __isMobile ? '130' : '180',
fixed: 'left',
},
{

View File

@@ -2,9 +2,9 @@ ComponentSystem.register('mirrors-table', {
template: `
<div>
<t-config-provider :global-config="globalConfig">
<t-space v-if="!isMobile" align="center" style="margin-bottom: 8px; gap: 20px">
<t-space v-if="!isMobile" align="center" style="display: flex; flex-flow: wrap; justify-content: space-between; margin-bottom: 8px; gap: 20px">
<blockquote>
<p>{{ startTitle[0] }} <code>Debian</code>、<code>Ubuntu</code>、<code>CentOS</code>、<code>openEuler</code> {{ startTitle[1] }}</p>
<p>{{ startTitle }}</p>
</blockquote>
<t-space style="width: 100%">
<t-popup placement="bottom" :show-arrow="false">
@@ -71,7 +71,7 @@ ComponentSystem.register('mirrors-table', {
</t-space>
</t-space>
<blockquote v-if="isMobile">
<p>{{ startTitle[0] }} <code>Debian</code>、<code>Ubuntu</code>、<code>CentOS</code>、<code>openEuler</code> {{ startTitle[1] }}</p>
<p>{{ startTitle }}</p>
</blockquote>
<t-table
:columns="columns"
@@ -155,7 +155,7 @@ ComponentSystem.register('mirrors-table', {
},
created() {
const allKeys = this._flattenFilterKeys(this.filterOptions)
const defaultHidden = new Set(['debian', 'ubuntu', 'centos_vault', 'openeuler'])
const defaultHidden = new Set([])
this.selectedColumnFilters = allKeys.filter((k) => !defaultHidden.has(k))
this.selectedRowFilters = Array.isArray(this.originalData) ? this.originalData.map((r) => r.name) : []
this._debouncedUpdateColumns = debounce(this._updateColumns.bind(this), 120)
@@ -176,7 +176,7 @@ ComponentSystem.register('mirrors-table', {
},
startTitle() {
const f = this.localeFlags
return f.isZhHant ? ['下方列表中的鏡像站均同步了', '軟體倉庫,列表根據單位性質、地理位置、名稱長度排序,與實際下載速度無關。'] : f.isEn ? ['All mirror sites in the list below synchronize the', 'software repositories. The list is sorted by institution type, geographic location, and name length, and is not related to actual download speed.'] : ['下方列表中的镜像站均同步了', '软件仓库,列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关。']
return f.isZhHant ? '列表根據單位性質、地理位置、名稱長度排序,與實際下載速度無關。' : f.isEn ? 'The list is sorted by institution type, geographic location, and name length, and is not related to actual download speed.' : '列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关。'
},
globalConfig() {
const f = this.localeFlags