123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- .spill{
- display: -webkit-box; /*弹性伸缩盒子模型显示*/
- -webkit-box-orient: vertical; /*排列方式*/
- -webkit-line-clamp: 1; /*显示文本行数*/
- overflow: hidden; /*溢出隐藏*/
- }
- .flex-buju{
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .main {
- overflow: hidden;
- display: flex;
- justify-content: space-between;
- .left-main,
- .right-main {
- background: #fff;
- border-radius: 4px;
- }
- //左侧板块
- .left-main {
- // width: 312px;
- width: 20.1%;
- margin-right: 8px;
- .left-top {
- display: flex;
- justify-content: space-around;
- align-items: center;
- height: 48px;
- background: #ebeff6;
- border-top-right-radius: 4px;
- border-top-left-radius: 4px;
- }
- }
- //右侧板块
- .right-main {
- width: 100%;
- flex-grow: 1;
- display: flex;
- flex-direction: column;
- .right-header {
- background-color: #ebeff6;
- border-top-right-radius: 4px;
- border-top-left-radius: 4px;
- }
- .right-container {
- // flex: 1;
- height: 300px !important;
- overflow: auto;
- border-bottom: 1px solid #c1cce3;
- }
- .right-footer {
- display: flex;
- align-items: center;
- :deep .el-input__wrapper {
- background: #f5f7f9 !important;
- border-radius: 16px;
- }
- .w-50 {
- margin: 0 16px;
- flex: 1;
- }
- .send-info {
- width: 40px;
- height: 40px;
- border-radius: 16px;
- }
- .send-info-file {
- width: 28px;
- height: 28px;
- }
- :deep .el-input {
- width: 80%;
- height: 40px;
- border-radius: 16px;
- --el-input-border-color: #c9d2e6;
- }
- }
- }
- }
- //搜索
- .search {
- .w-50,
- :deep .el-input {
- width: 80%;
- height: 32px;
- border-radius: 4px;
- --el-input-border-color: #c9d2e6;
- }
- }
- //聊天头像
- .head-sculpture {
- width: 40px;
- height: 40px;
- border-radius: 20px;
- margin: 0 8px 0 12px;
- vertical-align: middle;
- }
-
- //左侧聊天列表展示
- .left-container {
- height: 80px;
- display: flex;
- align-items: center;
- border-bottom: 1px solid #c1cce3;
- position: relative;
- & > div:last-child {
- vertical-align: middle;
- margin-right: 10px;
- display: flex;
- height: 40px;
- justify-content: space-between;
- flex-direction: column;
- .person-name {
- font-family: "Inter-Medium";
- color: #000;
- font-size: 16px;
- }
- .person-cont {
- color: #505870;
- font-size: 14px;
- }
- }
- .del-chat{
- position: absolute;
- right: 8px;
- bottom: -8px;
- width: 88px;
- height: 38px;
- box-shadow: 0px 2px 8px 1px rgba(199,203,216,0.5);
- background: rgba(255,255,255,0.9);
- border-radius: 4px;
- border: none;
- }
- }
- //点击时列表的背景色
- .activ-left-container {
- background: #f5f7f9;
- }
- .cebian {
- height: 100%;
- width: 4px;
- position: absolute;
- left: 0;
- }
- //聊天
- .message-container {
- display: flex;
- align-items: flex-start;
- margin-bottom: 20px;
- }
-
- .message-left {
- margin-right: 40%;
- justify-content: flex-start;
- .left-back{
- background: #EBEFF6;
- border-radius: 20px 20px 20px 0px;
- padding: 8px 16px;
- }
- }
-
- .message-right {
- // width: 80%;
- margin-left: 40%;
- justify-content: flex-end;
- .right-back{
- padding: 8px 16px;
- background: #2E6BC8;
- border-radius: 20px 20px 0px 20px;
- }
- }
- .time-text{
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- }
|