<template>
	<view class="content">
		<button @click="$refs.configPopup.open()">{{ locale.agreement }}</button>
		<button @click="$refs.changeLanguage.open()">切换语言</button>
		<button @click="$utils.navigateTo('/map/map')">地图</button>
		
		<changeLanguage ref="changeLanguage"/>
		
		<configPopup
		keyValue="asd"
		ref="configPopup"/>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		computed : {
			locale(){
				return this.$t('pages.index.index')
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	.content{
		padding: 20px;
		button{
			margin-bottom: 10rpx;
		}
	}
</style>
