【mod】问题修改

Develop
wangxi 1 year ago
parent 7a112f5167
commit e8dc7334f6

@ -5,7 +5,7 @@
<router-link to="/views/school/list">高校信息大全</router-link>
</template>
<div class="c-page" v-if="model">
<div style="height: 14vh;display: flex;align-items:center;text-align: left; padding: 1.5vh 2vh; border-bottom: 1px solid #AFDBFF; background: #EFF8FF;">
<div style="height: 10vh;display: flex;align-items:center;text-align: left; padding: 1.5vh 2vh; border-bottom: 1px solid #AFDBFF; background: #EFF8FF;">
<div style=" box-sizing: border-box; height: 10vh;padding-right:2vh;">
<img :src="'https://video.edusoa.com/static/images/schoollogo/'+model.logo"
onerror="this.src='https://video.edusoa.com/static/images/space/school.png'"
@ -14,15 +14,17 @@
</div>
<div>
<div>
<div></div>
<div></div>
<div style="display: inline-block; box-sizing: border-box; font-size: 4vh; font-weight: bolder; line-height: 6vh; padding: 0; vertical-align: middle;">
{{model.university_name}}
</div>
<span v-for="(tag,index) in getTags()"
:style="'vertical-align:middle;border-radius:5px;padding:0 1vh;border:.1vh solid '+tag.color+';color:'+tag.color+';margin:0 .5vh;' ">
<div>
<span v-for="(tag,index) in getTags()"
:style="'vertical-align:middle;border-radius:5px;padding:0 1vh;border:.1vh solid '+tag.color+';color:'+tag.color+';margin:0 .5vh;' ">
{{tag.name}}
</span>
</div>
<div class="c-tab" style="position: absolute;top: 0;right: 1vh;">
<a href="javascript:;" v-for="(v,i) in tab.items" :class="i===tab.current?'c-active':''"
@click="()=>tabChange(i)">{{v}}</a>
@ -30,14 +32,7 @@
</div>
</div>
<div style="margin: 1.5vh 0;max-width: 110vh">
<img class="c-svg c-svg-location" src="images/location.svg"
style="vertical-align: bottom;width:3vh"/> 学校地址:{{model.address}}&nbsp;
</div>
<div>
<img style="width:3vh;vertical-align: bottom"
src="./../../gxytj/xztszzy/images/gaoxiao/call.png"/> 招生电话:{{model.university_tel}}
</div>
</div>
</div>
@ -69,8 +64,8 @@
<img src="images/school-empty.png" style="vertical-align:middle;padding-top: 12%"/>
</div>
</div>
<div style="box-sizing: border-box; width: 65%; float: right;padding:0 4vh;">
<div style="box-sizing: border-box; width: 100%;display:flex;height:20vh;padding-top:6vh;">
<div style="box-sizing: border-box; width: 65%; float: right;padding:0 3vh;padding-right: 0">
<div style="box-sizing: border-box; width: 100%;display:flex;height:13vh;padding-top:1vh;">
<div class="c-item">
<div style="background-color: #FFBF5E;">
<img class="c-svg c-svg-nf" src="images/benke.svg"/>
@ -117,10 +112,40 @@
</div>
</div>
</div>
<div class="c-p" @click="show"
style=" cursor:pointer;box-sizing: border-box; width: 100%; height: 20vh; text-indent:2em;-webkit-line-clamp:3"
v-html="model.university_desc">
<div>
<img style="width:3vh;vertical-align: bottom"
src="./../../gxytj/xztszzy/images/gaoxiao/call.png"/> 招生电话:{{model.university_tel}}
</div>
<div style="margin: 1.5vh 0;max-width: 110vh;margin-bottom: 4vh">
<img class="c-svg c-svg-location" src="images/location.svg"
style="vertical-align: bottom;width:3vh"/> 学校地址:{{model.address}}&nbsp;
</div>
<div class="wrapper">
<div class="more" @click="show">[详情]</div>
<div class="des">{{model.university_desc_unformat}}</div>
</div>
<!--<div class="content-wrapper"-->
<!--&gt;-->
<!--<div class="content">-->
<!--<span class=" icon-new icon-1"-->
<!--style="color: #ec2f2f;line-height: 3vh;cursor: pointer" @click="show">[详情]</span>-->
<!--<span style="line-height: 3vh" >{{model.university_desc_unformat}}</span>-->
<!--<span class=" icon-new icon-2"-->
<!--style="color: #ec2f2f"></span>-->
<!--</div>-->
<!--</div>-->
<!--<div style="position: relative;display: flex">-->
<!--<div class="more">[详情]</div>-->
<!--<div class="c-p" @click="show"-->
<!--style=" cursor:pointer;box-sizing: border-box; width: 100%; height: 20vh; text-indent:2em;">-->
<!--{{model.university_desc_unformat}}-->
<!--</div>-->
<!--</div>-->
</div>
</div>
<div class="c-page-item">
@ -143,6 +168,7 @@
<span class="c-ellipsis"
style="display: block; font-size: 1.5vh; line-height: 3vh; color: #2b92d7;">
{{getSchoolTags(item)}}
</span>
</div>
</router-link>
@ -175,7 +201,7 @@
</div>
</div>
</div>
<div class="c-tab-content" v-show="tab.current===1" style="padding-top: 1vh" >
<div class="c-tab-content" v-show="tab.current===1" style="padding-top: 1vh">
<div style="display: flex">
<select v-model="selected" class="selectBox" @change="selectChange($event)">
<!--<option disabled value="">请选择一个选项</option>-->
@ -185,15 +211,15 @@
</select>
<div style="margin-left: 2vh;position: relative">
<img class="img-style" src="images/search.svg"/>
<input class="major-style" type="text" v-model="major_name" placeholder="请输入专业名称" />
<input class="major-style" type="text" v-model="major_name" placeholder="请输入专业名称"/>
</div>
<div class="major-search" @click="majorSearch()" >搜索</div>
<div class="major-search" @click="majorSearch()">搜索</div>
</div>
<div class="c-row" style="margin: 2vh 0">
<table class="c-table">
<thead >
<thead>
<tr >
<tr>
<th width="25%" style="padding: 1vh">专业名称</th>
<th width="10%" style="padding: 1vh">层次</th>
<th width="10%" style="padding: 1vh">学科门类</th>
@ -211,7 +237,8 @@
<td style="padding: 1vh">{{item.professional_category}}</td>
<td style="padding: 1vh">{{item.years}}</td>
<td style="padding: 1vh;cursor: pointer;">
<router-link :to="'/views/zhuanye/item?id='+item.major_id+'&type='+item.major_type_name+'&name='+item.subject_category+'&type_id='+item.major_type+'&type_idd='+item.subject_category_id" >
<router-link
:to="'/views/zhuanye/item?id='+item.major_id+'&type='+item.major_type_name+'&name='+item.subject_category+'&type_id='+item.major_type+'&type_idd='+item.subject_category_id">
查看详情
</router-link>
</td>
@ -219,14 +246,17 @@
<tr v-if="major.table_List.length===0">
<td colspan="6" style="padding: 1vh">
<img src="images/empty-data.png" style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<img src="images/empty-data.png"
style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<div style="margin-bottom: 5vh;color: #a2a2a2;font-size: 2vh">暂无数据</div>
</td>
</tr>
</table>
</div>
<div class="c-row" style=" height:13vh;position:relative;padding:0 5vh;" v-if="major.table_List.length!==0">
<pagination v-model:index="major.pageNumber" v-model:size="major.pageSize" :total="major.totalRow" :callback="getUniversityMajorList" />
<div class="c-row" style=" height:13vh;position:relative;padding:0 5vh;"
v-if="major.table_List.length!==0">
<pagination v-model:index="major.pageNumber" v-model:size="major.pageSize"
:total="major.totalRow" :callback="getUniversityMajorList"/>
</div>
</div>
@ -234,21 +264,25 @@
<div>
<div>
<div style="overflow: auto">
<div style="float:left;border-left:6px solid #27CEC1;height: 3vh;padding-left: 2vh;line-height: 3vh;font-size: 18px"><strong>各省分数线</strong></div>
<div style="float:left;border-left:6px solid #27CEC1;height: 3vh;padding-left: 2vh;line-height: 3vh;font-size: 18px">
<strong>各省分数线</strong></div>
<div style="float: right">
<select v-model="score.province1" class="selectBox" style="width:10vh;margin-right: 2vh" @change="provinceChange($event,1)">
<select v-model="score.province1" class="selectBox"
style="width:10vh;margin-right: 2vh" @change="provinceChange($event,1)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.provinceList" :key="item.id" :value="item.id">
{{ item.provincename }}
</option>
</select>
<select v-model="score.year1" class="selectBox" style="width:10vh;margin-right: 2vh" @change="yearChange($event,1)">
<select v-model="score.year1" class="selectBox" style="width:10vh;margin-right: 2vh"
@change="yearChange($event,1)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.yearList1" :key="item" :value="item">
{{ item }}{{score.year1==='暂无'?'':'年'}}
</option>
</select>
<select v-model="score.type1" class="selectBox" style="width:10vh;" @change="typeChange($event,1)">
<select v-model="score.type1" class="selectBox" style="width:10vh;"
@change="typeChange($event,1)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.typeList1" :key="item.type" :value="item.type">
{{ item.type_name }}
@ -258,8 +292,8 @@
</div>
<div class="c-row" style="margin: 3vh 0">
<table class="c-table">
<thead >
<tr >
<thead>
<tr>
<th width="15%" style="padding: 1vh">年份</th>
<th width="20%" style="padding: 1vh">录取批次</th>
<th width="15%" style="padding: 1vh">招生类型</th>
@ -272,15 +306,19 @@
<td style="padding: 1vh">{{item.year}}</td>
<td style="padding: 1vh">{{item.batch_name?item.batch_name:'--'}}</td>
<td style="padding: 1vh">{{item.subject_category?item.subject_category:'--'}}</td>
<td style="padding: 1vh">{{item.min_score?item.min_score:'--'}} / {{item.seating?item.seating:'--'}}</td>
<td style="padding: 1vh">{{item.subject_category?item.subject_category:'--'}}
</td>
<td style="padding: 1vh">{{item.min_score?item.min_score:'--'}} /
{{item.seating?item.seating:'--'}}
</td>
<td style="padding: 1vh">{{item.province_score?item.province_score:'--'}}</td>
</tr>
<tr v-if="score.province_score_List.length===0">
<td colspan="5" style="padding: 1vh">
<img src="images/empty-data.png" style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<img src="images/empty-data.png"
style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<div style="margin-bottom: 5vh;color: #a2a2a2;font-size: 2vh">暂无数据</div>
</td>
</tr>
@ -289,27 +327,32 @@
</div>
<div>
<div style="overflow: auto">
<div style="float:left;border-left:6px solid #27CEC1;height: 3vh;padding-left: 2vh;line-height: 3vh;font-size: 18px"><strong>专业分数线</strong></div>
<div style="float:left;border-left:6px solid #27CEC1;height: 3vh;padding-left: 2vh;line-height: 3vh;font-size: 18px">
<strong>专业分数线</strong></div>
<div style="float: right">
<select v-model="score.province2" class="selectBox" style="width:10vh;margin-right: 2vh" @change="provinceChange($event,2)">
<select v-model="score.province2" class="selectBox"
style="width:10vh;margin-right: 2vh" @change="provinceChange($event,2)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.provinceList" :key="item.id" :value="item.id">
{{ item.provincename }}
</option>
</select>
<select v-model="score.year2" class="selectBox" style="width:10vh;margin-right: 2vh" @change="yearChange($event,2)">
<select v-model="score.year2" class="selectBox" style="width:10vh;margin-right: 2vh"
@change="yearChange($event,2)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.yearList2" :key="item" :value="item">
{{ item }}{{score.year2==='暂无'?'':'年'}}
</option>
</select>
<select v-model="score.type2" class="selectBox" style="width:10vh;margin-right: 2vh" @change="typeChange($event,2)">
<select v-model="score.type2" class="selectBox" style="width:10vh;margin-right: 2vh"
@change="typeChange($event,2)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.typeList2" :key="item.type" :value="item.type">
{{ item.type_name }}
</option>
</select>
<select v-model="score.batch" class="selectBox" style="width:15vh;" @change="batchChange($event)">
<select v-model="score.batch" class="selectBox" style="width:15vh;"
@change="batchChange($event)">
<!--<option disabled value="">请选择一个选项</option>-->
<option v-for="item in score.batchList" :key="item.batch" :value="item.batch">
{{ item.batch_name }}
@ -319,8 +362,8 @@
</div>
<div class="c-row" style="margin: 3vh 0">
<table class="c-table">
<thead >
<tr >
<thead>
<tr>
<th width="40%" style="padding: 1vh">专业名称</th>
<th width="15%" style="padding: 1vh">录取批次</th>
<th width="15%" style="padding: 1vh">录取数</th>
@ -335,13 +378,16 @@
<td style="padding: 1vh">{{item.batch_name}}</td>
<td style="padding: 1vh">{{item.recruit_count}}</td>
<td style="padding: 1vh">{{item.average_score}}</td>
<td style="padding: 1vh">{{item.min_score}}/{{item.seating!==0?item.seating:'--'}}</td>
<td style="padding: 1vh">
{{item.min_score}}/{{item.seating!==0?item.seating:'--'}}
</td>
</tr>
<tr v-if="score.major_score_List.length===0">
<td colspan="5" style="padding: 1vh">
<img src="images/empty-data.png" style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<img src="images/empty-data.png"
style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<div style="margin-bottom: 5vh;color: #a2a2a2;font-size: 2vh">暂无数据</div>
</td>
</tr>
@ -362,7 +408,8 @@
{{i.faculty}}</h5>
<div>
<div class="c-ellipsis" v-for="j in i.major"
style="border: 1px solid #B7DFFF; padding: 1vh; margin: 1vh; text-align: left; " :title="j">
style="border: 1px solid #B7DFFF; padding: 1vh; margin: 1vh; text-align: left; "
:title="j">
<img style="width: 2vh;vertical-align:bottom;margin-right: .5rem;"
src="./../../gxytj/xztszzy/images/gaoxiao/label.png"/>{{j}}
</div>
@ -374,15 +421,15 @@
</div>
<div class="c-tab-content" v-show="tab.current===4">
<h3 style="margin:0;"><img src="./../../gxytj/xztszzy/images/gaoxiao/school.png"
style="width:2rem;vertical-align:bottom;margin-right: 1rem;"/>校园风光
</h3>
<div style="text-align: center" v-if="getImageList().length===0">
<img src="images/empty-data.png" style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<div style="margin-bottom: 5vh;color: #a2a2a2;font-size: 2vh">暂无数据</div>
</div>
<h3 style="margin:0;"><img src="./../../gxytj/xztszzy/images/gaoxiao/school.png"
style="width:2rem;vertical-align:bottom;margin-right: 1rem;"/>校园风光
</h3>
<div style="text-align: center" v-if="getImageList().length===0">
<img src="images/empty-data.png" style="width: 17vh;margin-top: 5vh;margin-bottom: 2vh"/>
<div style="margin-bottom: 5vh;color: #a2a2a2;font-size: 2vh">暂无数据</div>
</div>
<template v-else>
<div class="c-flex" style="justify-content:start;">
<div class="c-flex" style="justify-content:start;">
<div v-for="item in getImageList()"
@click="zoom('./../../gxytj/'+item.resource_address+'.webp')"
style="width:20%;text-align:center;cursor:pointer;">
@ -428,15 +475,15 @@
</div>
</layout>
<div class="model" v-show="isShow">
<div class="modelFixed" ref="child" >
<div class="modelFixed" ref="child">
<div style="height: 3vh;display: flex;justify-content: flex-end">
<img @click="closeModal()" style="width: 1.5rem;cursor:pointer"
src="./../../gxytj/xztszzy/images/gaoxiao/closeModal.png"/>
src="./../../gxytj/xztszzy/images/gaoxiao/closeModal.png"/>
</div>
<div style="overflow: auto;height: calc(100% - 4vh);margin-top: 1vh">
<div style="font-size: 4vh;text-align: left"><strong>{{model.university_name}}</strong></div>
<div style="text-align:left;line-height: 5vh; width: 100%;" v-html="model.university_desc"></div>
<div style="text-align:left;line-height: 2.5vh; width: 100%;" v-html="model.university_desc"></div>
</div>
@ -454,7 +501,7 @@
},
options: [{id: '', value: '全部类别'}],
tab: {
items: ['学校概况', '开设专业','分 数 线', '院系专业', '校园风采'],
items: ['学校概况', '开设专业', '分 数 线', '院系专业', '校园风采'],
current: 0
},
galleryTop: null,
@ -463,27 +510,27 @@
src: null,
selected: '',
major_name: '',
major:{
table_List:[],
major: {
table_List: [],
pageNumber: 1,
pageSize: 5,
},
score:{
provinceList:[],
province1:'',
province2:'',
yearList1:[],
yearList2:[],
year1:'',
year2:'',
typeList1:[],
typeList2:[],
type1:'',
type2:'',
batch:'',
batchList:[],
province_score_List:[],
major_score_List:[],
score: {
provinceList: [],
province1: '',
province2: '',
yearList1: [],
yearList2: [],
year1: '',
year2: '',
typeList1: [],
typeList2: [],
type1: '',
type2: '',
batch: '',
batchList: [],
province_score_List: [],
major_score_List: [],
}
@ -506,8 +553,8 @@
if (to.path === from.path) {
this.layout.query = to.query.name;
this.major={
table_List:[],
this.major = {
table_List: [],
pageNumber: 1,
pageSize: 5,
};
@ -579,7 +626,7 @@
var parent = this;
$.post(url, uri.query(), function (response) {
if (response.success) {
parent.major=response;
parent.major = response;
}
});
},
@ -725,12 +772,12 @@
$.post(url, uri.query(), function (response) {
if (response.success) {
parent.score.provinceList = response.table_List;
if($.cookie('background_province_id')!==undefined){
parent.score.province1=$.cookie('background_province_id');
parent.score.province2=$.cookie('background_province_id');
}else {
parent.score.province1=response.table_List[0].id;
parent.score.province2=response.table_List[0].id;
if ($.cookie('background_province_id') !== undefined) {
parent.score.province1 = $.cookie('background_province_id');
parent.score.province2 = $.cookie('background_province_id');
} else {
parent.score.province1 = response.table_List[0].id;
parent.score.province2 = response.table_List[0].id;
}
parent.getYearListByProvince(1);//院校
@ -743,47 +790,45 @@
if (store.state.query) {
uri.setQuery({
"type": type,
"source_province_id":type.toString()==='1'?this.score.province1:this.score.province2,
"university_id":this.$route.query.id,
"source_province_id": type.toString() === '1' ? this.score.province1 : this.score.province2,
"university_id": this.$route.query.id,
});
}
var url = '/dsideal_yy/zygh/ytj/getYearListByProvince';
var parent = this;
$.post(url, uri.query(), function (response) {
if (response.success) {
if(type.toString()==='1'){
if(response.year_list.length!==0){
if (type.toString() === '1') {
if (response.year_list.length !== 0) {
parent.score.yearList1 = response.year_list.reverse();
parent.score.year1=response.year_list[0];
parent.score.year1 = response.year_list[0];
parent.getScoreDicList(1);
}else {
} else {
parent.score.yearList1 = ['暂无'];
parent.score.year1='暂无';
parent.score.typeList1 = [{type_name:'暂无',type:''}];
parent.score.type1='';
parent.score.batchList=[{batch:'',batch_name:'暂无'}];
parent.score.batch='';
parent.score.province_score_List=[];
parent.score.year1 = '暂无';
parent.score.typeList1 = [{type_name: '暂无', type: ''}];
parent.score.type1 = '';
parent.score.batchList = [{batch: '', batch_name: '暂无'}];
parent.score.batch = '';
parent.score.province_score_List = [];
}
}else {
if(response.year_list.length!==0){
} else {
if (response.year_list.length !== 0) {
parent.score.yearList2 = response.year_list.reverse();
parent.score.year2=response.year_list[0];
parent.score.year2 = response.year_list[0];
parent.getScoreDicList(2);
}else {
} else {
parent.score.yearList2 = ['暂无'];
parent.score.year2='暂无';
parent.score.typeList2 = [{type_name:'暂无',type:''}];
parent.score.type2='';
parent.score.major_score_List=[];
parent.score.year2 = '暂无';
parent.score.typeList2 = [{type_name: '暂无', type: ''}];
parent.score.type2 = '';
parent.score.major_score_List = [];
}
}
}
});
},
@ -796,10 +841,10 @@
// "seachType": 2,
// "sourceProvinceId":type.toString()==='1'?this.score.province1:this.score.province2,
// "year":type.toString()==='1'?this.score.year1:this.score.year2
"source_province_id":type.toString()==='1'?this.score.province1:this.score.province2,
"year":type.toString()==='1'?this.score.year1:this.score.year2,
"source_province_id": type.toString() === '1' ? this.score.province1 : this.score.province2,
"year": type.toString() === '1' ? this.score.year1 : this.score.year2,
"type": type,
"university_id":this.$route.query.id,
"university_id": this.$route.query.id,
});
}
// var url = '/dsideal_yy/zygh/score/getScoreDicList';
@ -807,27 +852,27 @@
var parent = this;
$.post(url, uri.query(), function (response) {
if (response.success) {
if(type.toString()==='1'){
if(response.type_list.length!==0){
if (type.toString() === '1') {
if (response.type_list.length !== 0) {
parent.score.typeList1 = response.type_list;
parent.score.type1=response.type_list[0].type;
parent.score.type1 = response.type_list[0].type;
parent.getUniversityBatchScore()
}else {
parent.score.typeList1 = [{type_name:'暂无',type:''}];
parent.score.type1='';
parent.score.province_score_List=[];
} else {
parent.score.typeList1 = [{type_name: '暂无', type: ''}];
parent.score.type1 = '';
parent.score.province_score_List = [];
}
}else {
if(response.type_list.length!==0){
} else {
if (response.type_list.length !== 0) {
parent.score.typeList2 = response.type_list;
parent.score.type2=response.type_list[0].type;
parent.score.type2 = response.type_list[0].type;
parent.getUniversityBatchList()
//
}else {
parent.score.typeList2 = [{type_name:'暂无',type:''}];
parent.score.type2='';
parent.score.major_score_List=[];
} else {
parent.score.typeList2 = [{type_name: '暂无', type: ''}];
parent.score.type2 = '';
parent.score.major_score_List = [];
}
}
@ -836,14 +881,14 @@
}
});
},
getUniversityBatchList:function () {
getUniversityBatchList: function () {
var uri = new URI();
if (store.state.query) {
uri.setQuery({
"university_id": this.$route.query.id,
"source_province_id": this.score.province2,
"subject_category":this.score.type2,
"year":this.score.year2
"subject_category": this.score.type2,
"year": this.score.year2
});
}
@ -852,18 +897,17 @@
$.post(url, uri.query(), function (response) {
if (response.success) {
if(response.batch_list.length!==0){
parent.score.batchList=response.batch_list;
parent.score.batch=response.batch_list[0].batch.toString();
if (response.batch_list.length !== 0) {
parent.score.batchList = response.batch_list;
parent.score.batch = response.batch_list[0].batch.toString();
parent.getUniversityMajorScore()
}else {
parent.score.batchList=[{batch:'',batch_name:'暂无'}];
parent.score.batch='';
parent.score.province_score_List=[];
} else {
parent.score.batchList = [{batch: '', batch_name: '暂无'}];
parent.score.batch = '';
parent.score.province_score_List = [];
}
}
});
},
@ -873,8 +917,8 @@
uri.setQuery({
"university_id": this.$route.query.id,
"source_province_id": this.score.province1,
"type":this.score.type1,
"year":this.score.year1
"type": this.score.type1,
"year": this.score.year1
});
}
@ -882,7 +926,7 @@
var parent = this;
$.post(url, uri.query(), function (response) {
if (response.success) {
parent.score.province_score_List=response.list
parent.score.province_score_List = response.list
}
@ -894,9 +938,9 @@
uri.setQuery({
"university_id": this.$route.query.id,
"source_province_id": this.score.province2,
"type":this.score.type2,
"year":this.score.year2,
"batch":this.score.batch,
"type": this.score.type2,
"year": this.score.year2,
"batch": this.score.batch,
});
}
@ -904,7 +948,7 @@
var parent = this;
$.post(url, uri.query(), function (response) {
if (response.success) {
parent.score.major_score_List=response.list
parent.score.major_score_List = response.list
}
@ -926,52 +970,52 @@
search: function () {
this.$router.push("/views/school/list?query=" + this.layout.query);
},
selectChange:function (e) {
this.major.pageNumber=1;
this.major.pageSize=5;
selectChange: function (e) {
this.major.pageNumber = 1;
this.major.pageSize = 5;
this.getUniversityMajorList()
},
provinceChange:function (e,type) {
provinceChange: function (e, type) {
this.getYearListByProvince(type)
},
yearChange:function (e,type) {
yearChange: function (e, type) {
this.getScoreDicList(type)
},
batchChange:function (e,type) {
batchChange: function (e, type) {
this.getUniversityMajorScore()
},
typeChange:function (e,type) {
if(type.toString()==='1'){
typeChange: function (e, type) {
if (type.toString() === '1') {
this.getUniversityBatchScore()
}else {
} else {
this.getUniversityBatchList()
}
},
tabChange(num){
this.tab.current=num;
if(num===1){
this.major_name='';
this.selected='';
this.major.pageNumber=1;
this.major.pageSize=5;
this.tab.current = num;
if (num === 1) {
this.major_name = '';
this.selected = '';
this.major.pageNumber = 1;
this.major.pageSize = 5;
this.getUniversityMajorList();
}
if(num===2){
this.score={
provinceList:[],
province1:'',
province2:'',
yearList1:[],
yearList2:[],
year1:'',
year2:'',
typeList1:[],
typeList2:[],
type1:'',
type2:'',
province_score_List:[],
major_score_List:[],
if (num === 2) {
this.score = {
provinceList: [],
province1: '',
province2: '',
yearList1: [],
yearList2: [],
year1: '',
year2: '',
typeList1: [],
typeList2: [],
type1: '',
type2: '',
province_score_List: [],
major_score_List: [],
};
this.getZyghProviceList()
@ -979,9 +1023,9 @@
},
majorSearch:function () {
this.major.pageNumber=1;
this.major.pageSize=5;
majorSearch: function () {
this.major.pageNumber = 1;
this.major.pageSize = 5;
this.getUniversityMajorList();
},
getTags: function () {
@ -1124,6 +1168,38 @@
}
</script>
<style>
.wrapper{
height: 83px;
overflow: hidden;
}
.wrapper::before{
content: "";
display: block;
height: 52px;
}
.more{
float: right;
height: 20px;
color: red;
cursor: pointer;
position: relative;
top: 0;
}
.more::before{
content: "...";
display: inline-block;
color: #000!important;
margin-right: 5px;
}
.des{
margin-top: -55px;
line-height: 1.7;
/*color: #666;*/
}
.model {
width: 100%;
height: 100%;
@ -1196,34 +1272,37 @@
.selectBox:focus {
outline: none;
}
.img-style{
.img-style {
filter: invert(100%) sepia(29%) saturate(423%) hue-rotate(164deg) brightness(85%) contrast(85%);
width: 2vh;
position: absolute;
top:.7vh;
left:.5vh;
top: .7vh;
left: .5vh;
}
.major-style{
.major-style {
height: 3vh;
font-size: 1.6vh;
border: 1px solid #ccc;
padding-left: 3vh;
}
.major-style:focus{
.major-style:focus {
outline: none;
}
.major-search{
.major-search {
color: #fff;
background: #026fe8;
height: 3.5vh;
line-height: 3.5vh;
text-align: center;
margin-left: 1vh;
width:9vh;
width: 9vh;
cursor: pointer;
}
.c-page-item {
width: 100%;
overflow: hidden;
@ -1231,7 +1310,7 @@
.c-swiper {
width: 100%;
height: 40vh;
height: 35vh;
color: #000;
background: #fff;
position: relative;
@ -1257,12 +1336,12 @@
}
.gallery-top {
height: 80%;
height: 75%;
width: 100%;
}
.gallery-thumbs {
height: 20%;
height: 25%;
box-sizing: border-box;
padding: 10px 0;
}

Loading…
Cancel
Save