r="0" id="message_iframe"></iframe>
    </div>
</div>
{% endblock %}

{% block script %}
<script type="text/javascript">
    $('#view_tabs').tabs({
        onSelect: function (title, index) {
            switch (title) {
                case '伙购记录':
                    $('#buylist_iframe').prop('src', "{{ url('member/buy', {'id': userInfo.id}) }}");
                    break;
                case '中奖记录':
                    $('#winning_iframe').prop('src', "{{ url('member/winning', {'id': us