-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
116 lines (105 loc) · 2.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>React Cart Demo</title>
<meta name="viewport" content="width=device-width, minimal-ui, user-scalable=no">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
<link rel="stylesheet" href="css/style.css"/>
<script type="text/javascript">
var QING_BASEURL = "./";
var QING_APIHOST = './data/';
var QING_LOCALE = "zh_CN";//en_US
</script>
</head>
<body >
<header>
<div class="topbar">
<div class="container">
<div class="row">
<div class="col-md-12" id="loginbar">
<ul>
<li><a href="javascript:void(0)">00000105您好</a></li><li>
<a href="javascript:void(0)">退出</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<h1 class="pull-left">React Cart Demo(IE9+,Firefox40+,Chrome43+测试过)</h1>
</div>
</header>
<div class="wrapper">
<div class="container">
<div class="breadcrumbs">
<div class="container">
<h1 class="pull-left">购物车</h1>
<ul class="pull-right breadcrumb">
<li><a href="javascript:void(0)">Home</a></li>
<li class="active">购物车</li>
</ul>
</div>
</div>
<div id="cart-table">
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="copyright">
<div class="">
2015 ©Dony ALL Rights Reserved.
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
<script src="js/require.js"></script>
<script type="text/javascript">
require.config({
"baseUrl":'./js',
"paths":{
"jquery":'jquery.min',
"bootstrap":'bootstrap.min',
'lodash':'lodash.min',
'layer':'layer',
'langs':'langs',
'react':'react-with-addons',
'jsxTransformer':'JSXTransformer',
'reflux':'reflux.min',
'react-router':'react-router.min',
'validator':'jquery.validate.min',
'app':'../dist/'
//注:用r.js进行压缩打包后,系统会在app目录下生成相关文件,此时可以将dist改为app
//'app':'../app/'
},
"shim":{
"bootstrap":{
"deps":["jquery"]
},
"layer":{
"deps":["jquery"]
},
"reflux":{
"deps":["react"]
},
"react-router":{
"deps":["react"]
},
'validator':{
'deps':['jquery']
}
}
});
</script>
<script type="text/javascript">
require(["app/page/cart"]);
</script>
</body>
</html>