You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
930 B

<wxs src="../common/utils.wxs" module="_" />
<view
class="{{_.cls(classPrefix, ['fixed', fixed])}} {{visibleClass}} class {{prefix}}-class"
style="{{_._style([boxStyle, style, 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" />
<text wx:if="{{title}}" class="{{classPrefix}}__center-title t-class-title">{{showTitle}}</text>
</view>
</view>
</view>