mirror of
https://github.com/misitebao/wails-template-vue
synced 2025-02-24 05:42:16 +08:00
feat: optimize the navigation bar UI and add about content.
This commit is contained in:
parent
93847e9739
commit
575c511c51
@ -178,7 +178,7 @@ body {
|
||||
min-width: 150px;
|
||||
.bar-btn {
|
||||
display: inline-block;
|
||||
min-width: 50px;
|
||||
min-width: 80px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
padding: 0 5px;
|
||||
|
BIN
frontend/src/assets/images/comeon.gif
Normal file
BIN
frontend/src/assets/images/comeon.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 94 KiB |
@ -4,61 +4,94 @@
|
||||
<div class="title">{{ $t('aboutpage.title') }}</div>
|
||||
<!-- Information -->
|
||||
<!-- 信息 -->
|
||||
<div class="content">
|
||||
<div class="comeon">
|
||||
<img :src="comeonGif" alt />
|
||||
</div>
|
||||
<ul class="info">
|
||||
<li class="info-item">
|
||||
<span class="name">{{ $t('aboutpage.project-repository') + ': ' }}</span>
|
||||
<div class="name">{{ $t('aboutpage.project-repository') }}</div>
|
||||
<OpenLink
|
||||
class="link"
|
||||
href="https://github.com/misitebao/wails-template-vue"
|
||||
>https://github.com/misitebao/wails-template-vue</OpenLink>
|
||||
</li>
|
||||
<li class="info-item">
|
||||
<span class="name">{{ $t('aboutpage.author') + ': ' }}</span>
|
||||
<OpenLink class="link" href="https://github.com/misitebao">{{ $t('aboutpage.misitebao') }}</OpenLink>
|
||||
</li>
|
||||
<li class="info-item">
|
||||
<span class="name">{{ $t('aboutpage.wails-repository') + ': ' }}</span>
|
||||
<div class="name">{{ $t('aboutpage.wails-repository') }}</div>
|
||||
<OpenLink
|
||||
class="link"
|
||||
href="https://github.com/wailsapp/wails"
|
||||
>https://github.com/wailsapp/wails</OpenLink>
|
||||
</li>
|
||||
<li class="info-item">
|
||||
<div class="name">{{ $t('aboutpage.author') }}</div>
|
||||
<OpenLink class="link" href="https://github.com/misitebao">{{ $t('aboutpage.misitebao') }}</OpenLink>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Thanks -->
|
||||
<!-- 谢语 -->
|
||||
<div class="thank">{{ $t('aboutpage.thanks') }}</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import comeonGif from '@/assets/images/comeon.gif'
|
||||
export default {
|
||||
setup() {
|
||||
return {
|
||||
comeonGif
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.about {
|
||||
.title {
|
||||
margin: 30px auto;
|
||||
font-size: 36px;
|
||||
margin: 20px auto 10px;
|
||||
font-size: 38px;
|
||||
color: #a150b5;
|
||||
text-align: center;
|
||||
}
|
||||
.content {
|
||||
position: relative;
|
||||
margin: 14px 20px;
|
||||
.comeon {
|
||||
position: absolute;
|
||||
left: 60px;
|
||||
top: 26px;
|
||||
max-width: 66%;
|
||||
img {
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
}
|
||||
}
|
||||
.info {
|
||||
margin: 14px 60px;
|
||||
// background-color red
|
||||
margin: 0 0 0 33%;
|
||||
font-size: 24px;
|
||||
text-align: left;
|
||||
.info-item {
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
white-space: nowrap;
|
||||
margin-bottom: 10px;
|
||||
.name {
|
||||
line-height: 40px;
|
||||
font-size: 28px;
|
||||
color: #6d6363;
|
||||
}
|
||||
.link {
|
||||
line-height: 30px;
|
||||
font-size: 20px;
|
||||
color: #5f6c86;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.thank {
|
||||
height: 68px;
|
||||
line-height: 68px;
|
||||
margin: 47px auto;
|
||||
margin: 36px auto;
|
||||
text-align: center;
|
||||
font-size: 50px;
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user