消息
This commit is contained in:
47
TUIKit/components/TUIChat/style/h5.scss
Normal file
47
TUIKit/components/TUIChat/style/h5.scss
Normal file
@@ -0,0 +1,47 @@
|
||||
.chat {
|
||||
display: block;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tui-chat-h5 {
|
||||
&-message-list {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-message-input {
|
||||
height: auto;
|
||||
padding: 10px 10px 0;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
&-message-input-toolbar {
|
||||
order: 1;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.tui-chat-uniapp {
|
||||
&-header {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.group-profile {
|
||||
position: absolute;
|
||||
top: 14%;
|
||||
right: 0;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
color: #000;
|
||||
font-size: 10px;
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-left-radius: 20px;
|
||||
padding-left: 15px;
|
||||
z-index: 100;
|
||||
background-color: #ccc;
|
||||
opacity: 0.5;
|
||||
}
|
||||
12
TUIKit/components/TUIChat/style/index.scss
Normal file
12
TUIKit/components/TUIChat/style/index.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
@import '../../../assets/styles/common';
|
||||
@import './web';
|
||||
@import './h5';
|
||||
@import './uni';
|
||||
@import './wx';
|
||||
|
||||
:not(not) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
}
|
||||
10
TUIKit/components/TUIChat/style/uni.scss
Normal file
10
TUIKit/components/TUIChat/style/uni.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
.tui-chat-uni {
|
||||
&-message-input {
|
||||
max-height: 370px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
&-message-input-toolbar {
|
||||
z-index: 100;
|
||||
}
|
||||
}
|
||||
46
TUIKit/components/TUIChat/style/web.scss
Normal file
46
TUIKit/components/TUIChat/style/web.scss
Normal file
@@ -0,0 +1,46 @@
|
||||
.tui-chat {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
&-default {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-header {
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-message-list {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-leave-group {
|
||||
font-size: 14px;
|
||||
height: 160px;
|
||||
border-top: 1px solid #efefef;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&-mobile {
|
||||
height: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
&-message-input {
|
||||
height: 160px;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
5
TUIKit/components/TUIChat/style/wx.scss
Normal file
5
TUIKit/components/TUIChat/style/wx.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
.tui-chat-wx {
|
||||
&-message-input {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user