namejr 4 years ago
parent
commit
2110d2d254
2 changed files with 2 additions and 43 deletions
  1. 2 4
      EBook.Web/Common/tasklib_book.css
  2. 0 39
      EBook.Web/Common/tasklib_book.js

+ 2 - 4
EBook.Web/Common/tasklib_book.css

@@ -29,11 +29,9 @@ p .answer-body:first-child{
 
 /*答题点区域*/
 .answer-point-range {display:inline-block;}
-.answer-point-range img {float:left;margin-left:3px;margin-top:3px;width:16px;height:16px;}
-.answer-point-range[mobile-type='1'] img {margin-top:2px;}
+.answer-point-range img {float:left;margin-left:3px;margin-top:2px;width:16px;height:16px;}
 .answer-point-range span { float:left;margin-left:3px; margin-right:7px;color:#6ab7ff;line-height:22px;font-size:16px;}
-.answer-point-range-div{display: block;border: 1px solid #6ab7ff;height: 22px;border-radius: 5px;position: relative;left: 0px;top: 5px;}
-.answer-point-range-div[mobile-type='1']{height: 20px;top: 6px;}
+.answer-point-range-div{display: block;border: 1px solid #6ab7ff;height: 20px;border-radius: 5px;position: relative;left: 0px;top: 6px;}
 .select-answer[data-astatus='0'] .answer-point-range-div{
     border: none !important;
     background:#eaf6ff !important;

+ 0 - 39
EBook.Web/Common/tasklib_book.js

@@ -736,45 +736,6 @@ var RemoveSESpaceWhite = function (item) {
     }
     $(item).text(HtmlStr);
 };
-// 将句型换色(外面是否抱着未隐藏的phraseStyle)
-function dealWordStyleFunc(NodeHandle) {
-    //$(".phraseStyle").find(".wordStyle").css("color", "#f2db8b");
-    var TNodeHandle = null;
-    TNodeHandle = NodeHandle;
-    var SCFlag = false;  // 是否句型换色
-    var whileFlag = true;  // 是否循环
-    while (whileFlag) {
-        var ClsName = $(TNodeHandle).attr("class");
-        if ($(TNodeHandle).parent() == null || $(TNodeHandle)[0].tagName.toUpperCase() == "BODY") {
-            whileFlag = false;
-            return false;
-        }
-        else if (ClsName != undefined && ClsName.indexOf("phraseStyle") > -1) {
-            whileFlag = false;
-        }
-        else if (ClsName != undefined && ClsName.indexOf("underlineContent") > -1) {
-            // 先到underlineContent,可能外面包含phraseStyle
-            SCFlag = true;
-            whileFlag = false;
-        }
-        TNodeHandle = $(TNodeHandle).parent();
-    };
-    whileFlag = true;
-    while (whileFlag) {
-        var ClsName = $(TNodeHandle).attr("class");
-        if ($(TNodeHandle).parent() == null || $(TNodeHandle)[0].tagName.toUpperCase() == "BODY") {
-            whileFlag = false;
-            return false;
-        }
-        else if (ClsName != undefined && ClsName.indexOf("phraseStyle") > -1) {
-            // 换色
-            return true;
-            whileFlag = false;
-        }
-        TNodeHandle = $(TNodeHandle).parent();
-    };
-    return false;
-};
 // 处理显示或隐藏答案,(shcode是否可点击1可点击;ulflag判断是否存在横线内1表示在;showflag是否显示1显示)
 var dealAnswerFunc = function (NodeHandle, OCFlag, ThProFlag) {
     if (OCFlag) {