personal_center.html
9.7 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>学考无忧-我的-管理页面</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/reset.css" />
<link rel="stylesheet" href="__TMPL__/public/assets/css/log.css" />
<style>
.w_myG {
width: 1.52rem;
height: 0.48rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 0.24rem;
font-size: 0.24rem;
text-align: center;
margin-left: auto;
margin-right: 0.38rem;
line-height: 0.48rem;
color: rgba(255, 255, 255, 0.8);
}
.w_myStarst {
display: flex;
display: -webkit-flex;
margin: 0.16rem 0;
padding: 0.16rem 0.5rem 0.16rem 0;
box-sizing: border-box;
background-color: white;
}
.w_myStarst_left {
width: 5.68rem;
height: 1.28rem;
display: flex;
display: -webkit-flex;
border-right: 0.04rem solid #f5f5f5;
align-items: center;
-webkit-align-items: center;
}
.w_myStarst_left ul {
display: flex;
display: -webkit-flex;
}
.w_myStarst_left ul li {
margin-left: 0.62rem;
}
.w_myStarst_right {
padding: 0.2rem 0 0 0.3rem;
box-sizing: border-box;
}
.w_my_leftImg {
width: 0.52rem;
margin: auto;
}
.w_my_leftImg img {
width: 100%;
height: 100%;
}
.w_my_leftTxt {
font-size: 0.22rem;
color: rgba(51, 51, 51, 1);
text-align: center;
}
</style>
</head>
<body style="background-color: #F5F5F5">
<div class="log_top">
<!-- 顶部 -->
<div class=" order_top log_top">
<!--<a href="">
<img src="__TMPL__/public/assets/images/left2.png" alt="" />
</a>-->
<p style="color:white">我的</p>
</div>
<!-- 个人中心 -->
<if condition="$status eq 1">
<div class="w_myG" onclick="perfect_information()">个人中心</div>
</if>
<!-- 头像 -->
<div class="log_top_buddha">
<div class="log_top_buddha_img">
<img src="{$weixin.avatar}" alt="" style="border-radius: 50%;"/>
</div>
<div class="log_top_buddha_contant">
<div class="log_top_buddha_contant_one">
{$weixin.user_nickname}
</div>
</div>
</div>
</div>
<!-- 状态 -->
<div class="w_myStarst">
<div class="w_myStarst_left">
<ul>
<li>
<a href="{:url('Order/get_all',array('state'=>4))}">
<div class="w_my_leftImg">
<img src="__TMPL__/public/assets/images/42.png" alt="" />
</div>
<p class="w_my_leftTxt">待付款</p>
</a>
</li>
<li>
<a href="{:url('Order/get_all',array('state'=>2))}">
<div class="w_my_leftImg">
<img src="__TMPL__/public/assets/images/43.png" alt="" />
</div>
<p class="w_my_leftTxt">待发货</p>
</a>
</li>
<li>
<a href="{:url('Order/get_all',array('state'=>5))}">
<div class="w_my_leftImg">
<img src="__TMPL__/public/assets/images/45.png" alt="" />
</div>
<p class="w_my_leftTxt">已发货</p>
</a>
</li>
<li>
<a href="{:url('Order/get_all',array('state'=>3))}">
<div class="w_my_leftImg">
<img src="__TMPL__/public/assets/images/44.png" alt="" />
</div>
<p class="w_my_leftTxt">已完成</p>
</a>
</li>
</ul>
</div>
<div class="w_myStarst_right">
<div>
<a href="{:url('Order/get_all')}">
<div class="w_my_leftImg">
<img src="__TMPL__/public/assets/images/46.png" alt="" />
</div>
<p class="w_my_leftTxt">全部订单</p>
</a>
</div>
</div>
</div>
<!-- 列表1 -->
<div class="log_one_list" style="background-color: white;overflow-y: scroll;margin-bottom: 50px;">
<a href="{:url('Personalcenter/shop_address')}">
<div class="log_one_list_one">
<div class="log_one_list_left">
<div class="log_one_list_img">
<img src="__TMPL__/public/assets/images/51.png" alt="" />
</div>
<div class="log_one_list_word">
我的地址
</div>
</div>
<div class="log_one_list_right">
<img src="__TMPL__/public/assets/images/29.png" alt="" />
</div>
</div>
</a>
<a href="{:url('Personalcenter/personal_collect')}">
<div class="log_one_list_one">
<div class="log_one_list_left">
<div class="log_one_list_img">
<img src="__TMPL__/public/assets/images/50.png" alt="" />
</div>
<div class="log_one_list_word">
我的收藏
</div>
</div>
<div class="log_one_list_right">
<img src="__TMPL__/public/assets/images/29.png" alt="" />
</div>
</div>
</a>
<a href="{:url('Personalcenter/browsing_history')}">
<div class="log_one_list_one">
<div class="log_one_list_left">
<div class="log_one_list_img">
<img src="__TMPL__/public/assets/images/48.png" alt="" />
</div>
<div class="log_one_list_word">
浏览记录
</div>
</div>
<div class="log_one_list_right">
<img src="__TMPL__/public/assets/images/29.png" alt="" />
</div>
</div>
</a>
<if condition="$status eq 3">
<a href="{:url('Personalcenter/my_wallet')}">
<div class="log_one_list_one">
<div class="log_one_list_left">
<div class="log_one_list_img">
<img src="__TMPL__/public/assets/images/49.png" alt="" />
</div>
<div class="log_one_list_word">
我的钱包
</div>
</div>
<div class="log_one_list_right">
<img src="__TMPL__/public/assets/images/29.png" alt="" />
</div>
</div>
</a>
<a href="{:url('share/index')}">
<div class="log_one_list_one">
<div class="log_one_list_left">
<div class="log_one_list_img">
<img src="__TMPL__/public/assets/images/47.png" alt="" />
</div>
<div class="log_one_list_word">
商城分享
</div>
</div>
<div class="log_one_list_right">
<img src="__TMPL__/public/assets/images/29.png" alt="" />
</div>
</div>
</a>
<a href="{:url('OrderSalesman/get_all')}">
<div class="log_one_list_one">
<div class="log_one_list_left">
<div class="log_one_list_img">
<img src="__TMPL__/public/assets/images/dingdan.png" alt="" />
</div>
<div class="log_one_list_word">
订单管理
</div>
</div>
<div class="log_one_list_right">
<img src="__TMPL__/public/assets/images/29.png" alt="" />
</div>
</div>
</a>
</if>
</div>
<!-- 底部一级导航 -->
<div class="in_bottom">
<ul>
<a href="{:url('Index/index')}">
<li>
<img src="__TMPL__/public/assets/images/22.png" alt="" />
<p>首页</p>
</li>
</a>
<a href="{:url('Classify/classify')}">
<li>
<img src="__TMPL__/public/assets/images/16.png" alt="" />
<p>分类</p>
</li>
</a>
<a href="{:url('Shopcart/shop_cart')}">
<li>
<img src="__TMPL__/public/assets/images/17.png" alt="" />
<p>购物车</p>
</li>
</a>
<li>
<img src="__TMPL__/public/assets/images/19.png" alt="" />
<p style="color:#FF7700;">我的</p>
</li>
</ul>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="__TMPL__/public/assets/js/mui.min.js"></script>
<script src="__TMPL__/public/assets/js/mui.picker.min.js"></script>
<script src="__TMPL__/public/assets/js/city.data-3.js"></script>
<script>
/**
* 点击个人中心跳转
*/
function perfect_information(){
window.location.href = "{:url('Personalcenter/perfect_information')}";
}
</script>
<script>
$(".log_top_buddha_btn").click(function() {
$(this).css({
display: "none"
});
$(".log_top_buddha_contant").toggle();
});
</script>
</body>
</html>