首页样式修改
This commit is contained in:
parent
a1a518d2b9
commit
894225cfda
@ -28,7 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="bottom">
|
<div id="bottom">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-tabs v-model="activeName" @tab-click="">
|
<el-tabs v-model="activeName" @tab-click="" v-loading="tabLoading">
|
||||||
<el-tab-pane label="校园通知" name="first">
|
<el-tab-pane label="校园通知" name="first">
|
||||||
<div class="newest-notice module">
|
<div class="newest-notice module">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
@ -113,6 +113,7 @@
|
|||||||
name: "Hompage",
|
name: "Hompage",
|
||||||
data() {
|
data() {
|
||||||
return{
|
return{
|
||||||
|
tabLoading: false,
|
||||||
condition: '',
|
condition: '',
|
||||||
newestNotice: '',
|
newestNotice: '',
|
||||||
goodAdvice: '',
|
goodAdvice: '',
|
||||||
@ -175,7 +176,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.tabLoading = true;
|
||||||
this.$ajax.post("/hs/getAllContent",{},r=>{
|
this.$ajax.post("/hs/getAllContent",{},r=>{
|
||||||
|
this.tabLoading = false;
|
||||||
this.newestNotice = r.schoolNoticeList.slice(0,12);
|
this.newestNotice = r.schoolNoticeList.slice(0,12);
|
||||||
this.goodAdvice = r.parentAdvice.slice(0,12);
|
this.goodAdvice = r.parentAdvice.slice(0,12);
|
||||||
this.magicalThinking = r.studentThinking.slice(0,12);
|
this.magicalThinking = r.studentThinking.slice(0,12);
|
||||||
|
Loading…
Reference in New Issue
Block a user