This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

修复tree组件一处书写错误;修复第3级目录样式问题

old
宇天 2017-12-31 22:23:07 +08:00
parent 759e4304a0
commit 65ac216f91
2 changed files with 6 additions and 6 deletions

View File

@ -56,10 +56,10 @@ export default Anot.component('tree', {
list: el[props.children], list: el[props.children],
onSelected: props.onSelected, onSelected: props.onSelected,
onChecked: onChecked, onChecked: onChecked,
id: 'id', id: props.id,
label: 'label', label: props.label,
parent: 'parent', parent: props.parent,
children: 'children' children: props.children
}"></template> }"></template>
</li> </li>
</ul> </ul>

View File

@ -16,7 +16,7 @@
li {overflow:hidden; white-space:nowrap; text-overflow:ellipsis} li {overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
li ul {display:none;margin-left:20px;} li ul {display:none;margin-left:20px;}
li.open ul {display:block;} li.open>ul {display:block;}
li em, li em,
li span {display:inline-block;cursor:pointer;color:nth($cgr, 2);} li span {display:inline-block;cursor:pointer;color:nth($cgr, 2);}
@ -24,7 +24,7 @@
li span:hover {color:nth($cgr, 2);} li span:hover {color:nth($cgr, 2);}
li span.active {color:nth($cgr, 3);font-weight:bold;} li span.active {color:nth($cgr, 3);font-weight:bold;}
li span.checkbox {float:left;position:relative;width:14px;height:14px;margin:7px 5px 7px 0;border:1px solid nth($cgr, 1);border-radius:3px; li span.checkbox {float:left;position:relative;width:14px;height:14px;margin:7px 5px 7px 0;border:1px solid nth($cgr, 1);border-radius:3px;
&::after {display:block;width:12px;height:12px;line-height:12px;} &::after {display:block;width:12px;height:12px;line-height:12px;}
&.checked::after {content:"\e60f";} &.checked::after {content:"\e60f";}
} }