.pub-title{ position: fixed; left: 0; right: 0; top: 0; font-size: px2rem(36); line-height: px2rem(86); height: px2rem(86); background-color: #353439; text-align: center; color: #ffffff; z-index: 999; } .pub-modal-mask{ position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 999; background-color: rgba($color: #000000, $alpha: .7); text-align: center; &::after{ content: ''; display: inline-block; height: 100%; vertical-align: middle; } } .pub-wrapper{ position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 888; text-align: center; &:after{ content: ""; display: inline-block; height: 100%; width: 0; vertical-align: middle; } .pub-mask{ position: fixed; left: 0; top: 0; width: 100%; height: 100%; opacity: .5; background: #000; z-index: 1014; } } .pub-modal{ display: inline-block; vertical-align: middle; background-color: #ffffff; min-width: 330px; position: relative; z-index: 1015; padding: 0 18px 18px; box-sizing: border-box; .modal-hd{ .title{ font-size: 14px; color: #333333; text-align: center; height: 30px; line-height: 30px; padding-top: 10px; } i{ position: absolute; right: 6px; top: 6px; font-size: 20px; cursor: pointer; } } } .pub-setting{ font-size: 14px; color: #000000; background: #ffffff; border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; margin-top: px2rem(21); .setting-item{ position: relative; padding: px2rem(24) px2rem(21) px2rem(24) 0; margin-left: px2rem(21); display: flex; justify-content: space-between; align-items: center; font-size: px2rem(30); line-height: px2rem(36); border-top: 1px solid #d8d8d8; &:first-child{ border: 0; } input[type=file]{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; -webkit-appearance: none; opacity: 0; z-index: 1; } } .title{ min-width: px2rem(96); } .text{ display: flex; align-items: center; color: #999999; @include wrap; word-break: break-all; i{ display: inline-block; margin-left: 6px; color: #999999; } } .team-avatar{ position: relative; width: px2rem(105); height: px2rem(105); border-radius: 2px; cursor: pointer; z-index: 2; } .el-icon-arrow-right{ float: right; } .el-icon-edit{ cursor: pointer; } .team-arrow-icon{ } .cursor{ cursor: pointer; } &.ext-group-admin{ cursor: pointer; .team-arrow-icon{ margin-top: 0; } } } .pub-user-top{ padding: px2rem(50) px2rem(54); background-color: #ffffff; border-bottom: 1px solid #d8d8d8; position: relative; .avatar-wrap{ display: inline-block; vertical-align: middle; } .user-avatar{ width: px2rem(120); height: px2rem(120); line-height: px2rem(120); border-radius: 4px; } .top-info{ display: inline-block; vertical-align: middle; margin-left: px2rem(30); } .name{ width: px2rem(400); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: px2rem(42); color: #000000; padding-bottom: px2rem(30); } .code{ color: #666666; font-size: px2rem(28); } .arrow-icon{ position: absolute; color: #c8c8c8; top: px2rem(96); right: px2rem(24); font-size: px2rem(36); } } .pub-account-list{ background-color: #ffffff; margin: px2rem(18) 0; border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; color: #999999; font-size: px2rem(20); .list-item{ display: flex; height: px2rem(130); &:last-child{ .info,.opetate{ border-bottom: none; } } &.ext-psw{ .title{ margin-top: px2rem(24); } } } .title-wrap{ flex: 1; } h4{ font-size: px2rem(30); color: #000000; margin-bottom: px2rem(22); } .info{ position: relative; flex: 1; display: flex; align-items: center; border-bottom: 1px solid #d8d8d8; padding-right: px2rem(24); } .opetate{ width: px2rem(100); color: #999999; i{ display: block; margin: 0 auto; } p{ text-align: center; margin-top: px2rem(16); } .open{ background: url('../../assets/h5/open-icon.png') no-repeat; width: px2rem(39); height: px2rem(23); background-size: 100%; } .unopen{ background: url('../../assets/h5/unopen-icon.png') no-repeat; width: px2rem(40); height: px2rem(23); background-size: 100%; } } .arrow-icon{ position: absolute; top: px2rem(42); right: px2rem(24); } .icon-wrap{ width: px2rem(111); line-height: px2rem(130); text-align: center; i{ display: inline-block; vertical-align: middle; width: px2rem(72); height: px2rem(72); border-radius: 50%; } } .btn-unbind{ text-align: right; color: #ff3737; cursor: pointer; margin: 4px 10px 0 0; } .el-button{ padding: 7px 12px; font-size: 12px; } .eos-icon{ background: url('../../assets/h5/user-eos-icon.png') center /100% no-repeat; } .eth-icon{ background: url('../../assets/h5/user-ethereum-icon.png') center /100% no-repeat; } .tron-icon{ background: url('../../assets/h5/user-tron-icon.png') center /100% no-repeat; } .tg-icon{ background: url('../../assets/h5/user-tg-icon.png') center /60% no-repeat #f7f8f9; } .psw-icon{ background: url('../../assets/h5/user-psw-icon.png') center /50% no-repeat; } } .pub-bottom-btn{ font-size: px2rem(28); color: #ea2d2d; text-align: center; height: px2rem(88); line-height: px2rem(88); border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; background-color: #ffffff; margin-bottom: px2rem(18); &.ext-lang{ color: #000000; } &.ext-send{ color: #259af2; } .icon-change{ display: inline-block; vertical-align: middle; width: px2rem(25); height: px2rem(23); margin-right: px2rem(20); background: url('../../assets/h5/change-icon.png') 0 0 / 100% no-repeat; } } .pub-loading{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 10; background: url(../../assets/loading.gif) center 36% /100px no-repeat; } .router-link-exact-active,.router-link-active{ text-decoration: none; &:hover,&:active,&:visited{ text-decoration: none; } } // 头像 .avatar_bg0{background:#f5882b} .avatar_bg1{background:#cc90e2} .avatar_bg2{background:#80d066} .avatar_bg3{background:#6fb1e4} .avatar_bg4{background:#f98bae} .avatar_bg5{background:#ecd074} .avatar_bg6{background:#e57979} .avatar_bg7{background:#fba76f} .avatar_bg8{background:#73cdd0} .avatar_bg9{background:#fb60c4} .user-avatar{ width: px2rem(90); height: px2rem(90); line-height: px2rem(90); text-align: center; border-radius: 2px; cursor: pointer; &::before{ content: attr(data-name); color: #ffffff; font-size: px2rem(32); } &:hover{ opacity: .8; } } // element-ui .el-message { min-width: 200px; max-width: 100%; } .el-message-box{ max-width: 90%; } .border-bottom { position: relative; &::after{ content: ""; pointer-events: none; box-sizing: border-box; position: absolute; width: 200%; height: 200%; left: 0; top: 0; border-bottom:1px solid #d8d8d8; transform:scale(0.5); transform-origin: 0 0; } } .msg-item.you{ .pub-pop-toolbar{ left: 0; right: auto; &:before{ left: px2rem(24); } } } .pub-pop-toolbar { position: absolute; top: px2rem(-84); right: 0; background: rgba(0, 0, 0,0.85); border-radius: 5px; z-index: 11; user-select: none; text-align: center; display: flex; height: px2rem(69); line-height: px2rem(69); color: #FFF; &:before{ content: ""; position: absolute; bottom: px2rem(-12); right: px2rem(24); @include triangle-down(px2rem(6),rgba(0, 0, 0,0.85)); } &.ext-session{ right: auto; background: #FFF; color: #333333; display: block; height: auto; text-align: left; overflow: hidden; box-shadow: 0px 1px 5px 1px #cdcdcd; &::before{ display: none; } li{ padding: 0 10px; border-top: 1px solid #f5f5f5; &:hover{ background: #f5f5f5; } &:first-child{ border: 0; } } } li { font-size: 14px; position: relative; padding: 0 px2rem(21); white-space: nowrap; &:first-child{ &:before{ display: none; } } &:before{ content: ""; position: absolute; top: 50%; left: 0; margin-top: px2rem(-15); width: 1px; height: px2rem(30); background: rgba(255,255,255,0.5); } &.split-line{ display: none; } &:hover { opacity: 0.8; } } } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .el-icon-circle-uncheck { border-radius: 50%; background-color: #ffffff; border: 1px solid #d2cdcd; box-sizing: border-box; } .el-loading-mask{ background-color: rgba(0,0,0,.3); .el-loading-spinner{ &:before{ content: ""; display: inline-block; width: 30px; height: 30px; background: url(../../assets/msg-loading-icon.png) center/100% no-repeat; animation: rotate .8s ease .2s infinite; } svg{ display: none; } .el-loading-text{ color: #86929e; } } } //---------------复用组件-------------------- .h5-wrap{ .chat-room{ .box-bd{ background: #f2f2f2; } } }