diff --git a/app/index/view/tops_nas/helper.phtml b/app/index/view/tops_nas/helper.phtml
index 0d60520..d0fde51 100644
--- a/app/index/view/tops_nas/helper.phtml
+++ b/app/index/view/tops_nas/helper.phtml
@@ -137,6 +137,9 @@
flex: 1;
color: #1f2635;
font-size: 1rem;
+ white-space: nowrap; /* 不允许换行 */
+ overflow: hidden; /* 超出部分隐藏 */
+ text-overflow: ellipsis; /* 超出部分显示省略号 */
}
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .nhlp-tx-list .ckgdbt {
background: #fff;
@@ -360,74 +363,74 @@
联系我们
{if condition="$banners_size > 0"}
-
+
{/if}
{if condition="$banners_size > 1"}
-
+
{/if}
{if condition="$banners_size > 2"}
-
+
{/if}
{if condition="$banners_size > 3"}
-
+
{/if}
{if condition="$banners_size > 4"}
-
+
{/if}
{if condition="$banners_size > 5"}
-
+
{/if}
{if condition="$banners_size > 6"}
-
+
{/if}
@@ -472,10 +475,15 @@
$('#dropdown').hide();
}
});
- $('.nhlplxwmit:not(:first)').click(function() {
- $(this).find('.lximg').toggle();
- $(this).find('.lxewmimg').toggle();
- });
+ $('.nhlplxwmit:not(:first)').hover(function() {
+ // 当鼠标移入时,显示.lxewmimg 并隐藏.lximg
+ $(this).find('.lxewmimg').show();
+ $(this).find('.lximg').hide();
+ }, function() {
+ // 当鼠标移出时,隐藏.lxewmimg 并显示.lximg
+ $(this).find('.lxewmimg').hide();
+ $(this).find('.lximg').show();
+ });
});