refactor: 英文移动端nas下载页

This commit is contained in:
2025-04-14 15:22:09 +08:00
parent 192424e81f
commit 473b84cd11
5 changed files with 40 additions and 122 deletions

View File

@@ -262,6 +262,17 @@ class TopsNas extends BaseController
// 下载
public function download()
{
$focus_image = [];
$downloads = [];
// 获取banner
$banners = $this->getBanners([129, 130]);
if (!empty($banners)) {
$focus_image = $banners['typeid_130']['banners'];
$downloads = $banners['typeid_129']['banners'];
}
$this->assign('focus_image', $focus_image);
$this->assign('downloads', $downloads);
return $this->fetch();
}