bug fix and performance improvements

This commit is contained in:
quantulr
2023-08-18 17:32:18 +08:00
parent 3c6ab550cf
commit e750b9be9c
923 changed files with 46650 additions and 9 deletions

View File

@ -0,0 +1,15 @@
<wxs src="../common/utils.wxs" module="_" />
<view
class="{{ prefix ? prefix : classPrefix}} class {{componentPrefix}}-class"
style="{{_._style([iconStyle, style, customStyle])}}"
bind:tap="onTap"
aria-hidden="{{ariaHidden}}"
aria-label="{{ariaLabel}}"
aria-role="{{ariaRole}}"
>
<view wx:if="{{ isImage }}" class="{{classPrefix}}--image">
<image src="{{ name }}" mode="aspectFit" class="{{classPrefix}}__image" />
</view>
<label wx:else class="{{ prefix ? prefix : classPrefix }}-{{ name }} {{ classPrefix }}-base"> </label>
</view>