This commit is contained in:
pengxiaolong
2025-05-13 19:39:53 +08:00
parent 37da6765b8
commit c006a8e63d
1232 changed files with 96963 additions and 883 deletions

View File

@@ -0,0 +1,32 @@
.tui-chat {
.tui-message-list {
.message-more {
color: #999;
cursor: pointer;
}
}
.image-dialog {
background: rgba(0, 0, 0, 0.6);
header {
background: rgba(0,0,0,0.49);
}
}
}
.tui-chat-h5 {
.tui-chat-header {
background: #FFF;
}
.tui-chat-footer {
background: #FFF;
.input {
input {
background: #F4F5F9;
}
}
}
}

View File

@@ -0,0 +1,16 @@
.tui-chat-h5 {
flex: 1;
position: static;
.tui-chat-main {
.tui-message-list {
height: 100%;
}
.message-more {
color: #999;
cursor: pointer;
font-size: 14px;
}
}
}

View File

@@ -0,0 +1,11 @@
@import "../../../../assets/styles/common";
@import "./color";
@import "./web";
@import "./h5";
:not(not) {
display: flex;
flex-direction: column;
box-sizing: border-box;
min-width: 0;
}

View File

@@ -0,0 +1,177 @@
.tui-chat {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
&-main {
min-height: 0;
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
.tui-chat-safe-tips {
padding: 12px 20px;
background-color: rgba(255, 149, 0, 0.1);
color: #ff8c39;
line-height: 18px;
font-family: PingFangSC-Regular;
font-style: normal;
font-weight: 400;
text-align: justify;
font-size: 12px;
a {
color: #006eff;
float: right;
}
}
.tui-chat-application-tips {
text-align: center;
width: 100%;
background: #fce4d3;
padding: 2px;
font-size: 12px;
}
.application-tips-btn {
color: #006eff;
padding-left: 10px;
}
.tui-message-list {
flex: 1;
height: 100%;
overflow: hidden auto;
.message-more {
font-size: 14px;
padding: 5px;
text-align: center;
}
.to-bottom-tip {
position: sticky;
bottom: 10px;
left: 100%;
margin-right: 15px;
width: 92px;
height: 28px;
padding: 0 5px;
background: #fff;
border: 1px solid #e0e0e0;
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.06);
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border-radius: 3px;
cursor: pointer;
&-text {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 10px;
color: #147aff;
letter-spacing: 0;
text-align: center;
padding-left: 3px;
}
}
.message-li {
&:first-child {
margin-top: 5px;
}
display: flex;
flex-direction: column;
.message-item {
display: flex;
position: relative;
flex-direction: column;
.message-tool {
z-index: 5;
position: absolute;
cursor: pointer;
transform: translateY(-100%);
}
.message-tool-out {
right: 30px;
left: auto;
}
.message-tool-in {
left: 30px;
right: auto;
}
.message-tool-bottom {
z-index: 5;
bottom: 0;
transform: translateY(100%);
}
}
.message-label {
max-width: 50px;
}
}
.right {
flex-direction: row-reverse;
justify-content: flex-start;
}
}
}
.disabled {
position: relative;
&::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
}
}
}
.image-dialog {
position: fixed;
z-index: 5;
width: 100vw;
height: calc(100vh - 63px);
top: 63px;
left: 0;
header {
display: flex;
justify-content: flex-end;
width: 100%;
box-sizing: border-box;
padding: 10px;
}
}
::-webkit-scrollbar {
width: 6px;
height: 140px;
background-color: transparent;
}
::-webkit-scrollbar-track {
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #9a999c;
}