* { /* 设置滚动条的样式 */ &::-webkit-scrollbar { width: 6px; } /* 滚动槽 */ &::-webkit-scrollbar-track { background: transparent; } /* 滚动条滑块 */ &::-webkit-scrollbar-thumb { width: 6px; //background: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.3); //opacity: 0.15; border-radius: 3px; } } .call-container { width: 1366px; height: 872px; background: black; background-size: cover; position: absolute; z-index: 999; top: 0; left: 50%; transform: translate(-50%, 0); .header { width: 100%; height: 41px; background: #0e70ff; border-radius: 4px 4px 0 0; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; padding: 0 16px; position: relative; .item { margin-left: 16px; } .time { font-size: 14px; font-weight: 400; color: #ffffff; } .timeTik { position: absolute; top: 50%; left: 20px; transform: translate(0, -50%); font-size: 14px; font-weight: 400; color: #ffffff; } .icon { display: block; width: 16px; height: 16px; cursor: pointer; &.fullscreen { background: url("~@/assets/images/conversation/全屏.png") no-repeat; background-size: 100% 100%; } &.narrow { background: url("~@/assets/images/conversation/全屏.png") no-repeat; background-size: 100% 100%; } &.close { background: url("~@/assets/images/conversation/关闭.png") no-repeat; background-size: 100% 100%; } } } .container { width: 100%; height: calc(100% - 41px - 56px); padding: 0 35px; display: grid; grid-auto-rows: 100%; grid-gap: 10px; overflow: auto; &-3 { //划容器为三个1fr的列 grid-template-columns: 1fr 1fr 1fr; } &-6 { grid-template-columns: repeat(3, 1fr); //grid-template-rows: repeat(2, 1fr); grid-auto-rows: 50%; } &-9 { grid-template-columns: repeat(3, 1fr); //grid-template-rows: repeat(3, 1fr); grid-auto-rows: 33.3%; } &-remote-only { grid-template-columns: 1fr; } &-C2C { grid-template-columns: 1fr 1fr; } &-pagination { padding: 0; grid-template-columns: repeat(2, 100%); grid-auto-rows: 100%; grid-gap: 0; overflow: hidden; position: relative; &-item { width: 100%; height: 100%; padding: 0 12px; display: grid; grid-gap: 10px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 33.3%; z-index: 1; } &-arrow { display: block; position: absolute; width: 20px; height: 48px; cursor: pointer; z-index: 2; transform: translate(0, -50%); &-left { top: 50%; left: 12px; background: url("~@/assets/images/conversation/Arrow - Left Circle.png"); background-size: 100% 100%; } &-right { top: 50%; right: 12px; background: url("~@/assets/images/conversation/Arrow - Right Circle.png"); background-size: 100% 100%; } } } .stream-content { background: #2b2b2b; position: relative; width: 100%; border-radius: 8px 8px 8px 8px; overflow: hidden; &-audio { &-CONNECTED { &::before { display: none; } } } &-CONNECTING { &::before { content: " "; display: block; position: absolute; top: 50%; left: 50%; width: 80px; height: 80px; background: url("~@/assets/images/conversation/呼叫中、未接听、已挂断图标/呼叫中.png") no-repeat; background-size: 100% 100%; transform: translate(-50%, -50%); } } &-DISCONNECTED { &::before { content: " "; display: block; position: absolute; top: 50%; left: 50%; width: 80px; height: 80px; background: url("~@/assets/images/conversation/呼叫中、未接听、已挂断图标/已挂断.png") no-repeat; background-size: 100% 100%; transform: translate(-50%, -50%); } } //height: 691px; .info { //width: 58px; height: 28px; position: absolute; top: 0; left: 0; z-index: 2; display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.6); padding: 0 6px; .name { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.85); } .icon-hand-up { display: block; width: 16px; height: 16px; margin-left: 4px; background: url("~@/assets/images/conversation/举手.png") no-repeat; background-size: 100% 100%; cursor: pointer; } .micro-status { display: block; width: 16px; height: 16px; margin-left: 4px; &-on { background: url("~@/assets/images/conversation/语音开启.png") no-repeat; background-size: 100% 100%; } &-off { background: url("~@/assets/images/conversation/语音关闭.png") no-repeat; background-size: 100% 100%; } } } .el-avatar { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; .avatar { width: 100%; height: 100%; //border-radius: 50%; overflow: hidden; margin-right: 16px; background: #0e71ff; font-size: 16px; font-weight: 400; color: #ffffff; } } } } &-show-right-panel { width: 1678px; .container { width: calc(100% - 340px); } } .right-panel { width: 340px; height: calc(100% - 41px); background: #1e1e1e; position: absolute; right: 0; top: 41px; z-index: 2; ::v-deep .el-tabs__header { margin-bottom: 0; } &-title { width: 100%; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; span { font-size: 20px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; line-height: 24px; } .icon { display: block; width: 16px; height: 16px; cursor: pointer; &-close { background: url("~@/assets/images/conversation/关闭 1.png") no-repeat; background-size: 100% 100%; } } } &-bottom { width: 100%; height: 148px; background: #1e1e1e; border-top: 1px solid #2f2f2f; padding: 24px 16px; display: flex; flex-direction: column; justify-content: space-between; &-btn { width: 100%; height: 38px; border-radius: 4px 4px 4px 4px; border: 1px solid #666666; display: flex; align-items: center; justify-content: center; font-size: 14px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; cursor: pointer; &:hover, &-active { background: rgba(255, 255, 255, 0.08); } &-full { width: 100%; height: 38px; } } } } .footer { width: 100%; height: 56px; display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.8); position: absolute; bottom: 0; left: 0; } .buttons { position: absolute; z-index: 20; width: 70%; //top: 75%; bottom: 0; display: flex; justify-content: space-around; margin: 0 15% 0 15%; } &-remote-only { width: 717px; } //&-full { // .container { // height: calc(100vh - 41px - 56px); // .stream-content { // height: calc(100vh - 41px - 56px); // } // } //} } .layout, .accept, .refuse, .members, .videoOn, .videoOff, .micOn, .micOff { width: 70px; height: 47px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; //border-radius: 50%; cursor: pointer; text-align: center; margin-left: 5px; position: relative; &:hover, &-active { background: rgba(255, 255, 255, 0.1993); border-radius: 8px; } .icon { width: 18px; height: 18px; } .name { font-size: 12px; font-weight: 400; color: #ffffff; line-height: 14px; width: 70px; } .layout-picker { display: flex; justify-content: space-between; align-items: center; width: 340px; height: 125px; background: #333438; border-radius: 4px 4px 4px 4px; padding: 0 24px; position: absolute; bottom: 50px; //left: -10px; .layout-type { width: 76px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; .layout-type-img { width: 76px; height: 52px; margin-bottom: 8px; &-3 { background: url("~@/assets/images/conversation/三宫格.png") no-repeat; background-size: 100% 100%; } &-6 { background: url("~@/assets/images/conversation/六宫格.png") no-repeat; background-size: 100% 100%; } &-9 { background: url("~@/assets/images/conversation/9宫格.png") no-repeat; background-size: 100% 100%; } } } } } .accept { background-size: 60%; background: #0ac160 url("~@/assets/images/conversation/call.png") no-repeat; } .layout { .icon { background: url("~@/assets/images/conversation/switch.png") no-repeat; background-size: 100% 100%; } } .refuse { .icon { background: url("~@/assets/images/conversation/close.png") no-repeat; background-size: 100% 100%; } } .members { .icon { background: url("~@/assets/images/conversation/成员.png") no-repeat; background-size: 100% 100%; } } .videoOn { .icon { background: url("~@/assets/images/conversation/视频.png") no-repeat; background-size: 100% 100%; } } .videoOff { .icon { background: url("~@/assets/images/conversation/开启视频.png") no-repeat; background-size: 100% 100%; } } .micOn { .icon { background: url("~@/assets/images/conversation/静音.png") no-repeat; background-size: 100% 100%; } } .micOff { .icon { background: url("~@/assets/images/conversation/解除静音.png") no-repeat; background-size: 100% 100%; } } .audio-box { position: absolute; z-index: 20; width: 70%; top: 200px; display: flex; justify-content: center; margin: 0 15% 0 15%; } .aduio-call { box-sizing: border-box; width: 140px; height: 100px; } .audio-img { display: block; width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 13px; } .micr-icon { cursor: pointer; font-size: 28px; /*display block*/ /*text-align center*/ } .nick-text { color: #dddddd; font-size: 12px; margin-right: 5px; vertical-align: super; } .duration { color: #fff; position: absolute; z-index: 20; width: 100%; top: 70%; display: flex; justify-content: center; } .mask { position: absolute; z-index: 10; background: #d8d8d8; height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; .space { .image { margin-left: 15%; } .notice { color: #888888; } } } .choose, .call { color: #fff; background-color: rgba(0, 0, 0, 0.8); height: 100%; width: 100%; } .title { margin: 25% 0 0 0; text-align: center; width: 100%; position: absolute; z-index: 10; color: #fff; font-size: 40px; font-weight: 700; } .big { position: absolute; height: 100%; width: 100%; } .small { position: absolute; margin-left: 74.8%; z-index: 999; border-style: solid; border-width: 1px; border-color: #808080; height: 44.8%; width: 25.2%; } .big-group { height: 60vh; width: 100%; } .small-group { display: flex; flex-wrap: wrap; position: absolute; /*z-index 999*/ /*border-style solid*/ /*border-width 1px*/ /*border-color #808080*/ /*height 30%*/ width: 100%; /*height 100%*/ } .small-group_box { height: 100%; } .video-box { width: 33.3%; height: 25vh; } .room-member-list { width: 100%; height: 580px; overflow-x: hidden; overflow-y: auto; padding: 16px 8px; &-item { width: 100%; height: 66px; border-radius: 8px 8px 8px 8px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; &:hover { background: #2b2b2b; } .info { display: flex; .avatar { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; //margin-right: 16px; background: #0e71ff; font-size: 16px; font-weight: 400; color: #ffffff; //margin-right: 8px; img { width: 100%; height: auto; } } .name { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; margin-left: 8px; .value { font-size: 12px; line-height: 20px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; } .tag { height: 20px; padding: 0 2px; background: #4c4c4c; border-radius: 4px 4px 4px 4px; font-size: 12px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; display: flex; align-items: center; justify-content: center; } } } .stream-controller { display: flex; align-items: center; .state-disconnected { color: #e2594e; font-size: 14px; } .btn { width: 24px; height: 24px; cursor: pointer; margin-left: 16px; &-handup { background: url("~@/assets/images/conversation/举手.png") no-repeat; background-size: 100% 100%; } &-mute { background: url("~@/assets/images/conversation/静音1.png") no-repeat; background-size: 100% 100%; } &-unmute { background: url("~@/assets/images/conversation/开麦.png") no-repeat; background-size: 100% 100%; } &-videoOn { background: url("~@/assets/images/conversation/关闭摄像.png") no-repeat; background-size: 100% 100%; } &-videoOff { background: url("~@/assets/images/conversation/打开摄像.png") no-repeat; background-size: 100% 100%; } &-kick-out { background: url("~@/assets/images/conversation/移除.png") no-repeat; background-size: 100% 100%; } &-recall { background: url("~@/assets/images/conversation/拨通.png") no-repeat; background-size: 100% 100%; } } } } } ::v-deep .el-tabs { .el-tabs__nav { display: grid; grid-template-columns: repeat(2, 50%); width: 100%; .el-tabs__item { font-size: 14px; font-weight: 400; color: #ffffff; display: flex; align-items: center; justify-content: center; &.is-active { color: #0f71ff; } } .el-tabs__active-bar { background-color: #0f71ff; } } .el-tabs__nav-wrap::after { background-color: #2f2f2f; } } ::v-deep .dialog-pick-up { background: transparent; border-radius: 8px; .el-dialog__header { height: 46px; background: #0f71ff; border-radius: 8px 8px 0 0; border: 1px solid #2f2f2f; padding: 0 16px; display: flex; align-items: center; .el-dialog__title { font-size: 14px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; } .el-dialog__headerbtn { top: 15px; right: 16px; .el-dialog__close { color: #ffffff; } } } .el-dialog__body { background: #1e1e1e; padding: 16px; .transfer { width: 100%; height: 499px; display: grid; grid-template-columns: repeat(2, 50%); grid-auto-rows: 100%; background: #1e1e1e; border: 1px solid #333333; border-radius: 8px; &-left, &-right { height: 100%; } &-left { padding: 12px; &-query { margin-bottom: 12px; .el-input__inner { width: 100%; height: 38px; background: #000000; border-radius: 8px 8px 8px 8px; border: 1px solid #2b2b2b; color: #ffffff; &::placeholder { font-size: 14px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #999999; } } } &-list { width: 100%; height: calc(100% - 50px); overflow-x: hidden; overflow-y: auto; &-item { width: 100%; height: 46px; border-radius: 8px 8px 8px 8px; //cursor: pointer; margin-bottom: 8px; display: flex; align-items: center; &:hover, &-active { width: 100%; background: #2b2b2b; } .info { display: flex; align-items: center; .avatar { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; //margin-right: 16px; background: #0e71ff; font-size: 12px; font-weight: 400; color: #ffffff; //margin-right: 8px; img { width: 100%; height: auto; } } .name { font-size: 12px; line-height: 20px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; margin-left: 12px; } } } } } &-right { border-left: 1px solid #333333; padding: 0 12px; &-header { width: 100%; height: 62px; display: flex; align-items: center; justify-content: space-between; .count { font-size: 14px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; } .clear { font-size: 14px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #0f71ff; cursor: pointer; } } &-list { width: 100%; height: calc(100% - 62px); overflow-x: hidden; overflow-y: auto; &-item { width: 100%; height: 46px; border-radius: 8px 8px 8px 8px; //cursor: pointer; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; &:hover, &-active { width: 100%; background: #2b2b2b; } .info { display: flex; align-items: center; .avatar { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; //margin-right: 16px; background: #0e71ff; font-size: 12px; font-weight: 400; color: #ffffff; //margin-right: 8px; img { width: 100%; height: auto; } } .name { font-size: 12px; line-height: 20px; font-family: PingFang SC-Regular, PingFang SC, serif; font-weight: 400; color: #ffffff; margin-left: 12px; } } .icon-remove { width: 12px; height: 12px; display: block; cursor: pointer; background: url("~@/assets/images/conversation/关闭 2.png") no-repeat; background-size: 100% 100%; } } } } } } .el-dialog__footer { background: #1e1e1e; height: 70px; padding: 0 16px; display: flex; align-items: center; justify-content: flex-end; .el-button { width: 120px; height: 38px; font-size: 14px; &--default { color: #ffffff; background: transparent; border: 1px solid #666666; } } } }