<view class="empty-state">
  <image class="empty-icon" src="/assets/images/empty.png" mode="aspectFit" wx:if="{{!icon}}" />
  <text class="empty-icon-text" wx:if="{{icon}}">{{icon}}</text>
  <text class="empty-text">{{text}}</text>
  <view wx:if="{{showBtn}}" class="empty-btn btn-plain btn-small" bindtap="onAction">
    {{btnText}}
  </view>
</view>
