You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.1 KiB
77 lines
1.1 KiB
<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>
|
|
|