Bläddra i källkod

修改钥匙问题

namejr 4 år sedan
förälder
incheckning
f1ccee71e5
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      EBook.Web/Common/new_tasklib_book.js

+ 3 - 2
EBook.Web/Common/new_tasklib_book.js

@@ -773,6 +773,7 @@ var clickCheckBox = function (inputId) {
     if (!ControlFlag) {
         return;
     }
+    $(".wordStyle,.phraseStyle,.sentenceStyle").attr("data-glclick", "0");
     var BoxJqStr = ".cBoxCls_" + inputId;
     if ($(BoxJqStr).attr("data-status") == "1") {
         $(BoxJqStr).attr("data-status", "0");
@@ -1959,7 +1960,7 @@ function AddClickEvent() {
             $(".underlineContent[yaoshi-flag='" + answerid + "']").attr("showflag", "1");
             // 处理多答题点
             if (parentanid != undefined && parentanid != null && parentanid != '') {
-                $(".yaoshi[parent-anid='" + parentanid + "']").attr("data-status", "1");
+                $(".yaoshi[parent-anid='" + parentanid + "']").attr("data-status", "1").attr("src", PicInfo.yaoshiShowImgUrl);
                 $(".underlineContent[parent-anid='" + parentanid + "']").attr("showflag", "1");
             }
             DealCssShowFunc();
@@ -1971,7 +1972,7 @@ function AddClickEvent() {
             $(".underlineContent[yaoshi-flag='" + answerid + "']").attr("showflag", "0");
             // 处理多答题点
             if (parentanid != undefined && parentanid != null && parentanid != '') {
-                $(".yaoshi[parent-anid='" + parentanid + "']").attr("data-status", "0");
+                $(".yaoshi[parent-anid='" + parentanid + "']").attr("data-status", "0").attr("src", PicInfo.yaoshiHideImgUrl);
                 $(".underlineContent[parent-anid='" + parentanid + "']").attr("showflag", "0");
             }
             DealCssHiddenFunc();