...
|
...
|
@@ -267,12 +267,12 @@ function getValue() { |
|
|
for (var i in newArr) {
|
|
|
if (newArr[i].answer == newArr[i].answer1) {
|
|
|
console.log(1111111111);
|
|
|
$("#" + (newArr[i].recommendFiveId) + 'answer' + newArr[i].answer1).css('background-color', 'green');
|
|
|
$("#" + (newArr[i].recommendFiveId) + 'answer' + newArr[i].answer1).css('background', 'url("images/radio.png") no-repeat center');
|
|
|
} else {
|
|
|
console.log(2222)
|
|
|
$("#left-yuan" + (newArr[i].recommendFiveId)).css('background-color', '#FF6F6F')
|
|
|
$("#" + (newArr[i].recommendFiveId) + 'answer' + newArr[i].answer).css('background-color', '#FF6F6F');
|
|
|
$("#" + (newArr[i].recommendFiveId) + 'answer' + newArr[i].answer1).css('background-color', 'green');
|
|
|
$("#" + (newArr[i].recommendFiveId) + 'answer' + newArr[i].answer).css('background', 'url("images/red.png") no-repeat center');
|
|
|
$("#" + (newArr[i].recommendFiveId) + 'answer' + newArr[i].answer1).css('background', 'url("images/radio.png") no-repeat center');
|
|
|
|
|
|
}
|
|
|
}
|
...
|
...
|
|