<div ms-controller="CustomerDynamics">
    <div style="height: 20px; margin-top: 10px; padding: 8px; background-color: rgb(245, 242, 245);">
        <span style="font-size: 14px; margin-top: 10px; margin-left: 20px; font-weight: bold;">最近动态</span>
        <span class="helptip"><a href="javascript:void(0)" title="这里数据只显示最近有数据的7天,如想查看所有数据请点击左侧相关菜单">&nbsp;&nbsp;</a></span>
    </div>
    <div class="alls timeline">
        <ul class="list" ms-if="list.length>0">
            <li ms-repeat-item="list">
                <div class="list_l float_l">
                    <span>{{item.GroupDate|truncate(10,"")}}</span><p>{{item.Week}}</p>
                </div>
                <div class="list_m float_l"></div>
                <div class="list_r float_l" style="width:510px;">
                    <i class="l_right_ico"></i>
                    <dl class="right_list">
                        <dt>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableList">
                                <tbody>
                                    <tr ms-repeat-con="item.List">
                                        <td style="font-size: 18px; width: 13%;">{{con.TimeStr}}
                                        </td>
                                        <td style="width: 13%;">{{con.Type}}
                                        </td>
                                        <td style="width: 32%;">
                                            <a ms-if="!con.IsHref" href="javascript:void(0)" ms-click="goto(con.Url,true)">{{con.Title}}</a>
                                            <a ms-if="con.IsHref" ms-href="con.Url">{{con.Title}}</a>
                                        </td>
                                        <td style="width: 12%;">{{con.UserName}}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </dt>
                    </dl>
                </div>
                <div class="clear"></div>
            </li>
        </ul>
        <div ms-if="list.length==0" style="height:300px;padding:10px;line-height:300px; text-align:center;font-size:16px;">
            <p>暂无动态</p>
        </div>
    </div>
    <div style="padding-top: 20px; padding-right: 20px;display:none;">
        <a href='javascript:void(0)' class="cbbtn" ms-click="gopage(1)">上一页</a>&nbsp;
        <a href='javascript:void(0)' class="cbbtn" ms-click="gopage(-1)">下一页</a>
    </div>
</div>
