wenzheng.yang
2023-04-27 31e64e0e144815e6176c1b6b81eae8dc68688570
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
34
35
36
37
38
39
40
41
42
43
44
45
<script>
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update'
export default {
    onLaunch: function() {
        console.log('App Launch')
        //检查App更新
        checkUpdate()
        
        // plus.screen.lockOrientation('landscape-primary'); //锁定
        // plus.screen.lockOrientation( 'landscape-primary');
    },
    onShow: function() {
        console.log('App Show')
    },
    onHide: function() {
        console.log('App Hide')
    }
}
</script>
<style lang="scss">
    /*每个页面公共css */
    @import "@/uni_modules/uview-ui/index.scss";
    @import "@/static/icon-font/iconfont.scss";
    .uni-stat__select{
        padding: 0 !important;
        background-color: rgb(233, 233, 233);
        box-shadow:inset 2px 1.464px 5px 0px #ccccc4, 1.464px 1.464px 5px 0px rgba(255, 255, 255, 0.75);
        width: 100% !important;
    }
    .uni-select{
        width: 100% !important;
    }
    .uni-select__input-box{
        width: 100% !important;
    }
    .uni-select__input-text{
        width: 100% !important;
    }
    .u-button{
        box-shadow: -1.536px -0.536px 5px 0px rgba(255, 255, 255, 0.75), 1.721px 3.457px 8px -2px rgba(191, 191, 191, 1);
    }
    .u-button:active{
        background-color: rgba(60, 155, 255, 0.5) !important;
    }
</style>