walletdetails.html
2.2 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
<!DOCTYPE html>
<html>
<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" type="text/css" href="../css/swiper-3.4.2.min.css" />
<link rel="stylesheet" type="text/css" href="../css/init.css" />
<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_647640_n3cow34ja3gzaor.css" />
<link rel="stylesheet" type="text/css" href="../css/PersonCenter/walletdetails.css" />
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
<title>钱包明细</title>
</head>
<body>
<div class="container" id="walletdetail">
<div class="details">
<!--<div class="details_item">
<div class="buy_wrap">
<p class="buy">购买胡辣汤</p>
<p class="num">- ¥1000</p>
</div>
<div class="buy_wrap">
<p class="time">2018-3-27 18:09</p>
<p class="time">支出</p>
</div>
</div>
<div class="details_item">
<div class="buy_wrap">
<p class="buy">充值</p>
<p class="num_add">+ ¥1000</p>
</div>
<div class="buy_wrap">
<p class="time">2018-3-27 18:09</p>
<p class="time">收入</p>
</div>
</div>-->
<div class="details_item" v-for="item in detail">
<div class="buy_wrap">
<p class="buy">{{item.log_type}}</p>
<p class="num" v-if="item.log_type=='购买商品'">-¥{{item.amount}}</p>
<p class="num_add" v-if="item.log_type=='充值'">+¥{{item.amount}}</p>
</div>
<div class="buy_wrap">
<p class="time">{{item.create_time}}</p>
<p class="time">{{item.log_type}}</p>
</div>
</div>
</div>
</div>
<script src="../js/vue.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/cookie.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/walletdetail.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>