您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

usage-instructions.vue 519B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <view class="content">
  3. {{textContent}}
  4. </view>
  5. </template>
  6. <script setup lang="ts">
  7. import {
  8. ref
  9. } from "vue";
  10. import {
  11. onLoad
  12. } from "@dcloudio/uni-app";
  13. const textContent = ref('')
  14. onLoad((options) => {
  15. console.log("options", options)
  16. let data = JSON.parse(decodeURIComponent(options.params))
  17. textContent.value = data
  18. })
  19. </script>
  20. <style lang="scss" scoped>
  21. .content {
  22. padding: 0 40rpx;
  23. font-size: 28rpx;
  24. font-weight: 400;
  25. color: #333333;
  26. line-height: 40px;
  27. }
  28. </style>