

<!-- 提示层 - 没有更多了 -->
<template name="noMore">
    <view class="noMore">{{noMoreMes||'已经到底啦~'}}</view>
</template>

<!-- 提示层 - 暂无数据 -->
<template name="empty">
    <view class="error-page-tpl">
        <image src="https://shgm.jjyyx.com/m/images/{{errorImageName||'error_img3.png'}}?20190704" mode="aspectFit"></image>
        <text class="error-tpl-msg">{{emptyMsg||'暂无数据'}}</text>
        <block wx:if="{{backBtnState && backBtnState >= 1 && !exitBtn}}">
            <view class="zb-back-live" bindtap="{{backBtnState >= 1?'allowToBack': ''}}">{{backBtnMsg}}</view>
        </block>
        <block wx:if="{{exitBtn}}">
          <navigator class="zb-back-live" open-type="exit" target="miniProgram">{{backBtnMsg}}</navigator>
        </block>
    </view>
</template>

<!-- 全局 toast 提示层 -->
<template name="toast">
    <block wx:if="{{showFlag}}">
        <view class="toast-container {{selfClass}}">
          <text>{{toastMsg}}</text>
        </view>
    </block>
</template>

<!-- 全局 modal 弹框  -->
<template name="modal">
  <block wx:if="{{showFlag}}">
    <view class="modal-container">
      <view class="modal-msg-container">
        <view class="modal-msg">{{content}}</view>
        <view class="modal-btn-container">
          <block wx:if="{{showCancel}}">
            <view class="cancel-btn" data-result="0" bindtap="modalCallback">{{cancelText||'取消'}}</view>
          </block>
          <view class="confirm-btn" data-result="1" bindtap="{{myCallBack?myCallBack:'modalCallback'}}">{{confirmText||'确定'}}</view>
        </view>
      </view>
      
    </view>
  </block>
</template>

<!-- 全局 弹窗loading 小图提示-->

<template name='globalLoading'>
  <block wx:if="{{globalLoading}}">
    <view id='global-loading' class="{{globalLoading.hideMask ? 'hide-mask' : '' }}">
      <image src='https://shgm.jjyyx.com/m/images/loadings.gif'></image>
    </view>
  </block>
</template>