File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1010 <el-tab-pane v-for =" item in view" :key =" item.path" :name =" item.path" >
1111 <template #label >
1212 <el-tooltip :content =" item.path" >
13- <div >{{ item.path.split('/').pop() }}</div >
13+ <div class = " label " :class = " item.diff ? 'diff' : '' " >{{ item.path.split('/').pop() }}</div >
1414 </el-tooltip >
1515 </template >
1616
@@ -106,6 +106,25 @@ body,
106106 .el-tabs__nav {
107107 border-top : none ;
108108 border-radius : 0 ;
109+
110+ .el-tabs__item {
111+ .label {
112+ & ::after {
113+ content : ' ' ;
114+ display : inline-block ;
115+ width : 8px ;
116+ height : 8px ;
117+ border-radius : 50% ;
118+ margin-left : 4px ;
119+ }
120+
121+ & .diff {
122+ & ::after {
123+ background-color : var (--el-text-color-placeholder );
124+ }
125+ }
126+ }
127+ }
109128 }
110129
111130 .el-tabs__new-tab {
You can’t perform that action at this time.
0 commit comments