#
whycq
2023-11-21 c47270ff1962e5554a1caa5274fa9723421801c8
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<script>
    export default {
        onLaunch: function() {
            console.log('App Launch')
        },
        onShow: function() {
            console.log('App Show')
        },
        onHide: function() {
            console.log('App Hide')
        }
    }
</script>
 
<style>
    /*每个页面公共css */
    body {
        background-color: #f1f1f1;
        font-size: 28upx;
        color: #333333;
        font-family: 'my-font',Helvetica Neue, Helvetica, sans-serif;
    }
 
    .status_bar {
        height: var(--status-bar-height);
        width: 100%;
        background-color: #FFF;
        position: sticky;
        top: 0;
    }
    
    .search-bg {
        background-color: #FFF;
        padding: 16rpx;
        position: sticky;
        top: 88rpx;
        z-index: 999;
        /* #ifdef APP-PLUS  */
        top: 148rpx;
        /* #endif */
        
    }
 
    @font-face {
        font-family: my-font;
        src: url('./static/font/NotoSansCJK-Light-3.otf');
    }
    
    .status_bar {
        height: var(--status-bar-height);
        width: 100%;
        background-color: #FFF;
        z-index: 99999;
    }
    .city {
        display: flex;
        align-items: center;
    }
    .fxbtn {
        position: fixed;
        bottom: 100rpx;
        right: 40rpx;
        width: 80rpx;
        height: 80rpx;
        background-color: #46a7ff;
        color: #FFF;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        
    }
</style>