nav.html 1.6 KB

123456789101112131415161718192021222324252627282930
  1. <nav class="mui-bar mui-bar-footer mui-table">
  2. <div class="mui-table-cell">
  3. <a class="{if $_GPC['do'] == 'home'}mui-active{/if}" href="{php echo $this->createMobileUrl('home');}">
  4. <span class="mui-icon-img"><img src="./resource/images/{if $_GPC['do'] == 'home'}icon-home-active.png{else}icon-home.png{/if}" alt="" /></span>
  5. <span class="mui-block">首页</span>
  6. </a>
  7. </div>
  8. {if $_W['account']['level'] == ACCOUNT_SERVICE_VERIFY}
  9. <div class="mui-table-cell">
  10. <a class="{if $_GPC['do'] == 'scanpay'}mui-active{/if}" href="{php echo $this->createMobileUrl('scanpay');}">
  11. <span class="mui-icon-img"><img src="./resource/images/{if $_GPC['do'] == 'scanpay'}icon-money-active.png{else}icon-money.png{/if}" alt="" /></span>
  12. <span class="mui-block">收款</span>
  13. </a>
  14. </div>
  15. {/if}
  16. {if $_W['user']['clerk_type'] == 2 || ($_W['user']['clerk_type'] == 3 && in_array('coupon_consume', $user_permission))}
  17. <div class="mui-table-cell">
  18. <a class="{if $_GPC['do'] == 'cardconsume'}mui-active{/if}" href="{php echo $this->createMobileUrl('cardconsume', array('op' => 'consume'));}">
  19. <span class="mui-icon-img"><img src="./resource/images/{if $_GPC['do'] == 'cardconsume'}icon-cancel-active.png{else}icon-cancel.png{/if}" alt="" /></span>
  20. <span class="mui-block">核销</span>
  21. </a>
  22. </div>
  23. {/if}
  24. <div class="mui-table-cell">
  25. <a class="{if $_GPC['do'] == 'more'}mui-active{/if}" href="{php echo $this->createMobileUrl('more');}">
  26. <span class="mui-icon-img"><img src="./resource/images/{if $_GPC['do'] == 'more'}icon-more-active.png{else}icon-more.png{/if}" alt="" /></span>
  27. <span class="mui-block">更多</span>
  28. </a>
  29. </div>
  30. </nav>