<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import '@/static/styles/theme.scss';
	@import '@/uni_modules/uni-scss/index.scss';
	
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	
	page {
		background-color: #F5F7FA;
		font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	}

	.page-container {
		min-height: 100vh;
		background-color: #F5F7FA;
		padding-bottom: 40rpx;
	}
	
	.primary-btn {
		background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
		color: #FFFFFF;
		border-radius: 24rpx;
		font-weight: 500;
		border: none;
		
		&:active {
			opacity: 0.9;
		}
	}
	
	.secondary-btn {
		background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
		color: #FFFFFF;
		border-radius: 24rpx;
		font-weight: 500;
	}
	
	.danger-btn {
		background: linear-gradient(135deg, #F44336 0%, #EF5350 100%);
		color: #FFFFFF;
		border-radius: 24rpx;
		font-weight: 500;
	}
	
	.card {
		background-color: #FFFFFF;
		border-radius: 24rpx;
		box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
		overflow: hidden;
	}
	
	.card-header {
		padding: 24rpx 32rpx;
		background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
		color: #FFFFFF;
	}
	
	.card-body {
		padding: 32rpx;
	}
	
	.info-row {
		display: flex;
		align-items: center;
		padding: 16rpx 0;
		border-bottom: 1rpx solid #F0F0F0;
		
		&:last-child {
			border-bottom: none;
		}
		
		.label {
			color: #999999;
			font-size: 28rpx;
			width: 160rpx;
			flex-shrink: 0;
		}
		
		.value {
			color: #333333;
			font-size: 28rpx;
			font-weight: 500;
			flex: 1;
		}
	}
	
	.status-badge {
		display: inline-flex;
		align-items: center;
		padding: 6rpx 20rpx;
		border-radius: 20rpx;
		font-size: 24rpx;
		font-weight: 500;
		
		&.status-pending {
			background-color: rgba(255, 152, 0, 0.1);
			color: #FF9800;
		}
		
		&.status-success {
			background-color: rgba(76, 175, 80, 0.1);
			color: #4CAF50;
		}
		
		&.status-info {
			background-color: rgba(33, 150, 243, 0.1);
			color: #2196F3;
		}
		
		&.status-done {
			background-color: rgba(158, 158, 158, 0.1);
			color: #9E9E9E;
		}
	}
	
	.action-bar {
		display: flex;
		justify-content: flex-end;
		gap: 20rpx;
		padding-top: 24rpx;
		margin-top: 24rpx;
		border-top: 1rpx solid #F0F0F0;
	}
	
	.action-btn {
		padding: 16rpx 40rpx;
		border-radius: 40rpx;
		font-size: 28rpx;
		font-weight: 500;
		transition: all 0.2s ease;
		
		&:active {
			transform: scale(0.96);
		}
	}
	
	.empty-state {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 100rpx 40rpx;
		color: #CCCCCC;
		
		.empty-icon {
			font-size: 120rpx;
			margin-bottom: 24rpx;
		}
		
		.empty-text {
			font-size: 28rpx;
		}
	}

	/* #endif */
</style>
