quickNavigation.ttml 2.51 KB
<!--pages/quickNavigation/quickNavigation.ttml-->
<view class="quicknavigation" style="display: {{isShow ? 'block':'none'}};bottom:{{marginBottom}}rpx"> 
    <view class="quicknavigation-content">
      <image class="yohoIcon" tt:if="{{needYOHOIcon}}" src="/pages/quickNavigation/images/yoho@3x.png" bindtap="jumpToHome"></image>
      
      <button tt:if="{{isGoApp}}" class="appBtn imgS" bindtap='goApp' id="appBtn" type="default" hover-class="none" open-type="launchApp" app-parameter="{{appParameter}}" binderror="launchAppError"> 
        <image class="appImg" src="/pages/quickNavigation/images/back2App@3x.png"></image>  
      </button>

      <view class="quicknavigation-menu" tt:if="{{isShowMenu}}">
        <view class="quicknavigation-menu-func"> 
          <image class="img {{isExpand ? 'imgS':''}}"  id="home"   animation="{{funcItemAnimation}}" bindtap="jumpToHome" src="/pages/quickNavigation/images/home@3x.png"> </image>
          <image class="img {{isExpand ? 'imgS':''}}"  id="search"  animation="{{funcItemAnimation}}" bindtap="jumpToSearch" src="/pages/quickNavigation/images/search_ic@3x.png"> </image>
          <image class="img {{isExpand ? 'imgS':''}}"  id="shopcart" tt:if="{{isShowShopCart}}" animation="{{funcItemAnimation}}" bindtap="jumpToShopCart" src="/pages/quickNavigation/images/shopcart_ic@3x.png"> </image>
        </view>
        <image  class="img-switch" id="switch" bindtap="switchMenu" src="{{isExpand ?'/pages/quickNavigation/images/close_menu@3x.png' : '/pages/quickNavigation/images/open_menu@3x.png'}}"></image> 
        <form bindsubmit="formSubmit" report-submit='true'>
          <button class="img-switch-btn {{needYOHOIcon ? 'btn2':'btn1'}}" bindtap="switchMenu" formType="submit" tt:if="{{!isExpand && !isGoApp}}"></button> 
        </form>
      </view>
      <button class="share-btn" type="default" hover-class="none" open-type="share" tt:if="{{isShare}}">
        <image class="img-share" src="/pages/quickNavigation/images/share@3x.png"></image>
      </button>

      <button class="share-btn" type="default" hover-class="none" bindtap="share" tt:if="{{isGuangShare}}">
        <image class="img-share" src="/pages/quickNavigation/images/share@3x.png"></image>
      </button>

        <image class="union_share" tt:if="{{isUnionShare}}" src="/pages/quickNavigation/images/share@3x.png" bindtap="unionShare"></image>

      

      <image class="img-back" animation="{{indicatorAnimation}}" id="backtop" bindtap="backToTop" src="/pages/quickNavigation/images/backtop@3x.png"></image>
    </view>  
</view>