|
@@ -3,9 +3,10 @@
|
|
|
<view
|
|
|
class="head"
|
|
|
@click.stop="changeShow"
|
|
|
- style="padding-left: 20rpx"
|
|
|
+ style="padding-left: 10rpx"
|
|
|
:class="{ active: isItemActive(item) }"
|
|
|
>
|
|
|
+ <!-- -->
|
|
|
<text class="txt">{{ item[defaultProps.label] }}</text>
|
|
|
<view
|
|
|
class="left-icon"
|
|
@@ -22,7 +23,7 @@
|
|
|
<view
|
|
|
class="head"
|
|
|
@click.stop="toggleNode(index)"
|
|
|
- :style="{ paddingLeft: (node._level + 1) * 20 + 20 + 'rpx' }"
|
|
|
+ :style="{ paddingLeft: (node._level + 1) * 10 + 20 + 'rpx' }"
|
|
|
:class="{ active: isItemActive(node) }"
|
|
|
>
|
|
|
<text class="txt">{{ node[defaultProps.label] }}</text>
|
|
@@ -214,7 +215,7 @@ export default {
|
|
|
line-height: 60rpx;
|
|
|
min-height: 60rpx;
|
|
|
position: relative;
|
|
|
- padding-right: 50rpx;
|
|
|
+ // padding-right: 50rpx;
|
|
|
&.active {
|
|
|
background-color: #fff;
|
|
|
}
|