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,16 @@
<wxs src="../common/utils.wxs" module="_" />
<view style="{{ customStyle }}" class="{{_.cls(classPrefix, [theme])}} {{prefix}}-class">
<view wx:if="{{column > 0}}" class="{{classPrefix}}__content" style="{{ contentStyle }}">
<slot />
</view>
<scroll-view
wx:else
scroll-x
scroll-with-animation
class="{{classPrefix}}__content"
style="{{ 'white-space: nowrap;' + contentStyle }}"
>
<slot />
</scroll-view>
</view>