This commit is contained in:
670788339
2025-10-31 18:10:32 +08:00
parent b3756280cf
commit 03b3c61c6b
2 changed files with 5 additions and 3 deletions

View File

@@ -606,6 +606,8 @@ export default {
console.log("父组件:",tags) console.log("父组件:",tags)
// 限制最多5个标签 // 限制最多5个标签
if (tags.length > 5) { if (tags.length > 5) {
console.log("最多只能选择5个标签 tags : ",this.courseInfo.tags)
console.log("最多只能选择5个标签 showTags : ",this.showTags)
this.$message.warning('最多只能选择5个标签') this.$message.warning('最多只能选择5个标签')
return return
} }

View File

@@ -312,9 +312,9 @@
</a> </a>
<!-- 修改热点标签区域 --> <!-- 修改热点标签区域 -->
<div style="margin-top:10px;flex: 1;"> <div style="margin-top:10px;flex: 1;">
<div class="search-item-type" style="padding-top: 2px; float: left;"> <!-- <div class="search-item-type" style="padding-top: 2px; float: left;">
<span class="item-title" style="padding-right: 5px;">热点标签:</span> <span class="item-title" style="padding-right: 5px;">热点标签:</span>
</div> </div>-->
<!-- 修改热点标签容器支持换行 --> <!-- 修改热点标签容器支持换行 -->
<div class="hot-tags-wrapper"> <div class="hot-tags-wrapper">
<div <div
@@ -2687,7 +2687,7 @@ a.custom2 {
color: white !important; color: white !important;
} }
* 添加热点标签容器样式支持换行 */ /* 添加热点标签容器样式,支持换行 */
.hot-tags-wrapper { .hot-tags-wrapper {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;