|
|
@@ -360,10 +360,22 @@ var dealAnswerFunc = function (NodeHandle, OCFlag, ThProFlag) {
|
|
|
}
|
|
|
else if ($(NodeHandle).attr("hitstyle") == "phraseStyle") {
|
|
|
if (styleWPSContrl.phraseFlag && showflagS == "1") {
|
|
|
- $(NodeHandle).css("background-color", "#f2db8b").attr("shcode", 1).attr("showflag", "1");
|
|
|
+ var ulflag = $(NodeHandle).attr("ulflag");
|
|
|
+ if (ulflag == "1") {
|
|
|
+ $(NodeHandle).css("background-color", "#f2db8b").attr("shcode", 1).attr("showflag", "1").css("border-bottom", "1px solid #979797");
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ $(NodeHandle).css("background-color", "#f2db8b").attr("shcode", 1).attr("showflag", "1");
|
|
|
+ }
|
|
|
}
|
|
|
else if (showflagS == "1") {
|
|
|
- $(NodeHandle).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "1");
|
|
|
+ var ulflag = $(NodeHandle).attr("ulflag");
|
|
|
+ if (ulflag == "1") {
|
|
|
+ $(NodeHandle).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "1").css("border-bottom", "1px solid #979797");
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ $(NodeHandle).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "1");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
else if ($(NodeHandle).attr("hitstyle") == "sentenceStyle") {
|
|
|
@@ -415,11 +427,23 @@ var dealAnswerFunc = function (NodeHandle, OCFlag, ThProFlag) {
|
|
|
else if ($(element).attr("hitstyle") == "phraseStyle") {
|
|
|
if (styleWPSContrl.phraseFlag) {
|
|
|
if (!ThProFlag || (ThProFlag && showflagS == 1)) {
|
|
|
- $(element).css("background-color", "#f2db8b").attr("shcode", 1).attr("showflag", "1");
|
|
|
+ var ulflag = $(element).attr("ulflag");
|
|
|
+ if (ulflag == "1") {
|
|
|
+ $(element).css("background-color", "#f2db8b").attr("shcode", 1).attr("showflag", "1").css("border-bottom", "1px solid #979797");
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ $(element).css("background-color", "#f2db8b").attr("shcode", 1).attr("showflag", "1");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
- $(element).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "1");
|
|
|
+ var ulflag = $(element).attr("ulflag");
|
|
|
+ if (ulflag == "1") {
|
|
|
+ $(element).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "1").css("border-bottom", "1px solid #979797");
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ $(element).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "1");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
else if ($(element).attr("hitstyle") == "sentenceStyle") {
|
|
|
@@ -444,7 +468,7 @@ var dealAnswerFunc = function (NodeHandle, OCFlag, ThProFlag) {
|
|
|
$(NodeHandle).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "0");
|
|
|
}
|
|
|
else if ($(NodeHandle).attr("hitstyle") == "sentenceStyle") {
|
|
|
- $(NodeHandle).css("border-bottom", "2px solid #ffffff").attr("shcode", 0).attr("showflag", "0");
|
|
|
+ $(NodeHandle).css("border-bottom", "2px solid #ffffff").attr("shcode", 0).attr("showflag", "0").css("border-bottom", "1px solid #979797");
|
|
|
}
|
|
|
$.each($(NodeHandle).find(".cAStauts"), function (index, element) {
|
|
|
// 处理普通文本
|
|
|
@@ -454,7 +478,7 @@ var dealAnswerFunc = function (NodeHandle, OCFlag, ThProFlag) {
|
|
|
$(element).attr("shcode", 0).attr("showflag", "0");
|
|
|
}
|
|
|
else if ($(element).attr("hitstyle") == "phraseStyle") {
|
|
|
- $(element).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "0");
|
|
|
+ $(element).css("background-color", "#ffffff").attr("shcode", 0).attr("showflag", "0").css("border-bottom", "1px solid #979797");
|
|
|
}
|
|
|
else if ($(element).attr("hitstyle") == "sentenceStyle") {
|
|
|
$(element).css("border-bottom", "2px solid #ffffff").attr("shcode", 0).attr("showflag", "0");
|