* 优化主界面背景色为白色、输入框自适应高度、文件名宽度自适应
This commit is contained in:
parent
731e78f7ba
commit
caa7bdce65
|
@ -6,6 +6,7 @@
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="file-list">
|
<div class="file-list">
|
||||||
<div v-for="file in files" :key="file" @click="setNowText(file)"
|
<div v-for="file in files" :key="file" @click="setNowText(file)"
|
||||||
|
:title=file
|
||||||
:class="['file', nowFile===file?'selected':'', isAnnoDic[`${projectName}_${file}`]||(nersCache[file]&&nersCache[file].length)?'checked':'', ].join(' ')"
|
:class="['file', nowFile===file?'selected':'', isAnnoDic[`${projectName}_${file}`]||(nersCache[file]&&nersCache[file].length)?'checked':'', ].join(' ')"
|
||||||
>
|
>
|
||||||
{{ file }}
|
{{ file }}
|
||||||
|
@ -679,6 +680,7 @@ export default {
|
||||||
flex: 1 1;
|
flex: 1 1;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
height: calc(100% - 92px);
|
height: calc(100% - 92px);
|
||||||
|
background: white;
|
||||||
}
|
}
|
||||||
.title {
|
.title {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
|
@ -693,6 +695,10 @@ export default {
|
||||||
.left .file {
|
.left .file {
|
||||||
margin: 12px 0;
|
margin: 12px 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.left .file.checked {
|
.left .file.checked {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -813,6 +819,7 @@ export default {
|
||||||
margin: 14px;
|
margin: 14px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
overflow: auto;
|
||||||
/* font-size: 0; */
|
/* font-size: 0; */
|
||||||
}
|
}
|
||||||
.ner-box .word {
|
.ner-box .word {
|
||||||
|
|
Loading…
Reference in New Issue