首页-企业标准发布标题new改为红点

This commit is contained in:
zyn
2023-11-10 11:16:14 +08:00
parent 4827328ba1
commit f29775ae97
+13 -2
View File
@@ -24,9 +24,10 @@
<releaseUs></releaseUs>
</el-tab-pane>
<el-tab-pane name="releaseBuss" style="overflow-y: auto;height: 100%">
<span slot="label"><i class="el-icon-s-promotion"></i>
<span slot="label" style="position: relative"><i class="el-icon-s-promotion"></i>
企业标准发布
<img v-if="isNew" src="/static/images/new.png" style="width: 30px;margin-left: 5px">
<span v-if="isNew" class="more-doc"></span>
<!--<img v-if="isNew" src="/static/images/new.png" style="width: 30px;margin-left: 5px">-->
</span>
<releaseBuss></releaseBuss>
</el-tab-pane>
@@ -244,4 +245,14 @@ export default {
background: #FFFFFF;
}
}
.more-doc {
width: 5px;
height: 5px;
display: inline-block;
background: #D81E06;
border-radius: 50%;
position: absolute;
top: -2px;
right: -8px;
}
</style>