提交 8f5e5cca authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 df9ad456
......@@ -113,7 +113,7 @@ export default {
.course-tag-item {
display: inline-block;
max-width: 100%;
height: 24px;
// height: 24px;
margin: 0 10px 10px 0;
padding: 0 15px;
background: #67a8ff;
......@@ -123,9 +123,9 @@ export default {
font-size: 13px;
color: #fff;
line-height: 24px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
// white-space: nowrap;
// text-overflow: ellipsis;
// overflow: hidden;
}
}
.more {
......
......@@ -109,7 +109,9 @@ export default {
this.searchTag(data.name)
},
searchTag(keywords) {
api.getSearchTagList({ keywords }).then(response => {
api
.getSearchTagList({ keywords, course_id: this.courseId })
.then(response => {
if (response.length) {
this.messageList.push({
id: this.genId(),
......
......@@ -24,8 +24,8 @@
</li>
</ul>
</div>
<card title="课程试听" style="padding-bottom:.12rem;">
<free-course-item v-for="item in courseList" :data="item" :key="item.course_id"></free-course-item>
<card title="课程试听" style="padding-bottom:1.2rem;">
<free-course-item v-for="(item, index) in courseList" :data="item" :key="index"></free-course-item>
</card>
</div>
</template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论