nav.wxml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <template name="nav">
  2. <view id="navigation" class="left-navigation-container active">
  3. <view class="menus-box">
  4. <view class="menus">
  5. <view class="menu-item" bindtap='goLink' data-link="/Snailfish_shop/pages/index/index">
  6. <text></text>
  7. <view class="icon-menu">
  8. <view class="icon m-icon m-icon-index"></view>
  9. </view>
  10. </view>
  11. <view class="menu-item" bindtap='goLink' data-link="/Snailfish_shop/pages/order/car">
  12. <text></text>
  13. <view class="icon-menu">
  14. <view class="icon m-icon m-icon-shopping-cart"></view>
  15. </view>
  16. </view>
  17. <view class="menu-item" style="display:none;">
  18. <text>搜索</text>
  19. <view class="icon-menu">
  20. <view class="icon m-icon m-icon-search"></view>
  21. </view>
  22. </view>
  23. <view class="menu-item" bindtap='goLink' data-link="/Snailfish_shop/pages/user/me">
  24. <text></text>
  25. <view class="icon-menu">
  26. <view class="icon m-icon m-icon-my" ></view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <div class="ui-mask" style="display: {{navState == 1 ? 'block' : 'none'}};"></div>
  33. </template>