白色主题
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<import src="../common/template/badge.wxml" />
|
||||
<import src="../common/template/icon.wxml" />
|
||||
<wxs src="./tabs.wxs" module="filters" />
|
||||
<wxs src="../common/utils.wxs" module="_" />
|
||||
|
||||
<view style="{{ customStyle }}" class="{{_.cls(classPrefix, [placement])}} {{prefix}}-class">
|
||||
<view style="{{ style }}" class="{{_.cls(classPrefix, [placement])}} {{prefix}}-class">
|
||||
<t-sticky
|
||||
t-class="{{_.cls(classPrefix + '__sticky', [placement])}}"
|
||||
disabled="{{ !sticky }}"
|
||||
@@ -33,6 +34,7 @@
|
||||
aria-disabled="{{item.disabled}}"
|
||||
>
|
||||
<view class="{{_.cls(classPrefix + '__item-inner', [theme, ['active', currentIndex === index]])}}">
|
||||
<template wx:if="{{item.icon}}" is="icon" data="{{ class: classPrefix + '__icon', ...item.icon }}" />
|
||||
<block wx:if="{{item.badgeProps}}">
|
||||
<template is="badge" data="{{ ...item.badgeProps, content: item.label }}" />
|
||||
</block>
|
||||
|
||||
Reference in New Issue
Block a user