<template>
	<mobile-frame :frameStyle="frameStyle" @toPath="toPath">
		周边
	</mobile-frame>
</template>

<script>
	export default {
		data() {
			return {
				frameStyle: {
					useBar: true
				},
			};
		},
		onShow: function() {},
		methods: {
			toPath(e) {
				if (e && e.route && e.type == '0') {
					uni.redirectTo({
						url: `/${e.route}`
					})
				} else {
					uni.navigateTo({
						url: `/${e.route}`
					})
				}
			}
		}
	}
</script>

<style lang="scss">

</style>
