index.scss 4.1 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1 2 3 4 5 6
.tip{
	flex: 1;
}

#center-view{
	height: 100vh;
7 8 9
  /* #ifdef H5 */
  height: calc(100vh - 44px);
  /* #endif */
DCloud_JSON's avatar
DCloud_JSON 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
	background-color: #f5f5f5 !important;
}

/* #ifdef H5 */
@media screen and (min-device-width:960px){
  .pointer {
  	cursor: pointer;
  }
	#page {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		height: 100vh;
		width: 100vw;
		background-color: #2e2e3e;
		min-width:960px;
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
    
    #left-view,
    #center-view,
    #right-view {
    	height: 95vh;
    	position: relative;
    	top: -2vh;
    	background-color: #FFFFFF;
    }
    
    #center-view {
      #conversation-list-box ::v-deep .conversation-list{
      	max-height: calc(95vh - 70px);
        .conversation-list-item{
          margin: 5px;
        }
      }
    }
    #left-view {
      & > *{
        cursor: pointer;
        margin-top: 36px;
      }
      & > *:hover{
        /* border: 1px solid #fefefe; */
        box-shadow: 0 0 20px 2px #fefefe;
        border-radius: 10px;
      }
      width:60px;
      align-items: center;
      padding-top: 100px;
      background-color: #ececec;
      border-radius: 20px 0 0 20px;
    }
    #center-view{
    	width:300px;
      #search-bar-box {
      	flex-direction: row;
      	align-items: center;
      	height: 70px;
        padding:0 10px;
      }
      #search-bar {
      	flex: 1;
      }
      #uni-im-contacts-box {
      	z-index: 10;
      	height: 95vh;
        width: 100%;
      	position: absolute;
        background-color: #f5f5f5;
        /* pc端隐藏删除好友的按钮,后续改成长按(右键)可见 */
        ::v-deep .delete-btn{
        	display: none;
        }
      }
    }
    
    #right-view {
      width: calc(100% - 370px);
      border-radius: 0 20px 20px 0;
      overflow: hidden;
      position: relative;
      #chat-view-box {
        #ccid-is-null-tip{
        	height: 95vh;
        	padding-top: 30vh;
        	align-items: center;
        	background-color: #efefef;
          .img {
            width: 130px;
            margin-bottom: 15px;
          }
          .text {
            color: #999;
          }
        }
      }
      #chat-header{
      	height: 70px;
      	padding:0 20px;
      	flex-direction: row;
      	justify-content: end;
      	align-items: center;
        .more{
        	cursor: pointer;
        }
      }
      #chat-view {
        max-height:calc(95vh - 70px);
      }
      #chat-view ::v-deep #uni-im-chat{
        #web-pc-chat-title
        {
          position: absolute;
          z-index: 9;
          top: -45px;
          left: 15px;
        }
        .unread_count {
          display: none;
        }
        .msg-list .uni-im-list .uni-im-msg{
          padding:0 10px;
        }
      }
      .chatInfoBox {
        z-index: 999;
        position: absolute;
        right:0;
        top: 70px;
        background-color: rgba(0,0,0,0.2);
        height: calc(95vh - 70px);
        align-items: flex-end;
        width: 100%;
        ::v-deep .group-info-text{
          max-width: 250px !important;
          text-align: left;
          word-break: break-all;
        }
      }
      #dynamic-component-box {
        z-index: 9;
        width: 100%;
        height: 95vh;
        background-color: #fff;
        position: absolute;
        right: 0;
        .dynamic-component-title{
          padding-left: 15px;
          height: 70px;
          justify-content: center;
          border: 1px solid #efefef;
        }
        .system-notice-box{
          width: 100%;
        }
        .create-group-box .header-box{
          width: 100%;
          .uni-searchbar {
            width: 100%;
          }
        }
      }
    }
DCloud_JSON's avatar
DCloud_JSON 已提交
171 172
	}
	
173
	#foot {
DCloud_JSON's avatar
DCloud_JSON 已提交
174
		position: fixed;
175
		bottom: 10px;
DCloud_JSON's avatar
DCloud_JSON 已提交
176 177
		flex-direction: row;
		color: #FFFFFF;
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
    .uni-link:hover{
    	color: #00aa55 !important;
    }
    .item {
      flex-direction: row;
      margin:0 50px;
      align-items: center;
      .icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
      }
      .link {
        margin-left: 5px;
      }
    }
DCloud_JSON's avatar
DCloud_JSON 已提交
194 195
	}
	
196 197 198 199 200 201

  .windows {
    #center-view #conversation-list-box ::v-deep .conversation-list-item .uni-list-chat__container{
      padding-right: 10px;
    }
  } 
DCloud_JSON's avatar
DCloud_JSON 已提交
202 203
}
/* #endif */