walletdetails.html 2.2 KB
<!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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>