<template>
	<view class="app">
		<view class="cards">
			<view class="item" style="background: #4C7BC9;" @tap='godoctorslist'>
				<image src="../../static/yuyue.png" mode=""></image>
				<view class="title" style="font-size: 42rpx;">
					预约医生
				</view>
			</view>
			<view class="item" style="background-color: #E1AE3C;">
				<image src="../../static/chaxun.png" mode=""></image>
				<view class="title" style="font-size: 42rpx;">
					查看结果
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {
			// 跳转预约医生界面
			godoctorslist() {
				uni.navigateTo({
					url: '/pages/doctorslist/doctorslist'
				})
			},
		},
	}
</script>

<style lang="scss">
	.app {
		.cards {
			padding: 40rpx 0 500rpx 0;

			.item {
				image {
					width: 80rpx;
					height: 80rpx;
				}
			}
		}
	}
</style>
