refactor: 修改英文nas相关

This commit is contained in:
2025-04-15 14:38:34 +08:00
parent 473b84cd11
commit a7d68b57e5
10 changed files with 183 additions and 81 deletions

View File

@@ -103,12 +103,15 @@
align-items: center;
cursor: pointer;
margin-bottom: 0.625rem;
display: flex;
flex-direction: column;
}
.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg img {
width: 6.25rem;
height: 6.25rem;
width: 3.25rem;
height: 3.25rem;
padding: 1.25rem;
padding-bottom: 0.5rem;
}
.narssbshow .nrowimg {
@@ -123,6 +126,25 @@
width: 50%;
height: 50%;
}
.narswljshow .nDtopIt2 .nDitImg .dwbt {
padding: 0.5rem 1.8rem;
background: #A1A7BF;
border-radius: 1.85rem;
color: #fff;
font-size: 0.85rem;
cursor: pointer;
margin-bottom: 14%;
}
.narswljshow .nDtopIt2 .nDitImg .dwbtactive {
background: #004CFA;
}
.narswljshow .nDtopIt2 .nDitImg .yy_name{
font-size: 1rem;
padding-bottom: 10px;
padding-top:5px;
color: #000;
font-weight: bold;
}
</style>
</head>
@@ -132,16 +154,18 @@
<div class="narsDtabs"></div>
<!-- 微链接-->
<div class="nDtopCtMian narswljshow">
{if condition="!empty($focus_image)"}
<div class="nDtopIt">
<img src="{$focus_image[0]['picture']}" class="tpimg" />
<img src="/frontend/m_web/images/download_focus_mobile_us.png" class="tpimg" />
</div>
{/if}
{if condition="!empty($downloads)"}
<div class="nDtopIt2" style="margin-bottom: 25px;">
{volist name="downloads" id="vo"}
<a class="nDitImg" href="{$vo.link}" download="{$vo.desc}">
<div class="nDitImg"><img src="{$vo.picture}" /></div>
<div class="nDitImg">
<img src="{$vo.picture}" />
<div class="yy_name">{$vo.name}</div>
<div class="dwbt">Download</div>
</div>
</a>
{/volist}
</div>
@@ -150,5 +174,13 @@
{include file='include/bottom'/}
</div>
</body>
<script>
$(document).ready(function() {
$('.dwbt').click(function() {
console.log(111)
$('.dwbt').removeClass('dwbtactive');
$(this).addClass('dwbtactive');
});
});
</script>
</html>