<template>
	<view>
			<car-common   ref="common"  ></car-common>
		<u-navbar   title="资金变动记录" :is-back="true" >
				<view class="slot-wrap"></view>	
		</u-navbar>
		<view class="von-zj-list">
			<view  v-if="isLoading&&recordList&&recordList.length==0" style="text-align:center;margin-top: 120px;" >
				<img src="static/img/null.png" style="width: 50%;" alt="" >
				<view>暂无数据</view>
			</view>
			
			<scroll-view  v-if="recordList&&recordList.length"  :style="'height: '+clientHeight+'px;'"   scroll-y="true"     @scrolltolower="lower">
			
			<view class="zj-list-item flex-spal" v-for="item,i in recordList"  @click="gotoUrl(item)" :key="i" >
				<view>
					<h4>{{item.name}}<text :class="item.status=='1'?'green':'orange'">({{item.statusStr}})</text></h4>
					<h6>{{item.time}}</h6>
				</view>
				<view>
					{{item.amount}}元<text class="icon iconfont icon-ico_listarrow"></text>
				</view>
			</view>
				</scroll-view>
			<view class="zj-list-item flex-spal" v-if="false">
				<view>
					<h4>账户提现<text class="green">((转账成功))</text></h4>
					<h6>2021-03-02 12:30:20</h6>
				</view>
				<view>
					-1000<text class="icon iconfont icon-ico_listarrow"></text>
				</view>
			</view>
		</view>
		<!-- <u-cell-group class="von-zj-list">
			<scroll-view   :style="'height: '+clientHeight+'px;'"   scroll-y="true"     @scrolltolower="lower">
				
				<u-cell-item center v-for="item,i in recordList"   @click="gotoUrl(item)" :key="i" :label="item.time" :value="item.amount" :title="item.name"></u-cell-item>
			</scroll-view>
		</u-cell-group> -->
	</view>
</template>

<script>
	import api from './list.js'
	export default api;
</script>

<style>
page{
	background-color:#eee;
	}
</style>
