<template>
	<view>
		<scroll-view scroll-y class="page">
			<cu-custom class="bg-gradual-pink" :isBack="true"><block slot="backText">返回</block><block slot="content">追溯</block></cu-custom>
			<view class="photoView">
				<image src="/static/headPhoto.jpg" class="photoImage"></image>
			</view>
			<view class="padding flex flex-direction" style="padding-top: 800rpx;">
				<button class="cu-btn bg-blue margin-tb-sm lg" @click="buttonClick">扫码追溯</button>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			buttonClick() {
				uni.reLaunch({
					url: '/pages/component/traceDetailsByMedical'
				})
			}
		}
	}
</script>

<style>
	.page {
		width: 100vw;
		height: 100Vh;
	}
	
	.photoView {
		text-align: center;
		padding-top: 50rpx;
	}
	.photoImage {
		width: 200rpx;
		height: 200rpx;
		border-radius: 50%;
	}
</style>
