人人商城

list.html 3.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {template 'common/header'}
  2. <div class="panel panel-cut" id="js-account-display">
  3. <div class="panel-heading">
  4. <span class="panel-heading-left"><i class="wi wi-wechat" style="font-size: 24px; margin-right: 10px; vertical-align:middle;"></i>请选择您要操作的PC</span>
  5. <div class="font-default pull-right">
  6. {if !empty($account_info['webapp_limit']) && (!empty($account_info['founder_webapp_limit']) && $_W['user']['owner_uid'] || empty($_W['user']['owner_uid'])) || $_W['isfounder'] && !user_is_vice_founder()}
  7. <a href="./index.php?c=webapp&a=manage&do=create_display" class="color-default"><i class="fa fa-plus"></i>新增PC</a>
  8. {/if}
  9. {if $state == ACCOUNT_MANAGE_NAME_FOUNDER || $state == ACCOUNT_MANAGE_NAME_MANAGER}
  10. <a href="{php echo url('account/manage', array('account_type' => ACCOUNT_TYPE_WEBAPP_NORMAL))}" class="color-default"><i class="wi wi-wechatstatistics"></i>PC管理</a>
  11. {/if}
  12. </div>
  13. </div>
  14. <div class="panel-body" >
  15. {if !$_W['isfounder'] && !empty($account_info['webapp_limit'])}
  16. <div class="alert alert-warning hidden">
  17. 温馨提示:
  18. <i class="fa fa-info-circle"></i>
  19. Hi,<span class="text-strong">{$_W['username']}</span>,您所在的会员组: <span class="text-strong">{$account_info['group_name']}</span>,{if !user_is_vice_founder() && !empty($account_info['vice_group_name'])}<span class="text-strong">{$account_info['vice_group_name']},</span>{/if}
  20. 账号有效期限:<span class="text-strong">{php echo date('Y-m-d', $_W['user']['starttime'])} ~~ {if empty($_W['user']['endtime'])}无限制{else}{php echo date('Y-m-d', $_W['user']['endtime'])}{/if}</span>,
  21. 可创建 <span class="text-strong">{$account_info['maxwebapp']} </span>个PC,已创建<span class="text-strong"> {$account_info['webapp_num']} </span>个,还可创建 <span class="text-strong">{$account_info['webapp_limit']} </span>个PC账号。
  22. </div>
  23. {/if}
  24. <div class="clearfix"></div>
  25. <div class="cut-list clearfix">
  26. {loop $list $item}
  27. <div class="item">
  28. <div class="content">
  29. <img src="{$item['logo']}" class="icon-account" onerror="this.src='./resource/images/nopic-107.png'"/>
  30. <div class="name">{$item['name']}</div>
  31. <div class="type">
  32. </div>
  33. </div>
  34. <div class="mask">
  35. <a href="{$item['switchurl']}" class="entry">
  36. <div>进入PC <i class="wi wi-angle-right"></i></div>
  37. </a>
  38. <!--<a href="javascript:;" class="stick" ng-click="stick(detail.uniacid)" title="置顶">-->
  39. <!--<i class="wi wi-stick-sign"></i>-->
  40. <!--</a>-->
  41. {if !permission_check_account_user('see_user_profile_account_num')}
  42. <a href="{php echo url('home/welcome/add_welcome', array('uniacid' => $item['uniacid']))}" onclick="return ajaxopen(this.href);" class="home-show" title="添加到首页常用功能">
  43. <i class="wi wi-eye"></i>
  44. </a>
  45. {/if}
  46. </div>
  47. </div>
  48. {/loop}
  49. </div>
  50. {if count($list)==0 }
  51. <ul style="text-align:center;width:100%"><span>暂无数据</span></ul>
  52. {/if}
  53. <div>{$pager}</div>
  54. </div>
  55. </div>
  56. {template 'common/footer'}