快乐的昕的电脑
2025-11-22 56c4ca9406e5a82e42ff5ee6b5b6003cadc86ba3
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
33
<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;
    }
 
    :deep(.checkbox),
    :deep(.checkbox__inner) {
        padding: 10px !important;
        width: 44px !important;
        min-width: 44px !important;
        box-sizing: border-box;
    }
</style>