project init & fix ui

This commit is contained in:
2023-01-06 14:24:11 +08:00
parent abc4f65a8e
commit ac9b479805
866 changed files with 39916 additions and 53 deletions

View File

@@ -0,0 +1,13 @@
<view
class="{{ prefix ? prefix : classPrefix}} {{componentPrefix}}-class"
style="{{ iconStyle }}"
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>