joinList.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php
  2. use yii\widgets\LinkPager;
  3. ?>
  4. <div class="page-title">
  5. <div class="title-env">
  6. <h1 class="title">参与活动客户</h1>
  7. </div>
  8. <div class="breadcrumb-env">
  9. <ol class="breadcrumb bc-1">
  10. <li>
  11. <a href="/"><i class="fa-home"></i>Home</a>
  12. </li>
  13. <li>
  14. <a href="javascript:void(0)">营销管理</a>
  15. </li>
  16. <li class="active">
  17. <strong>参与活动客户</strong>
  18. </li>
  19. </ol>
  20. </div>
  21. </div>
  22. <div class="panel panel-default">
  23. <div class="panel-body">
  24. <div class="dataTables_wrapper form-inline dt-bootstrap no-footer">
  25. <div class="table-responsive">
  26. <table class="table table-bordered table-striped table-hover" >
  27. <thead>
  28. <tr class="active">
  29. <th class="no-sorting hidden-xs"><input type="checkbox"></th>
  30. <th class="hidden-xs">ID</th>
  31. <th class="hidden-xs">头像</th>
  32. <th>姓名</th>
  33. <th>手机号</th>
  34. </tr>
  35. </thead>
  36. <tbody class="middle-align">
  37. <?php
  38. $imgUrl = Yii::$app->params['imgUrl'];
  39. foreach ($participants as $participant){
  40. ?>
  41. <tr>
  42. <td class="hidden-xs"><input type="checkbox"></td>
  43. <td class="hidden-xs"><?=$participant['id']?></td>
  44. <td>
  45. <a href="/user/detail?id=11" title=""><img src="<?=$imgUrl.$participant['avatar']?>" class="lazy" data-original="" style="width: 20px; border-radius: 10px; display: inline;"></a>
  46. </td>
  47. <td><?=$participant['userName']?></td>
  48. <td><?=$participant['mobile']?></td>
  49. </tr>
  50. <?php } ?>
  51. </tbody>
  52. </table>
  53. </div>
  54. <div class="row">
  55. <div>
  56. <div class="dataTables_paginate paging_simple_numbers" style="float:right;padding-top:0px;margin-right:15px;">
  57. 总数:<?=$totalCount?> <?= LinkPager::widget(['pagination' => $pages]); ?>
  58. </div>
  59. </div>
  60. </div>
  61. <div style="text-align:center;">
  62. <div class="form-group" style="margin:0 auto;">
  63. <a href="javascript:void(0)" onclick="history.go(-1)" class="btn btn-secondary btn-single">返回</a>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <!-- footer -->
  70. <?php
  71. use backend\widgets\FooterWidget;
  72. ?>
  73. <?= FooterWidget::widget()?>
  74. <!-- footer -->