quickNavigation.wxml 2.35 KB
<!--pages/quickNavigation/quickNavigation.wxml-->
<view class="quicknavigation" style="display: {{isShow ? 'block':'none'}};bottom:{{marginBottom}}rpx"> 
    <view class="quicknavigation-content">
      <view class="quicknavigation-menu" wx:if="{{isShowMenu}}">
        <view class="quicknavigation-menu-func"> 
          <navigator target="miniProgram" app-id="wx084ab813d88c594b" path="/pages/index/index" version="develop" >
            <image class="img" id="home" animation="{{funcItemAnimation}}" src="/pages/quickNavigation/images/home@3x.png"> </image>
          </navigator>

          <navigator target="miniProgram" app-id="wx084ab813d88c594b" path="/pages/search/search" version="develop" >
            <image class="img" id="search" animation="{{funcItemAnimation}}" src="/pages/quickNavigation/images/search_ic@3x.png"> </image> 
          </navigator> 

          <image class="img" id="shopcart" wx:if="{{isShowShopCart}}" animation="{{funcItemAnimation}}" bindtap="jumpToShopCart" src="/pages/quickNavigation/images/shopcart_ic@3x.png"> </image>
          <button class="appBtn" 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" 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>

        <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>