<template>
	<view class="content">
		<view class="container">
			<view class="my-header">
				<view class="my-icons" @click="goback"> <uni-icons type="left" size="16"></uni-icons> </view>
				<view class="my-text">积分明细</view>
				<view class="my-icons"></view>
			</view>
			<!-- 顶部区域 -->
			<u-empty text="积分明细" icon="http://cdn.uviewui.com/uview/empty/list.png">
			</u-empty>

		<u-waterfall v-model="flowList">
			<template v-slot:left="{leftList}">
				<view v-for="(item, index) in leftList" :key="index">
					<!-- 这里编写您的内容，item为您传递给v-model的数组元素 -->
				</view>
			</template>
			<template v-slot:right="{rightList}">
				<view v-for="(item, index) in rightList" :key="index">
					<!-- 这里编写您的内容，item为您传递给v-model的数组元素 -->
				</view>
			</template>
		</u-waterfall>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '',


			subTitle: '2020-05-15',
			thumb: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
			}
		},

		components: {

		},
		methods: {
			goback() {
				uni.navigateBack()
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		background: #f4f5f6;
	}

	.container {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		padding-top: 88px;
	}

	.my-header {
		width: 100%;
		height: 88px;
		background: #ffffff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #000;
		box-sizing: border-box;
		padding: 0px 15px;
		padding-top: 40px;

		.my-icons {
			width: 20px;

		}

		position: fixed;
		top: 0px;
	}
	
	
</style>