init
This commit is contained in:
16
miniprogram/components/empty-state/index.wxml
Normal file
16
miniprogram/components/empty-state/index.wxml
Normal file
@@ -0,0 +1,16 @@
|
||||
<view class="empty-state wr-class">
|
||||
<view class="empty-state__icon">
|
||||
<t-icon name="{{icon || 'shop'}}" size="120rpx" color="#ddd" />
|
||||
</view>
|
||||
<view class="empty-state__title">{{title || '暂无商品'}}</view>
|
||||
<view class="empty-state__description" wx:if="{{description}}">{{description}}</view>
|
||||
<view class="empty-state__action" wx:if="{{showAction}}">
|
||||
<t-button
|
||||
variant="outline"
|
||||
size="medium"
|
||||
bind:tap="onActionTap"
|
||||
>
|
||||
{{actionText || '刷新'}}
|
||||
</t-button>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user