|
@@ -65,8 +65,8 @@
|
|
<h2 class="title">教育培训</h2>
|
|
<h2 class="title">教育培训</h2>
|
|
</div>
|
|
</div>
|
|
<el-row :gutter="20" class="shadow p10 mt20" >
|
|
<el-row :gutter="20" class="shadow p10 mt20" >
|
|
- <el-col :span="+item.span" class="nopad" v-for="(item, index) in typeList" :key="index" v-if="item.isNew==1">
|
|
|
|
- <el-card shadow="hover" class="grid-content nopad " >
|
|
|
|
|
|
+ <el-col :span="+item.span" class="nopad" style="flex:1" v-for="(item, index) in typeList" :key="index" v-if="item.isNew==1">
|
|
|
|
+ <el-card shadow="hover" class="grid-content nopad" >
|
|
<div class="mt10 typelist" @click="gotoCourse(item)">
|
|
<div class="mt10 typelist" @click="gotoCourse(item)">
|
|
<i class="p-ico" :class="item.icon" style="color:#69c0ff"></i>
|
|
<i class="p-ico" :class="item.icon" style="color:#69c0ff"></i>
|
|
<p style="font-size: 13px;">{{ item.name }}</p>
|
|
<p style="font-size: 13px;">{{ item.name }}</p>
|
|
@@ -152,10 +152,8 @@ export default {
|
|
created(){
|
|
created(){
|
|
this.getPostList()
|
|
this.getPostList()
|
|
this.loginOk = false
|
|
this.loginOk = false
|
|
- console.log("created", this.userInfo);
|
|
|
|
if( this.userInfo && this.userInfo.token && this.userInfo.uid){
|
|
if( this.userInfo && this.userInfo.token && this.userInfo.uid){
|
|
this.loadBaseInfo().then(res=>{
|
|
this.loadBaseInfo().then(res=>{
|
|
- console.log("loadBaseInfo", res);
|
|
|
|
if( !res || !res.uid ){
|
|
if( !res || !res.uid ){
|
|
this.loginOk = false
|
|
this.loginOk = false
|
|
this.doLogout()
|
|
this.doLogout()
|
|
@@ -163,8 +161,6 @@ export default {
|
|
this.loginOk = true
|
|
this.loginOk = true
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
- console.log("loadBaseInfo", this.userInfo.uid,this.userInfo.token );
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|