Commit 46172954 authored by liaili's avatar liaili

update

parent 9576653b
This diff is collapsed.
{ {
"private": true, "private": true,
"entry": {}, "entry": {
"index": "./src/entries/product/js"
},
"dependencies": { "dependencies": {
"antd": "^1.1.0", "antd": "^1.1.0",
"atool-build": "0.7.x", "atool-build": "0.7.x",
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
<meta name="viewport" content="width=device-width,initial-scale=1, user-scalable=yes, maximum-scale=3,minimum-scale=1"/> <meta name="viewport" content="width=device-width,initial-scale=1, user-scalable=yes, maximum-scale=3,minimum-scale=1"/>
<link rel="stylesheet" type="text/css" href="./index.css"/> <link rel="stylesheet" type="text/css" href="./index.css"/>
<title>Title</title> <title>Title</title>
<style>
h1 {
font-family: "Microsoft YaHei";
}
</style>
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<h1>hello world! 12345%</h1> <h1>iPhone <br/>
<strong>7,在此</strong>
</h1>
<p>
你可以立即购买 iPhone 7 并享受免费送货服务,<br/>
也可以在线预约到附近的 Apple Store 零售店购买。
</p>
</div> </div>
<script src="/common.js"></script> <script src="/common.js"></script>
<script src="/index.js"></script> <script src="/index.js"></script>
......
...@@ -7,46 +7,4 @@ import './index.less'; ...@@ -7,46 +7,4 @@ import './index.less';
import React from 'react'; import React from 'react';
import { ReactDOM } from 'react-dom'; import { ReactDOM } from 'react-dom';
const About = React.createClass({
render: ()=> {
return <h2>About</h2>
}
});
const Inbox = React.createClass({
render: ()=> {
return <h2>Inbox</h2>
}
});
const Home = React.createClass({
render: ()=> {
return <h2>Home</h2>
}
});
const App = React.createClass({
render:function(){
return (
<section>
<header>
<ul>
<li><Link to="/app">Dashboard</Link></li>
<li><Link to="/Inbox">Inbox</Link></li>
<li><Link to="/Calendar">Calendar</Link></li>
</ul>
</header>
Loggend in as Jane
<RouteHandler/>
</section>
)
}
});
ReactDOM.render((
<Route name="app" path="/" handler={app}>
<Route name="inbox" handler={Inbox}/>
<Route name="calendar" handler={Calendar}/>
<DefaultRoute handler={Dashboard}/>
</Route>
),document.getElementById('app'));
@import 'normalize.less'; @import 'normalize.less';
:global { :global {
html {
background-color: #000;
color: #fff;
font-family: 'PingFang SC', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif,'HanHei SC';
}
h1 {
color: #fff;
font-size: 20px;
text-align: center;
& strong {
font-size: 30px;
font-weight: 200;
}
}
p {
color:#ccc;
font-weight: 300;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-font-feature-settings: 'liga', 'kern';
}
} }
...@@ -35,41 +35,44 @@ ...@@ -35,41 +35,44 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr class="status-1"> <tr class="no-data">
<td>01.</td> <td colspan="5">暂不好友接受您的邀请,点击下方按钮开始邀请</td>
<td>18766773541</td> </tr>
<td>抢到了</td> <!--<tr class="status-1">-->
<td>已成单</td> <!--<td>01.</td>-->
<td><a href="">&gt;</a></td> <!--<td>18766773541</td>-->
</tr> <!--<td>抢到了</td>-->
<tr class="status-1"> <!--<td>已成单</td>-->
<td>02.</td> <!--<td><a href="">&gt;</a></td>-->
<td>18766773541</td> <!--</tr>-->
<td>抢到了</td> <!--<tr class="status-1">-->
<td>已成单</td> <!--<td>02.</td>-->
<td><a href="">&gt;</a></td> <!--<td>18766773541</td>-->
</tr> <!--<td>抢到了</td>-->
<tr class="status-2"> <!--<td>已成单</td>-->
<td>03.</td> <!--<td><a href="">&gt;</a></td>-->
<td>18766773541</td> <!--</tr>-->
<td>未绑定</td> <!--<tr class="status-2">-->
<td>已成单</td> <!--<td>03.</td>-->
<td><a href="">&gt;</a></td> <!--<td>18766773541</td>-->
</tr> <!--<td>未绑定</td>-->
<tr class="status-3"> <!--<td>已成单</td>-->
<td>04.</td> <!--<td><a href="">&gt;</a></td>-->
<td>18766773541</td> <!--</tr>-->
<td>被抢了</td> <!--<tr class="status-3">-->
<td>未成单</td> <!--<td>04.</td>-->
<td><a href="">&gt;</a></td> <!--<td>18766773541</td>-->
</tr> <!--<td>被抢了</td>-->
<tr class="status-3"> <!--<td>未成单</td>-->
<td>05.</td> <!--<td><a href="">&gt;</a></td>-->
<td>18766773541</td> <!--</tr>-->
<td>被抢了</td> <!--<tr class="status-3">-->
<td>已成单</td> <!--<td>05.</td>-->
<td><a href="">&gt;</a></td> <!--<td>18766773541</td>-->
</tr> <!--<td>被抢了</td>-->
<!--<td>已成单</td>-->
<!--<td><a href="">&gt;</a></td>-->
<!--</tr>-->
</tbody> </tbody>
</table> </table>
</div> </div>
......
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
&:hover { &:hover {
background: #d8d8d8; background: #d8d8d8;
} }
&.no-data {
height: 60px;
vertical-align: middle;
}
td { td {
font-size: 14px; font-size: 14px;
padding: 10px 0; padding: 10px 0;
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<header> <header>
<a href="product-points.html">基本要素</a> <a href="product-points.html">基本要素</a>
<a href="product-commission.html">费率收益</a> <a href="product-commission.html">费率收益</a>
<a href="product-points.html">相关材料</a> <a href="product-material.html">相关材料</a>
<a href="product-account.html" class="active">募集账户</a> <a href="product-account.html" class="active">募集账户</a>
</header> </header>
</header> </header>
<section class="main"> <section class="main">
<!-- 没有募集账户信息 --> <!--没有募集账户信息 -->
<!--<p>* 暂无募集账户信息</p>--> <!--<p>* 暂无募集账户信息</p>-->
<!-- 有募集账户信息 --> <!-- 有募集账户信息 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</div> </div>
</section> </section>
</section> </section>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="product-account.js"></script> <script src="/product-account.js"></script>
</body> </body>
</html> </html>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<header> <header>
<a href="product-points.html">基本要素</a> <a href="product-points.html">基本要素</a>
<a href="product-commission.html" class="active">费率收益</a> <a href="product-commission.html" class="active">费率收益</a>
<a href="product-points.html">相关材料</a> <a href="product-material.html">相关材料</a>
<a href="product-account.html">募集账户</a> <a href="product-account.html">募集账户</a>
</header> </header>
</header> </header>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</div> </div>
</div> </div>
</section> </section>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="product-commission.js"></script> <script src="/product-commission.js"></script>
</body> </body>
</html> </html>
...@@ -10,14 +10,15 @@ ...@@ -10,14 +10,15 @@
<body> <body>
<section class="main"> <section class="main">
<header> <header>
<a href="">基本要素</a> <a href="product-points.html">基本要素</a>
<a href="">费率收益</a> <a href="product-commission.html">费率收益</a>
<a href="" class="active">相关材料</a> <a href="product-material.html" class="active">相关材料</a>
<a href="">募集账户</a> <a href="product-account.html">募集账户</a>
</header> </header>
<section class="material"> <section class="material">
<!-- 暂无相关材料信息 --> <!-- 暂无相关材料信息 -->
<p>* 暂无相关材料信息</p> <!--<p>* 暂无相关材料信息</p>-->
<!-- 有相关材料信息 --> <!-- 有相关材料信息 -->
<div> <div>
<h1>产品资料 :</h1> <h1>产品资料 :</h1>
...@@ -29,8 +30,8 @@ ...@@ -29,8 +30,8 @@
</div> </div>
</section> </section>
</section> </section>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="product-material.js"></script> <script src="/product-material.js"></script>
</body> </body>
</html> </html>
/** /**
* Created by liaili on 16/8/26. * Created by liaili on 16/8/26.
*/ */
import './product-points.html'; import './product-material.html';
import './product-material.less'; import './product-material.less';
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<header> <header>
<a href="product-points.html" class="active">基本要素</a> <a href="product-points.html" class="active">基本要素</a>
<a href="product-commission.html">费率收益</a> <a href="product-commission.html">费率收益</a>
<a href="product-points.html">相关材料</a> <a href="product-material.html">相关材料</a>
<a href="product-account.html">募集账户</a> <a href="product-account.html">募集账户</a>
</header> </header>
<section class="main"> <section class="main">
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</div> </div>
</section> </section>
</section> </section>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="product-points.js"></script> <script src="/product-points.js"></script>
</body> </body>
</html> </html>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
<section> <section>
<header> <header>
<h1>浮动</h1> <h1>6%~8%</h1>
<h2>半年期</h2> <h2>半年期</h2>
</header> </header>
<div class="project-status-img"> <div class="project-status-img">
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<span class="arrow"></span> <span class="arrow"></span>
</div> </div>
</section> </section>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="./product.js"></script> <script src="/product.js"></script>
</body> </body>
</html> </html>
...@@ -61,7 +61,9 @@ import $ from 'jquery'; ...@@ -61,7 +61,9 @@ import $ from 'jquery';
$('i', '.circle').height($('.circle').height() * data.raised / data.total.toFixed(2)); $('i', '.circle').height($('.circle').height() * data.raised / data.total.toFixed(2));
$('h3', '.project-status-img').html(formatMoney(data.raised) + ' / ' + formatMoney(data.total)); $('h3', '.project-status-img').html(formatMoney(data.raised) + ' / ' + formatMoney(data.total));
$('.drag').on('click',function(){
window.location.href= './product-commission.html';
})
})(); })();
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</section> </section>
</section> </section>
<a href="javascript:;" class="recommendProject">我有优质项目,现在推荐</a> <a href="javascript:;" class="recommendProject">我有优质项目,现在推荐</a>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="projects.js"></script> <script src="/projects.js"></script>
</body> </body>
</html> </html>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</div> </div>
</section> </section>
</section> </section>
<script src="./common.js"></script> <script src="/common.js"></script>
<script src="./register-info.js"></script> <script src="/register-info.js"></script>
</body> </body>
</html> </html>
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