|
@@ -160,7 +160,7 @@ function renderContentscale(list, contentWrapClassName, name) {
|
|
|
} else if (it.selectType == 22 && item.resultType == 2) {
|
|
|
str += '<label><input class="radio_type" name="scale' + its.parentId + '" type="checkbox" value="' + its.result + '" data_obj="' + it.content + '' + its.result + '" proposal="' + its.pushInfo + '" resultType="' + item.resultType + '"/>'
|
|
|
}
|
|
|
- str += its.content
|
|
|
+ str += '<span class="inp">' + its.content + '</span>'
|
|
|
if (item.resultType == 1) {
|
|
|
str += '<span class="num">(' + its.score + ')</span>'
|
|
|
}
|
|
@@ -252,7 +252,8 @@ function getcheck() {
|
|
|
if ($radio.data('waschecked') == true) {
|
|
|
$radio.prop('checked', false);
|
|
|
$("input:radio[name='" + domName + "']").data('waschecked', false);
|
|
|
- $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.radio_type').attr("disabled", false);
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('label').css("color", "#666666");
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.item-titles').css("color", "#333333");
|
|
|
if (isclick) {
|
|
|
getchecks()
|
|
|
$(".score").html('');
|
|
@@ -265,6 +266,8 @@ function getcheck() {
|
|
|
$("input:radio[name='" + domName + "']").data('waschecked', false);
|
|
|
$radio.data('waschecked', true);
|
|
|
$radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.radio_type').attr("disabled", true);
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('label').css("color", "#C7C7C7");
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.item-titles').css("color", "#C7C7C7");
|
|
|
if (isclick) {
|
|
|
getchecks()
|
|
|
$(".score").html('');
|
|
@@ -281,6 +284,8 @@ function getcheck() {
|
|
|
$radio.parents('.contentList').each(function (i) {
|
|
|
if ($(this).find('input[type="checkbox"]:checked').val() == undefined) {
|
|
|
$radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.radio_type').attr("disabled", false);
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('label').css("color", "#666666");
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.item-titles').css("color", "#333333");
|
|
|
if (isclick) {
|
|
|
getchecks()
|
|
|
$(".score").html('');
|
|
@@ -290,6 +295,8 @@ function getcheck() {
|
|
|
}
|
|
|
} else {
|
|
|
$radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.radio_type').attr("disabled", true);
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('label').css("color", "#C7C7C7");
|
|
|
+ $radio.parents('.contentList').siblings(".contentList[data-id='" + id + "']").find('.item-titles').css("color", "#C7C7C7");
|
|
|
if (isclick) {
|
|
|
getchecks()
|
|
|
$(".score").html('');
|