Compare commits

2 Commits

Author SHA1 Message Date
DESKTOP-AD8UBUJ\ling
2eba5f0140 Merge branch 'main' of http://8.130.49.250:3000/admin/gr_bi_web 2026-03-12 16:48:31 +08:00
DESKTOP-AD8UBUJ\ling
1dacb5a705 序号列宽固定 2026-03-12 16:46:18 +08:00

View File

@@ -5,7 +5,7 @@
<div class="title">
<div
v-if="isIndex"
:style="[headerTableStyle, tableRowHeight()]">
:style="[headerTableStyle,{width:'50px',flexShrink: 0}, tableRowHeight()]">
序号
</div>
<div v-for="(item, index) in header" :key="index"
@@ -18,9 +18,11 @@
<ul class="infoList">
<li v-for="(item, index) in list" :key="index" :style="tableRowHeight()">
<div
@mouseenter="handleMouseSeen(index, -1)" @mouseleave="handleMouseLeave"
v-if="isIndex"
:style="[
bodyTableStyle,
tableReadColor(index, -1),{width:'50px',flexShrink: 0},
bodyTable(index),
tableRowHeight()
]"
@@ -376,8 +378,9 @@ export default {
tableReadColor(index, idx){
let styleJson = {};
if (this.optionsSetUp.is_read_mode && (this.hoverIndex.index === index || this.hoverIndex.idx === idx)) {
styleJson["background-color"] = this.optionsSetUp.read_color;
styleJson["background-color"] = this.optionsSetUp.read_color;console.log(styleJson["background-color"],this.hoverIndex,1231231)
}
return styleJson;
},
// 添加的方法 - 设备类型检测