From 707b963306efc3038f6b075b1886ca17f9eca314 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 14 Apr 2025 18:12:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=99=84=E4=BB=B6=EF=BC=88=E8=BD=AF?= =?UTF-8?q?=E4=BB=B6/=E6=89=8B=E5=86=8C=E4=B8=8B=E8=BD=BD=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Attachment.php | 23 +++ app/index/lang/en-us.php | 6 + app/index/lang/zh-cn.php | 6 + app/index/model/AttachmentCategoryModel.php | 25 +++ app/index/model/AttachmentModel.php | 19 +++ app/index/route/route.php | 5 + app/index/view/attachment/index.html | 166 ++++++++++++++++++++ public/static/index/css/download.css | 2 +- 8 files changed, 251 insertions(+), 1 deletion(-) create mode 100644 app/index/controller/Attachment.php create mode 100644 app/index/model/AttachmentCategoryModel.php create mode 100644 app/index/model/AttachmentModel.php create mode 100644 app/index/view/attachment/index.html diff --git a/app/index/controller/Attachment.php b/app/index/controller/Attachment.php new file mode 100644 index 00000000..75177e60 --- /dev/null +++ b/app/index/controller/Attachment.php @@ -0,0 +1,23 @@ +lang_id)->select(); + View::assign('category', $category); + + return View::fetch('index'); + } +} diff --git a/app/index/lang/en-us.php b/app/index/lang/en-us.php index 81f3cb94..0905df64 100644 --- a/app/index/lang/en-us.php +++ b/app/index/lang/en-us.php @@ -31,5 +31,11 @@ return [ 'detail_leave_reply_comment' => 'Comment', 'detail_leave_reply_submit' => 'POST COMMENT', 'detail_recommend' => 'Recommended for you', + ], + 'attachment' => [ + 'software_drives' => 'Software and Drivers', + 'software_download' => 'Software Drives', + 'manual_download' => 'Manual', + 'video' => 'Videos' ] ]; \ No newline at end of file diff --git a/app/index/lang/zh-cn.php b/app/index/lang/zh-cn.php index 14e93584..e2d042a2 100644 --- a/app/index/lang/zh-cn.php +++ b/app/index/lang/zh-cn.php @@ -31,5 +31,11 @@ return [ 'detail_leave_reply_comment' => '留言', 'detail_leave_reply_submit' => '提交留言', 'detail_recommend' => '你可能还喜欢', + ], + 'attachment' => [ + 'software_drives' => '软件和驱动程序', + 'software_download' => '软件下载', + 'manual_download' => '手册', + 'video' => '视频' ] ]; \ No newline at end of file diff --git a/app/index/model/AttachmentCategoryModel.php b/app/index/model/AttachmentCategoryModel.php new file mode 100644 index 00000000..0173240d --- /dev/null +++ b/app/index/model/AttachmentCategoryModel.php @@ -0,0 +1,25 @@ +where('language_id', '=', $language); + } +} diff --git a/app/index/model/AttachmentModel.php b/app/index/model/AttachmentModel.php new file mode 100644 index 00000000..7f774e49 --- /dev/null +++ b/app/index/model/AttachmentModel.php @@ -0,0 +1,19 @@ + +{/block} +{block name="main"} +
+ +
+
+ + +
+
+ +
+ +
+ +
+
+ +
+
{:lang('attachment.software_download')}
+
{:lang('attachment.manual_download')}
+
{:lang('attachment.video')}
+
+ +
+
+
+
+

Driver for USB-C 10Gb Ethernet Adapter

+

Supported Models:

+

ORICO-REA-10

+

Supported Systems:

+

Windows 10-11, Linux

+

+ Linux + Windows 10-11 +

+
+
+
+
+
+

Driver for USB-C 10Gb Ethernet Adapter

+

Supported Models:

+

ORICO-REA-10

+

Supported Systems:

+

Windows 10-11, Linux

+

+ Linux + Windows 10-11 +

+
+
+
+
+
+

Driver for USB-C 10Gb Ethernet Adapter

+

Supported Models:

+

ORICO-REA-10

+

Supported Systems:

+

Windows 10-11, Linux

+

+ Linux + Windows 10-11 +

+
+
+
+ + + + 1 + 2 + 3 + 4 + + + +
+
+ + + +
+
+
+{/block} +{block name="script"} + +{/block} \ No newline at end of file diff --git a/public/static/index/css/download.css b/public/static/index/css/download.css index 99416947..0eb69edd 100755 --- a/public/static/index/css/download.css +++ b/public/static/index/css/download.css @@ -1,7 +1,7 @@ .orico_Page_download { width: 100%; position: relative; - height: 100vh; + height: auto; overflow-y: auto; overflow-x: hidden; background: #f2f2f2;