Browse Source

Merge branch 'dynamicScale0903' into testNew

wyq 3 years atrás
parent
commit
fbf2984472
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/js/staticInfo.js

+ 4 - 0
src/js/staticInfo.js

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