��';
        }
    }

    function formatComment(val, row) {
        if (row.new_tips) {
            return '<span style="color:red">' + val + '</span>';
        } else {
            return val;
        }
    }

    function view() {
        var selRow = $('#listdata').datagrid('getSelected');
        if (!selRow) {
            $.messager.alert('错误','请选择一行');
            return false;
        }

        $('#view_iframe').prop('src', "{{ url('share/view') }}" + '?id=' + selRow.id);
        $('#