|
|
@@ -609,7 +609,7 @@ function bindEventYS() {
|
|
|
$(this).attr("data-status", "1");
|
|
|
$(this).attr("src", PicInfo.yaoshiShowImgUrl);
|
|
|
//$(this).nextUntil(".yaoshi").filter(".underlineContent").css("color", "#92D050");
|
|
|
- $.each($(this).nextUntil(".yaoshi").parent().find(".underlineContent"), function (index, item) {
|
|
|
+ $.each($(this).nextUntil(".yaoshi").filter(".underlineContent"), function (index, item) {
|
|
|
var underlineContentText = $(this).text(); // 获取文本内容
|
|
|
var widthValue = $(item).css("width");
|
|
|
var newClsName = $(item).next().attr("class");
|
|
|
@@ -683,7 +683,7 @@ function bindEventYS() {
|
|
|
$(this).attr("data-status", "0");
|
|
|
$(this).attr("src", PicInfo.yaoshiHideImgUrl);
|
|
|
//$(this).nextUntil(".yaoshi").filter(".underlineContent").css("color", "#ffffff");
|
|
|
- $.each($(this).nextUntil(".yaoshi").parent().find(".underlineContent"), function (index, item) {
|
|
|
+ $.each($(this).nextUntil(".yaoshi").filter(".underlineContent"), function (index, item) {
|
|
|
var underlineContentText = $(this).text(); // 获取文本内容
|
|
|
var widthValue = $(item).css("width");
|
|
|
var newClsName = $(item).next().attr("class");
|