<view class="top-tit flex1">
  <view class="left">
    <image
      class="logo1"
      mode="scaleToFill"
      src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/tit-logo.png"
      onLongTap="goto"
    />
    <image class="tit-img" mode="scaleToFill" src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/tit.png" />
  </view>
  <view class="right flex2">
    <view a:if="{{ titleText }}" class="time">
      {{titleText}}
    </view>
    <view a:else class="time">
      <view a:if="{{ !isHomePage }}" class="countdown" catchTap="onClose" >
        {{remainingTime}}
        <image class="close_icon" mode="scaleToFill" src="../../image/count-down-close.png" />
      </view>
      <view a:else>
        {{newDate}}
      </view>
    </view>
    <image a:if="{{ hasNetworkType }}" class="logo2" mode="scaleToFill" src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/wifi.png" />
    <image a:if="{{ !hasNetworkType }}" class="logo2" mode="scaleToFill" src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/no-wifi.png" />
  </view>
  <expiration-reminder-modal :showCancelBtn="{{cusModalObj.showCloseBtn}}" content="30天" visible="{{cusModalObj.visible}}" onOk="onOk"/>
</view>
