Authored by 王水玲

星潮教室

... ... @@ -9,6 +9,7 @@
// const channelModel = require('../models/channel');
const mRoot = '../models';
const _ = require('lodash');
// const helpers = require(`${library}/helpers`);
// const log = require(`${library}/logger`);
const headerModel = require('../../../doraemon/models/header');
... ... @@ -30,7 +31,7 @@ exports.index = (req, res) => {
pageFooter: true
};
starModel.getIndexData().then((result) => {
starModel.getIndexData().then(() => {
res.render('star/index', _.assign(headerData, renderData, {
content: '',
headTab: [
... ...
... ... @@ -10,6 +10,7 @@ const resourcesProcess = require(`${utils}/resources-process`);
const ServiceAPI = require(`${library}/api`).ServiceAPI;
const sign = require(`${library}/sign`);
const logger = require(`${library}/logger`);
const serviceAPI = new ServiceAPI();
/**
* 获取资源位数据
... ... @@ -40,5 +41,5 @@ const getResources = (page) => {
* 星潮首页
*/
exports.getIndexData = () => {
};
\ No newline at end of file
getResources('index');
};
... ...
@import "star/index";
\ No newline at end of file
@import "star/index";
... ...
@import "star";
\ No newline at end of file
@import "star";
... ...
... ... @@ -35,11 +35,11 @@
font-size: 30px;
a {
color: #b0b0b0;
display: inline-block;
color: #b0b0b0;
display: inline-block;
}
&.cur a{
&.cur a {
color: #fff;
}
}
... ... @@ -104,14 +104,3 @@
}
}
/*.yoho-header .nav-title {
font-weight: normal;
}
.star-class-body {
background: #333;
width: 100%;
font: 12px/1.5 Arial,'黑体';
float: left;
}*/
... ...