fix(dashboard): 修正表头斜线分割文字位置,左上"区域"右下"特码"
This commit is contained in:
@@ -92,7 +92,7 @@ define(['jquery'], function ($) {
|
|||||||
// 区域转移概率
|
// 区域转移概率
|
||||||
if (zt && zt.matrix && zt.matrix.length > 0) {
|
if (zt && zt.matrix && zt.matrix.length > 0) {
|
||||||
html += '<div class="dash-section"><h4>🔄 区域转移概率</h4><div style="font-size:12px;color:#999;margin-bottom:8px;">当前共 ' + zt.total_transitions + ' 次区域转移 | 行=上一期特码所在区域,列=下一期特码所在区域</div>';
|
html += '<div class="dash-section"><h4>🔄 区域转移概率</h4><div style="font-size:12px;color:#999;margin-bottom:8px;">当前共 ' + zt.total_transitions + ' 次区域转移 | 行=上一期特码所在区域,列=下一期特码所在区域</div>';
|
||||||
html += '<table class="table table-bordered table-condensed text-center" style="max-width:600px;margin:0 auto;"><thead><tr><th style="width:80px;position:relative;"><div style="width:100%;height:35px;border-bottom:1px solid #e5e5e5;position:relative;"><span style="position:absolute;bottom:2px;right:5px;font-size:12px;">特码</span><span style="position:absolute;top:2px;left:5px;font-size:12px;">区域</span></div></th>';
|
html += '<table class="table table-bordered table-condensed text-center" style="max-width:600px;margin:0 auto;"><thead><tr><th style="width:80px;position:relative;"><div style="width:100%;height:35px;border-bottom:1px solid #e5e5e5;position:relative;"><span style="position:absolute;bottom:2px;right:5px;font-size:12px;">区域</span><span style="position:absolute;top:2px;left:5px;font-size:12px;">特码</span></div></th>';
|
||||||
for (var z = 0; z < zt.zones.length; z++) {
|
for (var z = 0; z < zt.zones.length; z++) {
|
||||||
html += '<th>' + zt.zones[z] + '</th>';
|
html += '<th>' + zt.zones[z] + '</th>';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user