my_balance.html
3.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
<link rel="stylesheet" href="__INDEX__/css/base.css">
<link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
<script type="text/javascript" src="__INDEX__/js/base.js"></script>
<title>我的积分</title>
<style>
.head{
width:7.5rem;
height:3rem;
background:linear-gradient(-30deg,rgba(248,199,11,1),rgba(254,230,0,1));
padding-top: 0.7rem;
}
.total_integrate{
font-size:0.88rem;
color:#1A1A1A;
font-weight: bold;
width:6rem;
height:1.2rem;
margin: 0 auto;
text-align: center;
}
.remain{
width:6rem;
text-align: center;
margin: 0 auto;
font-size: 0.24rem;
color:#1A1A1A;
}
.list{
display:flex;
justify-content: space-between;
align-items: center;
padding: 0.39rem 0.32rem;
border-bottom: 1px solid #f5f5f5;
}
.record{
font-size: 0.287rem;
color:#1A1A1A;
}
.icon-jinru{
color:#CCCCCC
}
.integrate_list{
background: #fff;
}
</style>
</head>
<body>
<div class="container">
<div class="head">
<p class="total_integrate">{$balance}</p>
<p class="remain">积分余额</p>
</div>
<div class="integrate_list">
<div class="list takenote" data-url="{:url('user/Center/integralLog',['type'=>1])}">
<p class="record">积分获取记录</p>
<P class="iconfont icon-jinru"></P>
</div>
<div class="list uselist" data-url="{:url('user/Center/integralLog',['type'=>2])}">
<p class="record">积分使用记录</p>
<P class="iconfont icon-jinru"></P>
</div>
<div class="list friend" data-url="{:url('friendship/Friend/friendGiveLog')}">
<p class="record">积分赠送</p>
<P class="iconfont icon-jinru"></P>
</div>
<div class="list password" data-url="{:url('friendship/Friend/passwordManager')}">
<p class="record">积分密码管理</p>
<P class="iconfont icon-jinru"></P>
</div>
</div>
</div>
</body>
<script src="__INDEX__/js/jquery.min.js"></script>
<script>
$(".takenote").click(function(){
window.location.href=$(this).attr('data-url');
})
$(".uselist").click(function(){
window.location.href=$(this).attr('data-url');
})
//赠送好友积分
$(".friend").click(function(){
window.location.href=$(this).attr('data-url');
})
$(".password").click(function(){
var sure=confirm("是否修改密码");
if(sure==true){
window.location.href=$(this).attr('data-url');
}
})
</script>
</html>