<template>
	<view class="page" :style="{'height':h+'px','padding-top':mt+'px'}">
		<c-nav-bar title="核销" backUrl="/pagesHouse/home/index" @goBack="goBack" :showHome="false"></c-nav-bar>
		<view class="card" @tap="toHome(0)">
			<view>
				<text>线上票核销</text>

			</view>
		</view>
		<view class="card" @tap="toHome(1)">
			<view>
				<text>线下票登记</text>
			</view>
		</view>
		<Tabbares :tabbarid="1" :value="1"></Tabbares>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				//userInfo: null,
				merchantId: '',
				types: [],
				list: []
			}
		},
		created() {

		},
		onLoad(option) {


		},
		methods: {
			toHome(type) {
				if (type == 0) {
					uni.navigateTo({
						url: '/pagesHouse/Verification/index'
					})
				}
				if (type == 1) {
					uni.navigateTo({
						url: '/pagesHouse/Verification/checkOffline'
					})
				}
			}
		}
	}
</script>

<style scoped lang="less">
	.page {
		background: #F3F4F4;
		padding-bottom: 20rpx;
		box-sizing: border-box;
		overflow-y: auto;

		.card {
			width: calc(100% - 60rpx);
			height: 180rpx;
			background: #FFFFFF;
			border-radius: 10rpx 10rpx 10rpx 10rpx;
			margin: 20rpx 30rpx 0;
			padding: 0 30rpx 0 60rpx;
			box-sizing: border-box;
			background: url(https://fsy.shengsi.gov.cn/file/20240109/1ee084be17f74dde94617dcb7f7c8af3.png) no-repeat;
			background-size: 100% 100%;
			display: flex;
			align-items: center;
			justify-content: space-between;

			&>view {
				&:first-child {
					display: flex;
					flex-direction: column;

					text {
						font-size: 38rpx;
						font-family: PingFang SC, PingFang SC;
						font-weight: 800;
						color: #1E3A62;

					}
				}


			}
		}
	}
</style>