index.scss 4.6 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 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
 // .tip{
 //   flex: 1;
 // }
page {
  height: 100vh;
  background-color: #2e2e3e;
  /* #ifdef H5 */
  @media screen and (min-device-width:960px){
    padding: 20px;
    .pointer {
      cursor: pointer;
    }
  }
  /* #endif */
  .uni-im-index {
    // border: 1px solid #FFF;
    background-color: #ececec;
    flex: 1;
    height: 100%;
    /* #ifdef H5 */
    @media screen and (min-device-width:960px){
      border-radius: 20px;
    }
    /* #endif */
    overflow: hidden;
    flex-direction: row;
    #left-view {
      /* #ifdef H5 */
      & > *{
       cursor: pointer;
       margin-top: 36px;
      }
      & > *:hover{
       /* border: 1px solid #fefefe; */
       box-shadow: 0 0 20px 2px #fefefe;
       border-radius: 10px;
      }
      /* #endif */
      width:60px;
      align-items: center;
      padding-top: 100px;
      background-color: #ececec;
      border-radius: 20px 0 0 20px;
    }
    #center-view{
      background-color: #f5f5f5;
      width: 100%;
      /* #ifdef H5 */
      @media screen and (min-device-width:960px){
        width:300px;
      }
      /* #endif */
      overflow: hidden;
      #search-bar-box {
        flex-direction: row;
        align-items: center;
        height: 70px;
        padding:0 10px;
        #search-bar {
          flex: 1;
        }
      }
      #conversation-list-box {
        height: 100%;
        flex: 1;
DCloud_JSON's avatar
DCloud_JSON 已提交
66 67 68 69 70 71
        /* #ifdef H5 */
        @media screen and (min-device-width:960px){
          ::v-deep {
            .conversation-list-item {
              margin: 5px;
            }
DCloud_JSON's avatar
DCloud_JSON 已提交
72 73
          }
        }
DCloud_JSON's avatar
DCloud_JSON 已提交
74
        /* #endif */
DCloud_JSON's avatar
DCloud_JSON 已提交
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
      }
      #uni-im-contacts-box {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9;
        width: 100%;
        height: 100%;
        .contacts-pages ::v-deep {
          .user-list-box {
            overflow: auto;
          }
          .activeMenu {
            background-color: #f5f5f5 !important;
          }
        }
      }
    }  
    #right-view {
      width: 0;
      flex-grow: 1;
      background-color: #FFFFFF;
      #chat-view-box {
        flex-grow: 1;
        .header {
          height: 70px;
          background-color: #FFFFFF;
          padding:0 20px;
          flex-direction: row;
          justify-content: end;
          align-items: center;
          .more{
            cursor: pointer;
          }
        }
        .content {
          flex: 1;
          ::v-deep {
            #web-pc-chat-title
            {
              position: absolute;
              z-index: 99;
              top: -45px;
              left: 15px;
            }
            .unread_count {
              display: none;
            }
            .msg-list {
              .uni-im-list {
                .uni-im-msg {
                  padding: 0 10px;
                }
              }
            }
          }
        }
        
        .chatInfoBox {
          z-index: 9;
          position: absolute;
          right:0;
          top: 70px;
          background-color: rgba(0,0,0,0.2);
          height: calc(95vh - 70px);
          align-items: flex-end;
          width: 100%;
          .group-info-text {
            max-width: 250px !important;
            text-align: left;
            word-break: break-all;
          }
        }
      }
      #ccid-is-null-tip {
        height: 95vh;
        padding-top: 30vh;
        align-items: center;
        background-color: #efefef;
        .img {
          width: 130px;
          margin-bottom: 15px;
        }
        .text {
          color: #999;
        }
      }
      #dynamic-component-box {
       z-index: 9;
       width: 100%;
165
       height: 95vh;
DCloud_JSON's avatar
DCloud_JSON 已提交
166 167 168 169 170
       background-color: #fff;
       position: absolute;
       right: 0;
       .dynamic-component-title{
         padding-left: 15px;
171
         height: 70px;
DCloud_JSON's avatar
DCloud_JSON 已提交
172 173
         justify-content: center;
         border: 1px solid #efefef;
174
       }
DCloud_JSON's avatar
DCloud_JSON 已提交
175
       .system-notice-box{
176 177
         width: 100%;
       }
DCloud_JSON's avatar
DCloud_JSON 已提交
178
       .create-group-box .header-box{
179
         width: 100%;
DCloud_JSON's avatar
DCloud_JSON 已提交
180
         .uni-searchbar {
181 182 183
           width: 100%;
         }
       }
DCloud_JSON's avatar
DCloud_JSON 已提交
184 185 186 187 188 189 190
      }
    }
  }
  #foot {
    display: none;
    position: fixed;
    bottom: 0;
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
     flex-direction: row;
     color: #FFFFFF;
     .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 已提交
210
}
DCloud_JSON's avatar
DCloud_JSON 已提交
211

212
.windows {
DCloud_JSON's avatar
DCloud_JSON 已提交
213 214 215 216
  #center-view #conversation-list-box  .conversation-list-item .uni-list-chat__container {
    padding-right: 10px;
  }
}