<template>
	<view class="content">
		{{textContent}}
	</view>
</template>


<script setup lang="ts">
	import {
		ref
	} from "vue";
	import {
		onLoad
	} from "@dcloudio/uni-app";

	const textContent = ref('')

	onLoad((options) => {
		console.log("options", options)
		let data = JSON.parse(decodeURIComponent(options.params))
		textContent.value = data
	})
</script>

<style lang="scss" scoped>
	.content {
		padding: 0 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		line-height: 40px;
	}
</style>