feat:新增gitee入口
This commit is contained in:
BIN
Yi.Bbs.Vue3/src/assets/common/icons/gitee.png
Normal file
BIN
Yi.Bbs.Vue3/src/assets/common/icons/gitee.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
@@ -63,6 +63,11 @@
|
|||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
</el-dropdown>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -119,6 +124,10 @@ const search = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const isLogin = getToken("AccessToken") ? true : false;
|
const isLogin = getToken("AccessToken") ? true : false;
|
||||||
|
|
||||||
|
const handleGitClick = () => {
|
||||||
|
window.open("https://gitee.com/ccnetcore/Yi");
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@@ -129,9 +138,20 @@ const isLogin = getToken("AccessToken") ? true : false;
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
||||||
|
|||||||
Reference in New Issue
Block a user