<navigationBar bind:reload='requestAgain'></navigationBar>
<view class="activityBox">
    <view class="rankList ">
        <view class="headline">
            <view class="left">
                <image src="/static/ranking-i.png" class="logo" />
                排行榜
            </view>
            <view class="toAll" bindtap="activityEvent" data-info="{{rankList[0]}}">查看更多
                <image src="/static/black.png" class="backIcon" />
            </view>
        </view>
        <scroll-view class="scrollView" scroll-x="true" enhanced show-scrollbar="{{false}}">
            <block wx:for="{{rankList}}" wx:key="id">
                <view class="ranking-class-2 {{item.type=='2'?'yxb':item.type=='3'?'rbb':'pkb'}}">
                    <view class="header">
                        <view class="left">
                            <image
                                src="{{item.type=='2'?'/static/yxb.png':item.type=='3'?'/static/rbb.png':'/static/pkb.png'}}"
                                class="icon" />
                            <view class="title">{{item.title}}</view>
                        </view>
                        <view class="toAll" bindtap="activityEvent" data-info="{{item}}">查看全部
                            <image src="/static/rbtn.png" class="backIcon" />
                        </view>
                    </view>
                    <view class="body">
                        <view class="row" wx:for="{{3}}" wx:key="index" wx:for-item='items' bindtap="jumpUserInfo"
                            data-uid='{{item.userList[index].uid}}'>
                            <view class="left">
                                <image src="/static/{{index+1}}-1.png" class="stand" />
                                <image src="{{item.userList[index].avatar||'/static/nullAvatar.png'}}" class="avatar" />
                                <view class="nickName textOver">
                                    {{item.userList[index].nickName||item.userList[index].eid||'等你来占位'}}
                                </view>
                            </view>
                            <view class="right">
                                <image
                                    src="{{item.type=='2'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
                                    class="playIcon" />
                                <view class="num">{{item.userList[index].count}}</view>
                            </view>
                        </view>
                    </view>
                </view>
            </block>
        </scroll-view>
    </view>
    <view class="activeyList">
        <view class="headline">
            <view class="left">
                <image src="/static/huodong-3.png" class="logo" />
                官方活动
            </view>
        </view>
        <activityList classify='3' dataList="{{activityList}}" />
    </view>
</view>