update download.html
This commit is contained in:
@@ -18,48 +18,46 @@
|
||||
</div>
|
||||
|
||||
<div class="feature-grid">
|
||||
<!-- <div class="feature">
|
||||
<div class="feature-icon">💻</div>
|
||||
<h3>{{ t('pc_client') if t('pc_client') else '电脑客户端' }}</h3>
|
||||
<p>{{ t('pc_client_desc') if t('pc_client_desc') else '适用于Windows系统的桌面客户端,提供完整功能体验' }}</p>
|
||||
<a href="{{ url_for('serve_download_file', filename='pc_client_setup_v2.1.0.exe') }}" class="btn"
|
||||
download>{{ t('download_now') if t('download_now') else '立即下载' }}</a>
|
||||
<div class="download-info">
|
||||
<p><strong>{{ t('version') if t('version') else '版本' }}:</strong> v2.1.0</p>
|
||||
<p><strong>{{ t('file_size') if t('file_size') else '文件大小' }}:</strong> 85.6 MB</p>
|
||||
<p><strong>{{ t('system_requirements') if t('system_requirements') else '系统要求' }}:</strong> Windows
|
||||
10+</p>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="feature">
|
||||
<div class="feature-icon">📱</div>
|
||||
<h3>{{ t('android_client') if t('android_client') else '安卓手机客户端' }}</h3>
|
||||
<p>{{ t('android_client_desc') if t('android_client_desc') else '适用于Android手机的移动客户端,随时随地管理您的账户' }}</p>
|
||||
<a href="{{ url_for('serve_download_file', filename='hkfuze-online-release_4.60.0_2025-06-20.apk') }}"
|
||||
class="btn" download>{{ t('download_now') if t('download_now') else '立即下载' }}</a>
|
||||
<div class="download-info">
|
||||
<p><strong>{{ t('version') if t('version') else '版本' }}:</strong> v4.60.0</p>
|
||||
<p><strong>{{ t('file_size') if t('file_size') else '文件大小' }}:</strong> 103.2 MB</p>
|
||||
<p><strong>{{ t('system_requirements') if t('system_requirements') else '系统要求' }}:</strong> Android
|
||||
8.0+</p>
|
||||
<div class="feature-icon">
|
||||
<img src="{{ url_for('static', filename='images/download.svg') }}" alt="ios 扫码下载">
|
||||
</div>
|
||||
<div class="feature-apk">
|
||||
<img src="{{ url_for('static', filename='images/apple.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
<div class="feature-ios">
|
||||
<img src="{{ url_for('static', filename='images/ios_download.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="feature">
|
||||
<div class="feature-icon">🖼️</div>
|
||||
<h3>{{ t('image_download') if t('image_download') else '图片下载' }}</h3>
|
||||
<p>{{ t('image_download_desc') if t('image_download_desc') else '下载公司标志或相关图片' }}</p>
|
||||
<a href="{{ url_for('serve_log_file', filename='1024.jpg') }}" class="btn" download>{{
|
||||
t('download_image')
|
||||
if t('download_image') else '下载图片' }}</a>
|
||||
<div class="download-info">
|
||||
<p><strong>{{ t('file_format') if t('file_format') else '文件格式' }}:</strong> JPG</p>
|
||||
<p><strong>{{ t('file_size') if t('file_size') else '文件大小' }}:</strong> 约 50 KB</p>
|
||||
<p><strong>{{ t('resolution') if t('resolution') else '分辨率' }}:</strong> 80x80 pixels</p>
|
||||
<div class="feature-icon">
|
||||
<img src="{{ url_for('static', filename='images/download.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
<div class="feature-apk" onclick="downloadApk()">
|
||||
<img src="{{ url_for('static', filename='images/apk.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
|
||||
<div class="feature-ios">
|
||||
<img src="{{ url_for('static', filename='images/download_google.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="feature">
|
||||
<div class="feature-icon">
|
||||
<img src="{{ url_for('static', filename='images/download.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
<div class="feature-apk">
|
||||
<img src="{{ url_for('static', filename='images/google.svg') }}" alt="下载图标">
|
||||
</div>
|
||||
<h3>{{ t('google_download_desc') if t('google_download_desc') else '正在上架,敬请等待' }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -84,4 +82,23 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
function downloadApk() {
|
||||
// 在实际应用中,这里应该是从服务器获取的真实APK文件URL
|
||||
const apkUrl = "https://www.fuzsec.com/downloads/hkfuze-online-release_4.60.0_2025-06-20.apk";
|
||||
|
||||
// 创建隐藏的下载链接并模拟点击
|
||||
const link = document.createElement('a');
|
||||
link.href = apkUrl;
|
||||
link.download = 'hkfuze-online-release_4.60.0_2025-06-20.apk';
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
document.body.removeChild(link);
|
||||
|
||||
// 提示用户(在实际应用中可移除或替换为更美观的通知)
|
||||
alert('下载已开始!如果下载没有自动开始,请检查您的浏览器设置。');
|
||||
}
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user