瀏覽代碼

结果修改

wyq 3 年之前
父節點
當前提交
c4f4284596
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/js/staticInfo.js

+ 1 - 2
src/js/staticInfo.js

@@ -448,8 +448,6 @@ function getResult(pushInfo, textType, constant) {
         $(".result_title").html('结果:' + result);
         if (num >= 0 && numType) {
           $(".score").html('总分:' + num.toFixed(2) + '分');
-          $(".result_title").html('结果:' + num.toFixed(2));
-          $(".copy").css('display', 'block')
         }
         $(".result").css('display', 'block')
         $(".score").css('display', 'block')
@@ -460,6 +458,7 @@ function getResult(pushInfo, textType, constant) {
           $(".score").html('总分:' + num.toFixed(2) + '分');
           $(".result_title").html('结果:' + num.toFixed(2));
           $(".copy").css('display', 'block')
+          $(".hel").css('display', 'block')
         }
         $(".result").css('display', 'block')
         $(".hel").css('display', 'none')