|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div ref="universityDetail" id="universityDetail" class="app-container">
|
|
|
+ <div ref="universityDetail" id="universityDetail" class="app-container" v-loading="loading">
|
|
|
<el-row :gutter="10" class="mt20 mb30">
|
|
|
<el-col :span="12" class="fx-row ai-center">
|
|
|
<div class="mr30">
|
|
@@ -8,9 +8,12 @@
|
|
|
<div>
|
|
|
<span class="f28 ">{{ baseInfo.name }}</span>
|
|
|
<div class="mt5 mb5">
|
|
|
- <el-tag class="mr5" size="mini" v-for="item in baseInfo.features ? baseInfo.features.split(',') : []">{{ item }}</el-tag>
|
|
|
+ <el-tag class="mr5" size="mini" v-for="item in baseInfo.features ? baseInfo.features.split(',') : []">
|
|
|
+ {{ item }}
|
|
|
+ </el-tag>
|
|
|
</div>
|
|
|
- <span class="f14 f-666 ">{{`${baseInfo.location} ${baseInfo.cityName} ${baseInfo.type} / ${baseInfo.natureTypeCN} / ${baseInfo.managerType} `}}</span>
|
|
|
+ <span class="f14 f-666 "
|
|
|
+ >{{ `${baseInfo.location} ${baseInfo.cityName} ${baseInfo.type} / ${baseInfo.natureTypeCN} / ${baseInfo.managerType} ` }}</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="text-right">
|
|
@@ -18,112 +21,121 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<div>
|
|
|
- <div class="tabs-wrap mb20">
|
|
|
- <span class="tabs-item" @click="tabActive = 0" :class="{'bg-primary':tabActive == 0}">院校概况</span>
|
|
|
- <span class="tabs-item" @click="tabActive = 1" :class="{'bg-primary':tabActive == 1}">招生简章</span>
|
|
|
- <span class="tabs-item" @click="tabActive = 2" :class="{'bg-primary':tabActive == 2}">院校风采</span>
|
|
|
- </div>
|
|
|
- <div v-if="tabActive == 0">
|
|
|
- <el-row class="fx-row">
|
|
|
- <el-col :span="8"> <img src="https://i6.youzy.cn/basiclib/college/images/10003-647784f7.jpg" width="100%" alt=""></el-col>
|
|
|
- <el-col :span="16">
|
|
|
- <div class="f14 f-666 text-center fx-row">
|
|
|
- <el-col :span="24" v-for="item in iconList">
|
|
|
- <img width="50px" :src="item.img" :alt="item.desc">
|
|
|
- <p class="mt10">{{ item.value }}</p>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" >
|
|
|
- <img width="50px" src="https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png" alt="">
|
|
|
- <p class="mt10">{{`${baseInfo.location} ${baseInfo.cityName}`}}</p>
|
|
|
- </el-col>
|
|
|
- </div>
|
|
|
- <div class="mt10 pl10 f14">
|
|
|
+ <div class="tabs-wrap mb20">
|
|
|
+ <span class="tabs-item" @click="tabActive = 0" :class="{'bg-primary':tabActive == 0}">院校概况</span>
|
|
|
+ <span class="tabs-item" @click="tabActive = 1" :class="{'bg-primary':tabActive == 1}">招生简章</span>
|
|
|
+ <span class="tabs-item" @click="tabActive = 2" :class="{'bg-primary':tabActive == 2}">院校风采</span>
|
|
|
+ </div>
|
|
|
+ <div v-if="tabActive == 0">
|
|
|
+ <el-row class="fx-row">
|
|
|
+ <el-col :span="8"><img src="https://i6.youzy.cn/basiclib/college/images/10003-647784f7.jpg" width="100%"
|
|
|
+ alt=""
|
|
|
+ ></el-col>
|
|
|
+ <el-col :span="16">
|
|
|
+ <div class="f14 f-666 text-center fx-row">
|
|
|
+ <el-col :span="24" v-for="item in iconList">
|
|
|
+ <img width="50px" :src="item.img" :alt="item.desc">
|
|
|
+ <p class="mt10">{{ item.value }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <img width="50px" src="https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png" alt="">
|
|
|
+ <p class="mt10">{{ `${baseInfo.location} ${baseInfo.cityName}` }}</p>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ <div class="mt10 pl10 f14">
|
|
|
<span class="info-tips"> {{
|
|
|
baseInfo.introduction
|
|
|
}}</span>
|
|
|
- <p class="text-right mr10"><el-button type="text" @click="dialogVisible = true">全部</el-button></p>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <div style="width:70%">
|
|
|
- <div class="mt20" v-if="formatProfessions.length">
|
|
|
- <p class="format-tit">特色专业</p>
|
|
|
- <mx-table border :propDefines="professionsProps" :rows="formatProfessions">
|
|
|
- <template #tmp="{row}">
|
|
|
- <p class="major-wrap">
|
|
|
- <a v-for="item in row.majors" @click="toMajorDetail(item.code)">{{item.name}}</a>
|
|
|
- </p>
|
|
|
- </template>
|
|
|
- </mx-table>
|
|
|
- </div>
|
|
|
- <div class="mt20" v-if="Object.keys(subjects).length">
|
|
|
- <p class="format-tit">重点学科</p>
|
|
|
- <mx-table border :prop-defines="keySubjectProp" :rows="subjects.keySubjects">
|
|
|
- <template #tmp="{row}">
|
|
|
- <p class="major-wrap">
|
|
|
- <span v-for="item in row.subjects">{{item}}</span>
|
|
|
- </p>
|
|
|
- </template>
|
|
|
- </mx-table>
|
|
|
- </div>
|
|
|
- <div class="mt20" v-if="Object.keys(subjects).length">
|
|
|
- <p class="format-tit">双一流学科</p>
|
|
|
- <el-select v-model="activeSylId" placeholder="placeholder">
|
|
|
- <el-option
|
|
|
- v-for="item in subjects.sylSubjectsGroup"
|
|
|
- :key="item.id"
|
|
|
- :label="item.evaluations"
|
|
|
- :value="item.id"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <mx-table border class="mt10" :prop-defines="activeSyl.col" :rows="activeSyl.row">
|
|
|
- <template #tmp="{row}">
|
|
|
- <p class="major-wrap">
|
|
|
- <span v-for="item in row.subjects">{{item}}</span>
|
|
|
- </p>
|
|
|
- </template>
|
|
|
- </mx-table>
|
|
|
- </div>
|
|
|
- <div class="mt20" v-if="subjectevaluates.length">
|
|
|
- <p class="format-tit">学科评估</p>
|
|
|
- <el-select v-model="evaluate_type" placeholder="placeholder">
|
|
|
- <el-option
|
|
|
- v-for="item in evaluateTypes"
|
|
|
- :key="item.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <mx-table border class="mt10" :prop-defines="activeEvaluate.col" :rows="activeEvaluate.row">
|
|
|
- <template #level="{row}">
|
|
|
- <p class="major-wrap" v-if="row.level.length">
|
|
|
- <span v-for="item in row.level">{{item.name}}{{item.level}}</span>
|
|
|
- </p>
|
|
|
- <p v-else>
|
|
|
- 暂无数据
|
|
|
- </p>
|
|
|
- </template>
|
|
|
- </mx-table>
|
|
|
- </div>
|
|
|
- <div class="mt20">
|
|
|
- <p class="format-tit">院系设置</p>
|
|
|
- <mx-table border :propDefines="collegeProps" :rows="departments">
|
|
|
- <template #tmp="{row}">
|
|
|
- <p class="major-wrap">
|
|
|
- <span v-for="item in row.departmentMajor">{{item.name}}</span>
|
|
|
- </p>
|
|
|
- </template>
|
|
|
- </mx-table>
|
|
|
+ <p class="text-right mr10">
|
|
|
+ <el-button type="text" @click="dialogVisible = true">全部</el-button>
|
|
|
+ </p>
|
|
|
</div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <div style="width:70%">
|
|
|
+ <div class="mt20" v-if="formatProfessions.length">
|
|
|
+ <p class="format-tit">特色专业</p>
|
|
|
+ <mx-table border :propDefines="professionsProps" :rows="formatProfessions">
|
|
|
+ <template #tmp="{row}">
|
|
|
+ <p class="major-wrap">
|
|
|
+ <a v-for="item in row.majors" @click="toMajorDetail(item.code)">{{ item.name }}</a>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </mx-table>
|
|
|
+ </div>
|
|
|
+ <div class="mt20" v-if="Object.keys(subjects).length">
|
|
|
+ <p class="format-tit">重点学科</p>
|
|
|
+ <mx-table border :prop-defines="keySubjectProp" :rows="subjects.keySubjects">
|
|
|
+ <template #tmp="{row}">
|
|
|
+ <p class="major-wrap">
|
|
|
+ <span v-for="item in row.subjects">{{ item }}</span>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </mx-table>
|
|
|
+ </div>
|
|
|
+ <div class="mt20" v-if="Object.keys(subjects).length">
|
|
|
+ <p class="format-tit">双一流学科</p>
|
|
|
+ <el-select v-model="activeSylId" placeholder="placeholder">
|
|
|
+ <el-option
|
|
|
+ v-for="item in subjects.sylSubjectsGroup"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.evaluations"
|
|
|
+ :value="item.id"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <mx-table border class="mt10" :prop-defines="activeSyl.col" :rows="activeSyl.row">
|
|
|
+ <template #tmp="{row}">
|
|
|
+ <p class="major-wrap">
|
|
|
+ <span v-for="item in row.subjects">{{ item }}</span>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </mx-table>
|
|
|
+ </div>
|
|
|
+ <div class="mt20" v-if="subjectevaluates.length">
|
|
|
+ <p class="format-tit">学科评估</p>
|
|
|
+ <el-select v-model="evaluate_type" placeholder="placeholder">
|
|
|
+ <el-option
|
|
|
+ v-for="item in evaluateTypes"
|
|
|
+ :key="item.dictValue"
|
|
|
+ :label="item.dictLabel"
|
|
|
+ :value="item.dictValue"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <mx-table border class="mt10" :prop-defines="activeEvaluate.col" :rows="activeEvaluate.row">
|
|
|
+ <template #level="{row}">
|
|
|
+ <p class="major-wrap" v-if="row.level.length">
|
|
|
+ <span v-for="item in row.level">{{ item.name }}{{ item.level }}</span>
|
|
|
+ </p>
|
|
|
+ <p v-else>
|
|
|
+ 暂无数据
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </mx-table>
|
|
|
+ </div>
|
|
|
+ <div class="mt20">
|
|
|
+ <p class="format-tit">院系设置</p>
|
|
|
+ <mx-table border :propDefines="collegeProps" :rows="departments">
|
|
|
+ <template #tmp="{row}">
|
|
|
+ <p class="major-wrap">
|
|
|
+ <span v-for="item in row.departmentMajor">{{ item.name }}</span>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </mx-table>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
- <!-- 招生简章-->
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <!-- 招生简章-->
|
|
|
+ <keep-alive>
|
|
|
<enroll-list :code="code" v-if="tabActive == 1"></enroll-list>
|
|
|
- <!-- 院校风采-->
|
|
|
- <university-style :code="code" v-if="tabActive == 2"></university-style>
|
|
|
+ </keep-alive>
|
|
|
+ <!-- 院校风采-->
|
|
|
+ <keep-alive>
|
|
|
+ <university-style :code="code" v-if="tabActive == 2"></university-style>
|
|
|
+ </keep-alive>
|
|
|
+
|
|
|
</div>
|
|
|
<el-dialog
|
|
|
:visible.sync="dialogVisible"
|
|
@@ -131,7 +143,7 @@
|
|
|
>
|
|
|
<span class="f20 f-666">{{ baseInfo.name }}院校介绍</span>
|
|
|
<div>
|
|
|
- {{baseInfo.introduction}}
|
|
|
+ {{ baseInfo.introduction }}
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
@@ -147,60 +159,61 @@ import { evaluateType, saveUniversitiesHits, selectUniversityDetail } from '@/ap
|
|
|
|
|
|
export default {
|
|
|
name: 'UniversityDetail',
|
|
|
- components: {EnrollList,UniversityStyle},
|
|
|
+ components: { EnrollList, UniversityStyle },
|
|
|
data() {
|
|
|
return {
|
|
|
tabActive: 0,
|
|
|
- baseInfo:'',
|
|
|
- departments:[],
|
|
|
+ baseInfo: '',
|
|
|
+ departments: [],
|
|
|
dialogVisible: false,
|
|
|
- professions:{},
|
|
|
- subjectevaluates:[],
|
|
|
- evaluateTypes:[],
|
|
|
- evaluate_type:'',
|
|
|
- professionsProps:{
|
|
|
+ professions: {},
|
|
|
+ subjectevaluates: [],
|
|
|
+ evaluateTypes: [],
|
|
|
+ evaluate_type: '',
|
|
|
+ loading:false,
|
|
|
+ professionsProps: {
|
|
|
level: {
|
|
|
- label:'专业层次',
|
|
|
- width:'200'
|
|
|
+ label: '专业层次',
|
|
|
+ width: '200'
|
|
|
},
|
|
|
count: {
|
|
|
- label:'数量',
|
|
|
- width:'100'
|
|
|
+ label: '数量',
|
|
|
+ width: '100'
|
|
|
},
|
|
|
majors: {
|
|
|
- label:'专业',
|
|
|
+ label: '专业',
|
|
|
slot: 'tmp',
|
|
|
- align:"left"
|
|
|
- },
|
|
|
+ align: 'left'
|
|
|
+ }
|
|
|
},
|
|
|
- subjects:'',
|
|
|
- code:'',
|
|
|
+ subjects: '',
|
|
|
+ code: '',
|
|
|
activeSylId: '',
|
|
|
- collegeProps:{
|
|
|
+ collegeProps: {
|
|
|
name: {
|
|
|
- label:'学院',
|
|
|
- width:'200'
|
|
|
+ label: '学院',
|
|
|
+ width: '200'
|
|
|
},
|
|
|
departmentMajor: {
|
|
|
- label:'包含专业',
|
|
|
+ label: '包含专业',
|
|
|
slot: 'tmp',
|
|
|
- align:"left"
|
|
|
- },
|
|
|
+ align: 'left'
|
|
|
+ }
|
|
|
},
|
|
|
- keySubjectProp:{
|
|
|
- typeName:{
|
|
|
- label:'类别',
|
|
|
- width:'100'
|
|
|
- },
|
|
|
- subjects:{
|
|
|
- label:'专业',
|
|
|
- slot:'tmp',
|
|
|
- align:'left'
|
|
|
+ keySubjectProp: {
|
|
|
+ typeName: {
|
|
|
+ label: '类别',
|
|
|
+ width: '100'
|
|
|
},
|
|
|
- category:{
|
|
|
- label:'学科类别',
|
|
|
- width:'100'
|
|
|
+ subjects: {
|
|
|
+ label: '专业',
|
|
|
+ slot: 'tmp',
|
|
|
+ align: 'left'
|
|
|
},
|
|
|
+ category: {
|
|
|
+ label: '学科类别',
|
|
|
+ width: '100'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -211,7 +224,7 @@ export default {
|
|
|
this.getEvaluateType()
|
|
|
},
|
|
|
computed: {
|
|
|
- formatProfessions(){
|
|
|
+ formatProfessions() {
|
|
|
const arr = []
|
|
|
for (const key in this.professions) {
|
|
|
console.log(key)
|
|
@@ -225,81 +238,85 @@ export default {
|
|
|
return arr
|
|
|
},
|
|
|
activeEvaluate() {
|
|
|
- const currentRow = this.subjectevaluates.filter(item => {return item.extTypeId == this.evaluate_type})
|
|
|
+ const currentRow = this.subjectevaluates.filter(item => {
|
|
|
+ return item.extTypeId == this.evaluate_type
|
|
|
+ })
|
|
|
const row = {
|
|
|
count: currentRow.length || '-',
|
|
|
- level: currentRow,
|
|
|
+ level: currentRow
|
|
|
}
|
|
|
return {
|
|
|
row: [row],
|
|
|
col: {
|
|
|
- count:{
|
|
|
- label:'数量',
|
|
|
- width:'100'
|
|
|
+ count: {
|
|
|
+ label: '数量',
|
|
|
+ width: '100'
|
|
|
},
|
|
|
- level:{
|
|
|
- label:' 专业评级',
|
|
|
- align:'left',
|
|
|
- slot:'level'
|
|
|
+ level: {
|
|
|
+ label: ' 专业评级',
|
|
|
+ align: 'left',
|
|
|
+ slot: 'level'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
activeSyl() {
|
|
|
- if(!Object.keys(this.subjects).length) return {}
|
|
|
+ if (!Object.keys(this.subjects).length) return {}
|
|
|
// const col = this.
|
|
|
- const row = this.subjects.sylSubjectsGroup.find(item => {return item.id == this.activeSylId})
|
|
|
+ const row = this.subjects.sylSubjectsGroup.find(item => {
|
|
|
+ return item.id == this.activeSylId
|
|
|
+ })
|
|
|
return {
|
|
|
col: {
|
|
|
subjectCount: {
|
|
|
- label:'数量',
|
|
|
- width: 100,
|
|
|
+ label: '数量',
|
|
|
+ width: 100
|
|
|
},
|
|
|
subjects: {
|
|
|
- label:'学科',
|
|
|
- slot:'tmp',
|
|
|
- align:"left"
|
|
|
+ label: '学科',
|
|
|
+ slot: 'tmp',
|
|
|
+ align: 'left'
|
|
|
},
|
|
|
typeName: {
|
|
|
- label:'类别',
|
|
|
- width:'100'
|
|
|
+ label: '类别',
|
|
|
+ width: '100'
|
|
|
}
|
|
|
},
|
|
|
- row:[row]
|
|
|
+ row: [row]
|
|
|
}
|
|
|
},
|
|
|
iconList() {
|
|
|
- const baseInfo = this.baseInfo
|
|
|
+ const baseInfo = this.baseInfo
|
|
|
return [
|
|
|
{
|
|
|
img: 'https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png',
|
|
|
value: `${baseInfo.createdYear}年`,
|
|
|
- desc:'创办时间'
|
|
|
+ desc: '创办时间'
|
|
|
},
|
|
|
{
|
|
|
img: 'https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png',
|
|
|
value: baseInfo.natureTypeCN,
|
|
|
- desc:'办学类型'
|
|
|
+ desc: '办学类型'
|
|
|
},
|
|
|
{
|
|
|
img: 'https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png',
|
|
|
value: baseInfo.type,
|
|
|
- desc:'院校类型'
|
|
|
+ desc: '院校类型'
|
|
|
},
|
|
|
{
|
|
|
img: 'https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png',
|
|
|
value: baseInfo.managerType,
|
|
|
- desc:'所属部门'
|
|
|
+ desc: '所属部门'
|
|
|
},
|
|
|
{
|
|
|
img: 'https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png',
|
|
|
value: baseInfo.level,
|
|
|
- desc:'学历层次'
|
|
|
+ desc: '学历层次'
|
|
|
},
|
|
|
{
|
|
|
img: 'https://pv4y-pc.youzy.cn/static/img/icon_shijian@2x.8463f33f.png',
|
|
|
value: `${baseInfo.location} ${baseInfo.cityName}`,
|
|
|
- desc:'所处地'
|
|
|
+ desc: '所处地'
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -307,29 +324,32 @@ export default {
|
|
|
watch: {},
|
|
|
methods: {
|
|
|
getEvaluateType() {
|
|
|
- evaluateType({code:this.code}).then(res => {
|
|
|
+ evaluateType({ code: this.code }).then(res => {
|
|
|
this.evaluateTypes = res.data
|
|
|
this.evaluate_type = res.data[0].dictValue
|
|
|
console.log(res)
|
|
|
})
|
|
|
},
|
|
|
toMajorDetail(code) {
|
|
|
- this.$router.push({path:'/career/plan/MajorDetail',query:{code:code}})
|
|
|
+ this.$router.push({ path: '/career/plan/MajorDetail', query: { code: code } })
|
|
|
},
|
|
|
getHit() {
|
|
|
- saveUniversitiesHits({code:this.code}).then(res => {
|
|
|
+ saveUniversitiesHits({ code: this.code }).then(res => {
|
|
|
console.log(res)
|
|
|
})
|
|
|
},
|
|
|
getDetail() {
|
|
|
- selectUniversityDetail({code: this.code}).then(res => {
|
|
|
+ this.loading = true
|
|
|
+ selectUniversityDetail({ code: this.code }).then(res => {
|
|
|
this.baseInfo = res.data.baseInfo
|
|
|
this.departments = res.data.departments
|
|
|
this.professions = res.data.professions
|
|
|
this.subjects = res.data.subjects
|
|
|
this.subjectevaluates = res.data.subjectevaluates
|
|
|
- this.activeSylId = this.subjects.sylSubjectsGroup? this.subjects.sylSubjectsGroup[0].id : ''
|
|
|
+ this.activeSylId = this.subjects.sylSubjectsGroup ? this.subjects.sylSubjectsGroup[0].id : ''
|
|
|
console.log(res)
|
|
|
+ }).finally(_=>{
|
|
|
+ this.loading = false
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -341,6 +361,7 @@ export default {
|
|
|
.tabs-wrap {
|
|
|
border-bottom: 1px solid #42b983;
|
|
|
height: 40px;
|
|
|
+
|
|
|
.tabs-item {
|
|
|
cursor: pointer;
|
|
|
padding: 0 33px;
|
|
@@ -358,34 +379,40 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .format-tit{
|
|
|
+
|
|
|
+ .format-tit {
|
|
|
border-left: 4px solid #47C6A2;
|
|
|
padding-left: 10px;
|
|
|
margin-bottom: 20px;
|
|
|
font-size: 20px;
|
|
|
}
|
|
|
- .info-tips{
|
|
|
- overflow : hidden;
|
|
|
+
|
|
|
+ .info-tips {
|
|
|
+ overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
display: -webkit-box;
|
|
|
-webkit-line-clamp: 4;
|
|
|
-webkit-box-orient: vertical;
|
|
|
word-wrap: break-word;
|
|
|
}
|
|
|
- .major-wrap{
|
|
|
+
|
|
|
+ .major-wrap {
|
|
|
text-align: left;
|
|
|
- span{
|
|
|
+
|
|
|
+ span {
|
|
|
display: inline-block;
|
|
|
margin-right: 20px;
|
|
|
margin-top: 10px;
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
- a{
|
|
|
+
|
|
|
+ a {
|
|
|
display: inline-block;
|
|
|
margin-right: 20px;
|
|
|
margin-top: 10px;
|
|
|
margin-bottom: 10px;
|
|
|
- &:hover{
|
|
|
+
|
|
|
+ &:hover {
|
|
|
color: #42b983;
|
|
|
}
|
|
|
}
|