1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <template>
- <view class="app">
- <!-- 页面内容开始 -->
-
- 这里是404页面
-
- <!-- 页面内容结束 -->
- </view>
- </template>
- <script>
- export default {
- data() {
- // 页面数据变量
- return {
- }
- },
- // 监听 - 页面每次【加载时】执行(如:前进)
- onLoad(options = {}) {
- this.options = options;
- this.init(options);
- },
- // 函数
- methods: {
- // 页面数据初始化函数
- init(options){
- console.log("init: ",options);
- },
- pageTo(path){
- uni.navigateTo(path);
- }
- },
- // 监听器
- watch:{
-
- },
- // 计算属性
- computed:{
-
- }
- }
- </script>
- <style lang="scss" scoped>
-
-
- </style>
|