Compare commits
2 Commits
99b2cc369d
...
2eba5f0140
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2eba5f0140 | ||
|
|
1dacb5a705 |
@@ -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;
|
||||
},
|
||||
// 添加的方法 - 设备类型检测
|
||||
|
||||
Reference in New Issue
Block a user