diff --git a/src/views/portal/course/qualityCourse.vue b/src/views/portal/course/qualityCourse.vue
index 7987a962..d6fc4260 100644
--- a/src/views/portal/course/qualityCourse.vue
+++ b/src/views/portal/course/qualityCourse.vue
@@ -69,7 +69,7 @@
-
+
-
+
@@ -217,7 +217,7 @@
- 暂无课程,请优先学习其它课程吧~
+ 当前分类下暂未标记精品课
{
- if (item.checked) {
- list.push(item);
- }
- });
+ // 取消 全部 内部专享 外部精选 三种的显示
+ // this.ctypeList.forEach(item => {
+ // if (item.checked) {
+ // list.push(item);
+ // }
+ // });
this.oneList.forEach(one => {
var twoChildChecked = false;//是否有下级
one.children.forEach(two => {
@@ -479,10 +481,9 @@ export default {
mounted() {
qualityCourseTimeMark().then(response=>{
- console.log(`qualityCourseTimeMark`, response)
this.years = response.data.result
})
- let screenWidth = window.screen.availWidth;
+ // let screenWidth = window.screen.availWidth;
// if (screenWidth < 1280) {
// this.course.pageSize = 9;
// this.columns = 3;
@@ -644,6 +645,7 @@ export default {
},
//搜索条件
stagClose(tag, tagIndex) {
+ this.courseChosen = void 0;
tag.checked = false;
if (tag.type == 0) {
this.keyword = '';
@@ -689,9 +691,10 @@ export default {
handleClearTags() {
//清空所有的条件
this.keyword = '';
- this.ctypeList.forEach(item => {
- item.checked = false;
- });
+ // 取消搜索条件标签展示
+ // this.ctypeList.forEach(item => {
+ // item.checked = false;
+ // });
this.oneList.forEach(one => {
one.checked = false;
one.children.forEach(two => {
@@ -701,6 +704,8 @@ export default {
})
})
});
+ // 清除左侧被选中的内容
+ this.courseChosen = void 0;
this.twoList = [];
this.threeList = [];
this.navTitle = [];
@@ -921,7 +926,6 @@ export default {
// 头部
emitInput(val) {
this.keyword = val;
- //this.stagList;
this.searchData();
},
@@ -2108,7 +2112,7 @@ export default {
.search-div {
background: #fff;
- padding: 10px 0;
+ padding: 10px 15px;
border-radius: 8px;
::v-deep .el-input {