<template>
	<view class="content">
		<navigator :url="item.url"  class="ui-card p-12" v-for="(item,index) in urls" :key="index">
			{{item.text}}
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				urls:[
					{
						url:'/pages/weather/index?type=5',
						text:'气象检测'
					},
					{
						url:'/pages/weather/index?type=8',
						text:'墒情检测'
					},
					{
						url:'/pages/worm/index',
						text:'虫情监测'
					},
					{
						url:'/pages/camera/index',
						text:'监控列表'
					},
					{
						url:'/pages/pest/index',
						text:'病虫害百科'
					},
					{
						url:'/pages/pest/discern',
						text:'病虫害识别'
					},
					{
						url:'/pages/aftersale/list',
						text:'故障上报'
					},
					{
						url:'/pages/warn/index',
						text:'预警列表'
					}
					
				]
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
