<template>
	<view>
		<view class="head-box"></view>
		<uv-navbar autoBack title="主理人签到" leftIconColor="#fff" :bgColor="bgColor" height="100rpx" :titleStyle="{color:'#fff'}"></uv-navbar>
	
		<view class="content">
			<zlx-item :cardListData="cardListData" @qiandaoClick="qiandaoClick"></zlx-item>
		</view>
	</view>
</template>

<script>
	import zlxItem  from '@/components/zhaomu/zlx-item.vue'
	export default{
		components:{
			zlxItem
		},
		data() {
			return {
				bgColor:'transparent',
				cardListData: [
					{
						imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg',
						orderTime: '2024.08.23 12:00',
						state: 'U',
						stateText: '待参加',
						title: '夏日去撒野旅游计划～',
						time: '2024.10.28 10:00',
						address: '成都市东丽湖露营地32号',
					},
					{
						imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg',
						orderTime: '2024.08.23 12:00',
						state: 'S',
						stateText: '已完成',
						title: '夏日去撒野旅游计划～',
						time: '2024.10.28 10:00',
						address: '成都市东丽湖露营地32号',
					},
				]
			}
		},
		onPageScroll(e) {
			if(e.scrollTop > 50) {
				this.bgColor = '#49070c'
			}else{
				this.bgColor = 'transparent'
			}
		},
		methods:{
			qiandaoClick() {
				uni.navigateTo({
					url:'/pages_my/qiandao-list'
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #060504;
	}
</style>
<style lang="scss" scoped>
	.head-box {
		background: url('@/static/image/nav-bg.png') no-repeat;
		background-size: 100% 100%;
		width: 100%;
		height: 534rpx;
		position: absolute;
		z-index: -1;
	}
	.content {
		padding: 0 30rpx;
		padding-top: calc(var(--status-bar-height) + 110rpx);
	}
</style>