404.vue 664 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view class="app">
  3. <!-- 页面内容开始 -->
  4. 这里是404页面
  5. <!-- 页面内容结束 -->
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. // 页面数据变量
  12. return {
  13. }
  14. },
  15. // 监听 - 页面每次【加载时】执行(如:前进)
  16. onLoad(options = {}) {
  17. this.options = options;
  18. this.init(options);
  19. },
  20. // 函数
  21. methods: {
  22. // 页面数据初始化函数
  23. init(options){
  24. console.log("init: ",options);
  25. },
  26. pageTo(path){
  27. uni.navigateTo(path);
  28. }
  29. },
  30. // 监听器
  31. watch:{
  32. },
  33. // 计算属性
  34. computed:{
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. </style>