|
@@ -0,0 +1,171 @@
|
|
|
+<template>
|
|
|
+ <div id="dangjian">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-image style="width:100%;height:40px;" :src="left"></el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" class="topTitle">
|
|
|
+ {{ title }}
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-image style="width:100%;height:40px;" :src="right"></el-image>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="8" class="infoLeft">
|
|
|
+ <el-col :span="24" class="infoLeftTop">
|
|
|
+ <el-col :span="18" class="leftTopTitle">
|
|
|
+ <span>{{ leftTopTitle }}</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="leftTopMore">
|
|
|
+ <el-link :underline="false">更多<i class="el-icon-plus"></i></el-link>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="infoLeftList">
|
|
|
+ <el-col :span="24" class="rencaiList" v-for="(item, index) in rencaiList" :key="index">
|
|
|
+ <el-col :span="16" class="title">
|
|
|
+ <p class="textOver"><i class="el-icon-s-flag icon"></i>{{ item.title }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" class="date"> [{{ item.date }}] </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" class="infoLeft">
|
|
|
+ <el-col :span="24" class="infoLeftTop">
|
|
|
+ <el-col :span="18" class="leftTopTitle">
|
|
|
+ <span>{{ leftTopTitle }}</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="leftTopMore">
|
|
|
+ <el-link :underline="false">更多<i class="el-icon-plus"></i></el-link>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="infoLeftList">
|
|
|
+ <el-col :span="24" class="rencaiList" v-for="(item, index) in rencaiList" :key="index">
|
|
|
+ <el-col :span="16" class="title">
|
|
|
+ <p class="textOver"><i class="el-icon-s-flag icon"></i>{{ item.title }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" class="date"> [{{ item.date }}] </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" class="infoLeft">
|
|
|
+ <el-col :span="24" class="infoLeftTop">
|
|
|
+ <el-col :span="18" class="leftTopTitle">
|
|
|
+ <span>{{ leftTopTitle }}</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="leftTopMore">
|
|
|
+ <el-link :underline="false">更多<i class="el-icon-plus"></i></el-link>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="infoLeftList">
|
|
|
+ <el-col :span="24" class="rencaiList" v-for="(item, index) in rencaiList" :key="index">
|
|
|
+ <el-col :span="16" class="title">
|
|
|
+ <p class="textOver"><i class="el-icon-s-flag icon"></i>{{ item.title }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" class="date"> [{{ item.date }}] </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: 'dangjian',
|
|
|
+ props: {
|
|
|
+ rencaiList: null,
|
|
|
+ },
|
|
|
+ components: {},
|
|
|
+ data: () => ({
|
|
|
+ title: '基层党建',
|
|
|
+ left: require('@/assets/messageLeft.jpg'),
|
|
|
+ right: require('@/assets/messageRight.jpg'),
|
|
|
+ leftTopTitle: '人才建设',
|
|
|
+ }),
|
|
|
+ created() {},
|
|
|
+ computed: {},
|
|
|
+ methods: {},
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+p {
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+.textOver {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+}
|
|
|
+.icon {
|
|
|
+ color: #bd010b;
|
|
|
+ margin: 0 15px 0 0;
|
|
|
+}
|
|
|
+.top {
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ margin: 0 0 40px 0;
|
|
|
+}
|
|
|
+.top .topTitle {
|
|
|
+ font-size: 38px;
|
|
|
+ color: #bd010b;
|
|
|
+ text-align: center;
|
|
|
+ font-weight: bold;
|
|
|
+ font-family: '微软雅黑';
|
|
|
+}
|
|
|
+.info {
|
|
|
+ height: 400px;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.infoLeft {
|
|
|
+ width: 380px;
|
|
|
+ height: 400px;
|
|
|
+ overflow: hidden;
|
|
|
+ margin: 0 30px 0 0;
|
|
|
+}
|
|
|
+.infoLeftTop {
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ border-bottom: 1px solid #ccc;
|
|
|
+}
|
|
|
+.infoLeftTop .leftTopTitle span {
|
|
|
+ display: inline-block;
|
|
|
+ width: 100px;
|
|
|
+ height: 39px;
|
|
|
+ text-align: center;
|
|
|
+ border-bottom: 1px solid #bd010b;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #bd000b;
|
|
|
+}
|
|
|
+.infoLeftTop .leftTopMore {
|
|
|
+ height: 39px;
|
|
|
+ line-height: 30px;
|
|
|
+ text-align: right;
|
|
|
+ padding: 0 10px;
|
|
|
+}
|
|
|
+.rencaiList {
|
|
|
+ padding: 11px;
|
|
|
+}
|
|
|
+.rencaiList .title p {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
+.rencaiList .date {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333;
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
+.rencaiList:hover {
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.rencaiList:hover .title p {
|
|
|
+ color: #bd000b;
|
|
|
+}
|
|
|
+.rencaiList:hover .date {
|
|
|
+ color: #bd000b;
|
|
|
+}
|
|
|
+</style>
|