<hi:common_vheader runat="server" />
<p class="text-center list-empty hide" id="empty">
    <span class="glyphicon glyphicon-bell"></span>咨询为空
</p>
<div class="pbox">
    <div id="consulationsList">
        <hi:vshoptemplatedrepeater id="rptProducts" templatefile="/Tags/skin-Common_MyConsultations.ascx"
            runat="server" />
    </div>
    <div id="pager">
    </div>
</div>
< clientidmode="Static" value="" runat="server" id="txtTotal" />

<script src="/Utility/common.js" type="text/javascript"></script>
<script src="/Utility/pager.js" type="text/javascript"></script>
<script type="text/javascript">

    vshopPager('pager', $('#txtTotal').val(), 1, 20);
    $(function () {
        if (!$.trim($('#consulationsList').html())) {
            $('.pbox').hide();
            $('#empty').removeClass('hide');
        }

        var answerDetails = $('.answerDetail');
        $.each(answerDetails, function (i, answerDetail) {
            if (!$.trim($(answerDetail).html()))
                $(answerDetail).parent().hide();
        });
    });

</script>
<script>
    //禁用右上角菜单
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        WeixinJSBridge.call('hideOptionMenu');
    });





</script>
<hi:common_vfooter runat="server" />