-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin-order.html
314 lines (302 loc) · 15.7 KB
/
admin-order.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!doctype html>
<html class="no-js fixed-layout">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="这是一个 index 页面">
<meta name="keywords" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" href="assets/css/amazeui.min.css" />
<link rel="stylesheet" href="assets/css/admin.css">
<link rel="stylesheet" href="css/nav.css">
</head>
<body>
<div class="am-g head">
<div class="nav">
<table class="nav-table">
<tr>
<td class="logo">
<div class="logo-title">
<img class="title" src="img/标题.png" alt="">
</div>
<div class="logo-img">
<img src="img/农牧云1.png" alt="">
</div>
</td>
<td>
<a href="">首页
<br>
<span>Home Page</span>
</a>
</td>
<td>
<a href="">
云上集市
<br>
<span>Cloud Shop</span>
</a>
</td>
<td>
<a href="">
云上农场
<br>
<span>Cloud Farm</span>
</a>
</td>
<td>
<a href="">云游天下
<br>
<span>Travel world</span>
</a>
</td>
<td>
<a href=""> 个人中心
<br>
<span>Personal Center</span>
</a>
</td>
<td class="company">
<a href="">
关于我们
<br>
<span>About Us</span>
</a>
</td>
<td class="serch">
<div class="am-input-group">
<input type="text" class="am-form-field" style="border-top-left-radius: 15px;border-bottom-left-radius: 15px;">
<span class="am-input-group-btn">
<button class="am-btn am-btn-default" type="button" style="border-bottom-right-radius: 15px;border-top-right-radius: 15px;">
<span class="am-icon-search"></span>
</button>
</span>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="am-cf admin-main" style="padding-top: 0;">
<!-- sidebar start -->
<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
<div class="am-offcanvas-bar admin-offcanvas-bar">
<ul class="am-list admin-sidebar-list">
<li>
<a href="admin-index.html">
<span class="am-icon-home"></span> 个人主页</a>
</li>
<li>
<a href="admin-user.html">
<span class="am-icon-male"></span> 个人资料</a>
</li>
<li>
<a href="admin-shopingCart.html">
<span class="am-icon-puzzle-piece"></span> 我的购物车</a>
</li>
<li>
<a href="admin-user.html" class="am-cf">
<span class="am-icon-check"></span> 我的订单
</a>
</li>
<li>
<a href="admin-table.html">
<span class="am-icon-table"></span> 我的订购</a>
</li>
<li>
<a href="admin-table.html">
<span class="am-icon-bullhorn"></span> 我的消息</a>
</li>
<li>
<a href="#">
<span class="am-icon-sign-out"></span> 注销</a>
</li>
</ul>
<div class="am-panel am-panel-default admin-sidebar-panel">
<div class="am-panel-bd">
<p>
<span class="am-icon-bookmark"></span> 公告</p>
<p>四川农大牧场4月5日-5月5日特大优惠活动。</p>
</div>
</div>
</div>
</div>
<!-- sidebar end -->
<!-- content start -->
<div class="admin-content">
<div class="admin-content-body">
<div class="am-cf am-padding">
<div class="am-fl am-cf">
<strong class="am-text-primary am-text-lg">我的订购</strong> /
<small>MyOrder</small>
</div>
</div>
<div class="am-g">
<div class="am-u-sm-12">
<table class="am-table am-table-bd am-table-striped admin-content-table">
<thead>
<tr>
<th style="color: red">
<span>全部订购 </span>
</th>
<th>
<span>
<small>待付款</small>
</span>
</th>
<th>
<span>
<small>待收货</small>
</span>
</th>
<th>
<span style="cursor: pointer;">
<small>订购回收站</small>
</span>
</th>
<th>
<input style="font-size: 0.9em;font-weight: lighter" type="search" placeholder="订购商品名称/订购单号">
<button style="height: 27px;line-height: 10px;font-size: 0.9em;" type="button" class="am-btn am-btn-primary">搜索</button>
</th>
</tr>
</thead>
</table>
<table class="am-table am-table-bd am-table-striped admin-content-table" style="margin-bottom:15px;">
<thead>
<tr>
<th style="width: 200px;">
<select style="text-decoration: none;font-weight:initial;font-size: 0.8em;" id="doc-select-1">
<option value="option1">近三个月订单</option>
<option value="option2">今年内订单</option>
<option value="option3">2017年订单</option>
</select>
</th>
<th colspan="2">订购详情</th>
<th>成长期数</th>
<th>订购人</th>
<th>每期金额</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr style="margin-bottom: 10px;border: 1px solid grey">
<td colspan="8">
<span>2018-3-31 11:15:56</span>
<span style="margin: 0 40px 0 40px;">订购单号</span>
<span style="font-weight: bold">54161235133</span>
</td>
</tr>
<tr>
<td style="width: 400px;">
<ul style="padding-left: 60px;" class="am-nav am-nav-tabs">
<li id="number-0" class="am-active">
<a href="#">第一期</a>
</li>
<li id="number-1">
<a href="#">第二期</a>
</li>
<li id="number-2">
<a href="#">第三期</a>
</li>
</ul>
<div id="number-disc-0" class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0" style="display: block">
<ul class="am-slides">
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-1.jpg" />
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-2.jpg" />
</li>
</ul>
</div>
<div id="number-disc-1" class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0" style="display: none">
<video src="../农牧云2.mp4" width="383px;" controls></video>
</div>
<div id="number-disc-2" class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0" style="display: none">
<p>亲,您订购的商品还处于第二期成长中。</p>
<p>敬请期待它的成长。</p>
</div>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<span style="font-weight: bold;">农牧云水果基地
<br> 多汁石榴
<br>新鲜采集水果
</span>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<span>x1(500g)</span>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<span>第2期
<br> (每期为30天)</span>
<br>
<span>距第三期
<span style="color: red">12天</span>
</span>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<span>张三</span>
<i class="am-icon-user"></i>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<span style="color: rgb(180, 180, 180);border-bottom: 1px solid rgb(180, 180, 180);padding-bottom: 5px;">
总额¥25.00
</span>
<br>
<span style="color: rgb(180, 180, 180);margin-left:10px; ">在线支付</span>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<span style="font-weight: bold;">第二期成长中</span>
<br>
<span>
<i class="am-icon-sellsy"></i>
<span style="color: red;font-size: 0.7em;">+110经验</span>
</span>
<br>
<span>代售
<span style="color: red">¥10</span>
</span>
<br>
</td>
<td style="padding-top: 80px;padding-left: 10px;">
<button type="button" class="am-btn am-btn-primary" style="margin-bottom: 2px;">成长详情</button>
<br>
<button type="button" class="am-btn am-btn-secondary" style="margin-bottom: 2px;">再次购买</button>
<br>
<button type="button" class="am-btn am-btn-danger" style="text-decoration-line:line-through">删除订单</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<footer class=" admin-content-footer ">
<hr>
<p class="am-padding-left ">© 2018 搭建.</p>
</footer>
</div>
</div>
<script src="assets/js/jquery.js "></script>
<script src="assets/js/amazeui.min.js "></script>
<script src="assets/js/app.js "></script>
<script>
var count
$(() => {
count = $(".am-nav-tabs li").length
// console.log(count)
});
$(".am-nav-tabs li").click((res) => {
let tempId = $(res.currentTarget).attr("id");
let newId = tempId.split("-")
for (let i = 0; i < count; i++) {
$("#number-disc-" + i).css("display", "none");
$("#number-" + i).removeClass("am-active");
}
$("#" + tempId).addClass("am-active");
$("#number-disc-" + newId[1]).css("display", "block");
});
</script>
</body>
</html>