<template>
	<view>
		<car-common   ref="common"  ></car-common>
		<u-picker v-model="show1" mode="selector" @confirm="show1confirm"  :default-selector="[selectForm.select1Index]" :range="selectList1" range-key="licensePlateNumber"></u-picker>
		<u-picker v-model="show2" mode="selector" @confirm="show2confirm" :default-selector="[selectForm.select2Index]" :range="selectList2" range-key="name"></u-picker>
		<u-picker v-model="show3" mode="time" @confirm="show3confirm" @cancel="show3cancel" :default-time="selectForm.select3"  range-key="name" :params="params" :end-year="thisyear"></u-picker>

		<u-navbar   title="收益明细" :is-back="false" >
				<view class="slot-wrap"></view>	
		</u-navbar>
		<view class="von-sy">
			<view class="von-sy-select flex-sp" style="background-color: white;">
				<navigator @click="show1=true">{{selectForm.select1Name}}<text class="icon iconfont icon-xiajiantou"></text></navigator>
				<navigator @click="show2=true">{{selectForm.select2Name}}<text class="icon iconfont icon-xiajiantou"></text></navigator>
				<navigator@click="show3=true" >{{selectForm.select3Name}}<text class="icon iconfont icon-xiajiantou"></text></navigator>
			</view>
			<view class="von-sy-content">
				<view class="von-sy-area">
					<h5 class="flex-sp">{{profitList.dateDesc}}<text>共收入{{profitList.revenue}}元</text></h5>
					<u-cell-group>
						<u-cell-item v-for="item,i in profitList.list" :key="i" :title="item.dateDesc" :value="'+'+item.revenue+'元'"  @click="gotoUrl(item.dateDesc)" ></u-cell-item>
					</u-cell-group>
					
					<view  v-if="isLoading&&profitList.list&&profitList.list.length==0" style="text-align:center;margin-top: 40px;" >
						<img src="static/img/null.png" style="width: 50%;" alt="" >
						<view>暂无数据</view>
					 
					</view>
					
				</view>
				 
			</view>
		</view>
	</view>
</template>

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

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