Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
broadcast_cloud
/
web-live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b89c9478
authored
Oct 16, 2020
by
xiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flex 兼容问题
parent
988ed8e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
components/modules-pc/chatBox/index.vue
+19
-10
No files found.
components/modules-pc/chatBox/index.vue
View file @
b89c9478
<!--
* @Author: your name
* @Date: 2020-09-14 16:53:49
* @LastEditTime: 2020-10-1
5 09:42:52
* @LastEditTime: 2020-10-1
6 17:14:05
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /consoles_program/Users/xiawei/gdy/web-live/components/modules-pc/chatBox/index.vue
-->
<
template
>
<div
class=
"chat
-box
"
>
<div
class=
"top-chat-
list
"
>
<div
class=
"chat"
>
<div
class=
"top-chat-
box
"
>
<top-chat-list></top-chat-list>
</div>
<div
class=
"chat-list"
>
<chat-list></chat-list>
<div
class=
"chat-box"
>
<div
class=
"chat-box-list"
>
<chat-list></chat-list>
</div>
</div>
<div
class=
"chat-send"
>
<send-box></send-box>
...
...
@@ -46,19 +48,26 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
.chat
-box
{
.chat
{
position
:
relative
;
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
.top-chat-
list
{
.top-chat-
box
{
flex
:
0
0
auto
;
}
.chat-list
{
.chat-box
{
position
:
relative
;
flex
:
1
;
height
:
100%
;
height
:
0
;
width
:
100%
;
overflow-y
:
auto
;
.chat-box-list
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
}
}
.chat-send
{
flex
:
0
0
auto
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment