header-account.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <div class="menu-title"><i class="wi wi-white-collar"></i>{$_W['account']['type_name']}</div>
  2. <div class="account-info">
  3. <span class="nav-icon" data-container="body" data-toggle="tooltip" data-placement="right" title="{$_W['account']['name']}">
  4. <img src="{php echo tomedia('headimg_'.$_W['account']['acid'].'.jpg')}?time={php echo time()}" class="head-logo">
  5. </span>
  6. <div class="account-name">{$_W['account']['name']}</div>
  7. <div class="account-type">
  8. {if $_W['account']->typeSign == 'account'}
  9. <span class="account-type">
  10. {if $_W['account']['level'] == 1 || $_W['account']['level'] == 3}
  11. 订阅号
  12. {/if}
  13. {if $_W['account']['level'] == 2 || $_W['account']['level'] == 4}
  14. 服务号
  15. {/if}
  16. </span>
  17. <span class="account-level">
  18. {if $_W['account']['level'] == 1 || $_W['account']['level'] == 3}
  19. {if $_W['account']['level'] == 3}已认证{/if}
  20. {/if}
  21. {if $_W['account']['level'] == 2 || $_W['account']['level'] == 4}
  22. {if $_W['account']['level'] == 4}已认证{/if}
  23. {/if}
  24. </span>
  25. <div class="account-isconnect">
  26. {if $_W['uniaccount']['isconnect'] == 0}
  27. 未接入
  28. <a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['acid']))}" class="text-danger"> 立即接入</a>
  29. {else}
  30. 已接入
  31. {/if}
  32. </div>
  33. {elseif $_W['account']->typeSign == 'xzapp'}
  34. <span class="account-type">
  35. {if $_W['account']['level'] == 1}
  36. 个人
  37. {elseif $_W['account']['level'] == 2}
  38. 媒体
  39. {elseif $_W['account']['level'] == 3}
  40. 企业
  41. {elseif $_W['account']['level'] == 4}
  42. 政府
  43. {elseif $_W['account']['level'] == 5}
  44. 其他组织
  45. {/if}
  46. </span>
  47. <div class="account-isconnect">
  48. {if $_W['uniaccount']['isconnect'] == 0}
  49. 未接入
  50. <a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['acid']))}" class="text-danger">立即接入</a>
  51. {else}
  52. 已接入
  53. {/if}
  54. </div>
  55. {/if}
  56. </div>
  57. </div>
  58. <div class="account-operate">
  59. {if $_W['account']->typeSign == 'account'}
  60. <a href="{php echo url('utility/emulator');}" target="_blank" class="h"><i class="wi wi-iphone" data-toggle="tooltip" data-placement="bottom" title="模拟测试"></i></a>
  61. {/if}
  62. {if $_W['role'] != ACCOUNT_MANAGE_NAME_OPERATOR}
  63. <a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['account']['acid'], 'account_type' => $_W['account']['type']))}" class="h"><i class="wi wi-appsetting" data-toggle="tooltip" data-placement="bottom" title="{php echo $_W['account']->typeName}设置"></i></a>
  64. {/if}
  65. <a href="{php echo url('account/display', array('type' => 'all'))}"><i class="wi wi-cut-account" data-toggle="tooltip" data-placement="bottom" title="切换平台"></i></a>
  66. </div>