feat:新增gitee入口

This commit is contained in:
Xwen
2024-01-02 20:40:14 +08:00
parent b6e8239e25
commit 153a0b9354
2 changed files with 20 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -63,6 +63,11 @@
</el-dropdown-menu>
</template>
</el-dropdown>
<div class="author" @click="handleGitClick">
<el-tooltip effect="dark" content="在gitee找到我们" placement="bottom">
<img src="@/assets/common/icons/gitee.png" alt="" />
</el-tooltip>
</div>
</div>
</div>
</template>
@@ -119,6 +124,10 @@ const search = () => {
};
const isLogin = getToken("AccessToken") ? true : false;
const handleGitClick = () => {
window.open("https://gitee.com/ccnetcore/Yi");
};
</script>
<style scoped lang="scss">
@@ -129,9 +138,20 @@ const isLogin = getToken("AccessToken") ? true : false;
align-items: center;
justify-content: space-between;
}
.user {
display: flex;
align-items: center;
.author {
cursor: pointer;
width: 25px;
height: 25px;
margin-left: 20px;
img {
width: 100%;
height: 100%;
}
}
.el-dropdown-link {
cursor: pointer;
display: flex;