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,22 @@
<wxs src="../common/utils.wxs" module="_" />
<view
class="{{_.cls(classPrefix, ['fixed', fixed])}} {{visibleClass}} {{prefix}}-class"
style="{{boxStyle}}; {{customStyle}}"
>
<view wx:if="{{fixed}}" class="{{classPrefix}}__placeholder" />
<view class="{{classPrefix}}__content">
<view class="{{classPrefix}}__left {{prefix}}-class-left">
<view wx:if="{{leftArrow}}" class="{{classPrefix}}__btn" bind:tap="goBack" aria-role="button" aria-label="返回">
<t-icon name="chevron-left" class="{{classPrefix}}__left-arrow" />
</view>
<slot name="left" />
<view class="{{classPrefix}}__capsule">
<slot name="capsule" />
</view>
</view>
<view class="{{classPrefix}}__center t-class-center">
<slot name="title" class="t-class-title" />
<text wx:if="{{title}}" class="{{classPrefix}}__center-title t-class-title">{{showTitle}}</text>
</view>
</view>
</view>