xcx/components/tui-tabs/tui-tabs.wxml
(完整代码) 967B<view class="tui-tabs-view {{isFixed?'tui-tabs-fixed':'tui-tabs-relative'}} {{unlined?'tui-unlined':''}}" style="height:{{height+'rpx'}};padding:0 {{padding}}rpx;background:{{backgroundColor}};top:{{isFixed?top+'px':'auto'}}">
<view wx:for="{{tabs}}" wx:key="index" class="tui-tabs-item" style="width:{{itemWidth}}" catchtap="swichTabs" data-index="{{index}}">
<view class="tui-tabs-title {{currentTab==index?'tui-tabs-active':''}} {{item.disabled?'tui-tabs-disabled':''}}" style="color:{{currentTab==index?selectedColor:color}};font-size:{{size+'rpx'}};line-height:{{size+'rpx'}};font-weight:{{bold && currentTab==index?'bold':'normal'}}">{{item.name}}</view>
</view>
<view class="tui-tabs-slider" style="transform:translateX({{scrollLeft}}px);width:{{sliderWidth}}rpx;height:{{sliderHeight}}rpx;border-radius:{{sliderRadius}};bottom:{{bottom}};background:{{sliderBgColor}};margin-bottom:{{bottom=='50%'?('-'+sliderHeight/2+'rpx'):0}}"></view>
</view>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
