quickNavigation.wxml 2.59 KB
<!--pages/quickNavigation/quickNavigation.wxml-->
<view class="quicknavigation" style="display: {{isShow ? 'block':'none'}};bottom:{{marginBottom}}rpx"> 
    <view class="quicknavigation-content">
      <image class="yohoIcon" wx:if="{{needYOHOIcon}}" src="/pages/quickNavigation/images/yoho@3x.png" bindtap="jumpToHome"></image>
      <view class="quicknavigation-menu" wx: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" wx:if="{{isShowShopCart}}" animation="{{funcItemAnimation}}" bindtap="jumpToShopCart" src="/pages/quickNavigation/images/shopcart_ic@3x.png"> </image>
          <button class="{{isExpand ? 'appBtn imgS':'img'}}" bindtap='goApp' id="appBtn" type="default" hover-class="none" open-type="launchApp" app-parameter="{{appParameter}}" binderror="launchAppError" wx:if="{{isGoApp}}" animation="{{funcItemAnimation}}"> 
            <image class="appImg" src="/pages/quickNavigation/images/APP@3x.png" animation="{{funcItemAnimation}}"></image>  
          </button>   
        </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" wx:if="{{!isExpand}}"></button> 
        </form>
      </view>
      <button class="share-btn" type="default" hover-class="none" open-type="share" wx: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" wx:if="{{isGuangShare}}">
        <image class="img-share" src="/pages/quickNavigation/images/share@3x.png"></image>
      </button>

        <image class="union_share" wx: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>