11
啊鑫
2025-06-05 61a07fff05fbaf6ea85e48af0eed43f379011a45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<script>
    export default {
        onShow: function() {
            console.log('App Show')
        },
        onHide: function() {
            console.log('App Hide')
        },
        onLaunch(options) {
            // options.query包含了URL中的参数
            console.log("APP:"+JSON.stringify(options.query));
            // 你可以根据需要来处理这些参数
          }
    }
</script>
 
<style>
    /*每个页面公共css */
    uni-page-wrapper{
        background-color: whitesmoke;
    }
    button{
        margin: 10px;
    }
    /* 在 App.vue 的 style 标签中添加全局样式 */
    /* 所有平台通用样式 */
    view {
        user-select: text;
        -webkit-user-select: text;
    }
    
</style>