同步代码

master
yujialong 9 months ago
parent 27590b0988
commit d1b480c097
  1. BIN
      src/assets/images/tel1.png
  2. 4
      src/libs/util.js
  3. 1830
      src/pages/about/index.vue
  4. 1570
      src/pages/application/index.vue
  5. 36
      src/pages/article/activity.vue
  6. 12
      src/pages/article/editor.css
  7. 106
      src/pages/article/index.vue
  8. 1354
      src/pages/careers/index.vue
  9. 807
      src/pages/column/index.vue
  10. 197
      src/pages/column/result.vue
  11. 58
      src/pages/contactUs/index.vue
  12. 86
      src/pages/devHistory/index.vue
  13. 47
      src/pages/deviceIntroBeam/index.vue
  14. 90
      src/pages/deviceIntroLayout/index.vue
  15. 71
      src/pages/deviceIntroLinear/index.vue
  16. 1096
      src/pages/edu/index.vue
  17. 16
      src/pages/estate/event/index.vue
  18. 32
      src/pages/estate/index/index.vue
  19. 12
      src/pages/estate/location/index.vue
  20. 21
      src/pages/estate/orgSetup/index.vue
  21. 12
      src/pages/estate/survey/index.vue
  22. 8
      src/pages/exp/index.vue
  23. 57
      src/pages/governance/index.vue
  24. 134
      src/pages/home/index.vue
  25. 743
      src/pages/iasf/index.vue
  26. 69
      src/pages/industrial/index.vue
  27. 16
      src/pages/lightSources/index.vue
  28. 42
      src/pages/mission/index.vue
  29. 1046
      src/pages/news/index.vue
  30. 912
      src/pages/newsPress/index.vue
  31. 962
      src/pages/newsProcurement/index.vue
  32. 47
      src/pages/org/index.vue
  33. 122
      src/pages/overview/index.vue
  34. 26
      src/pages/overviewDevHistory/index.vue
  35. 18
      src/pages/overviewIntro/index.vue
  36. 1
      src/pages/overviewLocation/index.vue
  37. 20
      src/pages/overviewSetup/index.vue
  38. 1
      src/pages/overviewTrailer/index.vue
  39. 51
      src/pages/publication/index.vue
  40. 17
      src/pages/publication/monograph.vue
  41. 29
      src/pages/publication/patent.vue
  42. 82
      src/pages/publication/single.vue
  43. 81
      src/pages/publication/thesis.vue
  44. 21
      src/pages/publish/show.vue
  45. 1398
      src/pages/research/index.vue
  46. 8
      src/pages/researchTeam/index.vue
  47. 633
      src/pages/science/index.vue
  48. 68
      src/pages/scientific/index.vue
  49. 3394
      src/pages/sfel/index.vue
  50. 38
      src/pages/speech/index.vue
  51. 1
      src/pages/talent/index.vue
  52. 1
      src/pages/talentCenter/index.vue
  53. 27
      src/pages/talentCentre/index.vue
  54. 45
      src/pages/team/index.vue
  55. 25
      src/pages/userSharing/index.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

@ -146,6 +146,10 @@ const util = {
isEn(id) {
return Setting.enIds.includes(+id)
},
// rsa加密(这里无需加密,但是全部页面的请求都有调这个方法,因此直接返回即可)
rsa(data) {
return data
},
};
export default util;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,12 +1,17 @@
<template>
<div class="wrap">
<div v-if="form.bannerImg"
class="banner"
:style="{backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : ''}">
{{ form.columnName }}
</div>
<div class="content">
<Breadcrumb ref="breadcrumb"
:data.sync="routes" />
<div class="article">
<div class="left">
<h2>{{ form.title }}</h2>
<div class="meta">{{$t('column.time')}}{{ form.activityStartTime + ' ~ ' + form.activityEndTime }}</div>
<div class="meta">{{$t('column.time')}}{{ form.activityStartTime }}</div>
<div v-if="form.offlineLocation"
class="meta">{{$t('column.address')}}{{ form.offlineLocation }}</div>
<div v-if="form.onlineLocation"
@ -102,7 +107,7 @@ export default {
}).catch(err => { })
// +1
this.$post(`${this.api.articlePreview}?contentId=${this.id}`).then(({ data }) => { }).catch(err => { })
this.$post(`${this.api.articlePreview}?contentId=${this.id}`).then(res => { }).catch(err => { })
},
// banner
getBanner (data) {
@ -148,6 +153,7 @@ export default {
font-size: 48px;
color: #fff;
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat;
object-fit: cover;
}
.article {
display: flex;
@ -167,6 +173,10 @@ export default {
color: #333;
}
/deep/.des {
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img {
max-width: 100%;
}
@ -202,15 +212,23 @@ export default {
font-size: 18px;
}
}
@media (max-width: 1420px) {
.content {
width: 98%;
}
}
@media (max-width: 1200px) {
.article {
/deep/.des {
img {
max-width: 100%;
height: 15rem;
}
}
}
.banner {
height: 15rem;
font-size: 1.5rem;
}
.article {
flex-direction: column;
@ -221,5 +239,15 @@ export default {
}
}
}
.article {
.des {
img {
height: 15rem !important;
}
}
}
.right {
width: 100%;
}
}
</style>

@ -84,7 +84,9 @@
}
.tiny-wrap .people .pic {
max-width: 400px;
margin-right: 50px;
}
.tiny-wrap .people .texts {
margin-left: 50px;
}
.tiny-wrap .people h6 {
font-size: 24px;
@ -114,3 +116,11 @@
background: #1583ff;
border-radius: 4px;
}
@media (max-width: 640px) {
.tiny-wrap .people {
flex-direction: column;
}
.tiny-wrap .people .texts {
margin-left: 0;
}
}

@ -1,7 +1,8 @@
<template>
<div v-show="loaded"
class="wrap">
<div v-if="form.articleTemplate !== 23"
<!-- 人物详情不展示banner -->
<div v-if="form.articleTemplate !== 23 && !isPeople"
class="banner"
:style="{backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : ''}">
{{ form.columnName }}
@ -19,6 +20,7 @@
<p v-if="form.summary"
class="brief">{{ form.summary }}</p>
<div class="des"
id="mainBody"
v-html="form.mainBody"></div>
<div v-if="form.fileList && form.fileList.length"
class="annex">
@ -96,7 +98,6 @@ export default {
if (temId == 72) this.isPeople = 1 // articleTemplate=72
if (cache.releaseTime) cache.releaseTime = cache.releaseTime.split(' ')[0]
this.loaded = true
console.log("🚀 ~ file: index.vue:90 ~ getInfo ~ cache:", this.form, cache)
} else {
this.$post(`${this.api.findArticle}?id=${this.id}`).then(async ({ data }) => {
//
@ -110,15 +111,15 @@ export default {
}
},
{
name: data.title
name: data.columnName
}
]
//
if (data.isDisable) {
if (data.isDisable || !data.isRelease) {
this.$router.back()
} else {
const temId = data.articleTemplate
let path = `?articleId=${this.id}&id=${id}&columnName=${columnName || ''}&path=${path || ''}`
let path = `?articleId=${this.id}&id=${id}&columnName=${columnName || ''}&siteId=${data.siteId}&path=${path || ''}`
if (temId === 25 || temId === 26) { // /
this.$router.replace((temId === 25 ? '/article/activity' : '/publish/show') + path)
} else {
@ -126,22 +127,32 @@ export default {
if (temId == 72) this.isPeople = 1 // articleTemplate=72
data.releaseTime = data.releaseTime.split(' ')[0]
this.form = data
// tinymcebugpptext-indentfont-size2em
this.$nextTick(() => {
document.querySelectorAll('#mainBody p').forEach(e => {
try {
if (e.children.length && e.style.textIndent) {
e.style.fontSize = e.children[0].style.fontSize
}
} catch (e) { }
})
})
this.columnId = data.columnId
// banner
if (!data.bannerImg) {
const columns = await this.$post(this.api.listWithTree, {
const columns = await this.$post(this.api.listWithTree, Util.rsa({
siteId: this.site,
columnName: '',
templateId: '',
typeId: '',
isSort: 1
})
}))
this.getBanner(columns.data)
this.form.bannerImg = this.gotBanner ? this.columnBanner || require('@/assets/images/article-banner.png') : ''
}
// +1
this.$post(`${this.api.articlePreview}?contentId=${this.id}`).then(({ data }) => { }).catch(err => { })
this.$post(this.api.articlePreview, Util.rsa(this.id)).then(res => { }).catch(err => { })
this.loaded = true
}
}
@ -185,12 +196,15 @@ export default {
}
}
.banner {
display: flex;
align-items: center;
height: 21.6rem;
padding: 14.68rem 0 0 22.1875rem;
font-size: 2.16rem;
padding-left: 10%;
font-size: 2rem;
font-weight: 600;
color: #fff;
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat;
background: url(../../assets/images/intro-bg.png) center center no-repeat;
object-fit: cover;
}
.article {
display: flex;
@ -209,15 +223,36 @@ export default {
}
.brief {
padding-bottom: 1.5rem;
margin-bottom: 1rem;
margin: 1rem 0;
font-size: 1.2rem;
line-height: 1.33;
line-height: 1.6;
color: #606060;
border-bottom: 1px solid #d8d8d8;
}
/deep/.des {
// width: 100%;
// overflow: auto;
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img {
max-width: 100%;
object-fit: cover;
}
ul {
// padding-left: 40px;
list-style: disc;
li {
list-style: inherit;
}
}
ol {
// padding-left: 40px;
list-style: decimal;
li {
list-style: inherit;
}
}
}
.annex {
@ -247,6 +282,7 @@ export default {
}
}
}
@media (max-width: 1420px) {
.content {
width: 98%;
@ -257,7 +293,7 @@ export default {
/deep/.des {
img {
max-width: 100%;
height: 15rem;
max-height: 15rem;
}
}
}
@ -280,46 +316,8 @@ export default {
}
}
}
}
@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;
}
.right {
width: 100%;
}
}
</style>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -3,22 +3,30 @@
<div class="articles">
<div class="top">
<div class="search">
<input ref="search" type="text" :placeholder="$t('column.titlePlaceholder')" v-model="title">
<input ref="search"
type="text"
:placeholder="$t('column.titlePlaceholder')"
v-model="title">
<i class="el-icon-search icon"></i>
</div>
<p class="result">包含 {{ title }} 的搜索结果</p>
<p class="result">{{ $i18n.locale === 'en' ? `Search results containing "${ title }"` : `包含 “${ title }” 的搜索结果` }} </p>
</div>
<ul v-if="articles.length" class="list">
<li v-for="(item, i) in articles" :key="i">
<ul v-if="articles.length"
class="list">
<li v-for="(item, i) in articles"
:key="i">
<h6 @click="toArtice(item)">{{ item.title }}</h6>
<div class="des" v-html="item.mainBody"></div>
<Breadcrumb :data.sync="item.routes"/>
<div class="des"
v-html="item.mainBody"></div>
<Breadcrumb :data.sync="item.routes" />
</li>
</ul>
<div v-else class="none">
<img src="@/assets/images/none.png" alt="">
<p class="text">没有找到您搜索的内容您可尝试搜索其他关键词</p>
<div v-else
class="none">
<img src="@/assets/images/none.png"
alt="">
<p class="text">{{ $t('column.nothing') }}</p>
</div>
</div>
</div>
@ -32,7 +40,7 @@ import mixins from '@/mixins/article'
import Breadcrumb from '@/components/breadcrumb'
export default {
mixins: [mixins],
data() {
data () {
return {
title: this.$store.state.content.keyword,
searchTimer: null,
@ -42,15 +50,23 @@ export default {
components: {
Breadcrumb
},
computed: {
...mapState('content', [
'keyword'
]),
},
watch: {
title() {
keyword () {
this.title = this.keyword
},
title () {
clearTimeout(this.searchTimer)
this.searchTimer = setTimeout(() => {
this.getArticle()
}, 500)
}
},
mounted() {
mounted () {
this.getArticle()
},
methods: {
@ -58,8 +74,7 @@ export default {
'setKeyword'
]),
//
getArticle() {
this.setKeyword('')
getArticle () {
this.$post(this.api.newlyPublishedArticles, {
siteId: this.site,
pageNum: 1,
@ -82,7 +97,7 @@ export default {
]
})
this.articles = list
}).catch(res => {})
}).catch(res => { })
},
}
};
@ -90,95 +105,93 @@ export default {
<style lang="scss" scoped>
.wrap {
background: url(../../assets/images/result-bg1.png) no-repeat,
url(../../assets/images/result-bg2.png) bottom right/auto no-repeat;
background-color: #fff;
background: url(../../assets/images/result-bg1.png) no-repeat, url(../../assets/images/result-bg2.png) bottom right/auto no-repeat;
background-color: #fff;
}
.articles {
width: 100%;
padding-top: 47px;
margin: 0 auto;
width: 70%;
padding-top: 47px;
margin: 0 auto;
}
.top {
display: flex;
align-items: center;
.result {
font-size: 18px;
color: #969696;
}
display: flex;
align-items: center;
.result {
font-size: 18px;
color: #969696;
}
}
.search {
position: relative;
display: inline-flex;
height: 62px;
margin-right: 30px;
border-radius: 6px;
overflow: hidden;
input {
width: 510px;
padding: 0 20px;
font-size: 18px;
color: #333;
border: 0;
outline: none;
background: #F7F7F7;
}
.icon {
position: absolute;
top: 17px;
right: 15px;
font-size: 26px;
color: #ccc;
border-radius: 0px 6px 6px 0px;
}
position: relative;
display: inline-flex;
height: 62px;
margin-right: 30px;
border-radius: 6px;
overflow: hidden;
input {
width: 510px;
padding: 0 20px;
font-size: 18px;
color: #333;
border: 0;
outline: none;
background: #f7f7f7;
}
.icon {
position: absolute;
top: 17px;
right: 15px;
font-size: 26px;
color: #ccc;
border-radius: 0px 6px 6px 0px;
}
}
.list {
li {
margin-top: 30px;
border-bottom: 1px dashed #e3e3e3;
}
h6 {
margin-bottom: 10px;
font-size: 22px;
color: #1583FF;
line-height: 30px;
cursor: pointer;
}
.des {
font-size: 18px;
line-height: 36px;
color: #333;
@include mul-ellipsis(2);
}
.breadcrumb {
margin: 15px 0 30px;
}
li {
margin-top: 30px;
border-bottom: 1px dashed #e3e3e3;
}
h6 {
margin-bottom: 10px;
font-size: 22px;
color: #1583ff;
line-height: 30px;
cursor: pointer;
}
.des {
font-size: 18px;
line-height: 36px;
color: #333;
@include mul-ellipsis(2);
}
.breadcrumb {
margin: 15px 0 30px;
}
}
.none {
margin-top: 118px;
text-align: center;
.text {
margin-top: 59px;
font-size: 18px;
color: #333;
}
margin-top: 118px;
text-align: center;
.text {
margin-top: 59px;
font-size: 18px;
color: #333;
}
}
@media (min-width: 280px) and (max-width: 750px) {
.articles{
width: 100%;
.top{
flex-direction: column;
.search{
width: 95%;
margin: 0 auto;
}
@media (max-width: 640px) {
.articles {
width: 90%;
}
.none{
margin-top: 50px;
.text{
font-size: .5rem;
}
.top {
flex-direction: column;
padding: 0 10px;
}
.search {
width: 100%;
margin-right: 0;
margin-bottom: 20px;
input {
width: 100%;
}
}
}
}
</style>

@ -36,21 +36,22 @@
align="center"
min-width="100"></el-table-column>
<el-table-column prop="phone"
label="电话"
align="center"
min-width="150"></el-table-column>
min-width="150">
<template slot="header"
slot-scope="scope">
<img src="@/assets/images/tel1.png"
alt=""> 电话
</template>
</el-table-column>
<el-table-column prop="email"
label="邮箱"
align="center"
min-width="150">
<template slot-scope="scope">
<div class="flex j-center a-center">
<img class="m-r-5"
src="@/assets/images/mall1.png"
alt="">
{{ scope.row.email }}
</div>
<template slot="header"
slot-scope="scope">
<img style="width: 20px"
src="@/assets/images/email-white.png"
alt=""> 邮箱
</template>
</el-table-column>
</el-table>
@ -85,23 +86,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
// id
@ -156,8 +154,8 @@ export default {
}
.block {
padding: 2rem 0;
background: url(http://10.10.11.7/images/contactUs/3.png) 0 130px no-repeat,
url(http://10.10.11.7/images/contactUs/4.png) bottom right no-repeat;
background: url(https://huorantech.com/images/contactUs/3.png) 0 130px no-repeat,
url(https://huorantech.com/images/contactUs/4.png) bottom right no-repeat;
background-color: #f7f8fa;
}
.inner {

@ -28,6 +28,7 @@
<script>
import mixins from "@/mixins/page";
import WOW from "wow.js";
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -42,23 +43,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
},
@ -90,12 +88,62 @@ export default {
max-width: 1200px;
margin: 30px 0;
overflow: auto;
/deep/ img {
width: 100% !important;
height: auto;
}
}
}
@media (max-width: 1000px) {
.history {
@media (max-width: 1200px) {
.tab-content {
width: 90%;
span {
font-size: 1.35rem;
}
}
.block {
padding: 1.25rem 0;
.inner {
width: 90%;
h2 {
font-size: 1.5rem;
}
p {
font-size: 1rem;
margin: 10px 0 1.25rem;
}
.event {
flex-direction: column;
.time {
width: 100%;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
margin-top: 1.25rem;
width: 100%;
h6 {
font-size: 2rem;
}
.list {
li {
padding: 1.25rem;
flex-direction: column;
align-items: flex-start;
.texts {
width: 100%;
}
.pic {
width: 100%;
height: auto;
}
}
}
}
}
}
}
}

@ -17,23 +17,25 @@
</el-carousel>
<div class="block share">
<h6 v-html="modules[1].form.title"></h6>
<p class="en"
v-html="modules[1].form.des"></p>
<div class="sum">{{ modules[2].form.title }}</div>
<div class="flex beamBox">
<div class="left">
<div class="des"
v-html="modules[2].form.des"></div>
<div class="inner">
<h6 v-html="modules[1].form.title"></h6>
<p class="en"
v-html="modules[1].form.des"></p>
<div class="sum">{{ modules[2].form.title }}</div>
<div class="flex beamBox">
<div class="left">
<div class="des"
v-html="modules[2].form.des"></div>
</div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div>
</div>
<div class="intro">
<div class="intro-inner">
<div class="inner intro-inner">
<img class="pic"
:src="modules[3].form.pic"
alt="">
@ -43,7 +45,8 @@
</div>
<div class="unit">
<h6>{{ modules[4].form.title }}</h6>
<div class="title"
v-html="modules[4].form.title"></div>
<img class="pic"
:src="modules[4].form.pic"
alt="">
@ -54,6 +57,7 @@
<script>
import mixins from '@/mixins/page'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -88,15 +92,16 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
$banner-height: 21.6rem;
.wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
background: url(https://huorantech.com/images/device/4.png) bottom right/auto no-repeat;
/deep/ .el-carousel {
height: 12.6rem;
height: $banner-height;
.el-carousel__container {
height: 12.6rem;
height: $banner-height;
}
img {
height: 12.6rem;
height: $banner-height;
}
}
}
@ -144,8 +149,6 @@ export default {
}
.share {
position: relative;
width: 80%;
padding-left: 14%;
.beamBox {
align-items: center;
}
@ -190,15 +193,13 @@ export default {
}
}
.intro {
width: 80%;
height: 19.65rem;
padding-left: 14%;
margin-bottom: 67px;
background-color: #2e4984;
.intro-inner {
display: flex;
align-items: center;
height: 100%;
background-color: #2e4984;
}
.pic {
width: 50%;
@ -218,7 +219,7 @@ export default {
width: 986px;
padding-bottom: 60px;
margin: 0 auto;
h6 {
.title {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;

@ -22,11 +22,9 @@
<p class="en">{{ modules[1].form.subTitle }}</p>
<div class="card"
v-html="modules[1].form.des"></div>
<div class="flex textBox">
<div class="left">
<div class="des"
v-html="modules[2].form.des"></div>
</div>
<div class="texts">
<div class="des"
v-html="modules[2].form.des"></div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
@ -34,9 +32,9 @@
</div>
</div>
<div class="intro">
<div class="inner intro">
<img class="bg"
src="http://10.10.11.7/images/device/7.png"
src="https://huorantech.com/images/device/7.png"
alt="">
<img class="pic"
:src="modules[3].form.pic"
@ -44,7 +42,8 @@
</div>
<div class="unit">
<h6>{{ modules[4].form.title }}</h6>
<div class="title"
v-html="modules[4].form.title"></div>
<img class="pic"
:src="modules[4].form.pic"
alt="">
@ -55,6 +54,7 @@
<script>
import mixins from '@/mixins/page'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -89,15 +89,16 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
$banner-height: 21.6rem;
.wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
background: url(https://huorantech.com/images/device/4.png) bottom right/auto no-repeat;
/deep/ .el-carousel {
height: 12.6rem;
height: $banner-height;
.el-carousel__container {
height: 12.6rem;
height: $banner-height;
}
img {
height: 12.6rem;
height: $banner-height;
}
}
}
@ -122,31 +123,14 @@ export default {
}
.share {
position: relative;
.inner {
width: 100%;
max-width: 1323px;
.textBox {
position: absolute;
width: 85%;
right: 0;
top: 26rem;
.left {
flex-grow: 1;
}
}
h6 {
font-weight: bold;
}
}
.left {
width: 34.187rem;
margin-right: 4.125rem;
.texts {
display: flex;
}
h6 {
position: relative;
font-size: 1.76rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-weight: bold;
color: #333333;
}
.en {
@ -157,25 +141,23 @@ export default {
color: #e3e3e3;
}
.card {
position: absolute;
left: 0;
max-width: 1671px;
width: 85%;
padding: 1.6rem 2.9rem 1.6rem 14%;
font-size: 1.06rem;
padding: 1.5rem;
margin-bottom: 20px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
border-radius: 0 6rem 0 0;
font-weight: 500;
color: #ffffff;
line-height: 2.375rem;
background: url(http://10.10.11.7/images/device/5.png) 0 0 /100% 100% no-repeat;
background: url(https://huorantech.com/images/device/5.png) center center no-repeat;
}
.des {
margin-top: 25px;
font-size: 0.98rem;
flex-grow: 1;
margin: 25px 4rem 0 0;
font-size: 1rem;
-webkit-line-clamp: inherit;
color: #333;
line-height: 37px;
line-height: 2;
overflow: visible;
}
.pic {
@ -186,15 +168,8 @@ export default {
}
.intro {
position: relative;
height: 42.625rem;
margin-bottom: 2.3rem;
margin-top: 50rem;
width: 85%;
margin: 60px auto;
.bg {
position: absolute;
top: 0;
left: 0;
width: 65%;
height: 35.73rem;
}
.pic {
@ -209,7 +184,7 @@ export default {
width: 986px;
padding-bottom: 60px;
margin: 0 auto;
h6 {
.title {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;
@ -219,6 +194,7 @@ export default {
border-left: 4px solid #1583ff;
}
}
@media (max-width: 1400px) {
.share {
.card {
@ -228,17 +204,15 @@ export default {
.inner {
max-width: none;
width: 95%;
.textBox {
.texts {
position: static;
display: flex;
flex-direction: column;
align-items: flex-end;
margin-left: 15%;
.left {
.des {
width: 100%;
.des {
-webkit-line-clamp: 100;
}
-webkit-line-clamp: 100;
}
}
}
@ -277,11 +251,11 @@ export default {
@media (max-width: 640px) {
.share {
.inner {
.textBox {
.texts {
margin: 0 auto;
}
}
.left {
.des {
margin-right: 0;
}
}

@ -31,7 +31,7 @@
v-html="modules[2].form.des"></div>
</div>
<img class="bg"
src="http://10.10.11.7/images/device/10.png"
src="https://huorantech.com/images/device/10.png"
alt="" />
</div>
</div>
@ -40,12 +40,14 @@
<div class="block intro">
<div class="inner">
<div class="left">
<h5>{{ modules[3].form.title }}</h5>
<div class="title1"
v-html="modules[3].form.title"></div>
<img :src="modules[3].form.pic"
alt="" />
</div>
<div class="right">
<h6>{{ modules[4].form.title }}</h6>
<div class="title2"
v-html="modules[4].form.title"></div>
<img :src="modules[4].form.pic"
alt="" />
</div>
@ -57,6 +59,7 @@
<script>
import mixins from '@/mixins/page';
import WOW from 'wow.js';
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -89,14 +92,15 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
$banner-height: 21.6rem;
.wrap {
/deep/ .el-carousel {
height: 12.6rem;
height: $banner-height;
.el-carousel__container {
height: 12.6rem;
height: $banner-height;
}
img {
height: 12.6rem;
height: $banner-height;
}
}
}
@ -218,7 +222,7 @@ export default {
width: 68%;
margin-left: 2%;
}
h5 {
.title1 {
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
@ -226,7 +230,7 @@ export default {
color: #2a2a2a;
}
h6 {
.title2 {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;
@ -238,7 +242,7 @@ export default {
img {
width: 100%;
height: 85%;
object-fit: cover;
}
}
@ -267,7 +271,7 @@ export default {
.bg {
width: 100%;
height: 200px;
margin: -50px 0px 0 0;
margin: 0;
}
}
}
@ -275,8 +279,9 @@ export default {
}
@media (max-width: 1200px) {
body {
width: 100% !important;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
.history {
@ -313,46 +318,4 @@ export default {
}
}
}
@media (max-width: 320px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
@media (min-width: 320px) and (max-width: 375px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
@media (min-width: 375px) and (max-width: 480px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
@media (min-width: 480px) and (max-width: 640px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
@media (min-width: 640px) and (max-width: 768px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
@media (min-width: 768px) and (max-width: 980px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
</style>

File diff suppressed because it is too large Load Diff

@ -45,10 +45,11 @@
<p class="date">{{ e.title }}</p>
<p class="text">{{ e.des }}</p>
</div>
<img v-if="e.pic"
:src="e.pic"
alt=""
class="pic">
<el-image v-if="e.pic"
class="pic"
:src="e.pic"
:preview-src-list="[e.pic]">
</el-image>
</li>
</template>
</ul>
@ -86,8 +87,8 @@ export default {
@import url(../../../plugins/wow/animate.css);
@import '../../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(http://10.10.11.7/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
background: url(https://huorantech.com/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(https://huorantech.com/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
}
.history {
@ -135,7 +136,7 @@ export default {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
background: url(https://huorantech.com/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
}
}
@ -190,6 +191,7 @@ export default {
}
}
}
@media (max-width: 1200px) {
.tab-content {
padding: 20px 0;

@ -1,6 +1,7 @@
<template>
<div class="wrap">
<el-carousel :interval="6000"
<el-carousel v-if="modules[0].list"
:interval="6000"
:arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
@ -216,7 +217,7 @@
</div>
</div>
<div class="tools">
<!-- <div class="tools">
<div class="logo">
<img src="@/assets/images/logo.png"
alt="">
@ -227,7 +228,7 @@
class="column"
@click="toAnchor(item)">{{ item.name }}</li>
</ul>
</div>
</div> -->
</div>
</template>
@ -265,7 +266,7 @@ export default {
console.log("🚀 ~ file: index.vue ~ line 138 ~ this.$post ~ this.modules", json)
//
if (json[2].form.column.length) {
if (json[2].form.column && json[2].form.column.length) {
const { column, articleNum } = json[2].form
this.$post(`${this.api.queryArticlesByColumnType}?columnId=${column[column.length - 1]}`).then(({ data }) => {
this.articles = Util.removeTag(data.slice(0, articleNum || 7))
@ -273,13 +274,13 @@ export default {
this.carouselInterval()
}).catch(err => { })
}
if (json[6].form.column.length) {
if (json[6].form.column && json[6].form.column.length) {
const { column, articleNum } = json[6].form
this.$post(`${this.api.queryArticlesByColumnType}?columnId=${column[column.length - 1]}`).then(({ data }) => {
this.articles2 = Util.removeTag(data.slice(0, articleNum || 4))
}).catch(err => { })
}
if (json[8].form.column.length) {
if (json[8].form.column && json[8].form.column.length) {
const { column, articleNum } = json[8].form
this.$post(`${this.api.queryArticlesByColumnType}?columnId=${column[column.length - 1]}`).then(({ data }) => {
this.articles3 = Util.removeTag(data.slice(0, articleNum || 4))
@ -332,11 +333,12 @@ export default {
@import url(../../../plugins/wow/animate.css);
@import '../../../styles/page/page.scss';
/deep/ .el-carousel {
height: 991px;
height: 100vh;
.el-carousel__container,
.el-carousel__item,
img {
height: 100%;
height: 100vh;
object-fit: cover;
}
}
.title {
@ -382,6 +384,7 @@ export default {
cursor: pointer;
.pic {
transition: 0.5s;
object-fit: cover;
&:hover {
transform: scale(1.3);
}
@ -457,6 +460,7 @@ export default {
.pic {
width: 100%;
// height: 259px;
object-fit: cover;
}
.texts {
padding: 40px 30px;
@ -500,6 +504,7 @@ export default {
.pic {
width: 50%;
min-height: 465px;
object-fit: cover;
}
}
}
@ -531,6 +536,7 @@ export default {
}
.pic {
transition: 0.5s;
object-fit: cover;
}
&:hover {
.pic {
@ -559,6 +565,7 @@ export default {
width: 167px;
height: 167px;
margin-right: 36px;
object-fit: cover;
}
.texts {
width: calc(100% - 210px);
@ -625,6 +632,7 @@ export default {
width: 100%;
height: 100%;
transition: 0.5s;
object-fit: cover;
}
&:hover {
.pic {
@ -698,8 +706,7 @@ export default {
}
}
}
@media (max-width: 1520px) {
}
@media (max-width: 1200px) {
.sfel-banner {
flex-direction: column;
@ -813,9 +820,4 @@ export default {
}
}
}
@media (max-width: 980px) {
/deep/ .el-carousel {
height: 600px;
}
}
</style>

@ -30,7 +30,8 @@
</div>
<div class="texts">
<h6>{{ modules[1].form.title }}</h6>
<div class="des">{{ modules[1].form.des }}</div>
<div class="des"
v-html="modules[1].form.des"></div>
</div>
</div>
<div class="item wow bounceInRight"
@ -44,7 +45,8 @@
</div>
<div class="texts">
<h6>{{ modules[2].form.title }}</h6>
<div class="des">{{ modules[2].form.des }}</div>
<div class="des"
v-html="modules[2].form.des"></div>
</div>
</div>
<div class="item wow bounceInLeft"
@ -58,7 +60,8 @@
</div>
<div class="texts">
<h6>{{ modules[3].form.title }}</h6>
<div class="des">{{ modules[3].form.des }}</div>
<div class="des"
v-html="modules[3].form.des"></div>
</div>
</div>
</div>
@ -69,6 +72,7 @@
import mixins from '@/mixins/page'
import overview from '@/mixins/estate'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins, overview],
data () {
@ -98,7 +102,7 @@ export default {
padding: 42px;
margin-bottom: 36px;
color: #333;
background: #f5f5f5 url(http://10.10.11.7/images/overviewSetup/1.png) right bottom/auto no-repeat;
background: #f5f5f5 url(https://huorantech.com/images/overviewSetup/1.png) right bottom/auto no-repeat;
transition: 0.5s;
&:nth-child(even) {
justify-content: space-between;

@ -22,15 +22,16 @@
<div class="org">
<div class="left">
<h6>{{ modules[1].form.title }}</h6>
<p class="text"
v-html="modules[1].form.des"></p>
<div class="text"
v-html="modules[1].form.des"></div>
</div>
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
src="https://huorantech.com/images/overviewSetup/1.png"
alt="">
</div>
<div class="lg-bg">
<img :src="modules[2].form.pic"
<img width="100%"
:src="modules[2].form.pic"
alt="">
</div>
</div>
@ -41,6 +42,7 @@
import mixins from '@/mixins/page'
import overview from '@/mixins/estate'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins, overview],
data () {
@ -93,9 +95,12 @@ export default {
}
}
.lg-bg {
max-width: 85%;
width: 1200px;
margin: 0 auto;
text-align: center;
img {
object-fit: cover;
}
}
@media (max-width: 1200px) {
.tab-content {
@ -108,10 +113,12 @@ export default {
width: 100%;
}
img {
width: 100%;
height: auto;
display: none;
}
}
}
.lg-bg {
width: 90%;
}
}
</style>

@ -23,15 +23,15 @@
<h6>
{{ modules[1].form.title }}
<img class="title-bg"
src="http://10.10.11.7/images/overviewIntro/2.png"
src="https://huorantech.com/images/overviewIntro/2.png"
alt="">
</h6>
<p class="text"
v-html="modules[1].form.des"></p>
<div class="text"
v-html="modules[1].form.des"></div>
</div>
<div class="lg-bg">
<img width="100%"
src="http://10.10.11.7/images/estate/3.png"
src="https://huorantech.com/images/estate/3.png"
alt="">
</div>
</div>
@ -42,6 +42,7 @@
import mixins from '@/mixins/page'
import overview from '@/mixins/estate'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins, overview],
data () {
@ -69,7 +70,7 @@ export default {
min-height: 500px;
padding: 80px 86px 29px 597px;
margin: 0 auto 200px;
background: url(http://10.10.11.7/images/estate/2.png) 0 0/100% 100% no-repeat;
background: url(https://huorantech.com/images/estate/2.png) 0 0/100% 100% no-repeat;
border-radius: 160px;
h6 {
position: relative;
@ -89,6 +90,7 @@ export default {
font-size: 1rem;
color: #020202;
line-height: 2rem;
// @include mul-ellipsis(10);
}
}
.lg-bg {

@ -123,14 +123,16 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
$banner-height: 21.6rem;
.wrap {
padding-bottom: 70px;
/deep/ .el-carousel {
height: 12.6rem;
height: $banner-height;
.el-carousel__container {
height: 12.6rem;
height: $banner-height;
}
img {
height: 12.6rem;
height: $banner-height;
}
}
}

@ -9,7 +9,8 @@
</div>
</div>
<div class="block history gray">
<div class="block history gray"
style="padding-bottom: 70px">
<div class="inner">
<div class="texts wow fadeInDown"
data-wow-delay="0.5s">
@ -38,7 +39,8 @@
</ul>
</div>
<div class="block committee gray">
<div class="block committee gray"
style="padding-top: 80px">
<div v-if="modules[2].list[curYear].list[0]"
class="inner">
<div class="left">
@ -57,6 +59,7 @@
<script>
import mixins from "@/mixins/page";
import WOW from "wow.js";
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -71,23 +74,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
//
@ -140,10 +140,11 @@ export default {
}
.bg {
margin: -122px 0 0 0;
object-fit: cover;
}
}
.cards {
padding: 60px 0;
padding-top: 50px;
ul {
display: flex;
justify-content: center;
@ -159,25 +160,25 @@ export default {
color: #333;
text-align: center;
@include ellipsis();
background: url(http://10.10.11.7/images/governance/3.png) 0 0 / cover no-repeat;
background: url(https://huorantech.com/images/governance/3.png) 0 0 / cover no-repeat;
cursor: pointer;
&:nth-child(2) {
background-image: url(http://10.10.11.7/images/governance/4.png);
background-image: url(https://huorantech.com/images/governance/4.png);
}
&:nth-child(3) {
background-image: url(http://10.10.11.7/images/governance/5.png);
background-image: url(https://huorantech.com/images/governance/5.png);
}
&:nth-child(4) {
background-image: url(http://10.10.11.7/images/governance/4.png);
background-image: url(https://huorantech.com/images/governance/4.png);
}
&:nth-child(5) {
background-image: url(http://10.10.11.7/images/governance/7.png);
background-image: url(https://huorantech.com/images/governance/7.png);
}
&:nth-child(6) {
background-image: url(http://10.10.11.7/images/governance/6.png);
background-image: url(https://huorantech.com/images/governance/6.png);
}
&:nth-child(8) {
background-image: url(http://10.10.11.7/images/governance/6.png);
background-image: url(https://huorantech.com/images/governance/6.png);
}
&:nth-child(3n) {
margin-right: 0;
@ -213,8 +214,10 @@ export default {
.pic {
width: 48%;
height: 300px;
object-fit: cover;
}
}
@media (max-width: 1200px) {
.history {
.texts {

@ -13,6 +13,10 @@
:src="item.pic"
alt=""
@click="openLink(item)">
<!-- <div class="texts">
<h6>{{ item.title }}</h6>
<p class="text">{{ item.des }}</p>
</div> -->
</el-carousel-item>
</template>
</el-carousel>
@ -31,7 +35,8 @@
<div class="texts">
<h6>{{ modules[2].form.title }}</h6>
<p class="des">{{ modules[2].form.des }}</p>
<img src="@/assets/images/arrow.png"
<img v-if="modules[2].form.link"
src="@/assets/images/arrow.png"
alt=""
:class="{'arrow': isLink(modules[2].form.link.linkName)}"
@click="openLink(modules[2].form)">
@ -114,10 +119,10 @@
</div>
<div class="about"
:class="{'cursor-pointer': isLink(modules[8].form.link.linkName)}"
:class="{'cursor-pointer': modules[8].form.link && isLink(modules[8].form.link.linkName)}"
@click="openLink(modules[8].form)">
<div class="inner">
<img class="wow fadeInUp"
<img class="pic wow fadeInUp"
src="@/assets/images/about.png"
alt="">
<div class="line wow fadeInUp"
@ -135,8 +140,7 @@
<div class="inner">
<h2 class="glance wow fadeInUp">{{ modules[9].form.title }}</h2>
<ul class="stat">
<li class="wow fadeInRight"
data-wow-delay="0.2s">
<li>
<!-- <p class="num">{{ modules[10].form.title }}</p> -->
<animate-number class="num"
ref="num1"
@ -145,8 +149,7 @@
duration="3000" />
<p class="text">{{ modules[10].form.des }}</p>
</li>
<li class="wow fadeInRight"
data-wow-delay="0.4s">
<li>
<animate-number class="num"
ref="num2"
from="0"
@ -154,8 +157,7 @@
duration="3000" />
<p class="text">{{ modules[11].form.des }}</p>
</li>
<li class="wow fadeInRight"
data-wow-delay="0.6s">
<li>
<animate-number class="num"
ref="num3"
from="0"
@ -165,11 +167,7 @@
</li>
<li class="wow fadeInRight"
data-wow-delay="0.9s">
<animate-number class="num"
ref="num4"
from="0"
:to="modules[13].form.title"
duration="3500" />
<p class="num">{{ modules[13].form.title }}</p>
<p class="text">{{ modules[13].form.des }}</p>
</li>
<li class="wow fadeInRight"
@ -219,7 +217,6 @@ export default {
data :
data[data.length - 1][data[data.length - 1].state ? 'theEditedJson' : 'jsonBeforeEditing'])
console.log('JSON=>', json)
this.modules = json
console.log("🚀 ~ file: index.vue ~ line 138 ~ this.$post ~ this.modules", this.modules)
@ -254,10 +251,33 @@ export default {
height: 100vh;
img {
height: 100%;
object-fit: cover;
}
/deep/.el-carousel__container {
height: 100vh;
}
.texts {
position: absolute;
bottom: 20%;
left: 120px;
display: flex;
flex-direction: column;
align-items: flex-start;
h6,
.text {
padding: 20px 15px;
color: #fff;
}
h6 {
margin-bottom: 30px;
font-size: 68px;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
}
.text {
font-size: 24px;
font-family: AppleSystemUIFont;
}
}
}
.block {
padding-top: 3.15rem;
@ -282,6 +302,7 @@ export default {
.pic {
width: 100%;
height: auto;
object-fit: cover;
}
.texts {
padding-left: 1.375rem;
@ -315,7 +336,7 @@ export default {
flex-wrap: wrap;
li {
display: inline-flex;
width: calc((100% - 28px) / 2);
width: calc((100% - 35px) / 2);
padding: 2.125rem;
margin-bottom: 1.75rem;
background-color: #fff;
@ -332,6 +353,7 @@ export default {
img {
width: 12.5rem;
height: 7.81rem;
object-fit: cover;
}
.texts {
width: calc(100% - 220px);
@ -380,6 +402,7 @@ export default {
width: 47%;
height: auto;
transition: 0.3s;
object-fit: cover;
}
.texts {
width: 48%;
@ -435,7 +458,10 @@ export default {
.about {
padding: 3.848rem 0 9.9rem;
background: url(../../assets/images/about-bg.png) no-repeat center center;
background-size: 100% 100%;
// background-size: 100% 100%;
.pic {
object-fit: cover;
}
.line {
display: flex;
align-items: center;
@ -590,80 +616,6 @@ export default {
}
}
@media (max-width: 320px) {
.wrap {
/deep/ .el-carousel {
height: 15rem;
}
/deep/ .el-carousel__container {
height: 15rem;
}
/deep/ .el-carousel__item {
height: 15rem;
img {
height: 15rem;
}
}
}
.block {
padding: 1rem 0;
.inner {
.b-title {
font-size: 1.3rem;
}
.intro {
margin-bottom: 1rem;
font-size: 0.95rem;
line-height: 1rem;
}
.card {
li {
.pic {
height: auto;
}
.texts {
margin-top: 1.2rem;
h6 {
font-size: 1.2rem;
margin-bottom: 1rem;
}
img {
width: 3.77rem;
height: 3.77rem;
}
}
}
}
.news {
li {
padding: 1.2rem;
img {
width: 8rem;
}
}
}
.people {
li {
.pic {
height: auto;
}
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
}
}
.about {
.inner {
.des {
line-height: 1.2rem;
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
/deep/ .el-carousel {

File diff suppressed because it is too large Load Diff

@ -32,10 +32,10 @@
<div class="block land">
<div class="inner">
<img class="pic"
<img class="pic wow fadeInLeft"
:src="modules[2].form.pic"
alt="">
<div class="right">
<div class="right wow fadeInDown">
<h6 v-html="modules[2].form.title"></h6>
<div class="text"
v-html="modules[2].form.des"></div>
@ -45,7 +45,7 @@
<div class="block gray">
<div class="inner">
<h2 class="b-title wow fadeInUp"
<h2 class="b-title wow fadeInUp plan-title"
v-html="modules[3].form.title"></h2>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[3].form.des }}</p>
@ -82,16 +82,16 @@
<div class="block">
<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>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[6].form.des }}</p>
<ul class="app">
<li v-for="(item, i) in modules[7].list"
:key="i"
class="wow fadeInDown"
: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)">
<img class="bg"
:src="require('@/assets/images/industrial/app' + (i + 1) + '.png')"
@ -107,12 +107,13 @@
<div class="block news-block">
<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>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<ul class="news">
<li class="wow fadeInDown"
<li :class="{'wow fadeInDown': $store.getters.getModelType}"
:data-wow-delay="(0.2 * i).toFixed(1) + 's'"
v-for="(item, i) in articles"
:key="i"
@ -155,31 +156,28 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
//
const { column, articleNum } = json[9].form
if (column.length) {
this.$post(`${this.api.queryArticlesByColumnType}?columnId=${column[column.length - 1]}`).then(({ data }) => {
this.articles = Util.removeTag(data.slice(0, articleNum || 6))
}).catch(err => { })
}
//
const { column, articleNum } = json[9].form
if (column.length) {
this.$post(`${this.api.queryArticlesByColumnType}?columnId=${column[column.length - 1]}`).then(({ data }) => {
this.articles = Util.removeTag(data.slice(0, articleNum || 6))
}).catch(err => { })
}
})
}
})
.catch((err) => { });
},
},
@ -221,6 +219,7 @@ export default {
width: 560px;
height: 500px;
margin: -122px -83px 0 0;
// object-fit: cover;
}
}
.land {
@ -230,6 +229,7 @@ export default {
.pic {
width: 50%;
height: 450px;
object-fit: cover;
}
.right {
width: 50%;
@ -291,6 +291,7 @@ export default {
height: 423px;
margin: -20px -20px 0 0;
border-radius: 100px 0 0 0;
object-fit: cover;
}
}
}
@ -324,6 +325,7 @@ export default {
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.icon {
position: relative;
@ -353,6 +355,7 @@ export default {
img {
width: 100%;
height: 220px;
object-fit: cover;
}
.texts {
padding: 20px 24px;
@ -370,6 +373,7 @@ export default {
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21);
}
}
@media (max-width: 1200px) {
.history {
.texts {
@ -439,5 +443,8 @@ export default {
margin-right: 0;
}
}
.plan-title:after {
display: none;
}
}
</style>

@ -17,7 +17,7 @@
data-wow-delay="0.8s">{{ modules[1].form.des }}</p>
<el-image class="block-pic br wow fadeInLeft"
data-wow-delay="0.8s"
style="width: 100%; height: 536px"
style="width: 100%;"
:src="modules[1].form.pic"
:preview-src-list="[modules[1].form.pic]">
</el-image>
@ -42,7 +42,7 @@
<th>地点</th>
<th>能量GeV</th>
<th>储存环周长(m)</th>
<th>光束线/</th>
<th>光束线</th>
<th>代际</th>
<th>发射度(nm.rad)</th>
<th>状态</th>
@ -81,10 +81,10 @@
<th>地点</th>
<th>加速器技术</th>
<th>能量/GeV</th>
<th>波长范围/nm</th>
<th>光子能量</th>
<th>重复频率/Hz</th>
<th>设施长度/m</th>
<th>实验站/</th>
<th>实验站</th>
<th>状态</th>
<th>建成时间</th>
</tr>
@ -113,7 +113,8 @@
colspan="20">暂无数据</td>
</tr>
</table>
<div class="copyright">全球先进光源页面所刊载内容包括图片文字数据源自相关设施官方网站宣传手册以及国际原子能机构IAEA网站公开数据由深圳综合粒子设施研究院及中国科学学与科技政策研究会科技基础设施专业委员会共同汇总整理而来相关内容供访问者学习研究如需转载或引用须声明内容来源</div>
<div class="copyright"
v-html="modules[4].form.des"></div>
</div>
</div>
</div>
@ -183,12 +184,15 @@ export default {
}
}
}
.block-pic {
/deep/.block-pic {
transition: 0.3s;
height: auto;
&.br {
border-radius: 270px;
}
img {
object-fit: cover;
}
&:hover {
transform: scale(1.05);
}

@ -68,8 +68,8 @@
<script>
import mixins from "@/mixins/page";
import Setting from "@/setting";
import Util from "@/libs/util";
import WOW from "wow.js";
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -84,23 +84,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
},
@ -110,9 +107,6 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
.inner {
width: 1200px;
}
.item {
position: relative;
margin-bottom: 58px;
@ -122,13 +116,14 @@ export default {
}
.texts {
position: absolute;
top: 79px;
top: 50%;
left: -34px;
width: 532px;
padding: 70px 38px 70px 55px;
color: #333;
background: rgba(255, 241, 231, 0.84);
transition: 0.5s;
transform: translateY(-50%);
}
&:nth-child(2) .texts {
left: auto;
@ -189,9 +184,6 @@ export default {
}
}
@media (max-width: 1200px) {
.inner {
width: 98%;
}
.item {
img {
margin-left: 30px;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -16,13 +16,14 @@
v-html="modules[1].form.des"></p>
</div>
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
src="https://huorantech.com/images/overviewSetup/1.png"
alt="">
</div>
<div class="lg-bg">
<img width="100%"
:src="modules[2].form.pic"
alt="">
<el-image style="width: 100%;"
:src="modules[2].form.pic"
:preview-src-list="[modules[2].form.pic]">
</el-image>
</div>
</div>
</template>
@ -30,6 +31,7 @@
<script>
import mixins from '@/mixins/page'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -44,23 +46,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
}
@ -74,7 +73,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
width: 1200px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #fcfcfc;
@ -100,7 +99,7 @@ export default {
}
}
.lg-bg {
width: 65%;
width: 1200px;
margin: 0 auto;
}
@media (max-width: 1300px) {
@ -123,7 +122,7 @@ export default {
.org {
flex-direction: column;
.pic {
width: 100%;
display: none;
}
.left {
width: 100%;

@ -61,7 +61,7 @@
<div class="block gray fac">
<div class="inner">
<div class="event">
<img src="http://10.10.11.7/images/overview/16.png"
<img src="https://huorantech.com/images/overview/16.png"
alt=""
class="pic">
<div class="texts">
@ -115,11 +115,11 @@
</div>
<div class="block scan gray">
<h2 class="b-title wow fadeInUp"
<h2 class="b-title wow fadeInUp hide-bd"
v-html="modules[8].form.title"></h2>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<div class="scan-inner">
<div class="inner scan-inner">
<div class="left">
<template v-for="(item, i) in modules[9].list">
<div v-if="item.isEnable"
@ -174,23 +174,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
},
@ -345,8 +342,6 @@ export default {
.scan {
.scan-inner {
display: flex;
justify-content: flex-end;
padding-left: 19%;
}
.left {
width: 45%;
@ -386,81 +381,17 @@ export default {
}
.pic {
width: 50%;
// height: 700px;
// object-fit: cover;
}
}
@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 {
@ -479,14 +410,12 @@ export default {
.scan {
.scan-inner {
flex-direction: column;
padding: 0 10%;
}
.left {
width: 100%;
}
.pic {
width: 100%;
height: auto;
margin-top: 2rem;
}
}
@ -522,6 +451,12 @@ export default {
}
}
@media (max-width: 750px) {
.hide-bd:after {
display: none;
}
.block {
padding: 50px 0;
}
.core {
.texts {
position: static;
@ -532,5 +467,12 @@ export default {
background: #333;
}
}
.fac {
.event {
.pic {
display: none;
}
}
}
}
</style>

@ -45,10 +45,13 @@
<p class="date">{{ e.title }}</p>
<p class="text">{{ e.des }}</p>
</div>
<img v-if="e.pic"
:src="e.pic"
alt=""
class="pic">
<div class="pic-wrap">
<el-image v-if="e.pic"
class="pic"
:src="e.pic"
:preview-src-list="[e.pic]">
</el-image>
</div>
</li>
</template>
</ul>
@ -63,6 +66,7 @@
import mixins from '@/mixins/page'
import overview from '@/mixins/overview'
import WOW from 'wow.js'
import Util from '@/libs/util'
export default {
mixins: [mixins, overview],
data () {
@ -86,8 +90,8 @@ export default {
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(http://10.10.11.7/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
background: url(https://huorantech.com/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(https://huorantech.com/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
}
.single-banner {
.texts {
@ -141,7 +145,7 @@ export default {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
background: url(https://huorantech.com/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
}
}
@ -198,12 +202,18 @@ export default {
transform: rotate(45deg);
}
}
.pic {
.pic-wrap {
width: 17.5rem;
height: 9.75rem;
text-align: center;
}
.pic {
// width: 17.5rem;
height: 100%;
}
}
}
@media (max-width: 1200px) {
.tab-content {
width: 90%;

@ -19,15 +19,15 @@
</ul>
<div class="tab-content">
<div class="intro">
<div class="inner intro">
<img class="pic"
src="http://10.10.11.7/images/overviewIntro/1.png"
:src="modules[1].form.pic"
alt="">
<div class="right">
<div class="relative">
<h6 v-html="modules[1].form.title"></h6>
<img class="title-bg"
src="http://10.10.11.7/images/overviewIntro/2.png"
src="https://huorantech.com/images/overviewIntro/2.png"
alt="">
</div>
<div class="text"
@ -92,13 +92,14 @@ export default {
padding-top: 3.85rem;
.intro {
display: flex;
align-items: center;
margin-bottom: 5.5rem;
.pic {
width: 40%;
margin-right: 2.5rem;
width: 49%;
margin-right: 2%;
}
.right {
width: 40%;
width: 49%;
}
h6 {
position: relative;
@ -112,7 +113,7 @@ export default {
}
.text {
margin-top: 2rem;
font-size: 0.99rem;
font-size: 1rem;
color: #020202;
line-height: 2;
}
@ -124,7 +125,7 @@ export default {
padding-bottom: 2rem;
color: #fff;
text-align: center;
background: url(http://10.10.11.7/images/overviewIntro/3.png) 0 0/100% 100% no-repeat;
background: url(https://huorantech.com/images/overviewIntro/3.png) 0 0/100% 100% no-repeat;
.mask {
position: absolute;
top: 0;
@ -186,6 +187,7 @@ export default {
right: 90%;
}
}
@media (max-width: 1200px) {
.tab-content {
width: 90%;

@ -65,6 +65,7 @@ export default {
}
/deep/ img {
width: 100% !important;
height: auto;
}
}
.video {

@ -25,13 +25,14 @@
v-html="modules[1].form.des"></p>
</div>
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
src="https://huorantech.com/images/overviewSetup/1.png"
alt="">
</div>
<div class="lg-bg">
<img width="100%"
:src="modules[2].form.pic"
alt="">
<el-image style="width: 100%;"
:src="modules[2].form.pic"
:preview-src-list="[modules[2].form.pic]">
</el-image>
</div>
</div>
@ -74,7 +75,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
width: 1200px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #fcfcfc;
@ -97,10 +98,11 @@ export default {
.pic {
width: 320px;
height: 282px;
object-fit: cover;
}
}
.lg-bg {
width: 85%;
width: 1200px;
margin: 0 auto;
}
@media (max-width: 1200px) {
@ -111,13 +113,15 @@ export default {
padding: 15px;
flex-direction: column;
.pic {
width: 100%;
height: auto;
display: none;
}
.left {
width: 100%;
}
}
}
.lg-bg {
width: 90%;
}
}
</style>

@ -84,6 +84,7 @@ export default {
color: #020202;
line-height: 1.6rem;
}
@media (max-width: 1200px) {
.tab-content {
width: 95%;

@ -1,12 +1,11 @@
<template>
<div class="wrap">
<div class="banner">
<img width="100%"
height="280"
<div class="single-banner">
<img class="banner-img"
:src="info.columnBanner"
alt="" />
<div class="texts">
<p class="text">{{ info.columnName }}</p>
<h6 class="banner-title">{{ info.columnName }}</h6>
</div>
</div>
@ -38,6 +37,7 @@ import mixins from '@/mixins/article'
import Thesis from './thesis'
import Patent from './patent'
import Monograph from './monograph'
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -112,25 +112,27 @@ export default {
.wrap {
background-color: #f9f9f9;
}
.banner {
.single-banner {
position: relative;
height: 280px;
color: #fff;
.banner-img {
width: 100%;
height: 24rem;
object-fit: cover;
}
.texts {
position: absolute;
top: 123px;
left: 243px;
top: 160px;
left: 267px;
}
.text {
font-size: 3.42rem;
font-weight: 600;
@include ellipsis;
.banner-title {
margin-bottom: 19px;
font-size: 2.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.sub {
margin-top: 10px;
font-size: 2rem;
.banner-des {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
}
.tabs {
@ -158,11 +160,10 @@ export default {
margin: 0 auto;
}
@media (max-width: 1200px) {
.banner {
.single-banner {
.texts {
.text {
font-size: 1.5rem;
}
top: 10rem;
left: 6rem;
}
}
.tabs {
@ -179,12 +180,4 @@ export default {
margin: 0 auto;
}
}
@media (max-width: 320px) {
.banner {
.texts {
left: 6rem;
top: 6rem;
}
}
}
</style>

@ -3,8 +3,7 @@
<div class="forms">
<div class="item">
<span class="label">{{$t('column.Publicationtime')}}</span>
<el-date-picker style="width: 300px"
v-model="form.publicationYear"
<el-date-picker v-model="form.publicationYear"
type="year"
:placeholder="$t('column.pleaseSelectThePublicationTime')"
format="yyyy"
@ -132,4 +131,18 @@ export default {
cursor: pointer;
}
}
@media (max-width: 640px) {
.forms {
flex-direction: column;
align-items: flex-start;
.item {
display: flex;
margin-bottom: 20px;
margin-right: 0;
}
.search {
width: 100%;
}
}
}
</style>

@ -25,15 +25,10 @@
</el-date-picker>
</div>
<div class="search">
<el-tooltip class="item"
effect="dark"
:content="$t('column.pleaseEnterPatentOfficer')"
placement="top-start">
<input type="text"
:placeholder="$t('column.pleaseEnterPatentOfficer')"
v-model="form.patentQueryKeyWord"
clearable>
</el-tooltip>
<input type="text"
:placeholder="$t('column.pleaseEnterPatentOfficer')"
v-model="form.patentQueryKeyWord"
clearable>
</div>
</div>
@ -59,7 +54,7 @@
align="center"
min-width="150"></el-table-column>
<el-table-column prop="applicationDate"
:label="$t('column.ApplicationDate')"
:label="$t('column.applicationDate')"
align="center"
min-width="150"></el-table-column>
<el-table-column prop="dateOfAuthorization"
@ -160,4 +155,18 @@ export default {
cursor: pointer;
}
}
@media (max-width: 640px) {
.forms {
flex-direction: column;
align-items: flex-start;
.item {
display: flex;
margin-bottom: 20px;
margin-right: 0;
}
.search {
width: 100%;
}
}
}
</style>

@ -1,7 +1,10 @@
<template>
<div class="wrap">
<div class="banner">
<img width="100%" height="280" src="@/assets/images/publication-bg.png" alt="" />
<img width="100%"
height="280"
src="@/assets/images/publication-bg.png"
alt="" />
<div class="texts">
<p class="text">{{ info.columnName }}</p>
</div>
@ -11,11 +14,14 @@
<!-- <Breadcrumb style="margin-bottom: 30px" ref="breadcrumb" :data.sync="routes"/> -->
<!-- 根据栏目的listStyleId判断是哪个列表样式这个出版物页面只显示下面三个列表样式 -->
<!-- 论文 -->
<Thesis v-if="type === 46" :id.sync="id" />
<Thesis v-if="type === 46"
:id.sync="id" />
<!-- 专利 -->
<Patent v-if="type === 44" :id.sync="id" />
<Patent v-if="type === 44"
:id.sync="id" />
<!-- 专著 -->
<Monograph v-if="type === 45" :id.sync="id" />
<Monograph v-if="type === 45"
:id.sync="id" />
</div>
</div>
</template>
@ -26,9 +32,10 @@ import Thesis from './thesis'
import Patent from './patent'
import Monograph from './monograph'
import Breadcrumb from '@/components/breadcrumb'
import Util from '@/libs/util'
export default {
mixins: [mixins],
data() {
data () {
return {
routes: [
{
@ -49,13 +56,13 @@ export default {
Patent,
Monograph
},
mounted() {
mounted () {
this.getColumn()
this.getInfo()
},
methods: {
//
getInfo() {
getInfo () {
this.id &&
this.$post(`${this.api.findColumn}?id=${this.id}`)
.then(({ data }) => {
@ -80,7 +87,7 @@ export default {
.catch((err) => { });
},
//
getParent(data, parent = {}) {
getParent (data, parent = {}) {
for (const e of data) {
if (e.id == this.id) {
this.parent = parent
@ -95,49 +102,38 @@ export default {
<style lang="scss" scoped>
.wrap {
background-color: #f9f9f9;
background-color: #f9f9f9;
}
.banner {
position: relative;
height: 280px;
color: #fff;
.texts {
position: absolute;
top: 123px;
left: 243px;
}
position: relative;
height: 280px;
color: #fff;
.texts {
position: absolute;
top: 123px;
left: 243px;
}
.text {
font-size: 3.42rem;
font-weight: 600;
@include ellipsis;
}
.text {
font-size: 3.42rem;
font-weight: 600;
@include ellipsis;
}
.sub {
margin-top: 10px;
font-size: 2rem;
}
.sub {
margin-top: 10px;
font-size: 2rem;
}
}
.tab-content {
width: 1000px;
padding: 20px 0;
margin: 0 auto;
width: 1000px;
padding: 20px 0;
margin: 0 auto;
}
@media (max-width: 1200px) {
.banner {
.texts {
.text {
font-size: 1.5rem;
}
.tab-content {
width: 90%;
margin: 0 auto;
}
}
}
@media (max-width: 320px) {
.banner {
.texts {
left: 6rem;
top: 6rem;
}
}
}
</style>

@ -3,30 +3,31 @@
<div class="forms">
<div class="item">
<span class="label">{{$t('column.publicationyear')}}</span>
<el-date-picker
style="width: 300px"
v-model="form.publicationYear"
type="year"
:placeholder="$t('column.pleaseSelectThePublicationTime')"
format="yyyy"
value-format="yyyy"
clearable
@change="initData">
<el-date-picker v-model="form.publicationYear"
type="year"
:placeholder="$t('column.pleaseSelectThePublicationTime')"
format="yyyy"
value-format="yyyy"
clearable
@change="initData">
</el-date-picker>
</div>
<div class="search">
<el-tooltip class="item" effect="dark" :content="$t('column.PleaseEnterThePaperName')" placement="top-start">
<input type="text" :placeholder="$t('column.PleaseEnterThePaperName')" v-model="form.paperQueryKeyWord" clearable>
</el-tooltip>
<input type="text"
:placeholder="$t('column.PleaseEnterThePaperName')"
v-model="form.paperQueryKeyWord"
clearable>
</div>
</div>
<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>
<p class="meta">{{$t('column.author')}}: {{ item.author }}</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>
</ul>
</div>
@ -36,7 +37,7 @@
import Util from '@/libs/util';
export default {
props: ['id'],
data() {
data () {
return {
searchTimer: null,
form: {
@ -51,7 +52,7 @@ export default {
}
},
watch: {
id() {
id () {
this.id && this.initData()
},
'form.paperQueryKeyWord': function (val) {
@ -61,7 +62,7 @@ export default {
}, 500);
}
},
mounted() {
mounted () {
this.initData()
},
methods: {
@ -89,22 +90,36 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../styles/page/publication.scss";
@import '../../styles/page/publication.scss';
.list {
li {
padding: 30px;
margin-bottom: 15px;
background-color: #fff;
cursor: pointer;
}
h6 {
margin-bottom: 10px;
font-size: 1.2rem;
}
.meta {
font-size: 1rem;
color: #666;
line-height: 30px;
}
li {
padding: 30px;
margin-bottom: 15px;
background-color: #fff;
cursor: pointer;
}
h6 {
margin-bottom: 10px;
font-size: 1.2rem;
}
.meta {
font-size: 1rem;
color: #666;
line-height: 30px;
}
}
@media (max-width: 640px) {
.forms {
flex-direction: column;
align-items: flex-start;
.item {
display: flex;
margin-bottom: 20px;
margin-right: 0;
}
.search {
width: 100%;
}
}
}
</style>

@ -51,27 +51,6 @@
<p class="name">DOI</p>
<p class="val">{{ form.doi }}</p>
</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>

File diff suppressed because it is too large Load Diff

@ -31,20 +31,20 @@
:key="i"
@click="toArtice(item, modules[1].form)">
<div class="line">
<img src="http://10.10.11.7/images/researchTeam/3.png"
<img src="https://huorantech.com/images/researchTeam/3.png"
alt=""
class="icon">
<span class="bold">{{ item.title }}</span>
<span class="val">/ {{ item.post }}</span>
</div>
<div class="line">
<img src="http://10.10.11.7/images/researchTeam/4.png"
<img src="https://huorantech.com/images/researchTeam/4.png"
alt=""
class="icon">
<span class="text">专业 {{ item.major }}</span>
</div>
<div class="line">
<img src="http://10.10.11.7/images/researchTeam/5.png"
<img src="https://huorantech.com/images/researchTeam/5.png"
alt=""
class="icon">
<span class="text">荣誉 {{ item.honor }}</span>
@ -209,7 +209,7 @@ export default {
width: calc((100% - 10px) / 2);
padding: 20px 30px;
margin: 0 10px 10px 0;
background: url(http://10.10.11.7/images/researchTeam/2.png) 0 0 / cover no-repeat;
background: url(https://huorantech.com/images/researchTeam/2.png) 0 0 / cover no-repeat;
cursor: pointer;
&:nth-child(even) {
margin-right: 0;

@ -1,7 +1,9 @@
<template>
<div class="wrap">
<div class="single-banner">
<img class="banner-img" :src="modules[0].form.pic" alt="" />
<img class="banner-img"
:src="modules[0].form.pic"
alt="" />
<div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
<p class="banner-des des">{{ modules[0].form.des }}</p>
@ -10,37 +12,34 @@
<div class="block">
<div class="inner">
<div
class="item wow bounceInLeft"
data-wow-delay="0.5s"
:class="{ 'cursor-pointer': isLink(modules[1].form.link.linkName) }"
@click="openLink(modules[1].form)"
>
<img src="@/assets/images/science/1.png" alt="" />
<div class="item wow bounceInLeft"
data-wow-delay="0.5s"
:class="{ 'cursor-pointer': isLink(modules[1].form.link.linkName) }"
@click="openLink(modules[1].form)">
<img src="@/assets/images/science/1.png"
alt="" />
<div class="texts">
<h6>{{ modules[1].form.title }}</h6>
<div class="des">{{ modules[1].form.des }}</div>
</div>
</div>
<div
class="item wow bounceInRight"
data-wow-delay="0.8s"
:class="{ 'cursor-pointer': isLink(modules[2].form.link.linkName) }"
@click="openLink(modules[2].form)"
>
<img src="@/assets/images/science/2.png" alt="" />
<div class="item wow bounceInRight"
data-wow-delay="0.8s"
:class="{ 'cursor-pointer': isLink(modules[2].form.link.linkName) }"
@click="openLink(modules[2].form)">
<img src="@/assets/images/science/2.png"
alt="" />
<div class="texts rightText">
<h6>{{ modules[2].form.title }}</h6>
<div class="des">{{ modules[2].form.des }}</div>
</div>
</div>
<div
class="item wow bounceInLeft"
data-wow-delay="0.5s"
:class="{ 'cursor-pointer': isLink(modules[3].form.link.linkName) }"
@click="openLink(modules[3].form)"
>
<img src="@/assets/images/science/3.png" alt="" />
<div class="item wow bounceInLeft"
data-wow-delay="0.5s"
:class="{ 'cursor-pointer': isLink(modules[3].form.link.linkName) }"
@click="openLink(modules[3].form)">
<img src="@/assets/images/science/3.png"
alt="" />
<div class="texts">
<h6>{{ modules[3].form.title }}</h6>
<div class="des">{{ modules[3].form.des }}</div>
@ -58,36 +57,33 @@ import Util from "@/libs/util";
import WOW from "wow.js";
export default {
mixins: [mixins],
data() {
data () {
return {
routes: [],
};
},
mounted() {
mounted () {
new WOW().init();
},
methods: {
//
getInfo() {
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => {});
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
},
};
@ -95,333 +91,334 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import "../../styles/page/page.scss";
@import '../../styles/page/page.scss';
.inner {
width: 960px;
width: 960px;
}
.single-banner {
.banner-img {
height: 21.6rem;
}
.texts {
h6 {
font-size: 2.16rem;
margin-bottom: .95rem;
.banner-img {
height: 21.6rem;
}
.banner-des {
font-size: .96rem;
.texts {
h6 {
font-size: 2.16rem;
margin-bottom: 0.95rem;
}
.banner-des {
font-size: 0.96rem;
}
}
}
}
.block {
padding: 3.85rem 0;
.block {
padding: 3.85rem 0;
}
.item {
position: relative;
margin-bottom: 2.9rem;
width: 100%;
&:hover {
.texts {
color: #fff;
transform: scale(1.05);
background: #32b6e9 !important;
}
}
img {
position: relative;
margin-bottom: 2.9rem;
width: 100%;
height: 22rem;
}
&:nth-child(2) .texts {
color: #fff;
background: #33b3c1;
}
&:nth-child(3) .texts {
color: #fff;
background: #e47c22;
}
&:nth-child(even) .texts {
left: auto;
right: -1.6rem;
}
.texts {
position: absolute;
top: 3.9rem;
left: -1.4rem;
width: 26.6rem;
padding: 3.5rem 1.9rem;
color: #333;
background: #fff6e9;
transition: 0.5s;
}
h6 {
margin-bottom: .875rem;
font-size: 1.6rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.des {
font-size: .88rem;
}
}
@media (max-width: 1200px) {
body {
width: 100% !important;
}
.inner {
width: 80%;
}
.item {
&:hover {
.texts {
color: #fff;
transform: scale(1.05);
background: #32b6e9 !important;
}
}
img {
width: 100%;
height: 22rem;
}
&:nth-child(2) .texts {
color: #fff;
background: #33b3c1;
}
.rightText {
right: 12px !important;
&:nth-child(3) .texts {
color: #fff;
background: #e47c22;
}
&:nth-child(even) .texts {
left: auto;
right: -1.6rem;
}
.texts {
width: 85%;
box-sizing: border-box;
left: -1rem;
&:nth-child(2) {
right: -1.5rem !important;
}
.des{
-webkit-line-clamp: inherit
}
position: absolute;
top: 3.9rem;
left: -1.4rem;
width: 26.6rem;
padding: 3.5rem 1.9rem;
color: #333;
background: #fff6e9;
transition: 0.5s;
}
h6 {
margin-bottom: 0.875rem;
font-size: 1.6rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.des {
font-size: 0.88rem;
}
}
}
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
}
@media (max-width: 1200px) {
body {
width: 100% !important;
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
h6 {
font-size: 1.2rem;
width: 80%;
}
.item {
img {
}
.rightText {
right: 12px !important;
}
.des {
font-size: .75rem;
.texts {
width: 85%;
box-sizing: border-box;
left: -1rem;
&:nth-child(2) {
right: -1.5rem !important;
}
.des {
-webkit-line-clamp: inherit;
}
}
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
.banner-des{
font-size: .85rem;
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
h6 {
font-size: 1.2rem;
}
.des {
font-size: 0.75rem;
}
}
}
}
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
h6 {
font-size: 1.4rem;
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
.des {
font-size: .75rem;
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
h6 {
font-size: 1.4rem;
}
.des {
font-size: 0.75rem;
}
}
}
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
}
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
h6 {
font-size: 1.4rem;
}
.des {
font-size: .75rem;
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
h6 {
font-size: 1.4rem;
}
.des {
font-size: 0.75rem;
}
}
}
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
.banner-des{
font-size: .85rem;
}
}
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
.banner-des{
font-size: .85rem;
}
}
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
.banner-des{
font-size: .85rem;
}
}
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
}
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
.wrap {
.single-banner {
.banner-img {
height: 12rem;
}
.texts {
top: 5rem;
left: 2rem;
.banner-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
}
.banner-des{
font-size: .85rem;
}
}
}
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
}
}
}
}
</style>

@ -13,8 +13,6 @@
<div class="block gray"
style="padding: 2rem 0;">
<div class="inner">
<Breadcrumb ref="breadcrumb"
:data.sync="routes" />
<ul class="items">
<li>
<img class="pic"
@ -72,7 +70,6 @@
<script>
import mixins from "@/mixins/page";
import WOW from "wow.js";
import Breadcrumb from '@/components/breadcrumb'
import Util from '@/libs/util'
export default {
mixins: [mixins],
@ -81,63 +78,28 @@ export default {
routes: [],
};
},
components: {
Breadcrumb
},
mounted () {
new WOW().init();
this.getColumn()
},
methods: {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
// id
getParent (data, id) {
for (const e of data) {
if (e.id == id) {
this.routes.push({
name: e.columnName,
query: {
id: e.id
}
})
break
} else if (e.children.length) {
this.routes.push({
name: e.columnName,
query: {
id: e.id
}
})
this.getParent(e.children, id)
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
}
},
//
getColumn () {
this.$post(`${this.api.oneLevelChecksThemAll}?id=${this.id}&isSort=1&siteId=${this.site}`).then(({ data }) => {
this.getParent(data, this.id)
}).catch(err => { })
})
.catch((err) => { });
},
},
};
@ -161,6 +123,7 @@ export default {
.pic {
width: 100%;
height: 100%;
object-fit: cover;
}
.texts {
position: absolute;
@ -305,7 +268,6 @@ export default {
height: 643px;
text-align: center;
background: url(../../assets/images/about-bg.png) no-repeat center center;
background-size: 100% 100%;
.texts {
padding: 2.375rem 3.75rem;
color: #fff;

File diff suppressed because it is too large Load Diff

@ -49,23 +49,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
},
@ -76,7 +73,7 @@ export default {
@import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss';
.block {
background: url(http://10.10.11.7/images/speech/2.png) no-repeat;
background: url(https://huorantech.com/images/speech/2.png) no-repeat;
}
.inner {
display: flex;
@ -115,11 +112,6 @@ export default {
}
}
}
@media (max-width: 1200px) {
.inner {
width: 95%;
}
}
@media (max-width: 920px) {
.inner {
flex-direction: column;

@ -298,6 +298,7 @@ export default {
line-height: 1.5rem;
}
}
@media (min-width: 280px) and (max-width: 1200px) {
.single-banner {
.texts {

@ -322,6 +322,7 @@ export default {
}
}
}
@media (max-width: 1200px) {
.content {
width: 98%;

@ -71,28 +71,6 @@
<span class="date">{{ item.releaseTime }}</span>
</li>
</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>
@ -136,7 +114,7 @@ export default {
json[4].list = json[4].list.filter(e => e.isEnable)
json[4].list.unshift({
title: '人才中心'
title: '加入我们'
})
json[4].list.forEach((e, i) => {
e.id = i
@ -220,13 +198,13 @@ export default {
.texts {
left: 50px;
right: auto;
background: rgba(255, 255, 255, 0.43);
}
}
}
.pic {
width: 100%;
height: 100%;
object-fit: cover;
}
.texts {
position: absolute;
@ -292,6 +270,7 @@ export default {
}
}
}
@media (max-width: 1200px) {
.content {
width: 90%;

@ -10,9 +10,9 @@
</div>
<div class="content">
<div class="left">
<ul class="list">
<li v-for="(item, i) in modules[1].list"
<ul class="list">
<template v-for="(item, i) in modules[1].list">
<li v-if="item.isEnable"
:key="i"
:class="{'cursor-pointer': isLink(item.link.linkName)}"
@click="openLink(item)">
@ -26,10 +26,8 @@
v-html="item.des"></div>
</div>
</li>
</ul>
</div>
<RightColumns />
</template>
</ul>
</div>
</div>
</template>
@ -38,6 +36,7 @@
import mixins from '@/mixins/page'
import WOW from 'wow.js'
import RightColumns from '@/components/rightColumns'
import Util from '@/libs/util'
export default {
mixins: [mixins],
data () {
@ -55,23 +54,20 @@ export default {
//
getInfo () {
// /
this.$post(
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}`
)
.then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) {
// state1theEditedJson稿0jsonBeforeEditing
const json = JSON.parse(
this.preview
? data
: data[data.length - 1][
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
]
);
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { });
},
}
@ -103,6 +99,7 @@ export default {
width: 224px;
height: 268px;
margin-right: 25px;
object-fit: cover;
}
h6 {
font-size: 1.2rem;

@ -11,23 +11,24 @@
</div>
<div class="block share">
<div class="inner">
<div class="inner relative">
<div class="left">
<h6 class="wow fadeInUp"
v-html="modules[1].form.title"></h6>
<p class="en wow fadeInUp"
data-wow-delay="0.5s">USERS SHARE</p>
<div class="des wow fadeInUp"
data-wow-delay="0.8s">{{ modules[1].form.des }}</div>
data-wow-delay="0.8s"
v-html="modules[1].form.des"></div>
</div>
<img class="pic wow bounceInRight"
data-wow-delay="0.8s"
src="@/assets/images/userSharing/1.png"
:src="modules[1].form.pic"
alt="">
<div class="card wow bounceInLeft"
data-wow-delay="0.8s">
<p class="title">{{ modules[1].form.subTitle }}</p>
<p class="en-text">EFFICIENT OPERATION, CLASSIFICATION OPEN</p>
<p class="en-text">{{ modules[1].form.enTitle }}</p>
</div>
</div>
</div>
@ -35,7 +36,7 @@
<div class="block gray">
<ul class="group">
<li class="wow bounceInDown"
:class="{'cursor-pointer': isLink(modules[2].form.link.linkName)}"
:class="{'cursor-pointer': modules[2].form.link && isLink(modules[2].form.link.linkName)}"
@click="openLink(modules[2].form)">
<img src="@/assets/images/userSharing/2.png"
alt="">
@ -44,7 +45,7 @@
</li>
<li class="wow bounceInDown"
data-wow-delay="0.1s"
:class="{'cursor-pointer': isLink(modules[3].form.link.linkName)}"
:class="{'cursor-pointer': modules[3].form.link && isLink(modules[3].form.link.linkName)}"
@click="openLink(modules[3].form)">
<img src="@/assets/images/userSharing/3.png"
alt="">
@ -53,7 +54,7 @@
</li>
<li class="wow bounceInDown"
data-wow-delay="0.2s"
:class="{'cursor-pointer': isLink(modules[4].form.link.linkName)}"
:class="{'cursor-pointer': modules[4].form.link && isLink(modules[4].form.link.linkName)}"
@click="openLink(modules[4].form)">
<img src="@/assets/images/userSharing/4.png"
alt="">
@ -126,6 +127,7 @@ export default {
}
.left {
width: 40%;
padding-right: 2%;
}
h6 {
position: relative;
@ -150,14 +152,14 @@ export default {
.pic {
width: 60%;
height: auto;
border-top-left-radius: 20px;
border-top-left-radius: 70px;
}
.card {
position: absolute;
bottom: 5.2rem;
bottom: 0;
left: 0;
width: 66.75rem;
padding: 1.875rem 0 1.875rem 21.5%;
width: 60%;
padding: 1.5rem 0 1.5rem 2%;
background: #7bacc4;
border-radius: 0px 100px 0px 0px;
opacity: 0.88;
@ -221,6 +223,7 @@ export default {
line-height: 31px;
}
}
@media (max-width: 1200px) {
body {
width: 100% !important;

Loading…
Cancel
Save