Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

users_header.htm 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!-- 头部信息 -->
  2. <div class="ey-header">
  3. <div class="ey-header-nav w1226">
  4. <div class="ey-logo">
  5. <a href="{eyou:global name='web_cmsurl' /}"><img src="{eyou:global name='web_logo'/}" /></a>
  6. </div>
  7. <div class="ey-header-r">
  8. {egt name='$php_servicemeal' value='1'}
  9. <div class="right-item user-news">
  10. <a href="{:url('user/UsersNotice/index')}">
  11. {gt name="$unread_num" value="0"}
  12. <span class="num" id="users_unread_num">{$unread_num}</span>
  13. {/gt}
  14. <span class="icon"><i class="el-icon-bell"></i></span>
  15. </a>
  16. </div>
  17. {/egt}
  18. <div class="right-item user-photo">
  19. <img src="{$users.head_pic|get_head_pic=###}"/>
  20. <div class="user-drop">
  21. <ul>
  22. <li><a href="{eyou:Diyurl link='user/Users/index' /}">个人中心</a></li>
  23. {eyou:if condition="getUsersConfigData('shop.shop_open') == 1"}
  24. <li><a href="{eyou:Diyurl link='user/Shop/shop_centre' /}">我的订单</a></li>
  25. {/eyou:if}
  26. <li><a href="{eyou:Diyurl link='user/Users/collection_index' /}">我的收藏</a></li>
  27. <li><a href="{eyou:Diyurl link='user/Users/logout' /}">安全退出</a></li>
  28. </ul>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. <!-- 头部信息结束 -->
  35. <script type="text/javascript">
  36. //头像下拉
  37. $(".user-photo").mouseover(function(){
  38. $(".user-drop").show();
  39. });
  40. $(".user-photo").mouseout(function(){
  41. $(".user-drop").hide();
  42. });
  43. var GetUploadify_url = "{:url('Uploadify/upload')}";
  44. </script>