This commit is contained in:
shijingjing
2022-03-14 17:13:28 +08:00
parent 983443dc67
commit 964e2b9576

View File

@@ -32,10 +32,9 @@
<img src="./components/img/tsrq备份@2x.png" alt="" v-if="tabIndex==index && index != 0"> <img src="./components/img/tsrq备份@2x.png" alt="" v-if="tabIndex==index && index != 0">
<img src="./components/img/tsrq@2x.png" alt="" v-if="tabIndex!=index && index != 0"> <img src="./components/img/tsrq@2x.png" alt="" v-if="tabIndex!=index && index != 0">
</div> </div>
<!-- <img :src="tabIndex == index ? './components/img/tsrq@2x.png' : './components/img/tsrq备份@2x.png'" alt="" v-else> -->
<p v-if="index==0">{{item.name}}</p> <p v-if="index==0">{{item.name}}</p>
<p v-else>{{item.applicationName}}</p> <p v-else class="type">{{item.applicationName}}</p>
</div> </div>
</div> </div>
<!-- 基本信息 --> <!-- 基本信息 -->
@@ -307,6 +306,12 @@ export default {
margin-top: 8px; margin-top: 8px;
} }
} }
.type {
padding: 0 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space:nowrap;
}
.active{ .active{
background-color: #357CE3; background-color: #357CE3;
p{ p{