|
@@ -6,11 +6,7 @@
|
|
|
<el-carousel trigger="click" style="width: 100%; height: 300px">
|
|
|
<el-carousel-item v-for="item in bannerList" :key="item.id">
|
|
|
<!-- <h3 class="small">{{ item }}</h3> -->
|
|
|
- <img
|
|
|
- class="imgS"
|
|
|
- src=""
|
|
|
- alt=""
|
|
|
- />
|
|
|
+ <img class="imgS" :src="item.poster" alt="" />
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
</div>
|
|
@@ -106,7 +102,7 @@
|
|
|
<div>{{ item.typename }}</div>
|
|
|
</el-tooltip>
|
|
|
|
|
|
- <div style="min-width: 50px;">
|
|
|
+ <div style="min-width: 50px">
|
|
|
{{ JSON.parse(item.chapters).length }}阶段
|
|
|
</div>
|
|
|
</div>
|
|
@@ -199,7 +195,7 @@ export default {
|
|
|
typeb: "",
|
|
|
typed: "",
|
|
|
typeE: [],
|
|
|
- loading:"",
|
|
|
+ loading: "",
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -247,7 +243,7 @@ export default {
|
|
|
this.typeE.splice(this.typeE.indexOf(typeid), 1);
|
|
|
} else {
|
|
|
this.typeE.push(typeid);
|
|
|
- if(this.typea != ""){
|
|
|
+ if (this.typea != "") {
|
|
|
this.typea = "";
|
|
|
}
|
|
|
}
|
|
@@ -267,7 +263,7 @@ export default {
|
|
|
this.typeE.splice(this.typeE.indexOf(typeid), 1);
|
|
|
} else {
|
|
|
this.typeE.push(typeid);
|
|
|
- if(this.typeb != ""){
|
|
|
+ if (this.typeb != "") {
|
|
|
this.typeb = "";
|
|
|
}
|
|
|
}
|
|
@@ -287,7 +283,7 @@ export default {
|
|
|
this.typeE.splice(this.typeE.indexOf(typeid), 1);
|
|
|
} else {
|
|
|
this.typeE.push(typeid);
|
|
|
- if(this.typed != ""){
|
|
|
+ if (this.typed != "") {
|
|
|
this.typed = "";
|
|
|
}
|
|
|
}
|
|
@@ -307,7 +303,7 @@ export default {
|
|
|
selectAll() {
|
|
|
this.zoneListId = 0;
|
|
|
this.isListAjax = true;
|
|
|
- if(!this.loading){
|
|
|
+ if (!this.loading) {
|
|
|
this.loading = this.openLoading(document.querySelector(".main_box"));
|
|
|
}
|
|
|
let params = {
|
|
@@ -327,7 +323,7 @@ export default {
|
|
|
.get(this.$store.state.api + "selectTypeCourse", params)
|
|
|
.then((res) => {
|
|
|
this.loading.close();
|
|
|
- this.loading = ''
|
|
|
+ this.loading = "";
|
|
|
this.isListAjax = false;
|
|
|
this.zoneClass = res.data[0];
|
|
|
this.total = res.data[0].length ? res.data[0][0].num : 0;
|
|
@@ -454,7 +450,7 @@ export default {
|
|
|
flex-wrap: nowrap;
|
|
|
margin: 0px 1% 20px;
|
|
|
width: 300px;
|
|
|
- height:260px;
|
|
|
+ height: 260px;
|
|
|
/*border: 1px solid #cecece; */
|
|
|
border-radius: 10px;
|
|
|
overflow: hidden;
|
|
@@ -591,8 +587,12 @@ export default {
|
|
|
.cName {
|
|
|
cursor: pointer;
|
|
|
margin: 0 10px;
|
|
|
- color: #B9B6B9;
|
|
|
- min-width: 50px;
|
|
|
+ color: #b9b6b9;
|
|
|
+ min-width: 80px;
|
|
|
+ width: 80px;
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
}
|
|
|
|
|
|
.reBox {
|
|
@@ -604,7 +604,7 @@ export default {
|
|
|
width: 90%;
|
|
|
border-radius: 5px;
|
|
|
padding-left: 20px;
|
|
|
- min-width: 1050px;
|
|
|
+ min-width: 1490px;
|
|
|
}
|
|
|
.reTop {
|
|
|
padding: 20px 0 0 0;
|