<template>
	<view class="pages">
		<view class="gard-box">
			<view @click="toPage('/pagesA/qualityPolicy/creatOrder')">
				<view><image src="/pagesA/static/zbdc.png"></image></view>
				<view>创建质保单</view>
			</view>
			<view @click="toPage('/pagesA/qualityPolicy/searchOrder')">
				<view><image src="/pagesA/static/bdcx.png"></image></view>
				<view>质保单查询</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			toPage(url){
				uni.navigateTo({
					url: url
				})
			}
		}
	}
</script>

<style lang="less">
.pages{
	height: 100vh;
	background: #fff;
}
.gard-box{
	display: flex;
	align-items: center;
	padding: 5rem 2rem;
	> view{
		flex:1;
		margin: 1rem;
		text-align: center;
		image{
			width: 3rem;
			height: 3rem;
		}
	}
}
</style>
