Authored by zhangxiaoru

资讯首页

... ... @@ -8,7 +8,7 @@
const index = (req, res) => {
var pageNum = req.query.page || 1;
// var pageNum = req.query.page || 1;
res.render('index', {
module: 'editorial',
... ...
... ... @@ -10,8 +10,8 @@ module.exports = app => {
app.use('/partial', require('./apps/partial')); // 组件demo
// 业务模块
//app.use('/passport', require('./apps/passport'));
// app.use('/passport', require('./apps/passport'));
//资讯
// 资讯
app.use('/editorial', require('./apps/editorial'));
};
... ...
... ... @@ -19,7 +19,7 @@
text-align: center;
font-size: 14px;
display: list-item;
list-style-type:none;
list-style-type: none;
color: #999;
a {
... ... @@ -37,6 +37,6 @@
}
}
}
}
@import "msg";
... ...
... ... @@ -2,30 +2,33 @@
margin-top: 40px;
margin-left: 110px;
}
.msg-left{
.msg-left {
position: relative;
float: left;
width: 200px;
height: 30px;
margin-right: 80px;
line-height: 30px;
text-align:center;
text-align: center;
border-bottom: 1px solid #bbb;
}
.msg-right {
float: left;
width: 643px;
border-bottom: 1px solid #eeeeee;
border-bottom: 1px solid #eee;
margin-top: 2px;
padding-bottom: 5px;
}
.msg-title {
font-size: 20px;
color: #333;
line-height: 30px;
max-height: 64px;
word-wrap: break-word;
overflow : hidden;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
... ... @@ -45,7 +48,7 @@
word-wrap: break-word;
margin-top: 10px;
margin-bottom: 10px;
overflow : hidden;
overflow: hidden;
word-wrap: break-word;
text-overflow: ellipsis;
display: -webkit-box;
... ... @@ -79,6 +82,7 @@
cursor: pointer;
font-size: 14px;
}
.like-num {
font-weight: normal;
}
... ...