From f5fe95cd04969e206b57cf08fa41fe2d779ff391 Mon Sep 17 00:00:00 2001
From: jsasg <735273025@qq.com>
Date: Thu, 15 May 2025 15:18:46 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20nas=E4=B8=BB=E9=A2=98=E5=B8=AE?=
=?UTF-8?q?=E5=8A=A9=E9=A1=B5=E6=95=88=E6=9E=9C=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/index/view/topic_nas/help.html | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/app/index/view/topic_nas/help.html b/app/index/view/topic_nas/help.html
index 0b22e80d..f1658cb6 100644
--- a/app/index/view/topic_nas/help.html
+++ b/app/index/view/topic_nas/help.html
@@ -59,7 +59,7 @@
{if condition="!empty($co.desc) && str_contains($co.desc, '
+
$co.title_txt_color])}>{$co.title}
{else/}
$co.title_txt_color])}>{$co.title}
@@ -73,7 +73,7 @@
{if condition="!empty($co.desc) && str_contains($co.desc, '
+
$co.title_txt_color])}>{$co.title}
{else/}
$co.title_txt_color])}>{$co.title}
@@ -132,12 +132,20 @@
});
$('.nhlplxwmit:not(:first)').hover(function () {
// 当鼠标移入时,显示.lxewmimg 并隐藏.lximg
- $(this).find('.lxewmimg').show();
- $(this).find('.lximg').hide();
+ var lxe = $(this).find('.lxewmimg');
+ var lxi = $(this).find('.lximg');
+ if (lxe.length > 0) {
+ lxe.show();
+ lxi.hide();
+ }
}, function () {
// 当鼠标移出时,隐藏.lxewmimg 并显示.lximg
- $(this).find('.lxewmimg').hide();
- $(this).find('.lximg').show();
+ var lxe = $(this).find('.lxewmimg');
+ var lxi = $(this).find('.lximg');
+ if (lxe.length > 0) {
+ lxe.hide();
+ lxi.show();
+ }
});
});
})