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 VueLuckyCanvas from '@lucky-canvas/vue'
|
||||
|
||||
import "./permission";
|
||||
// import "./permission";
|
||||
|
||||
(async () => {
|
||||
const app = createApp(App);
|
||||
|
||||
@@ -1,59 +1,136 @@
|
||||
<template>
|
||||
<div class="body">
|
||||
|
||||
<div class="left"></div>
|
||||
|
||||
<div class="middle">
|
||||
<div class="header"></div>
|
||||
<div class="user-list"></div>
|
||||
<div class="left">
|
||||
<div class="icon">
|
||||
<img src="@/assets/chat_images/icon.jpg">
|
||||
</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 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>
|
||||
<style scoped lang="scss">
|
||||
.body {
|
||||
height: 790px;
|
||||
width: 1400px;
|
||||
height: 790px;
|
||||
width: 1400px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.left {
|
||||
background-color: #2a2a2a;
|
||||
width: 70px;
|
||||
padding: 46px 10px 0 10px;
|
||||
|
||||
.icon {
|
||||
background-color: burlywood;
|
||||
height: 46px;
|
||||
width: 46px;
|
||||
img{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.middle {
|
||||
background-color: #dadbdc;
|
||||
width: 380px;
|
||||
|
||||
.header {
|
||||
height: 75px;
|
||||
background: #f7f7f7;
|
||||
padding: 30px 0 30px 0 ;
|
||||
.search{
|
||||
margin: auto;
|
||||
background-color: #E2E2E2;
|
||||
height: 30px;
|
||||
width: 338px;
|
||||
}
|
||||
}
|
||||
.user-list {
|
||||
}
|
||||
|
||||
.user-list {}
|
||||
}
|
||||
|
||||
.right {
|
||||
background-color: #f5f5f5;
|
||||
width: 950px;
|
||||
|
||||
.header {
|
||||
height: 75px;
|
||||
background: #f7f7f7;
|
||||
border: 1px solid #e7e7e7;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: 580px;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
height: calc(100% - 655px);
|
||||
background: #f7f7f7;
|
||||
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>
|
||||