yujialong 1 year ago
parent 8b572d29cf
commit ad5d81c0b3
  1. 20
      src/pages/article/activity.vue
  2. 75
      src/pages/article/index.vue
  3. 931
      src/pages/careers/index.vue
  4. 8
      src/pages/column/index.vue
  5. 11
      src/pages/industrial/index.vue
  6. 63
      src/pages/newsPress/index.vue
  7. 144
      src/pages/overview/index.vue
  8. 13
      src/pages/publication/patent.vue
  9. 72
      src/pages/publication/thesis.vue
  10. 21
      src/pages/publish/show.vue
  11. 56
      src/pages/researchTeam/index.vue
  12. 22
      src/pages/talentCentre/index.vue
  13. 22
      src/pages/team/index.vue
  14. 106
      src/styles/page/publication.scss

@ -202,24 +202,4 @@ export default {
font-size: 18px; font-size: 18px;
} }
} }
@media (max-width: 1420px) {
.content {
width: 98%;
}
}
@media (max-width: 1200px) {
.banner {
height: 15rem;
}
.article {
flex-direction: column;
.left {
width: 100%;
h2 {
font-size: 1.5rem;
}
}
}
}
</style> </style>

@ -258,79 +258,4 @@ export default {
} }
} }
} }
@media (max-width: 1420px) {
.content {
width: 98%;
}
}
@media (max-width: 1200px) {
.article {
/deep/.des {
img {
max-width: 100%;
height: 15rem;
}
}
}
.banner {
font-size: 1.5rem;
}
.article {
flex-direction: column;
.left {
width: 100%;
h2 {
font-size: 1.5rem;
}
}
}
.article {
.des {
img {
height: 15rem !important;
}
}
}
}
@media (max-width: 480px) {
.wrap {
.banner {
padding: 8rem 0 0 10rem;
height: 17rem;
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.banner {
padding: 12rem 0 0 10rem;
height: 20rem;
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.banner {
padding: 14rem 0 0 10rem;
height: 22rem;
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.banner {
padding: 16rem 0 0 10rem;
height: 26rem;
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.wrap {
.banner {
padding: 18rem 0 0 10rem;
height: 30rem;
}
}
}
</style> </style>

File diff suppressed because it is too large Load Diff

@ -126,7 +126,8 @@
:props="defaultProps" :props="defaultProps"
node-key="id" node-key="id"
icon-class="el-icon-arrow-down" icon-class="el-icon-arrow-down"
@node-click="(item) => columnClick(item, 1)"> @node-click="(item) => columnClick(item, 1)"
@current-change="(item) => columnClick(item, 1)">
<span class="custom-tree-node" <span class="custom-tree-node"
slot-scope="{ node, data }" slot-scope="{ node, data }"
style="padding-left: 10px;"> style="padding-left: 10px;">
@ -367,7 +368,8 @@
class="type"> class="type">
{{ item.classificationName }} {{ item.classificationName }}
</p> </p>
<h6 class="titleDes">{{ item.title }}</h6> <h6 class="titleDes"
:title="item.title">{{ item.title }}</h6>
<template v-if="item.listStyleId === 11 || item.listStyleId == 12 || item.listStyleId == 68"> <template v-if="item.listStyleId === 11 || item.listStyleId == 12 || item.listStyleId == 68">
<span class="meta">{{ item.releaseTime }}</span> <span class="meta">{{ item.releaseTime }}</span>
<div class="des" <div class="des"
@ -746,6 +748,7 @@ export default {
}, },
// //
columnClick (to, left) { columnClick (to, left) {
console.log("🚀 ~ file: index.vue:749 ~ columnClick ~ to, left:", to, left)
const { typeId } = to; const { typeId } = to;
// / // /
if (left && to.level === 1 && (typeId === 2 || typeId === 3)) return false; if (left && to.level === 1 && (typeId === 2 || typeId === 3)) return false;
@ -1206,6 +1209,7 @@ export default {
margin-bottom: 0; margin-bottom: 0;
font-size: 1rem; font-size: 1rem;
text-align: center; text-align: center;
-webkit-line-clamp: 1;
} }
} }
.news-notice { .news-notice {

@ -82,16 +82,16 @@
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<h2 class="b-title wow fadeInUp" <h2 class="b-title"
:class="{'wow fadeInUp': $store.getters.getModelType}"
v-html="modules[6].form.title"></h2> v-html="modules[6].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[6].form.des }}</p> data-wow-delay="0.5s">{{ modules[6].form.des }}</p>
<ul class="app"> <ul class="app">
<li v-for="(item, i) in modules[7].list" <li v-for="(item, i) in modules[7].list"
:key="i" :key="i"
class="wow fadeInDown"
:data-wow-delay="(0.2 * i).toFixed(1) + 's'" :data-wow-delay="(0.2 * i).toFixed(1) + 's'"
:class="{'cursor-pointer': isLink(item.link.linkName)}" :class="{'cursor-pointer': isLink(item.link.linkName),'wow fadeInDown': $store.getters.getModelType}"
@click="openLink(item)"> @click="openLink(item)">
<img class="bg" <img class="bg"
:src="require('@/assets/images/industrial/app' + (i + 1) + '.png')" :src="require('@/assets/images/industrial/app' + (i + 1) + '.png')"
@ -107,12 +107,13 @@
<div class="block news-block"> <div class="block news-block">
<div class="inner"> <div class="inner">
<h2 class="b-title wow fadeInUp" <h2 class="b-title"
:class="{'wow fadeInUp': $store.getters.getModelType}"
v-html="modules[8].form.title"></h2> v-html="modules[8].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p> data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<ul class="news"> <ul class="news">
<li class="wow fadeInDown" <li :class="{'wow fadeInDown': $store.getters.getModelType}"
:data-wow-delay="(0.2 * i).toFixed(1) + 's'" :data-wow-delay="(0.2 * i).toFixed(1) + 's'"
v-for="(item, i) in articles" v-for="(item, i) in articles"
:key="i" :key="i"

@ -190,67 +190,4 @@ export default {
height: 3.3rem; height: 3.3rem;
} }
} }
@media (max-width: 1520px) {
.list {
li {
&:nth-child(even) {
.texts {
left: 25px;
}
}
}
.texts {
right: 25px;
width: 55%;
}
}
}
@media (min-width: 280px) and (max-width: 1200px) {
.wrap {
/deep/ .el-carousel {
height: 18rem;
.el-carousel__container {
height: 18rem;
}
img {
height: 18rem;
}
}
}
.banner-item .banner-name[data-v-1525064c] {
font-size: 1.5rem;
}
.inner {
width: 95%;
.list {
li {
margin-top: 20px;
.pic {
width: 100%;
height: 25rem !important;
}
.texts {
padding: 10px 5px 10px !important;
top: 30px;
height: auto;
h6 {
font-size: 1.5rem !important;
}
p {
font-size: 1rem;
margin: 5px 0 !important;
line-height: 1.5rem;
}
.sub {
margin: 10px 0;
}
.des {
margin-bottom: 10px;
}
}
}
}
}
}
</style> </style>

@ -389,148 +389,4 @@ export default {
// height: 700px; // height: 700px;
} }
} }
@media (min-width: 2000px) {
.scan {
.scan-inner {
justify-content: flex-start;
padding-left: 22%;
}
.left {
width: 37%;
}
.pic {
width: 800px;
}
}
}
@media (min-width: 2400px) {
.scan {
.scan-inner {
padding-left: 24%;
}
}
}
@media (min-width: 2500px) {
.scan {
.scan-inner {
padding-left: 26%;
}
}
}
@media (min-width: 2800px) {
.scan {
.scan-inner {
padding-left: 29%;
}
}
}
@media (min-width: 3500px) {
.scan {
.scan-inner {
padding-left: 35%;
}
.left {
width: 32%;
}
}
}
@media (min-width: 5000px) {
.scan {
.scan-inner {
padding-left: 39.5%;
}
.left {
width: 20%;
}
}
}
@media (min-width: 6000px) {
.scan {
.scan-inner {
padding-left: 42%;
}
}
}
@media (max-width: 1800px) {
.scan .scan-inner {
padding-left: 14%;
}
}
@media (max-width: 1500px) {
.scan .scan-inner {
padding-left: 10%;
}
}
@media (max-width: 1400px) {
.history {
.texts {
flex-direction: column;
}
.left {
width: 100%;
}
.bg {
width: auto;
max-width: 100%;
height: auto;
margin: 20px 0 0 0;
}
}
.scan {
.scan-inner {
flex-direction: column;
padding: 0 10%;
}
.left {
width: 100%;
}
.pic {
width: 100%;
height: auto;
margin-top: 2rem;
}
}
.fac {
.event {
.texts {
position: static;
margin-top: 20px;
}
}
}
}
@media (max-width: 920px) {
.core {
.texts {
top: 20px !important;
left: 20px !important;
right: 20px !important;
width: auto;
}
}
.scan {
padding: 20px;
}
.fac {
.l-card {
flex-direction: column;
li {
width: 100%;
margin-bottom: 1rem;
}
}
}
}
@media (max-width: 750px) {
.core {
.texts {
position: static;
padding: 20px;
color: #333;
}
.line {
background: #333;
}
}
}
</style> </style>

@ -25,15 +25,10 @@
</el-date-picker> </el-date-picker>
</div> </div>
<div class="search"> <div class="search">
<el-tooltip class="item" <input type="text"
effect="dark" :placeholder="$t('column.pleaseEnterPatentOfficer')"
:content="$t('column.pleaseEnterPatentOfficer')" v-model="form.patentQueryKeyWord"
placement="top-start"> clearable>
<input type="text"
:placeholder="$t('column.pleaseEnterPatentOfficer')"
v-model="form.patentQueryKeyWord"
clearable>
</el-tooltip>
</div> </div>
</div> </div>

@ -3,30 +3,32 @@
<div class="forms"> <div class="forms">
<div class="item"> <div class="item">
<span class="label">{{$t('column.publicationyear')}}</span> <span class="label">{{$t('column.publicationyear')}}</span>
<el-date-picker <el-date-picker style="width: 300px"
style="width: 300px" v-model="form.publicationYear"
v-model="form.publicationYear" type="year"
type="year" :placeholder="$t('column.pleaseSelectThePublicationTime')"
:placeholder="$t('column.pleaseSelectThePublicationTime')" format="yyyy"
format="yyyy" value-format="yyyy"
value-format="yyyy" clearable
clearable @change="initData">
@change="initData">
</el-date-picker> </el-date-picker>
</div> </div>
<div class="search"> <div class="search">
<el-tooltip class="item" effect="dark" :content="$t('column.PleaseEnterThePaperName')" placement="top-start"> <input type="text"
<input type="text" :placeholder="$t('column.PleaseEnterThePaperName')" v-model="form.paperQueryKeyWord" clearable> :placeholder="$t('column.PleaseEnterThePaperName')"
</el-tooltip> v-model="form.paperQueryKeyWord"
clearable>
</div> </div>
</div> </div>
<ul class="list"> <ul class="list">
<li v-for="(item, i) in articles" :key="i" @click="$parent.toArtice(item)"> <li v-for="(item, i) in articles"
:key="i"
@click="$parent.toArtice(item)">
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<p class="meta">{{$t('column.author')}}: {{ item.author }}</p> <p class="meta">{{$t('column.author')}}: {{ item.author }}</p>
<p class="meta">{{$t('column.journalName')}}: {{ item.periodicalName }}</p> <p class="meta">{{$t('column.journalName')}}: {{ item.periodicalName }}</p>
<p class="meta">{{$t('column.yearOfPublication')}}: {{ item.publicationYear }} &nbsp; &nbsp; {{$t('column.rollUp')}}: {{ item.reel }} &nbsp; &nbsp; {{$t('column.documentNumber')}}: {{ item.documentNumber }}</p> <p class="meta">{{$t('column.yearOfPublication')}}: {{ item.publicationYear }} &nbsp; &nbsp; {{$t('column.rollUp')}}: {{ item.reel }} &nbsp; &nbsp; {{$t('column.documentNumber')}}: {{ item.documentNumber }}</p>
</li> </li>
</ul> </ul>
</div> </div>
@ -36,7 +38,7 @@
import Util from '@/libs/util'; import Util from '@/libs/util';
export default { export default {
props: ['id'], props: ['id'],
data() { data () {
return { return {
searchTimer: null, searchTimer: null,
form: { form: {
@ -51,7 +53,7 @@ export default {
} }
}, },
watch: { watch: {
id() { id () {
this.id && this.initData() this.id && this.initData()
}, },
'form.paperQueryKeyWord': function (val) { 'form.paperQueryKeyWord': function (val) {
@ -61,12 +63,12 @@ export default {
}, 500); }, 500);
} }
}, },
mounted() { mounted () {
this.initData() this.initData()
}, },
methods: { methods: {
// //
getArticle() { getArticle () {
this.id && this.$post(this.api.newlyPublishedArticles, { this.id && this.$post(this.api.newlyPublishedArticles, {
siteId: this.$route.query.siteId || this.$store.state.content.site, siteId: this.$route.query.siteId || this.$store.state.content.site,
columnIds: this.id, columnIds: this.id,
@ -80,7 +82,7 @@ export default {
}) })
.catch((res) => { }); .catch((res) => { });
}, },
initData() { initData () {
this.page = 1 this.page = 1
this.getArticle() this.getArticle()
}, },
@ -89,22 +91,22 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../styles/page/publication.scss"; @import '../../styles/page/publication.scss';
.list { .list {
li { li {
padding: 30px; padding: 30px;
margin-bottom: 15px; margin-bottom: 15px;
background-color: #fff; background-color: #fff;
cursor: pointer; cursor: pointer;
} }
h6 { h6 {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 1.2rem; font-size: 1.2rem;
} }
.meta { .meta {
font-size: 1rem; font-size: 1rem;
color: #666; color: #666;
line-height: 30px; line-height: 30px;
} }
} }
</style> </style>

@ -51,27 +51,6 @@
<p class="name">DOI</p> <p class="name">DOI</p>
<p class="val">{{ form.doi }}</p> <p class="val">{{ form.doi }}</p>
</template> </template>
<p class="l-title">{{$t('column.hot')}}</p>
<ul class="list">
<li v-for="(item, i) in hots"
:key="i"
:title="item.title"
@click="toArtice(item)">
<p class="text">{{ item.title }}</p>
<span class="date">{{ item.releaseTime }}</span>
</li>
</ul>
<p class="l-title">{{$t('column.latestNews')}}</p>
<ul class="list">
<li v-for="(item, i) in news"
:key="i"
@click="toArtice(item)">
<p class="text">{{ item.title }}</p>
<span class="date">{{ item.releaseTime }}</span>
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>

@ -238,60 +238,4 @@ export default {
} }
} }
} }
@media (max-width: 1200px) {
.content {
width: 95%;
}
.article {
flex-direction: column;
.left,
.right {
width: 100%;
}
.left {
margin-bottom: 30px;
}
}
}
@media (max-width: 980px) {
.article {
.team-wrap {
display: flex;
align-items: flex-start;
}
.letter {
flex-direction: column;
margin: 16px 10px 0 0;
.item {
border: 1px solid #dbdbdb;
border-top: 0;
&:first-child {
border-top: 1px solid #dbdbdb;
border-radius: 4px 4px 0 0;
}
&:last-child {
border-radius: 0 0 4px 4px;
}
}
}
.teams {
flex: 1;
}
}
}
@media (max-width: 640px) {
.article {
.left {
.search {
width: 50%;
}
}
.teams {
flex-direction: column;
li {
width: 100%;
}
}
}
}
</style> </style>

@ -71,28 +71,6 @@
<span class="date">{{ item.releaseTime }}</span> <span class="date">{{ item.releaseTime }}</span>
</li> </li>
</ul> </ul>
<p class="l-title">{{$t('column.hot')}}</p>
<ul class="list">
<li v-for="(item, i) in hots"
:key="i"
:title="item.title"
@click="toArtice(item)">
<p class="text">{{ item.title }}</p>
<span class="date">{{ item.releaseTime }}</span>
</li>
</ul>
<p class="l-title">{{$t('column.latestNews')}}</p>
<ul class="list">
<li v-for="(item, i) in news"
:key="i"
:title="item.title"
@click="toArtice(item)">
<p class="text">{{ item.title }}</p>
<span class="date">{{ item.releaseTime }}</span>
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>

@ -124,26 +124,4 @@ export default {
} }
} }
} }
@media (max-width: 1200px) {
.content {
width: 95%;
flex-direction: column;
.left,
.right {
width: 100%;
}
}
}
@media (max-width: 640px) {
.content {
.list {
li {
flex-direction: column;
}
.pic {
margin: 0 0 20px 0;
}
}
}
}
</style> </style>

@ -1,64 +1,52 @@
.forms { .forms {
display: flex; display: flex;
align-items: center;
padding: 15px;
margin-bottom: 20px;
background-color: #fff;
.item {
display: inline-flex;
align-items: center; align-items: center;
margin-right: 30px; padding: 15px;
} margin-bottom: 20px;
.label { background-color: #fff;
font-size: 16px; .item {
color: #333; display: inline-flex;
white-space: nowrap; align-items: center;
} margin-right: 30px;
/deep/.el-input__inner {
width: 100%;
height: 38px;
line-height: 38px;
border: 0;
background: #F7F7F7;
}
.search {
display: inline-flex;
width: 34%;
input {
width: 100%;
height: 38px;
padding: 0 15px;
font-size: 14px;
color: #333;
background: #F7F7F7;
border: 0;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
&:focus {
outline: none;
}
} }
} .label {
.icon { font-size: 16px;
display: inline-flex; color: #333;
justify-content: center; white-space: nowrap;
align-items: center; }
width: 62px; /deep/.el-input__inner {
height: 38px; width: 100%;
background: #1583FF; height: 38px;
border-radius: 0px 6px 6px 0px; line-height: 38px;
cursor: pointer; border: 0;
} background: #f7f7f7;
} }
.search {
@media (max-width: 1200px) { display: inline-flex;
.forms { width: 34%;
padding: 1.25rem; input {
flex-direction: column; width: 100%;
.item, .search,div { height: 38px;
width: 80%;margin: 0 auto; padding: 0 15px;
justify-content: center; font-size: 14px;
margin-top: 20px; color: #333;
background: #f7f7f7;
border: 0;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
&:focus {
outline: none;
}
}
}
.icon {
display: inline-flex;
justify-content: center;
align-items: center;
width: 62px;
height: 38px;
background: #1583ff;
border-radius: 0px 6px 6px 0px;
cursor: pointer;
} }
}
} }
Loading…
Cancel
Save