Skip to content

Commit 9c6756f

Browse files
committed
已修改 README.md
Add .eslintrc.json Add .gitignore Add docs/index.html Add docs/static/css/index.c9dfe0dd.css Add docs/static/css/index.c9dfe0dd.css.map Add docs/static/js/index.e5e01207.js Add docs/static/js/index.e5e01207.js.map Add docs/static/js/vendors.c6cad972.chunk.js Add docs/static/js/vendors.c6cad972.chunk.js.map Add examples/Demo.js Add examples/DemoList.js Add examples/demo.html Add examples/demos/demo1.js Add examples/index.html Add examples/index.js Add examples/style/animate.scss Add examples/style/index.scss Add index.js Add lib/index.js Add lib/style/index.css Add package-lock.json Add package.json Add src/index.js Add src/style/index.scss
1 parent 412826c commit 9c6756f

25 files changed

+40661
-1
lines changed

.eslintrc.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"jquery": true,
7+
"node": true
8+
},
9+
"parser": "babel-eslint",
10+
"parserOptions": {
11+
"ecmaVersion": 6,
12+
"sourceType": "module",
13+
"ecmaFeatures": {
14+
"jsx": true,
15+
"experimentalObjectRestSpread": true
16+
}
17+
},
18+
"rules": {
19+
"indent": [
20+
"off",
21+
"tab"
22+
],
23+
"linebreak-style": [
24+
"error",
25+
"windows"
26+
],
27+
"quotes": [
28+
"off",
29+
"single"
30+
],
31+
"semi": [
32+
"off",
33+
"always"
34+
],
35+
"no-mixed-spaces-and-tabs": [
36+
"off",
37+
false
38+
]
39+
}
40+
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# layout
1+
# react-widget-layout

docs/index.html

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<!DOCTYPE html>
2+
<html style="width:100%; height:100%; overflow: auto;">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>Layout</title>
7+
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
8+
<style type="text/css">
9+
.demo {
10+
width: 1100px;
11+
height: 500px;
12+
margin: 50px auto;
13+
background: #FFF;
14+
font-size: 12px;
15+
overflow: auto;
16+
}
17+
18+
.rw-layout-content {
19+
height: 200px;
20+
}
21+
22+
.rw-layout.rw-layout-has-sider {
23+
24+
25+
text-align: center;
26+
background: #3ba0e9;
27+
}
28+
29+
.rw-layout-sider {
30+
31+
width: 200px;
32+
text-align: center;
33+
background: #3ba0e9;
34+
color: #fff;
35+
}
36+
37+
.rw-layout-footer,
38+
.rw-layout-header {
39+
40+
background: #7dbcea;
41+
color: #fff;
42+
height: 64px;
43+
line-height: 64px;
44+
text-align: center;
45+
}
46+
47+
.rw-layout-content {
48+
49+
background: rgba(16, 142, 233, 1);
50+
color: #fff;
51+
text-align: center;
52+
}
53+
</style>
54+
<link href="static\css\index.c9dfe0dd.css" rel="stylesheet"></head>
55+
56+
<body style="background:#F5F5F5">
57+
<div class="demo" id="demo">
58+
</div>
59+
<script src="static\js\vendors.c6cad972.chunk.js"></script><script src="static\js\index.e5e01207.js"></script></body>
60+
61+
</html>

0 commit comments

Comments
 (0)