136 lines
7.6 KiB
Plaintext
136 lines
7.6 KiB
Plaintext
<!--pages/projectAllList/projectAllList.wxml-->
|
|
<view class="container">
|
|
<header-nav bgcolor="#fbfbfb" user="{{ user }}">{{ isFirstPattern ? '' : '世界排行榜' }}</header-nav>
|
|
|
|
<view class="header flexflex">
|
|
<image class="medal" src="https://app.gter.net/image/miniApp/offer/medal-icon.png" mode="widthFix"></image>
|
|
<view class="right flex1">
|
|
<view class="name">世界排行榜</view>
|
|
<view class="institution" bind:tap="cutRealizeState">
|
|
<view class="text">了解评榜机构:</view>
|
|
<view class="list flexflex">
|
|
<view class="item organ-item {{ item.key }}" wx:for="{{ organList }}" wx:key="index">{{ item.name }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="item-header item-header-screen flexacenter">
|
|
<view class="greenDot"></view>
|
|
筛选榜单
|
|
</view>
|
|
|
|
<view class="screen flexcenter">
|
|
<view class="item flexcenter" bind:tap="cutScreenState" data-type="school">
|
|
筛选综合排名
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/arrows-circle-blue.svg" mode="widthFix"></image>
|
|
</view>
|
|
<view class="item flexcenter" bind:tap="cutScreenState" data-type="subject">
|
|
筛选专业排名
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/arrows-circle-blue.svg" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="item-header item-header-all flexacenter">
|
|
<view class="greenDot"></view>
|
|
全部榜单
|
|
</view>
|
|
|
|
<view class="all">
|
|
<view class="classify flexflex">
|
|
<view class="classify-item flexflex flex1" bind:tap="cutClassify" data-type="school">
|
|
<view class="pitch" wx:if="{{ classify == 'school' }}">
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/list-left-icon.svg"></image>
|
|
<view class="text flexacenter">
|
|
<view class="text-icon-box flexcenter">
|
|
<image class="text-icon" src="https://app.gter.net/image/miniApp/offer/list-synthesize-icon.png" mode="widthFix"></image>
|
|
</view>
|
|
综合排名
|
|
</view>
|
|
</view>
|
|
<block wx:else>
|
|
<view class="extension"></view>
|
|
综合排名
|
|
</block>
|
|
</view>
|
|
<view class="classify-item flexflex flex1" bind:tap="cutClassify" data-type="subject">
|
|
<view class="pitch right" wx:if="{{ classify == 'subject' }}">
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/list-right-icon.svg"></image>
|
|
<view class="text flexacenter">
|
|
<view class="text-icon-box flexcenter">
|
|
<image class="text-icon" src="https://app.gter.net/image/miniApp/offer/list-major-icon.png" mode="widthFix"></image>
|
|
</view>
|
|
专业排名
|
|
</view>
|
|
</view>
|
|
<block wx:else>
|
|
<view class="extension"></view>
|
|
专业排名
|
|
</block>
|
|
</view>
|
|
</view>
|
|
|
|
<view wx:if="{{ classify == 'school' }}" class="synthesis">
|
|
<view class="total">共{{ comSum }}个综合排名榜单</view>
|
|
<view class="list">
|
|
<view class="item" wx:for="{{ comData }}" wx:key="index">
|
|
<image class="icon" src="{{ item.image }}" mode="heightFix"></image>
|
|
<view class="text flexacenter" wx:for="{{ item.lists }}" wx:for-index="i" wx:key="index" wx:for-item="ite" bind:tap="selectCom" data-mechanism="{{ item.mechanism }}" data-year="{{ ite.year }}">
|
|
<view class="spot"></view>
|
|
<view class="title one-line-display">{{ ite.name }}</view>
|
|
<!-- <view class="year">({{ i }}年)</view> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="end">- End -</view>
|
|
</view>
|
|
|
|
<view wx:else class="major">
|
|
<view class="total">共{{ majSum }}个专业排名榜单</view>
|
|
<view class="letter">
|
|
<view class="item {{ letterKey == index ? 'pitch' : '' }}" wx:for="{{ letterList }}" wx:key="index" bind:tap="jumpToIndex" data-key="{{ index }}">{{ index }}</view>
|
|
</view>
|
|
<view class="list">
|
|
<view wx:if="{{ majPitch.major }}" class="mask" bind:tap="closeYear"></view>
|
|
<view class="node-item" id="{{ indexx }}" wx:for="{{ majData }}" wx:for-index="indexx" wx:for-item="itemm">
|
|
<view class="item {{ item.initial ? 'item' + item.initial : '' }}" wx:for="{{ itemm }}" wx:key="index" data-letter="{{ item.initial }}">
|
|
<view class="title">{{ item.subject }}</view>
|
|
<view class="organ">
|
|
<view class="organ-item flexacenter" wx:for="{{ item.systemObj }}" wx:for-item="ite" wx:for-index="ii" wx:key="ii">
|
|
<view class="spot"></view>
|
|
<view class="name">{{ rankingKey[ii] || ii || '' }}</view>
|
|
<view class="select-box {{ ( majPitch.major == item.subject && majPitch.organ == ii ) ? 'show' : ''}}">
|
|
<view catch:tap="openYear" data-major="{{ item.subject }}" data-organ="{{ ii }}" data-value="{{ ite.show }}" class="select flexacenter">
|
|
<view class="text">请选择年份</view>
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/arrows-black.svg" mode="widthFix"></image>
|
|
</view>
|
|
<view class="year">
|
|
<view class="year-item" wx:for="{{ ite }}" wx:for-item="it" wx:for-index="i" wx:key="i" catch:tap="selectMaj" data-major="{{ item.subject }}" data-organ="{{ ii }}" data-year="{{ it.year }}">{{ it.year }}年</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="end">- End -</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 了解 -->
|
|
<view class="pop flexflex" wx:if="{{ realizeState }}" bind:tap="cutRealizeState" catch:touchmove="return">
|
|
<view class="pop-box realize-box" catch:tap="return">
|
|
<view class="name">了解评榜机构</view>
|
|
<view class="list">
|
|
<view class="item" wx:for="{{ organList }}" wx:key="index">
|
|
<view class="title organ-item {{ item.key }}">{{ item.name }}</view>
|
|
<view class="text">{{ item.text }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<go-login wx:if="{{ isloginBtnState }}" islogin="{{ islogin }}" binduserClickLogin="userClickLogin" bindpopClose="popClose"></go-login>
|
|
<perfect-information wx:if="{{ informationState }}" bindrevampInformationState="revampInformationState"></perfect-information>
|
|
<project-list-screen wx:if="{{ screenState }}" comOption="{{ comOption }}" com="{{ com }}" majOption="{{ majOption }}" maj="{{ maj }}" bind:cutScreenState="cutScreenState" bind:haveChosen="haveChosen" classify="{{ classifyType }}"></project-list-screen>
|
|
</view> |