<template>
	<view class="">
		<view class="header_top">
			<!-- Privacy Agreement -->
			{{ $t('login.lab20') }}
		</view>
		<web-view :src="title"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: ''
			}
		},
		computed: {
			system() {
				return this.$store.state.system
			}
		},
		onLoad(option) {
			if (option.type == 1) {
				this.title = this.system.user_agreement
			} else if (option.type == 3) {
				this.title = this.system.privacy_policy
			} else {
				this.title = this.system.privacy_policy
			}
		}
	}
</script>

<style>
	.header_top {
		position: absolute;
		z-index: 1000;
		top: -35px;
		left: 32%;
		font-weight: bold;
	}
</style>
