feat: mobile附件下载页
This commit is contained in:
53
app/index/view/mobile/attachment/index.html
Normal file
53
app/index/view/mobile/attachment/index.html
Normal file
@@ -0,0 +1,53 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="style"}
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/download.css" />
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<div class="oricoEGapp">
|
||||
<!-- 内容-->
|
||||
<div class="margin-45"></div>
|
||||
<!--search-->
|
||||
<div class="menu mobile-search margin-top-90">
|
||||
<div class="search">
|
||||
<form action="{:url('attachment/index')}" method="get">
|
||||
<div class="search margin-bottom-30">
|
||||
<button class="updown_search_btn" type="sumbit">
|
||||
<span class="icon-search-svg"></span>
|
||||
</button>
|
||||
<input class="form-control" name="keyword" placeholder="{:lang('全站搜索')}" value="" type="text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!--软件下载-->
|
||||
<div class="download-title">{:lang('软件下载')}</div>
|
||||
<!--循环产品列表-->
|
||||
{notempty name="attachements"}
|
||||
{volist name="attachements" id="att"}
|
||||
<div class="download-bg clearfix">
|
||||
<div class="download-left">
|
||||
<img src="{$att.image}" alt="{$att.name}">
|
||||
</div>
|
||||
<div class="download-right">
|
||||
<div class="font-48">{$att.name}</div>
|
||||
<div class="down-gray">
|
||||
<p>{:lang('支持型号')}: {$att.applicable_to}</p>
|
||||
<p>{:lang('支持系统')}: {$att.support_platform}</p>
|
||||
</div>
|
||||
{notempty name="att.attach"}
|
||||
{volist name="att.attach" id="ch"}
|
||||
<div class="down-btn">
|
||||
<a href="{$ch.file_path}" data-cod="dl" target="_blank">
|
||||
<span class="l_button">{$ch.btn_name}</span>
|
||||
</a>
|
||||
</div>
|
||||
{/volist}
|
||||
{/notempty}
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
<!-- 分页-->
|
||||
<div class="Pages">{$page|raw}</div>
|
||||
{/notempty}
|
||||
</div>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user