|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="page">
|
|
<div class="page">
|
|
|
<div class="contet">
|
|
<div class="contet">
|
|
|
|
|
+ <div class="news-title">
|
|
|
|
|
+ <div class="news-text">公司资讯</div>
|
|
|
|
|
+ </div>
|
|
|
<div class="news-info" v-for="item in list" :key="item.id" @click="goDetail(item)">
|
|
<div class="news-info" v-for="item in list" :key="item.id" @click="goDetail(item)">
|
|
|
<div class="text1">{{ item.title }}</div>
|
|
<div class="text1">{{ item.title }}</div>
|
|
|
<div class="text2">{{ item.createdAt }}</div>
|
|
<div class="text2">{{ item.createdAt }}</div>
|
|
@@ -55,10 +58,31 @@ function goDetail(info) {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
|
|
+.news-title {
|
|
|
|
|
+ height: 120px;
|
|
|
|
|
+ .f();
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ .news-text {
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: #00d80a;
|
|
|
|
|
+ line-height: 29px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ &::after {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ width: 61px;
|
|
|
|
|
+ height: 3px;
|
|
|
|
|
+ background: #00d80a;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ bottom: -11px;
|
|
|
|
|
+ left: 50%;
|
|
|
|
|
+ margin-left: -30px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
.page {
|
|
.page {
|
|
|
background-color: #f3f3f3;
|
|
background-color: #f3f3f3;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
- padding: 39px 135px 0;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.contet {
|
|
.contet {
|
|
@@ -66,13 +90,13 @@ function goDetail(info) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.news-info {
|
|
.news-info {
|
|
|
- height: 148px;
|
|
|
|
|
|
|
+ height: 111px;
|
|
|
.f();
|
|
.f();
|
|
|
padding: 0 89px 0 100px;
|
|
padding: 0 89px 0 100px;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
.text1 {
|
|
.text1 {
|
|
|
- font-size: 30px;
|
|
|
|
|
|
|
+ font-size: 18px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
color: #11140a;
|
|
color: #11140a;
|
|
|
line-height: 29px;
|
|
line-height: 29px;
|
|
@@ -84,15 +108,13 @@ function goDetail(info) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.text2 {
|
|
.text2 {
|
|
|
- font-size: 30px;
|
|
|
|
|
|
|
+ font-size: 18px;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
|
line-height: 29px;
|
|
line-height: 29px;
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- &:not(:last-child) {
|
|
|
|
|
- border-bottom: 1px solid #f8f8f8;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ border-top: 1px solid #f8f8f8;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
.pagination {
|
|
@@ -104,10 +126,4 @@ function goDetail(info) {
|
|
|
// --el-pagination-hover-color
|
|
// --el-pagination-hover-color
|
|
|
// }
|
|
// }
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-@media screen and(max-width:1600px) {
|
|
|
|
|
- .page {
|
|
|
|
|
- padding: 39px 60px;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
</style>
|
|
</style>
|