mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
调整
This commit is contained in:
@@ -27,9 +27,9 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<!-- 添加标签计数显示 -->
|
<!-- 添加标签计数显示 -->
|
||||||
</div>
|
<div class="tag-count">
|
||||||
<div class="tag-count">
|
{{ selectedTags.length }}/5
|
||||||
{{ selectedTags.length }}/5
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -309,15 +309,20 @@ export default {
|
|||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 添加标签计数样式 */
|
||||||
.tag-count {
|
.tag-count {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 50%;
|
top: 30%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-40%);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999;
|
color: #999;
|
||||||
background: white;
|
background: white;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
/* 添加高度限制 */
|
||||||
|
height: 25px;
|
||||||
|
line-height: 25px; /* 垂直居中文字 */
|
||||||
|
box-sizing: border-box; /* 确保padding包含在height内 */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user