
<!--//webtext-->
<?php $__env->startSection('content'); ?>
<div id="app">
  <div id="merchantlist">
    <div class="i-layout-page-header">
      <div class="ivu-page-header">
        <div class="ivu-page-header-detail">
          <div class="ivu-page-header-main">
            <div class="ivu-page-header-row">
              <div class="ivu-page-header-title">代理商列表</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="ivu-mt ivu-card ivu-card-bordered ivu-card-dis-hover">
      <div class="ivu-card-body">
        <div class="ivu-row-flex ivu-row-flex-middle ivu-row-flex-center ivu-text-center">
          <div class="ivu-col ivu-col-span-6 ivu-mt ivu-mb"><p>代理数量</p> <p style="font-size: 24px; color: rgb(92, 173, 255);"><?php echo $listpage['total']?>个</p></div>
          <div class="ivu-col ivu-col-span-6 ivu-mt ivu-mb"><p>正常代理</p> <p style="font-size: 24px; color: rgb(92, 173, 255);"><?php echo $listpage['okcount']?>个</p></div>
          <div class="ivu-col ivu-col-span-6 ivu-mt ivu-mb"><p>冻结代理</p> <p style="font-size: 24px; color: rgb(92, 173, 255);"><?php echo $listpage['badcount']?>个</p></div>
          <div class="ivu-col ivu-col-span-6 ivu-mt ivu-mb"><p>总代理余额</p> <p style="font-size: 24px; color: rgb(92, 173, 255);">¥<?php echo $listpage['allmoney']?>元</p></div>
        </div>
      </div>
    </div>
    <div class="ivu-mt ivu-card ivu-card-bordered ivu-card-dis-hover">
      <div class="ivu-card-head"><p><span>代理列表</span></p></div>
      <div class="ivu-card-extra">
        <!--
        <div>
        <div class="select_box"><img src="/members/icon/10.png">


          <div class="ivu-select ivu-select-single ivu-select-default" style="width: 192px;">
            <div tabindex="0" class="ivu-select-selection"><input type="hidden" value="-1">
              <div class="">  <span class="ivu-select-selected-value">所有类型</span>   <i class="ivu-icon ivu-icon-ios-arrow-down ivu-select-arrow"></i></div>
            </div>
            <div class="ivu-select-dropdown" style="display: none; min-width: 192px; position: absolute; will-change: top, left; transform-origin: center top; top: 40px; left: 0px;" x-placement="bottom-start">
              <ul class="ivu-select-not-found" style="display: none;"><li>无匹配数据</li></ul>
              <ul class="ivu-select-dropdown-list"><li class="ivu-select-item ivu-select-item-selected">所有类型</li><li class="ivu-select-item">开放平台</li><li class="ivu-select-item">独立码商</li></ul>
              <ul class="ivu-select-loading" style="display: none;">加载中</ul>
            </div>
          </div>


        </div>
        <div name="ivuRadioGroup_1572413986975_0" class="ivu-radio-group ivu-radio-group-default ivu-radio-default ivu-radio-group-button">
          <label class="ivu-radio-wrapper ivu-radio-group-item ivu-radio-wrapper-checked ivu-radio-default"><span class="ivu-radio ivu-radio-checked"><span class="ivu-radio-inner"></span> <input type="radio" class="ivu-radio-input" name="ivuRadioGroup_1572413986975_0"></span>全部</label>
          <label class="ivu-radio-wrapper ivu-radio-group-item ivu-radio-default"><span class="ivu-radio"><span class="ivu-radio-inner"></span> <input type="radio" class="ivu-radio-input" name="ivuRadioGroup_1572413986975_0"></span>正常</label>
          <label class="ivu-radio-wrapper ivu-radio-group-item ivu-radio-default"><span class="ivu-radio"><span class="ivu-radio-inner"></span> <input type="radio" class="ivu-radio-input" name="ivuRadioGroup_1572413986975_0"></span>冻结</label>
        </div>
        <div class="ivu-date-picker" style="width: 200px; margin-left: 8px;">
          <div class="ivu-date-picker-rel">
            <div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type ivu-date-picker-editor"> <span class="ivu-input-suffix"><i class="ivu-icon ivu-icon-ios-calendar-outline"></i></span> <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i> <input autocomplete="off" spellcheck="false" type="text" placeholder="指定创建时间" class="ivu-input ivu-input-default ivu-input-with-suffix"> </div>
          </div>
          <div class="ivu-select-dropdown" style="display: none;">
            <div>
            <div class="ivu-picker-panel-body-wrapper ivu-date-picker-with-range" steps="">
              <div class="ivu-picker-panel-body ivu-picker-panel-body-date">
                <div class="ivu-picker-panel-content ivu-picker-panel-content-left">
                  <div class="ivu-date-picker-header">
                    <span class="ivu-picker-panel-icon-btn ivu-date-picker-prev-btn ivu-date-picker-prev-btn-arrow-double"><i class="ivu-icon ivu-icon-ios-arrow-back"></i></span>
                    <span class="ivu-picker-panel-icon-btn ivu-date-picker-prev-btn ivu-date-picker-prev-btn-arrow"><i class="ivu-icon ivu-icon-ios-arrow-back"></i></span>
                    <span><span class="ivu-date-picker-header-label">2019年</span>   <span class="ivu-date-picker-header-label">10月</span></span>
                    <span class="ivu-picker-panel-icon-btn ivu-date-picker-next-btn ivu-date-picker-next-btn-arrow-double"><i class="ivu-icon ivu-icon-ios-arrow-forward"></i></span>
                    <span class="ivu-picker-panel-icon-btn ivu-date-picker-next-btn ivu-date-picker-next-btn-arrow"><i class="ivu-icon ivu-icon-ios-arrow-forward"></i></span>
                  </div>
                  <div class="ivu-date-picker-cells"><div class="ivu-date-picker-cells-header"><span>
            日
        </span><span>
            一
        </span><span>
            二
        </span><span>
            三
        </span><span>
            四
        </span><span>
            五
        </span><span>
            六
        </span>
      </div>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-prev-month"><em>29</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-prev-month"><em>30</em></span>
      <span class="ivu-date-picker-cells-cell"><em>1</em></span>
      <span class="ivu-date-picker-cells-cell"><em>2</em></span>
      <span class="ivu-date-picker-cells-cell"><em>3</em></span>
      <span class="ivu-date-picker-cells-cell"><em>4</em></span>
      <span class="ivu-date-picker-cells-cell"><em>5</em></span>
      <span class="ivu-date-picker-cells-cell"><em>6</em></span>
      <span class="ivu-date-picker-cells-cell"><em>7</em></span>
      <span class="ivu-date-picker-cells-cell"><em>8</em></span>
      <span class="ivu-date-picker-cells-cell"><em>9</em></span>
      <span class="ivu-date-picker-cells-cell"><em>10</em></span>
      <span class="ivu-date-picker-cells-cell"><em>11</em></span>
      <span class="ivu-date-picker-cells-cell"><em>12</em></span>
      <span class="ivu-date-picker-cells-cell"><em>13</em></span>
      <span class="ivu-date-picker-cells-cell"><em>14</em></span>
      <span class="ivu-date-picker-cells-cell"><em>15</em></span>
      <span class="ivu-date-picker-cells-cell"><em>16</em></span>
      <span class="ivu-date-picker-cells-cell"><em>17</em></span>
      <span class="ivu-date-picker-cells-cell"><em>18</em></span>
      <span class="ivu-date-picker-cells-cell"><em>19</em></span>
      <span class="ivu-date-picker-cells-cell"><em>20</em></span>
      <span class="ivu-date-picker-cells-cell"><em>21</em></span>
      <span class="ivu-date-picker-cells-cell"><em>22</em></span>
      <span class="ivu-date-picker-cells-cell"><em>23</em></span>
      <span class="ivu-date-picker-cells-cell"><em>24</em></span>
      <span class="ivu-date-picker-cells-cell"><em>25</em></span>
      <span class="ivu-date-picker-cells-cell"><em>26</em></span>
      <span class="ivu-date-picker-cells-cell"><em>27</em></span>
      <span class="ivu-date-picker-cells-cell"><em>28</em></span>
      <span class="ivu-date-picker-cells-cell"><em>29</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-today ivu-date-picker-cells-focused"><em>30</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>31</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>1</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>2</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>3</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>4</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>5</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>6</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>7</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>8</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>9</em></span>
    </div>
  </div>
  <div class="ivu-picker-panel-content ivu-picker-panel-content-right">
    <div class="ivu-date-picker-header">
      <span class="ivu-picker-panel-icon-btn ivu-date-picker-prev-btn ivu-date-picker-prev-btn-arrow-double"><i class="ivu-icon ivu-icon-ios-arrow-back"></i></span>
      <span class="ivu-picker-panel-icon-btn ivu-date-picker-prev-btn ivu-date-picker-prev-btn-arrow"><i class="ivu-icon ivu-icon-ios-arrow-back"></i></span>
      <span><span class="ivu-date-picker-header-label">2019年</span>   <span class="ivu-date-picker-header-label">11月</span></span>
      <span class="ivu-picker-panel-icon-btn ivu-date-picker-next-btn ivu-date-picker-next-btn-arrow-double"><i class="ivu-icon ivu-icon-ios-arrow-forward"></i></span>
      <span class="ivu-picker-panel-icon-btn ivu-date-picker-next-btn ivu-date-picker-next-btn-arrow"><i class="ivu-icon ivu-icon-ios-arrow-forward"></i></span></div>
      <div class="ivu-date-picker-cells"><div class="ivu-date-picker-cells-header"><span>
            日
        </span><span>
            一
        </span><span>
            二
        </span><span>
            三
        </span><span>
            四
        </span><span>
            五
        </span><span>
            六
        </span>
      </div>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-prev-month"><em>27</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-prev-month"><em>28</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-prev-month"><em>29</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-today ivu-date-picker-cells-focused"><em>30</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-prev-month"><em>31</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>1</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>2</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>3</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>4</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>5</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>6</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>7</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>8</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>9</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>10</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>11</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>12</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>13</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>14</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>15</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>16</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>17</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>18</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>19</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>20</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>21</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>22</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>23</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>24</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>25</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>26</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>27</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>28</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>29</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled"><em>30</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>1</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>2</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>3</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>4</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>5</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>6</em></span>
      <span class="ivu-date-picker-cells-cell ivu-date-picker-cells-cell-disabled ivu-date-picker-cells-cell-next-month"><em>7</em></span>
    </div>
  </div>
  <div class="ivu-picker-panel-content" style="display: none;"></div>
</div>
</div>
</div>
</div>
</div>
<div class="select_box select_box_none" style="margin-left: 8px;"><img src="/admins/icon/4.png" style="width: 13px; margin-top: -7px; z-index: 10;">

  <div class="ivu-select ivu-select-single ivu-select-default" style="width: 160px; position: absolute; z-index: 10;">
    <div tabindex="0" class="ivu-select-selection"><input type="hidden" value="-1">
      <div class="">  <span class="ivu-select-selected-value">所有码商</span>   <i class="ivu-icon ivu-icon-ios-arrow-down ivu-select-arrow"></i></div>
    </div>
    <div class="ivu-select-dropdown" style="display: none; min-width: 160px; position: absolute; will-change: top, left; transform-origin: center top; top: 40px; left: 0px;" x-placement="bottom-start">
      <ul class="ivu-select-not-found" style="display: none;"><li>无匹配数据</li></ul>
      <ul class="ivu-select-dropdown-list"><li class="ivu-select-item ivu-select-item-selected">所有码商</li><li class="ivu-select-item">手机号或用户名</li><li class="ivu-select-item">ID编号</li><li class="ivu-select-item">KEY</li></ul>
      <ul class="ivu-select-loading" style="display: none;">加载中</ul>
    </div>
  </div>

  <div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 380px; position: relative; z-index: 8;">  <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i> <input autocomplete="off" spellcheck="false" type="text" placeholder="请输入对应的关键词" class="ivu-input ivu-input-default"> </div>
</div> <button type="button" class="ivu-btn ivu-btn-primary ivu-btn-circle ivu-btn-icon-only" style="margin-left: 5px;"> <i class="ivu-icon ivu-icon-ios-search"></i> </button>
</div>

-->

</div>
<div class="ivu-card-body">  <div><button type="button" class="ivu-btn ivu-btn-dashed ivu-btn-long"> <i class="ivu-icon ivu-icon-ios-add"></i>
          <span><a href="?add_box=1">添加代理</a></span></button> <div class="ivu-table-wrapper" style="margin-top: 10px;">
            <div class="ivu-table ivu-table-default">
              <div class="ivu-table-header">
                <table cellspacing="0" cellpadding="0" border="0" style="width: 1620px;">
                <colgroup><col width="65"><col width="169"><col width="169">
                <col width="169"><col width="169">
                <col width="200"><col width="169">
                <col width="169"><col width="170"><col width="170">
              </colgroup>
              <thead>
                <tr>
                  <th class="ivu-table-column-center"><div class="ivu-table-cell ivu-table-cell-with-selection"><label class="ivu-checkbox-wrapper ivu-checkbox-default"><span class="ivu-checkbox"><span class="ivu-checkbox-inner"></span> <input type="checkbox" class="ivu-checkbox-input"></span> </label></div></th>
                  <th class=""><div class="ivu-table-cell"><span class="ivu-table-cell-sort">ID</span> <span class="ivu-table-sort"><i class="ivu-icon ivu-icon-md-arrow-dropup"></i> <i class="ivu-icon ivu-icon-md-arrow-dropdown"></i></span> </div></th>
                  <th class=""><div class="ivu-table-cell"><span class="">手机号</span>  </div></th>
                  <th class=""><div class="ivu-table-cell"><span class="">可用余额</span>  </div></th><th class=""><div class="ivu-table-cell"><span class="">冻结余额</span>  </div></th>
                  <th class=""><div class="ivu-table-cell"><span class="">费率</span>  </div></th>

                  <th class=""><div class="ivu-table-cell"><span class="ivu-table-cell-sort">创建时间</span> <span class="ivu-table-sort"><i class="ivu-icon ivu-icon-md-arrow-dropup"></i> <i class="ivu-icon ivu-icon-md-arrow-dropdown"></i></span> </div></th>
                  <th class=""><div class="ivu-table-cell"><span class="">状态</span>  </div></th>
                  <th class="ivu-table-column-center"><div class="ivu-table-cell"><span class="">操作</span>  </div></th>
                </tr>
              </thead>
            </table></div>
            <div class="ivu-table-body" style="">
              <table cellspacing="0" cellpadding="0" border="0" style="width: 1620px;">
                <colgroup><col width="65"><col width="169"><col width="169"><col width="169"><col width="169"><col width="200"><col width="169"><col width="169"><col width="170"><col width="170"></colgroup>
                <tbody class="ivu-table-tbody">
                  <?php foreach ($listpage['data'] as $ld) {?>
                  <tr class="ivu-table-row">
                    <td class="ivu-table-column-center"><div class="ivu-table-cell ivu-table-cell-with-selection"> <label class="ivu-checkbox-wrapper ivu-checkbox-default"><span class="ivu-checkbox"><span class="ivu-checkbox-inner"></span> <input type="checkbox" class="ivu-checkbox-input"></span> </label>     </div></td>
                    <td class=""><div class="ivu-table-cell">   <span><?php echo $ld->Id?></span>   </div></td>
                    <td class=""><div class="ivu-table-cell">   <span><?php echo $ld->phone?></span>   </div></td>
                    <td class=""><div class="ivu-table-cell">   <span><?php echo $ld->price?></span>   </div></td>
                    <td class=""><div class="ivu-table-cell">   <span><?php echo $ld->frozen_amount?></span>   </div></td>
<td class=""><div class="ivu-table-cell">   <span><?php echo $ld->service?>%</span>   </div></td>

                    <td class=""><div class="ivu-table-cell">   <span><?php echo date('Y-m-d H:i:s', $ld->time)?></span>   </div></td>
                    <td class=""><div class="ivu-table-cell">
                      <div><span class="ivu-badge-status ivu-badge"><span class="ivu-badge-status-dot ivu-badge-status-<?php echo $ld->status == 1 ? 'success' : 'default'?>"></span><span class="ivu-badge-status-text"><?php echo $ld->status == 1 ? '正常' : '冻结'?></span></span></div></div></td>
                    <td class="ivu-table-column-center">
                      <div class="ivu-table-cell ">
                      <div class="show_oprate">
                        <div class="ivu-dropdown ">
                          <div class="ivu-dropdown-rel">
                          <button type="button" class="ivu-btn ivu-btn-info ivu-btn-ghost" >  <span>  操作<i class="ivu-icon ivu-icon-ios-arrow-down"></i></span></button>
                          </div>
                          <div class="ivu-select-dropdown show_oprate_area" style="display: none;">
                            <ul class="ivu-dropdown-menu"><li class="ivu-dropdown-item click_edit" data-url="/daililist?add_box=1&daili_id=<?php echo  $ld->Id?>" >编辑</li>
                              <li class="ivu-dropdown-item">删除</li>
                            </ul>

                          </div>
                        </div>

          </div></div></td>
          </tr>
        <?php }?>





             </tbody></table>
           </div> <div class="ivu-table-tip" style="display: none;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="width: 1619px;"><span>暂无筛选结果</span></td></tr></tbody></table></div>    </div>
           <object tabindex="-1" type="text/html" data="about:blank" style="display: block; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: none; padding: 0px; margin: 0px; opacity: 0; z-index: -1000; pointer-events: none;"></object></div>
           <div class="ivu-mt ivu-text-center"><ul class="ivu-page"><span class="ivu-page-total">共 <?php echo $listpage['total']?> 条</span>
             <li title="上一页" class="ivu-page-prev ivu-page-disabled"><a><i class="ivu-icon ivu-icon-ios-arrow-back"></i></a></li>
             <li title="1" class="ivu-page-item ivu-page-item-active"><a>1</a></li>
             <li title="下一页" class="ivu-page-next ivu-page-disabled"><a><i class="ivu-icon ivu-icon-ios-arrow-forward"></i></a> </li>
           </ul>

         </div></div></div></div>     <div class="multiple_selection" style="bottom: -200px;"><div><span style="user-select: none;">当前选中(0)</span></div> <div class="btn_box"><div class="btn_lan">批量删除(0)</div></div></div></div></div>

<?php if ($add_box == 1) {?>
<form action="/dailiadd" method="post" id="adddaili_from">
            <div data-transfer="true" class="v-transfer-dom"><div class="ivu-modal-mask" style="z-index: 1054;"></div> <div class="ivu-modal-wrap" style="z-index: 1054;"><div class="ivu-modal" style="width: 500px;">
              <div class="ivu-modal-content"><a class="ivu-modal-close" href="/daililist"><i class="ivu-icon ivu-icon-ios-close"></i></a> <div class="ivu-modal-header"><div class="ivu-modal-header-inner">
                        <?php echo $dailiInfo ? '编辑' : '添加'?>代理
                    </div></div> <div class="ivu-modal-body"> <div id="receipt">
                      <div class="in_box">
                        <div class="hai_biaot"><span>手机号</span></div> <div class="wb_box"><div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 258px;">
                          <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i>
                          <input autocomplete="off" spellcheck="false" name="phone" type="tel" placeholder="代理的登录手机号" value="<?php echo $dailiInfo ?  $dailiInfo[0]->phone : ''?>" class="ivu-input ivu-input-default"> </div></div>
                        <div class="hai_biaot"><span>密码</span></div> <div class="wb_box"><div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 258px;">
                          <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i>
                          <input autocomplete="off" spellcheck="false" name="password" type="password" placeholder="代理商密码" class="ivu-input ivu-input-default"> </div></div>
                        <div class="hai_biaot"><span>通道费率</span></div> <div class="wb_box"><div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 221px;">
                          <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i>
                          <input autocomplete="off" spellcheck="false" type="number" name="service" value="<?php echo $dailiInfo ? $dailiInfo[0]->service : ''?>" placeholder="一般都在0.01%~0.1%(此为平台单笔订单盈利)" class="ivu-input ivu-input-default"> </div> <div style="position: relative; width: 40px; line-height: 38px; background-color: rgb(248, 248, 249); border-top: 1px solid rgb(241, 241, 241); border-right: 1px solid rgb(241, 241, 241); border-bottom: 1px solid rgb(241, 241, 241); border-left: none; border-image: initial; border-radius: 4px; text-align: center; float: right; display: inline-block;"><span>%</span></div></div>

                        <!--
                        <div class="hai_biaot"><span>限制固码账户个数</span></div> <div class="wb_box"><div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 258px;">  <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i> <input autocomplete="off" spellcheck="false" type="number" placeholder="空为后台默认设置" class="ivu-input ivu-input-default"> </div></div>

                        <div class="hai_biaot"><span>开通固码通道</span></div> <div class="wb_box">
                          <div class="ivu-select ivu-select-multiple ivu-select-default" style="width: 258px;"><div tabindex="0" class="ivu-select-selection">
                            <input type="hidden" value="-1"> <div class=""> <div class="ivu-tag ivu-tag-checked"><span class="ivu-tag-text">所有通道</span>
                              <i class="ivu-icon ivu-icon-ios-close"></i></div> <span class="" style="display: none;"></span>
                               <i class="ivu-icon ivu-icon-ios-arrow-down ivu-select-arrow"></i></div></div>
                               <div class="ivu-select-dropdown" style="display: none; min-width: 258px; position: absolute; will-change: top, left; transform-origin: center bottom; top: 335px; left: 188px;" x-placement="top-start">
                                 <ul class="ivu-select-not-found" style="display: none;"><li>无匹配数据</li></ul>
                                 <ul class="ivu-select-dropdown-list"><li class="ivu-select-item ivu-select-item-selected">所有通道</li>
                                   <li class="ivu-select-item">个人支付宝收款</li>
                                   <li class="ivu-select-item">个人微信收款</li>
                                   <li class="ivu-select-item">支付宝银行卡转账</li>
                                   <li class="ivu-select-item">收钱吧</li>
                                   <li class="ivu-select-item">农信易扫</li>
                                   <li class="ivu-select-item">拉卡拉</li>
                                   <li class="ivu-select-item">翼商户</li>
                                   <li class="ivu-select-item">中原银行聚商支付</li>
                                   <li class="ivu-select-item">微店收款</li>
                                 </ul>
                                 <ul class="ivu-select-loading" style="display: none;">加载中</ul>
                               </div>
                             </div>
                           </div>
                           -->


                        <div class="hai_biaot"><span>可用余额</span></div> <div class="wb_box"><div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 258px;">
                          <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i>
                          <input autocomplete="off" spellcheck="false" type="number" name="price" placeholder="请输入码商初始金额,不填则为0元" value="<?php echo $dailiInfo ? $dailiInfo[0]->price : ''?>" class="ivu-input ivu-input-default"> </div></div>
                        <div class="hai_biaot"><span>冻结余额</span></div> <div class="wb_box"><div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type" style="width: 258px;">
                          <i class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-input-icon ivu-input-icon-validate"></i>
                          <input autocomplete="off" spellcheck="false" type="number" name="frozen_amount" placeholder="请输入码商初始金额,不填则为0元" value="<?php echo $dailiInfo ? $dailiInfo[0]->frozen_amount : ''?>" class="ivu-input ivu-input-default"> </div></div>

                        <div class="hai_biaot"><span>码商状态</span></div> <div class="wb_box"><div name="ivuRadioGroup_1572414800543_2" class="ivu-radio-group ivu-radio-group-default ivu-radio-default ivu-radio-group-button">
                          <label class="ivu-radio-wrapper ivu-radio-group-item  ivu-radio-default <?php echo $dailiInfo ? ($dailiInfo[0]->status == 1 ? 'ivu-radio-wrapper-checked' : '') : ''?> radio_label">
                            <span class="ivu-radio ivu-radio-checked "><span class="ivu-radio-inner"></span>
                              <input type="radio" class="ivu-radio-input" name="status" value=1 <?php echo  $dailiInfo ? ($dailiInfo[0]->status == 1 ? 'checked' : '' ) : ''?>>
                            </span>
                            正常</label>
                            <label class="ivu-radio-wrapper ivu-radio-group-item ivu-radio-default <?php echo $dailiInfo ? ($dailiInfo[0]->status == 2 ? 'ivu-radio-wrapper-checked' : '' ) : ''?> radio_label">
                            <span class="ivu-radio"><span class="ivu-radio-inner"></span>
                              <input type="radio" class="ivu-radio-input" name="status" value=2 <?php echo $dailiInfo ? ($dailiInfo[0]->status == 2 ? 'checked' : '') : ''?>>
                            </span>
                              冻结</label></div></div>
                      </div>
                      <?php echo csrf_field(); ?>
                      <input type="hidden" name="do" value="<?php echo $dailiInfo ? 'edit' : 'add'?>" />
                      <input type="hidden" name="daili_id" value="<?php echo $dailiInfo ? $dailiInfo[0]->Id : ''?>" />
                    </div> <div data-v-25db8c90="" class="bottom_box"><span data-v-25db8c90=""><a  href="/daililist">取消</a></span> <span data-v-25db8c90="" id="save_info">保存信息</span></div> </div> </div></div></div></div>
</form>
<?php }?>

               <?php echo $__env->make('public.Javascript', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 <script>
 $(function(){
   /*
   $(document).click(function (e) {
       var $target = $(e.target);
       //点击表情选择按钮和表情选择框以外的地方 隐藏表情选择框
       if ( !$target.is('.show_oprate')) {
           $('.show_oprate_area').hide();
       }
   });
   */
   $('.radio_label').click(function(){
     //alert($(this).attr('checked'));
     $('.radio_label').removeClass('ivu-radio-wrapper-checked');
     $(this).addClass('ivu-radio-wrapper-checked');
     $('.ivu-radio-input').attr("checked", false);
     $(this).find('input').attr("checked",  true);
   });
   $('.show_oprate').click(function(){
     //alert(1);

     if ($(this).find('.show_oprate_area').css('display') == 'none') {
       $('.show_oprate_area').hide();
       $(this).find('.show_oprate_area').show();
     } else {
       $(this).find('.show_oprate_area').hide();
      // $('.show_oprate_area').hide();
     }

   });
   $('.click_edit').click(function(){
     location.href = $(this).attr('data-url');
   });
   $('#save_info').click(function(){
     $.ajax({
         url:'/dailiadd',
         type:'post',
         data:$("#adddaili_from").serialize(),
         dataType: "json",
         success:function(d){
             console.log(d);
             if(d.status== 'ok'){
               location.href="/daililist";
                 //tipPlayId = setInterval("playwav()",5*1000);
             }else{
             }
         }
     });
   });

 });
 </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.AdminBase', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/www.laoshuzf.com/resources/views/admin/daililist.blade.php ENDPATH**/ ?>