|
123456789101112131415161718192021222324252627282930313233 |
- <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>
|