Explorar o código

完美完成网站考评样式

hyx %!s(int64=2) %!d(string=hai) anos
pai
achega
5ba747a004
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      nngkxxdp/src/main/resources/static/wzkp/wzkp.html

+ 5 - 5
nngkxxdp/src/main/resources/static/wzkp/wzkp.html

@@ -2381,7 +2381,7 @@
                     , {field: 'totalScore', title: '总分(基础分/加分)', width: 200}
                     , {type: 'numbers', title: '排名', width: 120}
                     , {field: 'sign', title: '环比上月排名', width: 150, templet: rankingMonth}
-                    , {field: 'addScore', title: addBasic(), templet: progressTemplet}
+                    , {field: 'addScore', align:'center',title: addBasic(), templet: progressTemplet}
                 ]]
                 , data: dataList1
                 , done: function (res, curr, count) {
@@ -2407,7 +2407,7 @@
                     , {field: 'totalScore', title: '总分(基础分/加分)', width: 200}
                     , {type: 'numbers', title: '排名', width: 120}
                     , {title: '环比上' + china + '排名', width: 150}
-                    , {field: 'addScore', title: addBasic(), templet: progressTemplet}
+                    , {field: 'addScore',align:'center', title: addBasic(), templet: progressTemplet}
                 ]]
                 , data: dataList1
                 , done: function (res, curr, count) {
@@ -2419,14 +2419,14 @@
 
     function addBasic() {
         let html = '<div>';
-        html += '<div style="float:left;margin-top:10px;width:30px;height:10px;border-radius:5px;background-color:#2666C5;">';
+        html += '<div style="float:left;margin-top:10px;margin-left:40px;width:30px;height:10px;border-radius:5px;background-color:#2666C5;">';
         html += '</div>';
-        html += '<div style="float:left;">';
+        html += '<div style="float:left;margin-left:10px;">';
         html += '基础分';
         html += '</div>';
         html += '<div style="float:left;margin-top:10px;margin-left:70px;width:30px;height:10px;border-radius:5px;background-color:#DBBC42;">';
         html += '</div>';
-        html += '<div style="float:left;">';
+        html += '<div style="float:left;margin-left:10px;">';
         html += '加分';
         html += '</div>';
         html += '</div>';