zengh
2022-05-09 52c39f5e2711e5535b689b66dfa5e100c7882b7f
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
74
75
76
77
<template>
    <view class="nav-wrap">
        <view class="nav-title">
            <image class="logo" src="/static/images/logo.png" mode="widthFix"></image>
            <view class="nav-info">
                <view class="nav-title__text">
                    {{title}}
                </view>
            </view>
        </view>
        <view class="nav-desc">
            {{desc}}
        </view>
    </view>
</template>
 
<script>
    export default {
        props: {
            desc: String,
            title: String,
        },
    }
</script>
 
<style lang="scss" scoped>
    .nav-wrap {
        margin-top: 15px;
        padding: 15px;
        position: relative;
    }
    
    .lang {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .nav-title {
        /* #ifndef APP-NVUE */
        display: flex;
        /* #endif */
        flex-direction: row;
        align-items: center;
    }
    
    .nav-info {
        margin-left: 15px;
    }
    
    .nav-title__text {
        /* #ifndef APP-NVUE */
        display: flex;
        /* #endif */
        color: $u-main-color;
        font-size: 20px;
        font-weight: bold;
    }
    
    .logo {
        width: 100px;
        /* #ifndef APP-NVUE */
        height: auto;
        /* #endif */
    }
    
    .nav-slogan {
        color: $u-tips-color;
        font-size: 14px;
    }
    
    .nav-desc {
        margin-top: 10px;
        font-size: 14px;
        color: $u-content-color;
    }
</style>