| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- use yii\widgets\LinkPager;
- ?>
- <div class="page-title">
- <div class="title-env">
- <h1 class="title">参与活动客户</h1>
- </div>
- <div class="breadcrumb-env">
- <ol class="breadcrumb bc-1">
- <li>
- <a href="/"><i class="fa-home"></i>Home</a>
- </li>
- <li>
- <a href="javascript:void(0)">营销管理</a>
- </li>
- <li class="active">
- <strong>参与活动客户</strong>
- </li>
- </ol>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-body">
- <div class="dataTables_wrapper form-inline dt-bootstrap no-footer">
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover" >
- <thead>
- <tr class="active">
- <th class="no-sorting hidden-xs"><input type="checkbox"></th>
- <th class="hidden-xs">ID</th>
- <th class="hidden-xs">头像</th>
- <th>姓名</th>
- <th>手机号</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php
- $imgUrl = Yii::$app->params['imgUrl'];
- foreach ($participants as $participant){
- ?>
- <tr>
- <td class="hidden-xs"><input type="checkbox"></td>
- <td class="hidden-xs"><?=$participant['id']?></td>
- <td>
- <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>
- </td>
- <td><?=$participant['userName']?></td>
- <td><?=$participant['mobile']?></td>
- </tr>
- <?php } ?>
-
- </tbody>
- </table>
- </div>
- <div class="row">
- <div>
- <div class="dataTables_paginate paging_simple_numbers" style="float:right;padding-top:0px;margin-right:15px;">
- 总数:<?=$totalCount?> <?= LinkPager::widget(['pagination' => $pages]); ?>
- </div>
- </div>
- </div>
- <div style="text-align:center;">
- <div class="form-group" style="margin:0 auto;">
- <a href="javascript:void(0)" onclick="history.go(-1)" class="btn btn-secondary btn-single">返回</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget()?>
- <!-- footer -->
|