.my-tree { width: 100%; padding: 0 10px; box-sizing: border-box; .my-tree-row { width: 100%; box-sizing: border-box; opacity: 0; // pointer-events: none; transition: all 0.5s; position: relative; &:active { background: #f0f0f0; } .my-tree-content { width: 100%; height: 100%; display: flex; align-items: center; .prefix-icon { margin-right: 8px; img { width: 16px; } } } .middle-conetnt { color: #333; font-size: 14px; } .middle-last { position: absolute; right: 0; .post-icon { display: flex; align-items: center; img { width: 20px; } .arrowTransform { transition: 0.15s; transform-origin: center; transform: rotateZ(90deg); } .arrowTransformReturn { transition: 0.15s; transform-origin: center; transform: rotateZ(0deg); } } } } .isShow { opacity: 1; } .border { border-bottom: 1px solid #f0f0f0; } .serch-box { width: 100%; display: flex; margin-bottom: 10px; .serch { flex: 8; position: relative; input { width: 100%; -webkit-appearance: none; background-color: #fff; background-image: none; border-radius: 4px; border: 1px solid #dcdfe6; box-sizing: border-box; color: #606266; display: inline-block; font-size: inherit; height: 30px; line-height: 30px; outline: none; padding: 0 15px; transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); width: 100%; cursor: pointer; font-size: 13.5px; } .clear-icon { position: absolute; width: 16px; right: 8px; top: 50%; transform: translateY(-50%); &:active { background: #f0f0f0; border-radius: 50%; } } } .text { flex: 1.5; height: 30px; line-height: 30px; border: 1px solid #dcdfe6; border-radius: 4px; box-sizing: border-box; text-align: center; user-select: none; color: #606266; font-size: 13.5px; &:active { background: #f0f0f0; } } } }