333 lines
17 KiB
Plaintext
333 lines
17 KiB
Plaintext
<!--pages/projectComparison/projectComparison.wxml-->
|
|
<header-nav user="{{ user }}">项目对比</header-nav>
|
|
<view class="container" wx:if="{{ !loading }}">
|
|
<perfect-information wx:if="{{ informationState }}" bindrevampInformationState="revampInformationState"></perfect-information>
|
|
|
|
<go-login wx:if="{{ isloginBtnState }}" islogin="{{ islogin }}" binduserClickLogin="userClickLogin" bindpopClose="popClose"></go-login>
|
|
|
|
<block wx:key="index">
|
|
<view class="block head-box flexflex {{ briefness ? 'briefness' : '' }}" style="top: {{ totalTopHeight }}px;">
|
|
<view class="item flex1 " wx:for="{{ list }}" wx:key="index">
|
|
<navigator class="name one-line-display" url="{{ '/pages/projectDetails/projectDetails?uniqid=' + item.uniqid }}" style="width: calc(100vw / {{ list.length }} - 30rpx);" hover-class="none">{{ item.name_zh }}</navigator>
|
|
<navigator class="english one-line-display" url="{{ '/pages/projectDetails/projectDetails?uniqid=' + item.uniqid }}" style="width: calc(100vw / {{ list.length }} - 30rpx);" hover-class="none">{{ item.name_en }}</navigator>
|
|
<navigator class="school flexacenter" url="{{ '/pages/projectSchoolHomepage/projectSchoolHomepage?id=' + item.sid }}" hover-class="none">
|
|
<image class="icon" src="{{ item.schoollogo }}" mode="widthFix"></image>
|
|
{{ item.schoolalias }}
|
|
<view class="semester">{{ item.semester.text }}</view>
|
|
</navigator>
|
|
|
|
<view class="operate flexacenter">
|
|
<view class="operate-item flexcenter flex1" bind:tap="handleProject" data-type="replace" data-index="{{ index }}">
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/refresh-two-icon.png" mode="widthFix"></image>
|
|
</view>
|
|
<view wx:if="{{ list.length == 3 }}" class="operate-item flexcenter flex1" bind:tap="deleteProject" data-index="{{ index }}">
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/delete-gray.svg" mode="widthFix"></image>
|
|
</view>
|
|
<view wx:if="{{ index == 0 && list.length == 2 }}" class="increase flexcenter" bind:tap="handleProject" data-type="add" data-index="{{ index }}">
|
|
<image class="icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/plus-case.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
<view class="lump">
|
|
<view class="title">专业排名</view>
|
|
<view class="ranking-title flexcenter" bind:tap="openSelectRank" data-type="rank">
|
|
{{ projectPitch.system }}世界专业排名({{ projectPitch.year }})
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/triangle-red.svg" mode="widthFix"></image>
|
|
</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode1" data="{{ text: item.rank || '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">学校排名</view>
|
|
<view class="ranking-title flexcenter" bind:tap="openSelectRank" data-type="schoolrank">
|
|
{{ schoolPitch.system }}世界综合排名({{ schoolPitch .year }})
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/triangle-red.svg" mode="widthFix"></image>
|
|
</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.schoolranking || '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">学科领域</view>
|
|
<view class="block flexflex {{ showObj['disciplinename']['unfold'] ? 'unfold' : '' }} {{ showObj['disciplinename']['show'] ? 'show' : '' }}" data-type="disciplinename">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.disciplinename }}" is="mode2" data="{{ text: item.disciplinename }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-'}}"></template>
|
|
</view>
|
|
<view class="more flexcenter" bind:tap="cutShow" data-type="disciplinename">
|
|
<image class="more-icon" src="https://app.gter.net/image/miniApp/offer/arrow-circle-gray.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">学费</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.tuition_fee_text }}" is="mode3" data="{{ text: item.tuition_fee_text || '-' }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '待确认' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">入学保证金</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode3" data="{{ text: item.admission_deposit_text || '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">奖学金</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.scholarshipText || '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">一般学习时长</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.ft_normal_period || '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">授课语言</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1 flexcenter" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.language_of_instruction_text || '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">专业方向</view>
|
|
<view class="block flexflex {{ showObj['concentration']['unfold'] ? 'unfold' : '' }} {{ showObj['concentration']['show'] ? 'show' : '' }}" data-type="concentration">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.concentration }}" is="mode4" data="{{ text: item.concentration }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-' }}"></template>
|
|
</view>
|
|
<view class="more flexcenter" bind:tap="cutShow" data-type="concentration">
|
|
<image class="more-icon" src="https://app.gter.net/image/miniApp/offer/arrow-circle-gray.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">学术要求</view>
|
|
<view class="block flexflex {{ showObj['entrance_requirements']['unfold'] ? 'unfold' : '' }} {{ showObj['entrance_requirements']['show'] ? 'show' : '' }}" data-type="entrance_requirements">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.entrance_requirements }}" is="mode4" data="{{ text: item.entrance_requirements }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-'}}"></template>
|
|
</view>
|
|
<view class="more flexcenter" bind:tap="cutShow" data-type="entrance_requirements">
|
|
<image class="more-icon" src="https://app.gter.net/image/miniApp/offer/arrow-circle-gray.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">英语能力要求</view>
|
|
<view class="block flexflex {{ showObj['english_proficiency_text']['unfold'] ? 'unfold' : '' }} {{ showObj['english_proficiency_text']['show'] ? 'show' : '' }}" data-type="english_proficiency_text">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.english_proficiency_text }}" is="mode4" data="{{ text: item.english_proficiency_text }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-'}}"></template>
|
|
</view>
|
|
<view class="more flexcenter" bind:tap="cutShow" data-type="english_proficiency_text">
|
|
<image class="more-icon" src="https://app.gter.net/image/miniApp/offer/arrow-circle-gray.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">必要文件</view>
|
|
<view class="block flexflex {{ showObj['documents_required']['unfold'] ? 'unfold' : '' }} {{ showObj['documents_required']['show'] ? 'show' : '' }}" data-type="documents_required">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.documents_required }}" is="mode4" data="{{ text: item.documents_required }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-'}}"></template>
|
|
</view>
|
|
<view class="more flexcenter" bind:tap="cutShow" data-type="documents_required">
|
|
<image class="more-icon" src="https://app.gter.net/image/miniApp/offer/arrow-circle-gray.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">专业认证</view>
|
|
<view class="block flexflex {{ showObj['accreditation']['unfold'] ? 'unfold' : '' }} {{ showObj['accreditation']['show'] ? 'show' : '' }}" data-type="accreditation">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.accreditation }}" is="mode4" data="{{ text: item.accreditation }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-'}}"></template>
|
|
</view>
|
|
<view class="more flexcenter" bind:tap="cutShow" data-type="accreditation">
|
|
<image class="more-icon" src="https://app.gter.net/image/miniApp/offer/arrow-circle-gray.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">是否含论文课程</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.has_dissertation_course ? '是' : '否' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">是否含项目课程</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.has_project_course ? '是' : '否' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">是否含实习课程</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template is="mode2" data="{{ text: item.has_placement_course ? '是' : '否' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump">
|
|
<view class="title">录取通知时间</view>
|
|
<view class="block flexflex">
|
|
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
|
|
<template wx:if="{{ item.result_date }}" is="mode4" data="{{ text: item.result_date }}"></template>
|
|
<template wx:else is="mode2" data="{{ text: '-' }}"></template>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lump QRcode">
|
|
<view class="title">更多信息</view>
|
|
<view class="block flexcenter">
|
|
<image class="hint" mode="heightFix" src="https://app.gter.net/image/miniApp/offer/hint.png"></image>
|
|
<image class="arrows" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/arrows-long-straight-black-hair.svg"></image>
|
|
<view class="img flexcenter">
|
|
<image class="icon" mode="widthFix" src="https://u.gter.net/assistantwxqrcode.png" show-menu-by-longpress="true"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="end flexcenter">- End -</view>
|
|
|
|
<view class="base flexcenter" wx:if="{{ !isquick }}">
|
|
保存该组对比,方便下次快速查看
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/arrows-black-straight.png" mode="widthFix"></image>
|
|
<view class="btn flexcenter" bind:tap="save">保存</view>
|
|
</view>
|
|
|
|
<view class="handle-project-mask" wx:if="{{ projectState }}" bind:tap="closeProject" catch:touchmove="return">
|
|
<view class="handle-project" catch:touchmove="return" catch:tap="return">
|
|
<view class="title">{{ projectState == 'replace' ? '请选择替换的项目' : '还可以增加1个项目' }}</view>
|
|
<scroll-view class="scroll-view" scroll-y="{{ true }}" style="height: 70vh;">
|
|
<block wx:for="{{ projectList }}" wx:key="index">
|
|
<view class="item flexacenter" wx:if="{{ item.status == 1 }}">
|
|
<view class="left flex1">
|
|
<view class="name">{{ item.name_zh }}</view>
|
|
<view class="english">{{ item.name_en }}</view>
|
|
<view class="bottom flexacenter">
|
|
<image class="icon" src="{{ item.schoollogo }}" mode="widthFix"></image>
|
|
{{ item.schoolalias }}
|
|
<block wx:if="{{ item.ismanage == 1 }}">
|
|
<view class="line"></view>
|
|
<view class="state flexcenter">{{ stateObj[item.typeid] }}</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<view class="btn flexcenter" catch:tap="selectProject" data-index="{{ index }}">
|
|
<image wx:if="{{ projectState == 'replace' }}" class="icon" src="https://app.gter.net/image/miniApp/offer/replace-icon.png" mode="widthFix"></image>
|
|
<image wx:else class="icon" src="https://app.gter.net/image/miniApp/offer/arrows-straight-dark-cyan.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<view class="empty flexcenter" wx:if="{{ projectList.length == 0 }}">
|
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/empty-icon.png" mode="widthFix"></image>
|
|
<view class="text">暂无数据</view>
|
|
</view>
|
|
<view class="item"></view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<index-sidebar id="index-sidebar" class="index-sidebar" sidebarType="xg" isInitFinish="{{ isInitFinish }}" bind:openLogin="openLoginBtnState" islogin="{{ islogin }}"></index-sidebar>
|
|
|
|
<!-- 居中 粗体 -->
|
|
<template name="mode1">
|
|
<view class="mode1 flexcenter">{{ text }}</view>
|
|
</template>
|
|
|
|
<!-- 居中 -->
|
|
<template name="mode2">
|
|
<view class="mode2 flexcenter">{{ text }}</view>
|
|
</template>
|
|
|
|
<!-- 居中 金钱 -->
|
|
<template name="mode3">
|
|
<view class="mode3 flexcenter">
|
|
<view class="amount">{{ text }}</view>
|
|
HK$
|
|
</view>
|
|
</template>
|
|
|
|
<!-- 正常显示文本 -->
|
|
<template name="mode4">
|
|
<view class="mode4">{{ text || ' - '}}</view>
|
|
</template>
|
|
|
|
<!-- 居中 显示一条横杠 -->
|
|
<template name="mode5">
|
|
<view class="mode5 flexcenter">-</view>
|
|
</template>
|
|
|
|
<template name="mode6">
|
|
<view class="mode6">
|
|
<view class="mode6-item" wx:for="{{ 5 }}" wx:key="index">
|
|
<view class="name">金融计算</view>
|
|
<view class="english">Financial Computing</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<template name="mode7">
|
|
<view class="mode7 flexcenter">
|
|
<view class="sum">{{ item.rank || "-" }}</view>
|
|
<view class="major two-line-display">{{ item.subject || "-" }}</view>
|
|
</view>
|
|
</template>
|
|
|
|
<view class="select-pop flexflex" wx:if="{{ selectState }}" catch:touchmove="return" bind:tap="closeSelectRank">
|
|
<view class="select-box" catch:tap="return">
|
|
<view class="title">请选择</view>
|
|
<scroll-view class="list" scroll-y="{{ true }}">
|
|
<view class="item flexacenter {{ (selectType == 'rank' && item.system == projectPitch.system && item.year == projectPitch.year) || (selectType == 'schoolrank' && item.system == schoolPitch.system && item.year == schoolPitch.year) ? 'pitch' : '' }}" wx:for="{{ selectType == 'rank' ? projectList : schoolList }}" catch:tap="handleSelectType" data-index="{{ index }}">
|
|
<view class="dot"></view>
|
|
<view class="content flex1 flexacenter">
|
|
<view class="text flex1">{{ item.system }}世界专业排名({{ item.year }}年)</view>
|
|
<image class="img" src="https://app.gter.net/image/miniApp/offer/tick-red.svg" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view> |