Kaynağa Gözat

删除评估内容头部名字

wyq 4 yıl önce
ebeveyn
işleme
f447b10204
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 1 1
      src/css/staticInfo.less
  2. 3 3
      src/js/staticInfo.js

+ 1 - 1
src/css/staticInfo.less

@@ -253,7 +253,7 @@
 .tabBox .title{
   display: block;
   font-size: 20px;
-  font-weight: 500;
+  font-weight: bold;
   color: rgba(0, 0, 0, 0.85);
   line-height: 28px;
   margin: 26px 0 14px 0;

+ 3 - 3
src/js/staticInfo.js

@@ -117,8 +117,8 @@ function renderContentscale(list, contentWrapClassName, name) {
   var textType = []
   // anchors = '<li><i></i><a href="#' + contentWrapClassName +
   //   '">' + name + '</a></li><li class="anchor-line"></li>';
-  str = '<p class="scaletitle">' + name + '</p>'
-  $(`.${contentWrapClassName} .infos .infos-box`).append(str);
+  // str = '<p class="scaletitle">' + name + '</p>'
+  // $(`.${contentWrapClassName} .infos .infos-box`).append(str);
   // $(`.${contentWrapClassName} .anchors ul`).append(anchors);
   for (var i = 0; i < list[0].detailList.length; i++) {
     var item = list[0].detailList[i];
@@ -332,7 +332,7 @@ function getResult(pushInfo, textType) {
       $(".hel").attr({
         "title": result
       });
-      $(".result_title").html(result);
+      $(".result_title").html(result +'('+ num +')');
       if ($.inArray(13, textType)>0){
         $(".score").html('总分:' + num + '分');
       }