.head { padding: 15px 14px 0; } .head .tab-bar { display: flex; } .head .tab-bar .tab-item { margin-right: 24px; color: #999; font-size: 14px; font-weight: 500; } .head .tab-bar .tab-item.on { color: #333; } .head .search-box { margin-top: 15px; } .main { display: flex; margin-top: 15px; height: 365px; } .main .left-box { width: 106px; height: 100%; border-right: 1px solid #ececec; overflow: hidden; } .main .left-box .left-item { position: relative; display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 10px 0 14px; font-size: 13px; cursor: pointer; } .main .left-box .left-item.on { background: #f0fafe; color: #1890ff; border-right: 2px solid #1890ff; } .main .left-box .left-item.on .iconDot { z-index: 1; opacity: 1; } .main .left-box .left-item:nth-child(1).on .iconDot, .main .left-box .left-item:nth-child(2).on .iconDot { display: none; } .main .left-box .left-item .iconaddto { font-size: 12px; } .main .left-box .left-item .iconDot { z-index: -1; opacity: 0; } .main .left-box .left-item .edit-wrapper { z-index: 50; position: absolute; right: -2px; top: -4px; background: #fff; width: 80px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); border-radius: 4px; } .main .left-box .left-item .edit-wrapper .edit-item { padding: 8px 16px; color: #666 !important; cursor: pointer; } .main .left-box .left-item .edit-bg { z-index: 40; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: transparent; } .main .right-box { flex: 1; padding: 0 12px; overflow-x: hidden; } .main .right-box .msg-item { margin-top: 12px; transition: all 0.3s ease; cursor: pointer; } .main .right-box .msg-item .box1 { position: relative; display: flex; } .main .right-box .msg-item .box1 .txt-box { flex: 1; font-size: 12px; color: #999; } .main .right-box .msg-item .box1 .txt-box .title { max-width: 370px; margin-right: 5px; color: #333; font-weight: 700; } .main .right-box .msg-item .box1 .edit-box { z-index: -1; opacity: 0; position: absolute; right: 7px; top: 0; width: 60px; height: 30px; background: #fff; } .main .right-box .msg-item .box1 .edit-box .iconfont { margin: 0 8px; color: #000; font-size: 16px; cursor: pointer; } .main .right-box .msg-item .box2 { padding-bottom: 15px; border-radius: 5px; background: #f5f5f5; } .main .right-box .msg-item .box2 .input-box { border-bottom: 1px solid #eee; } .main .right-box .msg-item .box2 .input-box .ivu-input { background: transparent; border: 0; border-radius: 0; } .main .right-box .msg-item .box2 .content { font-size: 12px; padding: 12px 11px 0; color: #333; } .main .right-box .msg-item .box2 .bom { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 11px; margin-top: 10px; } .main .right-box .msg-item .box2 .bom button { margin-left: 8px; width: 70px; } .main .right-box .msg-item:hover { transition: all 0.3s ease; } .main .right-box .msg-item:hover .box1 .edit-box { z-index: 1; opacity: 1; transition: all 0.3s ease; } .main .right-box .add-box { border-radius: 0; margin-bottom: 10px; } .main .right-box .add-box .box2 { padding-bottom: 0; border-radius: 0; } .main .right-box .add-box .box2 .conBox { height: 0; overflow: hidden; } .main .right-box .add-box .box2 .conBox.active { animation: mymove 0.4s ease; animation-iteration-count: 1; animation-fill-mode: forwards; } .right-scroll .ivu-scroll-container .ivu-scroll-loader:nth-child(1) { display: none; } .class-box .item { display: flex; align-items: center; margin-bottom: 20px; } .class-box .item:last-child { margin-bottom: 0; } .class-box .item input { flex: 1; } .class-box .item span { width: 80px; font-size: 12px; } @keyframes mymove { 0% { height: 0; } 100% { height: 150px; } } .msg-box .right-scroll .ivu-scroll-container::-webkit-scrollbar-thumb { background: #808695; border-radius: 4px; } .msg-box .right-scroll .ivu-scroll-container::-webkit-scrollbar { width: 6px; }