|
@@ -207,7 +207,7 @@ function renderContentscale(list, contentWrapClassName, name) {
|
|
|
str = '<div class="scalebot">'
|
|
|
str += '<button class="but">结果</button><p class="score"></p>'
|
|
|
str += '</div>'
|
|
|
- str += `<div class="result"><div class="result_box"><div class="result_left"><img src="./../images/icon-hel.png" class="hel"/><span>结果:</span></div><p id="result_title" class="result_title"></p><textarea id="inputs"></textarea></div></div>`
|
|
|
+ str += `<div class="result"><div class="result_box"><div class="result_left"><img src="./../images/icon-hel.png" class="hel"/><p id="result_title" class="result_title"></p></div><textarea id="inputs"></textarea></div></div>`
|
|
|
str += `<div class="foot"><div class="foot_box"><div class="printing"><img src="./../images/printing.png" class="slideImg"/>打印</div><div class="copy">确认并复制结果</div></div></div>`
|
|
|
$(`.${contentWrapClassName} .infos .infos-box`).append(str);
|
|
|
function addScrollEvent() {
|
|
@@ -241,6 +241,9 @@ function getprinting() {
|
|
|
}).print();
|
|
|
$('.foot').show()
|
|
|
$('.scalebot').show()
|
|
|
+ $('#Print').css({
|
|
|
+ 'height': '100%', //高度自动
|
|
|
+ }).print();
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -424,7 +427,7 @@ function getResult(pushInfo) {
|
|
|
$(".hel").attr({
|
|
|
"title": proposal
|
|
|
});
|
|
|
- $(".result_title").html(result);
|
|
|
+ $(".result_title").html('结果:'+result);
|
|
|
if (num > 0) {
|
|
|
$(".score").html('总分:' + num + '分');
|
|
|
}
|