<commit_before>@section('title')
排行榜
@endsection

@extends('pcview::layouts.default')

@section('styles')
<link rel="stylesheet" href="{{ asset('assets/pc/css/rank.css') }}"/>
@endsection

@section('content')
    <div class="dy_bg fans_bg">
        <div class="dy_cont list_bg">
            <ul class="list_ul">
                <li><a href="{{ route('pc:rank',['mold'=>1]) }}" class="font16 @if($mold == 1) a_border @endif">用户排行榜</a></li>
                <li><a href="{{ route('pc:rank',['mold'=>2]) }}" class="font16 @if($mold == 2) a_border @endif">问答排行榜</a></li>
                <li><a href="{{ route('pc:rank',['mold'=>3]) }}" class="font16 @if($mold == 3) a_border @endif">动态排行榜</a></li>
                <li><a href="{{ route('pc:rank',['mold'=>4]) }}" class="font16 @if($mold == 4) a_border @endif">资讯排行榜</a></li>
            </ul>
            @if($mold == 1)
                <div class="fans_div">
                    @if(!empty($follower))
                        @include('pcview::templates.rank', ['title' => '粉丝排行榜', 'genre' => 'follower', 'post' => $follower, 'tabName' => '粉丝数'])
                    @endif
                    @if(!empty($balance))
                        @include('pcview::templates.rank', ['title' => '财富达人排行榜', 'genre' => 'balance', 'post' => $balance])
                    @endif
                    @if(!empty($income))
                        @include('pcview::templates.rank', ['title' => '收入达人排行榜', 'genre' => 'income', 'post' => $income])
                    @endif
                    @if(!empty($check))
                        @include('pcview::templates.rank', ['title' => '社区签到排行榜', 'genre' => 'check', 'post' => $check, 'tabName' => '累计签到'])
                    @endif
                    @if(!empty($experts))
                        @include('pcview::templates.rank', ['title' => '社区专家排行榜', 'genre' => 'experts', 'post' => $experts])
                    @endif
                    @if(!empty($likes))
                        @include('pcview::templates.rank', ['title' => '问答达人排行榜', 'genre' => 'likes', 'post' => $likes, 'tabName' => '问答点赞量'])
                    @endif
                </div>
            @elseif($mold == 2)     {{--解答排行榜--}}
                <div class="fans_div">
                    @if(!empty($answers_day))
                        @include('pcview::templates.rank', ['title' => '今日解答排行榜', 'genre' => 'answers_day', 'post' => $answers_day, 'tabName' => '问答量'])
                    @endif
                    @if(!empty($answers_week))
                        @include('pcview::templates.rank', ['title' => '一周解答排行榜', 'genre' => 'answers_week', 'post' => $answers_week, 'tabName' => '问答量'])
                    @endif
                    @if(!empty($answers_month))
                        @include('pcview::templates.rank', ['title' => '本月解答排行榜', 'genre' => 'answers_month', 'post' => $answers_month, 'tabName' => '问答量'])
                    @endif
                </div>
            @elseif($mold == 3)     {{--动态排行榜--}}
                <div class="fans_div">
                    @if(!empty($feeds_day))
                        @include('pcview::templates.rank', ['title' => '今日动态排行榜', 'genre' => 'feeds_day', 'post' => $feeds_day, 'tabName' => '点赞量'])
                    @endif
                    @if(!empty($feeds_week))
                        @include('pcview::templates.rank', ['title' => '一周动态排行榜', 'genre' => 'feeds_week', 'post' => $feeds_week, 'tabName' => '点赞量'])
                    @endif
                    @if(!empty($feeds_month))
                        @include('pcview::templates.rank', ['title' => '本月动态排行榜', 'genre' => 'feeds_month', 'post' => $feeds_month, 'tabName' => '点赞量'])
                    @endif
                </div>
            @elseif($mold == 4)     {{--资讯排行榜--}}
            <div class="fans_div">
                @if(!empty($news_day))
                    @include('pcview::templates.rank', ['title' => '今日资讯排行榜', 'genre' => 'news_day', 'post' => $news_day, 'tabName' => '浏览量'])
                @endif
                @if(!empty($news_week))
                    @include('pcview::templates.rank', ['title' => '一周资讯排行榜', 'genre' => 'news_week', 'post' => $news_week, 'tabName' => '浏览量'])
                @endif
                @if(!empty($news_month))
                    @include('pcview::templates.rank', ['title' => '本月资讯排行榜', 'genre' => 'news_month', 'post' => $news_month, 'tabName' => '浏览量'])
                @endif
            </div>
            @endif
        </div>
    </div>
@endsection
@section('scripts')
    <script>
        function gorank(action,genre,num) {
            var _this = $("div[rel='"+genre+"div']").first();
            var current = $('div[rel="'+genre+'div"][current="1"]');
            //当前页数
            var curnum = $('#'+genre+'num').text();

            //向前
            if ( action == 1 ){
                curnum = parseInt(curnum) - 1;
            } else {<commit_msg>refactor(pc): 移除排行榜部分模块<commit_after>@section('title')
排行榜
@endsection

@extends('pcview::layouts.default')

@section('styles')
<link rel="stylesheet" href="{{ asset('assets/pc/css/rank.css') }}"/>
@endsection

@section('content')
    <div class="dy_bg fans_bg">
        <div class="dy_cont list_bg">
            <ul class="list_ul">
                <li><a href="{{ route('pc:rank',['mold'=>1]) }}" class="font16 @if($mold == 1) a_border @endif">用户排行榜</a></li>
                <li><a href="javascript:;" class="font16" onclick="layer.alert(buyTSInfo)">问答排行榜</a></li>
                <li><a href="{{ route('pc:rank',['mold'=>3]) }}" class="font16 @if($mold == 3) a_border @endif">动态排行榜</a></li>
                <li><a href="javascript:;" class="font16" onclick="layer.alert(buyTSInfo)">资讯排行榜</a></li>
            </ul>
            @if($mold == 1)
                <div class="fans_div">
                    @if(!empty($follower))
                        @include('pcview::templates.rank', ['title' => '粉丝排行榜', 'genre' => 'follower', 'post' => $follower, 'tabName' => '粉丝数'])
                    @endif
                    @if(!empty($balance))
                        @include('pcview::templates.rank', ['title' => '财富达人排行榜', 'genre' => 'balance', 'post' => $balance])
                    @endif
                    @if(!empty($income))
                        @include('pcview::templates.rank', ['title' => '收入达人排行榜', 'genre' => 'income', 'post' => $income])
                    @endif
                    @if(!empty($check))
                        @include('pcview::templates.rank', ['title' => '社区签到排行榜', 'genre' => 'check', 'post' => $check, 'tabName' => '累计签到'])
                    @endif
                </div>
            @elseif($mold == 3)     {{--动态排行榜--}}
                <div class="fans_div">
                    @if(!empty($feeds_day))
                        @include('pcview::templates.rank', ['title' => '今日动态排行榜', 'genre' => 'feeds_day', 'post' => $feeds_day, 'tabName' => '点赞量'])
                    @endif
                    @if(!empty($feeds_week))
                        @include('pcview::templates.rank', ['title' => '一周动态排行榜', 'genre' => 'feeds_week', 'post' => $feeds_week, 'tabName' => '点赞量'])
                    @endif
                    @if(!empty($feeds_month))
                        @include('pcview::templates.rank', ['title' => '本月动态排行榜', 'genre' => 'feeds_month', 'post' => $feeds_month, 'tabName' => '点赞量'])
                    @endif
                </div>
            @endif
        </div>
    </div>
@endsection
@section('scripts')
    <script>
        function gorank(action,genre,num) {
            var _this = $("div[rel='"+genre+"div']").first();
            var current = $('div[rel="'+genre+'div"][current="1"]');
            //当前页数
            var curnum = $('#'+genre+'num').text();

            //向前
            if ( action == 1 ){
                curnum = parseInt(curnum) - 1;
            } else {
{'fraction_non_alphanumeric': 0.2125874125874126, 'fraction_numerical': 0.0050858232676414495, 'mean_word_length': 1.85310119695321, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 152, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '826931', 'n_tokens_mistral': 2761, 'n_tokens_neox': 2753, 'n_words': 415}