feat:新增github入口
This commit is contained in:
@@ -63,11 +63,16 @@
|
||||
</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 class="gitee" @click="handleGitClick">
|
||||
<el-tooltip effect="dark" content="在gitee找到我们" placement="bottom">
|
||||
<img src="@/assets/common/icons/gitee.png" alt="" />
|
||||
</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>
|
||||
</template>
|
||||
@@ -128,6 +133,9 @@ const isLogin = getToken("AccessToken") ? true : false;
|
||||
const handleGitClick = () => {
|
||||
window.open("https://gitee.com/ccnetcore/Yi");
|
||||
};
|
||||
const handleGithubClick = () => {
|
||||
window.open("https://github.com/ccnetcore/Yi.Abp.Admin");
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@@ -141,22 +149,29 @@ const handleGitClick = () => {
|
||||
.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;
|
||||
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 {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user