From 9f0ad41e8fc0d6dba771be9c0f37e8209b19158a Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 9 Jun 2025 13:49:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mobile=20nas=E4=B8=BB=E9=A2=98=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/lang/en-us/mobile.php | 6 + app/index/view/mobile/topic_nas/download.html | 86 +++++++++++++ .../index/mobile/css/topic_nas_download.css | 117 ++++++++++++++++++ 3 files changed, 209 insertions(+) create mode 100644 app/index/view/mobile/topic_nas/download.html create mode 100644 public/static/index/mobile/css/topic_nas_download.css diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php index 5594b6b1..0addbfd0 100644 --- a/app/index/lang/en-us/mobile.php +++ b/app/index/lang/en-us/mobile.php @@ -179,6 +179,12 @@ return [ '配套软件' => 'Software', ], + // nas主题 - 下载页 + 'topicnas/download' => [ + 'CyberData赛博云空间' => 'CyberData', + 'Weline微链接' => 'Weline' + ], + // nas主题 - 帮助页 'topicnas/help' => [ '帮助中心' => 'Quick Start Guide', diff --git a/app/index/view/mobile/topic_nas/download.html b/app/index/view/mobile/topic_nas/download.html new file mode 100644 index 00000000..6a24e3b5 --- /dev/null +++ b/app/index/view/mobile/topic_nas/download.html @@ -0,0 +1,86 @@ +{extend name="public/base" /} +{block name="style"} + +{/block} +{block name="main"} +
+
+
+ {egt name=":count($data)" value="2"} + {notempty name="data.cyber"} +
{:lang_i18n('CyberData赛博云空间')}
+ {/notempty} + {notempty name="data.weline"} +
{:lang_i18n('Weline微链接')}
+ {/notempty} + {/egt} +
+ + {notempty name="data.cyber"} +
+ {notempty name="data.cyber.focus_image"} +
+ +
+ {/notempty} + {notempty name="data.cyber.down_items"} +
+ {volist name="data.cyber.down_items" id="it" length="4"} + +
+ {eq name=":cookie('think_lang')" value="en-us"} +
$it.title_txt_color])}>{$it.title}
+
Download
+ {/eq} +
+ {/volist} +
+ {volist name="data.cyber.down_items" id="it" offset="4"} + +
+ +
+
+ {/volist} + {/notempty} +
+ {/notempty} + + {notempty name="data.weline"} +
+ {notempty name="data.weline.focus_image"} +
+ +
+ {/notempty} + {notempty name="data.weline.down_items"} +
+ {volist name="data.weline.down_items" id="it"} + +
+
+ {/volist} +
+ {/notempty} +
+ {/notempty} +
+
+{/block} +{block name="script"} + +{/block} \ No newline at end of file diff --git a/public/static/index/mobile/css/topic_nas_download.css b/public/static/index/mobile/css/topic_nas_download.css new file mode 100644 index 00000000..343bcbfd --- /dev/null +++ b/public/static/index/mobile/css/topic_nas_download.css @@ -0,0 +1,117 @@ +.header { + color: #fff; +} + +.narsDowloadPc { + /*height: 100vh;*/ + background: #F5F5F5; + /*position: relative;*/ + display: flex; + flex-direction: column; + overflow-y: auto; +} + +.narsDowloadPc .narsDtabs { + margin: 0 1.25rem; + margin-top: 7rem; + display: flex; + flex-direction: row; + justify-content: center; + height: 2.625rem; +} + +.narsDowloadPc .narsDtabs .narsDtabIt { + color: #001717; + font-size: 1rem; + height: 2.625rem; + line-height: 2.625rem; + width: 25rem; + background: #fff; + text-align: center; + border-radius: 28px; + cursor: pointer; +} + +.narsDowloadPc .narsDtabs .narsDtabIt:first-child { + margin-right: 0.9375rem; +} + +.narsDowloadPc .narsDtabs .narsDtabIt_active { + color: #fff; + background: #004CFA; +} + +.narsDowloadPc .narsDmainConten { + margin: 0 1.25rem; + background: #fff; + margin-bottom: 10px; + position: relative; +} + +.narsDowloadPc .nDtopCtMian { + padding-top: 1.25rem; + position: relative; + overflow: hideen; + margin: 0 1.25rem; + height: auto; +} + +.narsDowloadPc .nDtopCtMian .nDtopIt { + width: 100%; + background: #fff; + margin-bottom: 10px; + box-sizing: border-box; +} + +.narsDowloadPc .nDtopCtMian .nDtopIt .tpimg { + width: 100%; + height: 100%; +} + +.narsDowloadPc .nDtopCtMian .nDtopIt .tpimg { + width: 100%; + height: 100%; +} + +.narsDowloadPc .nDtopCtMian .nDtopIt2 { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} + +.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg { + width: 48.5%; + background: #fff; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + margin-bottom: 0.625rem; +} + +.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg img { + width: 6.25rem; + height: 6.25rem; + padding: 1.25rem; +} + +.narswljshow { + display: none; +} + +.narswljshow .nDtopIt2 .nDitImg { + /* width: 291px !important; */ +} + +.narssbshow .nrowimg { + width: 100%; + background: #fff; + display: flex; + justify-content: center; +} + +.narssbshow .nrowimg img { + width: 50%; + height: 50%; +} \ No newline at end of file