Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
daixuan
swifteditor
Commits
14e4c6ef
Commit
14e4c6ef
authored
Jul 26, 2016
by
bert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初步完成测试自动构建
parent
1bfd8d7b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
+18
-11
test-data.js
src/common/test-data.js
+8
-8
logo.jpg
src/constants/logo.jpg
+0
-0
Feature1.jsx
src/feature/Feature1.jsx
+3
-3
topMenu.js
src/feature/topMenu.js
+5
-0
index.js
src/routes/index.js
+2
-0
No files found.
src/common/test-data.js
View file @
14e4c6ef
...
@@ -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/f92664dedc81ce5c2d83c28aeff66ee
d.jpg"
,
img
:
"
036d359e367f70a74e54cc4bdc7607a
d.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"
,
...
...
src/constants/logo.jpg
0 → 100644
View file @
14e4c6ef
270 KB
src/feature/Feature1.jsx
View file @
14e4c6ef
// 纯数据展现情况列表
// 纯数据展现情况列表
import
React
from
'react'
;
import
React
from
'react'
;
import
FeatureSetConfig
from
'../component/FeatureSetConfig'
;
import
FeatureSetConfig
from
'../component
s
/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'
;
...
...
src/feature/topMenu.js
View file @
14e4c6ef
...
@@ -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'
}
}
]
]
src/routes/index.js
View file @
14e4c6ef
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment