Commit 14e4c6ef by bert

初步完成测试自动构建

parent 1bfd8d7b
...@@ -6,23 +6,23 @@ const tableList = [ ...@@ -6,23 +6,23 @@ const tableList = [
docid: "16112285443883430307", docid: "16112285443883430307",
images: [{ images: [{
height: "533", height: "533",
img: "http://img.cbs.baidu.com/imagecache/reader/mid/5/1/7/5170f148dbd81ecb680dd385cfd0c333.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}, { }, {
height: "300", height: "300",
img: "http://img.cbs.baidu.com/imagecache/reader/mid/8/e/6/8e62b06541d752bd3719107a1f5f0496.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,300", imgsize: "400,300",
width: "400" width: "400"
}, { }, {
height: "533", height: "533",
img: "http://img.cbs.baidu.com/imagecache/reader/mid/f/9/2/f92664dedc81ce5c2d83c28aeff66eed.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}], }],
images_bos: [{ images_bos: [{
height: "533", height: "533",
img: "http://image.cbs.baidu.com/news_topic/5170f148dbd81ecb680dd385cfd0c333.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}, { }, {
...@@ -36,7 +36,7 @@ const tableList = [ ...@@ -36,7 +36,7 @@ const tableList = [
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}], }],
img: "http://img.cbs.baidu.com/imagecache/reader/mid/5/1/7/5170f148dbd81ecb680dd385cfd0c333.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
keyword: "", keyword: "",
link: "http://news.ifeng.com/a/20160629/49259851_0.shtml", link: "http://news.ifeng.com/a/20160629/49259851_0.shtml",
...@@ -905,7 +905,7 @@ const simpleObject = { ...@@ -905,7 +905,7 @@ const simpleObject = {
docid: "16112285443883430307", docid: "16112285443883430307",
images: [{ images: [{
height: "533", height: "533",
img: "http://img.cbs.baidu.com/imagecache/reader/mid/5/1/7/5170f148dbd81ecb680dd385cfd0c333.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}, { }, {
...@@ -921,7 +921,7 @@ const simpleObject = { ...@@ -921,7 +921,7 @@ const simpleObject = {
}], }],
images_bos: [{ images_bos: [{
height: "533", height: "533",
img: "http://image.cbs.baidu.com/news_topic/5170f148dbd81ecb680dd385cfd0c333.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}, { }, {
...@@ -935,7 +935,7 @@ const simpleObject = { ...@@ -935,7 +935,7 @@ const simpleObject = {
imgsize: "400,533", imgsize: "400,533",
width: "400" width: "400"
}], }],
img: "http://img.cbs.baidu.com/imagecache/reader/mid/5/1/7/5170f148dbd81ecb680dd385cfd0c333.jpg", img: "036d359e367f70a74e54cc4bdc7607ad.jpg",
imgsize: "400,533", imgsize: "400,533",
keyword: "", keyword: "",
link: "http://news.ifeng.com/a/20160629/49259851_0.shtml", link: "http://news.ifeng.com/a/20160629/49259851_0.shtml",
......
// 纯数据展现情况列表 // 纯数据展现情况列表
import React from 'react'; import React from 'react';
import FeatureSetConfig from '../component/FeatureSetConfig'; import FeatureSetConfig from '../components/FeatureSetConfig';
import Immutable from 'immutable'; // import Immutable from 'immutable';
import Reqwest from 'reqwest'; // import Reqwest from 'reqwest';
import testData from '../common/test-data'; import testData from '../common/test-data';
......
...@@ -18,5 +18,10 @@ module.exports = [ ...@@ -18,5 +18,10 @@ module.exports = [
key: 'test2', key: 'test2',
name: '404错误', name: '404错误',
icon: 'setting' icon: 'setting'
},
{
key: 'feature1',
name: 'Feature1',
icon: 'poweroff'
} }
] ]
...@@ -4,6 +4,7 @@ import App from '../views/App'; ...@@ -4,6 +4,7 @@ import App from '../views/App';
import Home from '../views/Home'; import Home from '../views/Home';
import Login from '../views/Login'; import Login from '../views/Login';
import Test from '../views/Test'; import Test from '../views/Test';
import Feature1 from '../feature/Feature1';
import NotFound from '../components/NotFound'; import NotFound from '../components/NotFound';
function validate() { function validate() {
...@@ -19,6 +20,7 @@ const Routes = ({ history }) => ...@@ -19,6 +20,7 @@ const Routes = ({ history }) =>
<Route path="home" component={Home}/> <Route path="home" component={Home}/>
<Route path="app" component={App}/> <Route path="app" component={App}/>
<Route path="test" component={Test}/> <Route path="test" component={Test}/>
<Route path="feature1" component={Feature1}/>
</Route> </Route>
</Route> </Route>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment