暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

users_leftmenu.htm 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <ul>
  2. <li>
  3. <div class="title">个人中心</div>
  4. </li>
  5. <li {if $Think.const.CONTROLLER_NAME == 'Users' && $Think.const.ACTION_NAME == 'index'} class="active" {/if}>
  6. <a href="{eyou:url link='user/Users/index' /}">会员主页</a>
  7. </li>
  8. <!-- <li {if $Think.const.CONTROLLER_NAME == 'Pay' && $Think.const.ACTION_NAME == 'pay_consumer_details'} class="active" {/if}>
  9. <a href="{eyou:url link='user/Pay/pay_consumer_details' /}">账户余额</a>
  10. </li> -->
  11. <li {if $Think.const.CONTROLLER_NAME == 'UsersNotice' && $Think.const.ACTION_NAME == 'index'} class="active" {/if}>
  12. <a href="{eyou:url link='user/UsersNotice/index' /}">消息通知</a>
  13. </li>
  14. <li {if $Think.const.CONTROLLER_NAME == 'Shop' && $Think.const.ACTION_NAME == 'shop_address_list'} class="active" {/if}>
  15. <a href="{eyou:url link='user/Shop/shop_address_list' /}">收货地址</a>
  16. </li>
  17. <li {if $Think.const.CONTROLLER_NAME == 'Users' && $Think.const.ACTION_NAME == 'collection_index'} class="active" {/if}>
  18. <a href="{eyou:url link='user/Users/collection_index' /}">我的关注</a>
  19. </li>
  20. <!-- <li {if $Think.const.CONTROLLER_NAME == 'Users' && $Think.const.ACTION_NAME == 'test'} class="active" {/if}>
  21. <a href="{eyou:url link='user/Users/test' /}">优惠劵</a>
  22. </li> -->
  23. </ul>
  24. {if isset($usersConfig['shop_open']) && $usersConfig['shop_open'] == 1 && $php_servicemeal > 1}
  25. <ul>
  26. <li>
  27. <div class="title">订单中心</div>
  28. </li>
  29. <li {if $Think.const.CONTROLLER_NAME == 'Shop' && in_array($Think.const.ACTION_NAME, ['shop_centre', 'shop_order_details'])} class="active" {/if}>
  30. <a href="{eyou:url link='user/Shop/shop_centre' /}">我的订单</a>
  31. </li>
  32. {eyou:if condition="$php_servicemeal >= 2 && !empty($global.web_shopcomment_switch)"}
  33. <li {if $Think.const.CONTROLLER_NAME == 'ShopComment'} class="active" {/if}>
  34. <a href="{eyou:url link='user/ShopComment/need_comment_list'/}"> 评价晒单</a>
  35. </li>
  36. {/eyou:if}
  37. <li {if $Think.const.CONTROLLER_NAME == 'Shop' && in_array($Think.const.ACTION_NAME, ['after_service', 'after_service_details', 'after_service_apply','service_list'])} class="active" {/if}>
  38. <a href="{eyou:url link='user/Shop/after_service' /}">售后服务</a>
  39. </li>
  40. </ul>
  41. {/if}
  42. {if isset($usersConfig['users_open_release']) && $usersConfig['users_open_release'] == 1}
  43. <ul>
  44. <li>
  45. <div class="title">投稿中心</div>
  46. </li>
  47. <li {if $Think.const.CONTROLLER_NAME == 'UsersRelease' && $Think.const.ACTION_NAME == 'release_centre'} class="active" {/if}>
  48. <a href="{:url('user/UsersRelease/release_centre', ['list'=>1])}">投稿列表</a>
  49. </li>
  50. <li {if $Think.const.CONTROLLER_NAME == 'UsersRelease' && ($Think.const.ACTION_NAME == 'article_add' || $Think.const.ACTION_NAME == 'article_edit')} class="active" {/if}>
  51. <a href="{eyou:url link='user/UsersRelease/article_add'/}">我要投稿</a>
  52. </li>
  53. </ul>
  54. {/if}