index.scss 4.8 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1 2 3 4
 // .tip{
 //   flex: 1;
 // }
page {
DCloud_JSON's avatar
DCloud_JSON 已提交
5
  width: 100%;
DCloud_JSON's avatar
DCloud_JSON 已提交
6 7 8 9 10
  height: 100vh;
  background-color: #2e2e3e;
  /* #ifdef H5 */
  @media screen and (min-device-width:960px){
    padding: 20px;
DCloud_JSON's avatar
DCloud_JSON 已提交
11
    padding-bottom: 60px;
DCloud_JSON's avatar
DCloud_JSON 已提交
12 13 14 15
    .pointer {
      cursor: pointer;
    }
  }
16 17 18
   @media screen and (max-device-width:960px){
      height: calc(100vh - 44px);
    }
DCloud_JSON's avatar
DCloud_JSON 已提交
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 66 67 68
  /* #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 {
DCloud_JSON's avatar
DCloud_JSON 已提交
69
        height: 0;
DCloud_JSON's avatar
DCloud_JSON 已提交
70
        flex: 1;
DCloud_JSON's avatar
DCloud_JSON 已提交
71 72 73 74 75 76
        /* #ifdef H5 */
        @media screen and (min-device-width:960px){
          ::v-deep {
            .conversation-list-item {
              margin: 5px;
            }
DCloud_JSON's avatar
DCloud_JSON 已提交
77 78
          }
        }
DCloud_JSON's avatar
DCloud_JSON 已提交
79
        /* #endif */
DCloud_JSON's avatar
DCloud_JSON 已提交
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
      }
      #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;
                }
              }
            }
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
          .chatInfoBox {
            z-index: 9;
            position: absolute;
            right:0;
            background-color: rgba(0,0,0,0.2);
            height: 100%;
            width: 100%;
            align-items: flex-end;
            .group-info-parent{
              height: 100%;
              overflow-y: auto;
              background-color: #f5f5f5;
            }
            .group-info-text {
              max-width: 250px !important;
              text-align: left;
              word-break: break-all;
            }
DCloud_JSON's avatar
DCloud_JSON 已提交
154 155 156 157
          }
        }
      }
      #ccid-is-null-tip {
DCloud_JSON's avatar
DCloud_JSON 已提交
158
        flex: 1;
DCloud_JSON's avatar
DCloud_JSON 已提交
159 160 161 162 163 164 165 166 167 168 169 170 171 172
        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%;
173
       height: 95vh;
DCloud_JSON's avatar
DCloud_JSON 已提交
174 175 176 177 178
       background-color: #fff;
       position: absolute;
       right: 0;
       .dynamic-component-title{
         padding-left: 15px;
179
         height: 70px;
DCloud_JSON's avatar
DCloud_JSON 已提交
180 181
         justify-content: center;
         border: 1px solid #efefef;
182
       }
DCloud_JSON's avatar
DCloud_JSON 已提交
183
       .system-notice-box{
184 185
         width: 100%;
       }
DCloud_JSON's avatar
DCloud_JSON 已提交
186
       .create-group-box .header-box{
187
         width: 100%;
DCloud_JSON's avatar
DCloud_JSON 已提交
188
         .uni-searchbar {
189 190 191
           width: 100%;
         }
       }
DCloud_JSON's avatar
DCloud_JSON 已提交
192 193 194 195 196
      }
    }
  }
  #foot {
    position: fixed;
DCloud_JSON's avatar
DCloud_JSON 已提交
197 198
    width: 100%;
    height: 50px;
DCloud_JSON's avatar
DCloud_JSON 已提交
199
    bottom: 0;
DCloud_JSON's avatar
DCloud_JSON 已提交
200 201 202 203 204 205 206
    flex-direction: row;
    justify-content: center;
    color: #FFFFFF;
    .uni-link:hover{
      color: #00aa55 !important;
    }
    .item {
207 208 209
       flex-direction: row;
       margin:0 50px;
       align-items: center;
DCloud_JSON's avatar
DCloud_JSON 已提交
210
      .icon {
211 212 213 214 215 216 217 218 219
         width: 20px;
         height: 20px;
         margin-right: 5px;
       }
       .link {
         margin-left: 5px;
       }
     }
   }
DCloud_JSON's avatar
DCloud_JSON 已提交
220
}
DCloud_JSON's avatar
DCloud_JSON 已提交
221

222
.windows {
DCloud_JSON's avatar
DCloud_JSON 已提交
223 224 225 226
  #center-view #conversation-list-box  .conversation-list-item .uni-list-chat__container {
    padding-right: 10px;
  }
}