
                                        <li>
                                            <span class="col1"></span>
                                            <span class="col2">产品ID</span>
                                            <span class="col3">公司名称</span>
                                            <span class="col4">产品类型</span>
                                            <span class="col5">产品名称</span>
                                            {{--<span class="col6">主险</span>--}}
                                            <span class="col7">佣金比率</span>
                                            <span class="col8">保费</span>
                                        </li>
                                    </ul>
                                    <div class="table-body" style="overflow: hidden;">
                                        <ul style="top: 0px; position: absolute;">
                                            @if($count_product == 0)
                                                <li>暂时没有可以添加记录的产品</li>
                                            @else
                                                @foreach($product_list as $v)
                                                    <li>
                                                <span class="col1">
                                                    <label>
                                                        <input hidden="" type="radio" name="product_id" value="{{$v['ty_product_id']}}">
                                                        <i class="iconfont icon-duoxuan-weixuan"></i>
                                                    </label>
                                                </span>
                                                        <span class="col2">{{$v['id']}}</span>
                                                        <span class="col3">{{$v['company_name']}}</span>
                                                        <span class="col4">{{$v['jsons']['category']['name']}}</span>
                                                        <span class="col5">{{$v['product_name']}}</span>
                                                        {{--<span class="col6">鸿福至尊（分红型）</span>--}}
                                                        <span class="col7">{{$v['rate']['earning']}}%</span>
                                                        <span class="col8">{{$v['base_price']/100}}</span>
                                                    </li>
                                                @endforeach
                                            @endif
                                        </ul>
                                        <div style="position:absolute;line-height:0;" class="zUIpanelScrollBox"></div><div style="position:absolute;line-height:0;" class="zUIpanelScrollBar"></div></div>
                                </div>
                            </div>
                        </div>
                        <div class="section section-record">
                            <div class="section-title">第三步,记录详情</div>
                            <div class="section-container">
                                <div style="margin-bottom: 20px;">
                                    <span class="name">购买意向</span>
                                    <div class="satisfaction-wrapper">
                                        <span class="satisfaction">
                                            <i class="iconfont icon-icon-manyidu"></i>
                                            <i class="iconfont icon-icon-manyidu"></i>
                                            <i class="iconfont icon-icon-manyidu"></i>
                                            <i class="iconfont icon-icon-manyidu"></i>
                                            <i class="iconfont icon-icon-manyidu"></i>
                                        </span>
                                        <span class="score">0分</span>
                                    </div>
                                </div>
                                <div>
                                    <span class="name">沟通详情</span>
                                    <textarea id="details" name="content" placeholder="请输入沟通内容"></textarea>
                                </div>
                            </div>
                        </div>
                        <button id="addRecord" class="z-btn z-btn-positive">添加</button>
                    </div>
                </div>

                <div class="select-item look">
                    <div class="search-outer">
                        <div class="select-box">
                            {{--<label>--}}
                            {{--<i class="iconfont icon-danxuanxuanzhong"></i>个人客户--}}
                            {{--<input hidden checked type="radio" name="clientType2"/>--}}
                            {{--</label>--}}
                            {{--<label>--}}
                            {{--<i class="iconfont icon-danxuan"></i>企业客户--}}
                            {{--<input hidden type="radio" name="clientType2"/>--}}
                            {{--</label>--}}
                        </div>

                        {{--<div class="search-wrapper">--}}
                        {{--<select>--}}
                        {{--<option>姓名</option>--}}
                        {{--<option>身份证</option>--}}
                        {{--<option>手机号</option>--}}
                        {{--<option>邮箱</option>--}}
                        {{--<option>别名</option>--}}
                        {{--</select>--}}
                        {{--<select class="hide">--}}
                        {{--<option value="0">公司名称</option>--}}
                        {{--<option value="1">统一信用代码</option>--}}
                        {{--<option value="2">组织机构代码</option>--}}
                        {{--<option value="3">营业执照编码</option>--}}
                        {{--<option value="4">社会统一代码</option>--}}
                        {{--</select>--}}
                        {{--<input name="" placeholder="搜索客户">--}}
                        {{--<button class="z-btn z-btn-default"><i class="iconfont icon-sousuo"></i></button>--}}
                        {{--</div>--}}
                    </div>

                    <div>
                        <table class="table-hover">
                            <tbody>
                            <thead>
                            <tr>
                                <th width="10%">沟通时间</th>
                                <th width="20%">客户</th>
                                <th width="25%">产品名称</th>
                                <th width="15%">购买意向</th>
                                <th width="30%">记录详情</th>
                            </tr>
                            </thead>
                            <tbody>
                            @if($count_data == 0)
                                <tr>
                                    <td>暂时没有添加过沟通记录</td>
                                </tr>
                            @else
                                @foreach($data as $value)
                                    <tr>
                                        <td>{{strtok($value['created_at'],' ')}}</td>
                                        @if($value->user['real_name'])
                                            <td>{{$value->user['real_name']}}</td>
                                        @else
                                            <td>--</td>
                                        @endif
                                        <td>{{$value->product['product_name']}}</td>
                                        <td class="color-positive">{{$value['grade']}}分</td>
                                        <td>{{$value['content']}}
                                            {{--<div class="operation">--}}
                                            {{--<div class="operation-item"><i class="iconfont icon-edit"></i><p>修改</p></div>--}}
                                            {{--<div class="operation-item"><i class="iconfont icon-delete"></i><p>删除</p></div>--}}
                                            {{--</div>--}}
                                        </td>
                                    </tr>
                                @endforeach
                            @endif
                            </tbody>
                            </tbody>
                        </table>
                    </div>
                    {{--分页--}}
                    <ul class="pagination">
                        {{$data->links()}}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<!--成功添加记录沟通弹出层-->
<div class="popups-wrapper popups-success">
    <div class="popups">
        <div class="popups-title">新增沟通记录 <a href="/agent"><i class="iconfont icon-close"></i></a></div