File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<ul :class =" classes" >
3
3
<li @contextmenu.stop =" handleContextmenu(data, $event)" @selectstart.stop =" handlePreventSelect(data, $event)" >
4
- <span :class =" arrowClasses" @click =" handleExpand" >
5
- <Icon v-if =" showArrow" :type =" arrowType" :custom =" customArrowType" :size =" arrowSize" />
6
- <Icon v-if =" showLoading" type =" ios-loading" class =" ivu-load-loop" />
7
- </span >
4
+ <span :class =" arrowClasses" @click =" handleExpand" >
5
+ <Icon v-if =" showArrow" :type =" arrowType" :custom =" customArrowType" :size =" arrowSize" />
6
+ <Icon v-if =" showLoading" type =" ios-loading" class =" ivu-load-loop" />
7
+ </span >
8
8
<Checkbox
9
9
v-if =" showCheckbox"
10
10
:model-value =" data.checked"
101
101
return [
102
102
` ${ prefixCls} -title` ,
103
103
{
104
- [` ${ prefixCls} -title-selected` ]: this .data .selected
104
+ [` ${ prefixCls} -title-selected` ]: this .data .selected ,
105
+ [` ${ prefixCls} -title-disabled` ]: this .data .disabled ,
105
106
}
106
107
];
107
108
},
Original file line number Diff line number Diff line change 45
45
&-selected , &-selected :hover {
46
46
background-color : tint(@primary-color , 80% );
47
47
}
48
+ &-disabled , &-disabled :hover {
49
+ color : @btn-disable-color ;
50
+ background-color : unset ;
51
+ cursor : not-allowed ;
52
+ }
48
53
}
49
54
&-arrow {
50
55
cursor : pointer ;
You can’t perform that action at this time.
0 commit comments