index.vue 390 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view class="container">
  3. {{options}}
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. options:undefined
  11. }
  12. },
  13. onLoad(options) {
  14. let text=undefined
  15. if(options) text=JSON.stringify(options)
  16. this.options=text
  17. },
  18. methods: {
  19. }
  20. }
  21. </script>
  22. <style>
  23. .container {
  24. padding: 20px;
  25. font-size: 14px;
  26. line-height: 24px;
  27. }
  28. </style>