【功能完善】商城: 客服整体的每个区域的线框优化

pull/598/head
puhui999 2024-11-24 11:52:24 +08:00
parent 90c71804e2
commit 64e2ddfa18
2 changed files with 36 additions and 3 deletions

View File

@ -374,8 +374,19 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
<style lang="scss" scoped> <style lang="scss" scoped>
.kefu { .kefu {
background-color: #fff; background-color: #fff;
position: relative;
width: calc(100% - 300px - 260px); width: calc(100% - 300px - 260px);
border-left: var(--el-border-color) solid 1px;
&::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 1px; /* 实际宽度 */
height: 100%;
background-color: var(--el-border-color);
transform: scaleX(0.3); /* 缩小宽度 */
}
.kefu-header { .kefu-header {
background: #fbfbfb; background: #fbfbfb;
@ -463,12 +474,23 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
} }
.kefu-footer { .kefu-footer {
position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: auto; height: auto;
margin: 0; margin: 0;
padding: 0; padding: 0;
border-top: var(--el-border-color) solid 1px;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 1px; /* 初始宽度 */
background-color: var(--el-border-color);
transform: scaleY(0.3); /* 缩小视觉高度 */
}
.chat-tools { .chat-tools {
width: 100%; width: 100%;

View File

@ -165,9 +165,20 @@ const getUserData = async () => {
<style lang="scss" scoped> <style lang="scss" scoped>
.kefu { .kefu {
position: relative;
width: 300px !important; width: 300px !important;
background-color: #fff; background-color: #fff;
border-left: var(--el-border-color) solid 1px;
&::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 1px; /* 实际宽度 */
height: 100%;
background-color: var(--el-border-color);
transform: scaleX(0.3); /* 缩小宽度 */
}
&-header { &-header {
background: #fbfbfb; background: #fbfbfb;