-
Notifications
You must be signed in to change notification settings - Fork 1
/
order-detail.html
338 lines (322 loc) · 12.9 KB
/
order-detail.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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="assets/css/amazeui.min.css" />
<link rel="stylesheet" href="css/order-detail.css">
<title>Document</title>
</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/农牧云3.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-g body">
<table class="detail-table">
<tr>
<th colspan="6" style="font-size: 3em;">认购物品成长详细</th>
</tr>
<tr>
<th>订单号:
<span>54161235133</span>
</th>
<th>农牧云水果基地</th>
<th>多汁石榴</th>
<th>正处于
<span style="color: red;">第二期</span>成长(距第三期:
<span style="color: red;">12天</span> )
</th>
<th>成长总期数:3期(1期30为天)</th>
<th>距离收获还剩:
<span style="color: red">42天</span>
</th>
</tr>
<tr>
<td colspan="6" style="padding-top: 5px;">
<div>
<ul 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>
</td>
</tr>
<tr>
<td colspan="6">
<div style="z-index:-10;" id="number-disc-0" class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0">
<ul class="am-slides">
<li>
<img src="img/cattle1.jpg" />
</li>
<li>
<img src="img/cattle2.jpg" />
</li>
<li>
<img src="img/cattle3.jpg" />
</li>
</ul>
</div>
<div style="z-index:-10;display: none" id="number-disc-1" class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0">
<video src="../农牧云2.mp4" width="100%;" controls></video>
</div>
<div style="z-index:-10;display: none" id="number-disc-2" class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0">
<p>亲,您订购的商品还处于第二期成长中。</p>
<p>敬请期待它的成长。</p>
</div>
</td>
</tr>
</table>
</div>
<div class="am-g remark">
<div class="remark-list">
<span>评论列表</span>
</div>
<table class="remark-table">
<tr>
<td class="remark-desc">
<table class="remark-time">
<tr>
<td class="remark-date">
<div>
<h1>04/25</h1>
<h2>2018</h2>
<p>
来自:会说**星星
</p>
</div>
</td>
<td class="remark-article" rowspan="2">
<p>草原牛就是不一样,好吃不上火。跟大白菜一样香甜可口,好吃。</p>
</td>
</tr>
</table>
</td>
<td rowspan="2" class="remark-img">
<img src="img/牛.jpg" alt="">
</td>
</tr>
</table>
<table class="remark-table">
<tr>
<td class="remark-desc">
<table class="remark-time">
<tr>
<td class="remark-date">
<div>
<h1>04/24</h1>
<h2>2018</h2>
<p>
来自:白菜**君
</p>
</div>
</td>
<td class="remark-article" rowspan="2">
<p>草原牛就是不一样,好吃不上火。跟大白菜一样香甜可口,好吃。</p>
</td>
</tr>
</table>
</td>
<td rowspan="2" class="remark-img">
<img src="img/牛1.jpg" alt="">
<img src="img/牛1.jpg" alt="">
</td>
</tr>
</table>
<table class="remark-table">
<tr>
<td class="remark-desc">
<table class="remark-time">
<tr>
<td class="remark-date">
<div>
<h1>04/24</h1>
<h2>2018</h2>
<p>
来自:白菜**君
</p>
</div>
</td>
<td class="remark-article" rowspan="2">
<p>草原牛就是不一样,好吃不上火。跟大白菜一样香甜可口,好吃。</p>
</td>
</tr>
</table>
</td>
<td rowspan="2" class="remark-img">
<img src="img/牛1.jpg" alt="">
<img src="img/牛1.jpg" alt="">
</td>
</tr>
</table>
<table class="remark-table">
<tr>
<td class="remark-desc">
<table class="remark-time">
<tr>
<td class="remark-date">
<div>
<h1>04/24</h1>
<h2>2018</h2>
<p>
来自:白菜**君
</p>
</div>
</td>
<td class="remark-article" rowspan="2">
<p>草原牛就是不一样,好吃不上火。跟大白菜一样香甜可口,好吃。</p>
</td>
</tr>
</table>
</td>
<td rowspan="2" class="remark-img">
<img src="img/牛1.jpg" alt="">
<img src="img/牛1.jpg" alt="">
</td>
</tr>
</table>
</div>
<div class="editor">
<script id="container" name="content" type="text/plain" style="height: 300px;">
这里写你的初始化内容
</script>
<button type="button" class="am-btn am-btn-primary">提交评论</button>
</div>
<div class="foot">
<p>©2018 - 版权所有 </p>
<p>PC版 | 本站自己手动搭建 |
<a href="">管理登录</a>
</p>
</div>
<script src="assets/js/jquery.js"></script>
<script src="assets/js/amazeui.js"></script>
<!-- 富文本编辑器 -->
<!-- 配置文件 -->
<!-- <script type="text/javascript" src="assets/utf8-php/ueditor.config.js"></script> -->
<!-- 编辑器源码文件 -->
<!-- <script type="text/javascript" src="assets/utf8-php/ueditor.all.js"></script> -->
<!-- 实例化编辑器 -->
<script>
// var ue = UE.getEditor('container');
$(window).bind("scroll", function () {
var top = $(this).scrollTop(); // 当前窗口的滚动距离
// console.log($(this))
if (top > 1) {
$(".nav").css({
"background": "white",
"opacity": "1",
"transition": "background-color 1s",
"position": "fixed"
});
$(".nav-table a").css("color", "black");
$(".company a").css("color", "black");
$(".logo span").css("color", "white");
$(".am-input-group").css("opacity", "1")
$(".title").attr("src", "img/标题-黑.png")
}
if (top == 0) {
$(".nav").css({
"background": "none",
"opacity": "1",
"position": "unset"
});
$(".nav-table a").css("color", "black");
$(".company a").css("color", "black");
$(".am-input-group").css("opacity", "0.5")
$(".title").attr("src", "img/标题-黑.png")
}
});
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");
});
// $(".remark-img img").click(function () {
// $(this).css({
// "position": "absolute",
// "width": "500px"
// })
// console.log($(this).context.currentSrc);
// });
</script>
</body>
</html>