fix: 面板关于信息

This commit is contained in:
手瓜一十雪
2024-11-15 14:46:05 +08:00
parent 6d37868ae8
commit 50079e7a96
5 changed files with 104 additions and 10 deletions

View File

@@ -1,6 +1,69 @@
<template>
<div class="about-us">
<h1>面板关于信息</h1>
<p>这里显示面板关于信息</p>
<div>
<t-divider content="面板关于信息" align="left" />
<t-alert theme="success" message="NapCat.WebUi is running" />
<t-list class="list">
<t-list-item class="list-item">
<span class="item-label">开发人员:</span>
<span class="item-content"><t-link href="mailto:nanaeonn@outlook.com">Mlikiowa</t-link></span>
</t-list-item>
<t-list-item class="list-item">
<span class="item-label">版本信息:</span>
<span class="item-content">
<t-tag class="tag-item" theme="success"> WebUi: 1.0.0 </t-tag>
<t-tag class="tag-item" theme="success"> NapCat: 1.0.0 </t-tag>
<t-tag class="tag-item" theme="success"> Tdesign: 1.0.0 </t-tag>
</span>
</t-list-item>
</t-list>
</div>
</div>
</template>
<script>
export default {
methods: {
joinQQGroup() {
// 加入QQ群的逻辑
window.open('https://jq.qq.com/?_wv=1027&k=123456789', '_blank');
}
}
}
</script>
<style scoped>
.about-us {
padding: 20px;
text-align: left;
}
.list {
display: flex;
flex-direction: column;
}
.list-item {
display: flex;
justify-content: space-between;
align-items: center;
}
.item-label {
flex: 1;
font-weight: bold;
}
.item-content {
flex: 2;
display: flex;
flex-wrap: wrap;
justify-content: flex-end; /* 添加这一行 */
}
.tag-item {
margin-right: 10px;
margin-bottom: 10px;
}
</style>