闫增涛
2024-02-23 fdfb3ca757ecd6c396632ed276ff354671d3a7e5
1
2
3
4
5
6
7
8
9
10
<view class="c-sidebar-item-container">
  <view
    class="c-sidebar-item {{ selected ? 'active' : '' }} {{ disabled ? 'disabled' : '' }} {{topRightRadius ? 'top-right-radius' : ''}} {{bottomRightRadius ? 'bottom-right-radius' : ''}} custom-class"
    hover-class="c-sidebar-item--hover"
    hover-stay-time="70"
    bind:tap="onClick"
  >
    <view class="c-sidebar-item__text text-overflow"> {{ title }} </view>
  </view>
</view>