feat:新增github入口
This commit is contained in:
BIN
Yi.Bbs.Vue3/src/assets/common/icons/github.png
Normal file
BIN
Yi.Bbs.Vue3/src/assets/common/icons/github.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
@@ -63,11 +63,16 @@
|
|||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
<div class="author" @click="handleGitClick">
|
</div>
|
||||||
<el-tooltip effect="dark" content="在gitee找到我们" placement="bottom">
|
<div class="gitee" @click="handleGitClick">
|
||||||
<img src="@/assets/common/icons/gitee.png" alt="" />
|
<el-tooltip effect="dark" content="在gitee找到我们" placement="bottom">
|
||||||
</el-tooltip>
|
<img src="@/assets/common/icons/gitee.png" alt="" />
|
||||||
</div>
|
</el-tooltip>
|
||||||
|
</div>
|
||||||
|
<div class="github" @click="handleGithubClick">
|
||||||
|
<el-tooltip effect="dark" content="在github找到我们" placement="bottom">
|
||||||
|
<img src="@/assets/common/icons/github.png" alt="" />
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -128,6 +133,9 @@ const isLogin = getToken("AccessToken") ? true : false;
|
|||||||
const handleGitClick = () => {
|
const handleGitClick = () => {
|
||||||
window.open("https://gitee.com/ccnetcore/Yi");
|
window.open("https://gitee.com/ccnetcore/Yi");
|
||||||
};
|
};
|
||||||
|
const handleGithubClick = () => {
|
||||||
|
window.open("https://github.com/ccnetcore/Yi.Abp.Admin");
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@@ -141,22 +149,29 @@ const handleGitClick = () => {
|
|||||||
.user {
|
.user {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.author {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 25px;
|
|
||||||
height: 25px;
|
|
||||||
margin-left: 20px;
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.el-dropdown-link {
|
.el-dropdown-link {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.gitee,
|
||||||
|
.github {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 25px;
|
||||||
|
height: 25px;
|
||||||
|
position: fixed;
|
||||||
|
right: 150px;
|
||||||
|
margin-left: 10px;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.github {
|
||||||
|
right: 100px;
|
||||||
|
}
|
||||||
.logo {
|
.logo {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user