diff --git a/index.html b/index.html
index 5040f7b..473df30 100644
--- a/index.html
+++ b/index.html
@@ -46,10 +46,10 @@ permalink: /
https://mirrors4.tuna.tsinghua.edu.cn/ 只解析 IPv4
-
+
下载链接
常用发行版 iso 和应用工具安装包直接下载
-
@@ -82,7 +82,7 @@ permalink: /
{% raw %}
-
+
-
+
-
+
{{selected.distro}}
diff --git a/static/css/style.scss b/static/css/style.scss
index 217e255..1994599 100644
--- a/static/css/style.scss
+++ b/static/css/style.scss
@@ -95,6 +95,14 @@ $font_local: 'Heiti SC', 'Hiragino Sans GB', 'STHeiti', 'Source Han Sans CN', 'W
color: $color_secondary;
}
}
+ #download-link {
+ margin-bottom: 1em;
+ }
+}
+#isoModal {
+ .nav-tabs {
+ margin-bottom: .5em;
+ }
}
#status-page {
diff --git a/static/js/index.es6 b/static/js/index.es6
index eecffd6..9da5434 100644
--- a/static/js/index.es6
+++ b/static/js/index.es6
@@ -89,13 +89,18 @@ window.refreshMirrorList = () => {
setTimeout(refreshMirrorList, 10000);
}
+
+if (window.location.hash === '#iso-download') {
+ setTimeout(() => {$('#isoModal').modal()}, 200);
+}
+
refreshMirrorList();
var vm = new Vue({
el: "#isoModal",
data: {
distroList: [],
- selected: null,
+ selected: {},
curCategory: "os"
},
created: function () {