link-account.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {template 'common/header'}
  2. <div class="module-link-account" id="js-module-link-account" ng-controller="userModuleLinkAccountCtrl">
  3. <div class="alert " >
  4. <p><i class="wi wi-info"></i> 主账号仅可设置一个,关联的账号组,数据已主账号的为准。</p>
  5. <p><i class="wi wi-info"></i> 关联账号可设置多个,但从任意一个账号进入,数据都与主账号数据保持一致。 </p>
  6. </div>
  7. <div class="panel we7-panel">
  8. <div class="panel-heading">
  9. 主账号
  10. </div>
  11. <div class="panel-body">
  12. <div class="platform-list">
  13. <div class="platform-item">
  14. <div class="icon">
  15. <i class="wi wi-{{ account_info.type_sign }}"></i>
  16. </div>
  17. <div class="logo">
  18. <img ng-src="{{ account_info.logo }}" alt="">
  19. </div>
  20. <div class="info">
  21. <div class="title" ng-bind="account_info.name"></div>
  22. <div class="type" ng-if="account.type == 1 || account.type == 3">类型:
  23. <span class="success" ng-if="account_info.isconnect == 1"><i class="wi wi-right-circle"></i>已接入</span>
  24. <span class="danger" ng-if="account_info.isconnect != 1"><i class="wi wi-error-cricle"></i>已接入</span>
  25. </div>
  26. </div>
  27. <div class="link-group">
  28. <a href="./index.php?c=account&a=display&do=switch&uniacid={{ account_info.uniacid }}&type={{ account_info.type}}">进入</a>
  29. <a href="./index.php?c=account&a=post&uniacid={{ account_info.uniacid }}&acid={{ account_info.acid }}&type={{ account_info.type}}">管理设置</a>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="panel we7-panel">
  36. <div class="panel-heading">
  37. 关联账号
  38. </div>
  39. <div class="panel-body">
  40. <div class="platform-list">
  41. <div class="platform-item" ng-repeat="account in passive_link_accounts">
  42. <div class="icon">
  43. <i class="wi wi-{{ account.type_sign }}"></i>
  44. </div>
  45. <div class="logo">
  46. <img ng-src="{{ account.logo }}" alt="">
  47. </div>
  48. <div class="info">
  49. <div class="title" ng-bind="account.name"></div>
  50. <div class="type" ng-if="account.type == 1 || account.type == 3">类型:
  51. <span class="success" ng-if="account.isconnect == 1"><i class="wi wi-right-circle"></i>已接入</span>
  52. <span class="danger" ng-if="account.isconnect != 1"><i class="wi wi-error-cricle"></i>已接入</span>
  53. </div>
  54. </div>
  55. <div class="link-group">
  56. <div class="link-group">
  57. <a href="./index.php?c=account&a=display&do=switch&uniacid={{ account.uniacid }}&type={{ account.type}}">进入</a>
  58. <a href="./index.php?c=account&a=post&uniacid={{ account.uniacid }}&acid={{ account.acid }}&type={{ account.type}}">管理设置</a>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <script>
  67. angular.module('moduleApp').value('config', {
  68. 'passive_link_accounts': {php echo !empty($passive_link_accounts) ? json_encode($passive_link_accounts) : 'null'},
  69. 'account_info': {php echo !empty($account_info) ? json_encode($account_info) : 'null'},
  70. });
  71. angular.bootstrap($('#js-module-link-account'), ['moduleApp']);
  72. </script>
  73. {template 'common/footer'}