feat: 完成前端菜单栏构建
BIN
Yi.Bbs.Vue3/src/assets/chat_images/addressBook.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/collection.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/file.png
Normal file
|
After Width: | Height: | Size: 815 B |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/friend.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/icon.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/line.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/look.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/mini.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/other.png
Normal file
|
After Width: | Height: | Size: 321 B |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/phone.png
Normal file
|
After Width: | Height: | Size: 785 B |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/sou.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/wechat.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
@@ -14,7 +14,7 @@ import * as ElementPlusIconsVue from "@element-plus/icons-vue";
|
|||||||
import directive from "./directive"; // directive
|
import directive from "./directive"; // directive
|
||||||
import VueLuckyCanvas from '@lucky-canvas/vue'
|
import VueLuckyCanvas from '@lucky-canvas/vue'
|
||||||
|
|
||||||
import "./permission";
|
// import "./permission";
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
|
|||||||
@@ -1,59 +1,136 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
|
||||||
<div class="left"></div>
|
<div class="left">
|
||||||
|
<div class="icon">
|
||||||
<div class="middle">
|
<img src="@/assets/chat_images/icon.jpg">
|
||||||
<div class="header"></div>
|
|
||||||
<div class="user-list"></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<ul class="top-icon">
|
||||||
|
<li><img src="@/assets/chat_images/wechat.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/addressBook.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/collection.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/file.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/friend.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/line.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/look.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/sou.png"></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="bottom-icon">
|
||||||
|
<li><img src="@/assets/chat_images/mini.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/phone.png"></li>
|
||||||
|
<li><img src="@/assets/chat_images/other.png"></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<div class="right">
|
|
||||||
<div class="header"></div>
|
|
||||||
<div class="content"></div>
|
|
||||||
<div class="bottom"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="middle">
|
||||||
|
<div class="header">
|
||||||
|
<div class="search"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="user-list"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
<div class="header"></div>
|
||||||
|
<div class="content"></div>
|
||||||
|
<div class="bottom"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.body {
|
.body {
|
||||||
height: 790px;
|
height: 790px;
|
||||||
width: 1400px;
|
width: 1400px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
background-color: #2a2a2a;
|
background-color: #2a2a2a;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
|
padding: 46px 10px 0 10px;
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
background-color: burlywood;
|
||||||
|
height: 46px;
|
||||||
|
width: 46px;
|
||||||
|
img{
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.middle {
|
.middle {
|
||||||
background-color: #dadbdc;
|
background-color: #dadbdc;
|
||||||
width: 380px;
|
width: 380px;
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
height: 75px;
|
height: 75px;
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
|
padding: 30px 0 30px 0 ;
|
||||||
|
.search{
|
||||||
|
margin: auto;
|
||||||
|
background-color: #E2E2E2;
|
||||||
|
height: 30px;
|
||||||
|
width: 338px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.user-list {
|
|
||||||
}
|
.user-list {}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
width: 950px;
|
width: 950px;
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
height: 75px;
|
height: 75px;
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
border: 1px solid #e7e7e7;
|
border: 1px solid #e7e7e7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
height: 580px;
|
height: 580px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
.bottom {
|
||||||
height: calc(100% - 655px);
|
height: calc(100% - 655px);
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
border: 1px solid #e7e7e7;
|
border: 1px solid #e7e7e7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top-icon
|
||||||
|
{
|
||||||
|
margin-top: 32px;
|
||||||
|
li{
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
img{
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bottom-icon
|
||||||
|
{margin-top: 125px;
|
||||||
|
li{
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
img{
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||