|
@@ -3,22 +3,9 @@
|
|
<navbar :user="userInfo" @openLoginDialog="openLoginDialog"></navbar>
|
|
<navbar :user="userInfo" @openLoginDialog="openLoginDialog"></navbar>
|
|
<div class="banner-box">
|
|
<div class="banner-box">
|
|
<div class="p-wrap-full clear pt30">
|
|
<div class="p-wrap-full clear pt30">
|
|
- <el-card class="training-category opacity-bg fl" style="border-radius: 20px;padding-top: -5px;" >
|
|
|
|
- <h2 align="center" style="background-color: white; color: #000000;padding-top:5px;">文件通知</h2>
|
|
|
|
- <el-table :data="postList" highlight-current-row
|
|
|
|
- :show-header="false" max-height="290px" >
|
|
|
|
- <el-table-column min-width="600px">
|
|
|
|
- <template slot-scope="{row, $index}">
|
|
|
|
- <span @click="gotoDetail(row.postId)">{{$index+1}}、{{ row.title }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column width="160px">
|
|
|
|
- <template slot-scope="{row}">
|
|
|
|
- <span>{{ row.publishTime }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- </el-card>
|
|
|
|
|
|
+ <div class="training-category opacity-bg fl ">
|
|
|
|
+ <img alt="" class="mimg" src="/static/swiper/1.jpg"/>
|
|
|
|
+ </div>
|
|
|
|
|
|
<div class="m-login opacity-bg fr">
|
|
<div class="m-login opacity-bg fr">
|
|
<is-login v-if="loginOk" :user="userInfo" @logout="logout"></is-login>
|
|
<is-login v-if="loginOk" :user="userInfo" @logout="logout"></is-login>
|
|
@@ -27,37 +14,45 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <!-- <learn-time></learn-time> -->
|
|
|
|
<div class="p-wrap-full mb20 ng-scope">
|
|
<div class="p-wrap-full mb20 ng-scope">
|
|
- <div class="title-box mt5 clear">
|
|
|
|
- <h2 class="title">课程分类</h2>
|
|
|
|
- </div>
|
|
|
|
- <el-row :gutter="20" class="shadow p10 mt20" >
|
|
|
|
- <el-col :span="+item.span" class="nopad" v-for="(item, index) in typeList" :key="index">
|
|
|
|
- <el-card shadow="hover" class="grid-content nopad " >
|
|
|
|
- <div class="mt10 typelist" @click="gotoCourse(item)">
|
|
|
|
- <i class="p-ico" :class="item.icon" style="color:#69c0ff"></i>
|
|
|
|
- <p style="font-size: 13px;">{{ item.name }}</p>
|
|
|
|
- <p class="mt10" style="font-size: 16px;" v-if="!item.isOpen">(暂未开放)</p>
|
|
|
|
- <p class="mt10" style="font-size: 16px;" v-else>{{ item.content }}</p>
|
|
|
|
|
|
+ <el-row :gutter="20" class="shadow p10 mt20" type="flex" >
|
|
|
|
+ <el-col :span="16">
|
|
|
|
+ <div class="training-category bg-white fl"
|
|
|
|
+ style="border-radius: 15px;padding: 10px; background-color: white;" >
|
|
|
|
+ <div style="display: flex;justify-content: center;align-items: center;width: 100%;text-align: center;color: #1D78F9;">
|
|
|
|
+ <img style="width: 80px;height: 4px;margin-right: 14px;" src="../../../static/images/home_left.png">
|
|
|
|
+ <h2 style="text-align: center;color: #1D78F9;">新闻通知</h2>
|
|
|
|
+ <img style="width: 80px;height: 4px;margin-left: 14px;" src="../../../static/images/home_right.png">
|
|
</div>
|
|
</div>
|
|
- </el-card>
|
|
|
|
|
|
+ <el-table :data="postList" highlight-current-row
|
|
|
|
+ :show-header="false" min-height="310px" style="overflow: hidden;" >
|
|
|
|
+ <el-table-column min-width="600px">
|
|
|
|
+ <template slot-scope="{row, $index}">
|
|
|
|
+ <span @click="gotoDetail(row.postId)">{{$index+1}}、{{ row.title }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column width="160px">
|
|
|
|
+ <template slot-scope="{row}">
|
|
|
|
+ <span>{{ row.publishTime }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
- </el-row>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="right-nav">
|
|
|
|
- <img class="right-img" src="../../assets/wxapp.jpg" alt="">
|
|
|
|
- <p>使用小程序</p>
|
|
|
|
- <p>学习更轻松</p>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <div style="background-color: #fff;padding-top: 10px;height: 360px;" class="opacity-bg fr">
|
|
|
|
+ <div style="display: flex;justify-content: center;align-items: center;">
|
|
|
|
+ <img style="width: 80px;height: 4px;margin-right: 14px;" src="../../../static/images/home_left.png">
|
|
|
|
+ <h2 style="text-align: center;color: #1D78F9;">证书查询</h2>
|
|
|
|
+ <img style="width: 80px;height: 4px;margin-left: 14px;" src="../../../static/images/home_right.png">
|
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="p-wrap-full ng-scope">
|
|
|
|
- <div class="title-box mt5 clear">
|
|
|
|
- <h2 class="title">友情链接</h2>
|
|
|
|
- </div>
|
|
|
|
- <friendlink></friendlink>
|
|
|
|
|
|
+ <div style="margin-top: 50px;text-align: center; ">
|
|
|
|
+ <el-button @click="gotoOutlink()" type="primary"> 前往证书查询 </el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<el-dialog
|
|
<el-dialog
|
|
@@ -137,8 +132,8 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getPostList(){
|
|
getPostList(){
|
|
- httpServer("course.getPostList", {page:1,type:'操作指南'}).then( res=>{
|
|
|
|
- this.postList = res.data.list
|
|
|
|
|
|
+ httpServer("course.getPostList", {page:1,type:'操作指南', size:6}).then( res=>{
|
|
|
|
+ this.postList = res.data.list.slice(0,6)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
gotoDetail(postId){
|
|
gotoDetail(postId){
|