同步代码

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) { isEn(id) {
return Setting.enIds.includes(+id) return Setting.enIds.includes(+id)
}, },
// rsa加密(这里无需加密,但是全部页面的请求都有调这个方法,因此直接返回即可)
rsa(data) {
return data
},
}; };
export default util; 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> <template>
<div class="wrap"> <div class="wrap">
<div v-if="form.bannerImg"
class="banner"
:style="{backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : ''}">
{{ form.columnName }}
</div>
<div class="content"> <div class="content">
<Breadcrumb ref="breadcrumb" <Breadcrumb ref="breadcrumb"
:data.sync="routes" /> :data.sync="routes" />
<div class="article"> <div class="article">
<div class="left"> <div class="left">
<h2>{{ form.title }}</h2> <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" <div v-if="form.offlineLocation"
class="meta">{{$t('column.address')}}{{ form.offlineLocation }}</div> class="meta">{{$t('column.address')}}{{ form.offlineLocation }}</div>
<div v-if="form.onlineLocation" <div v-if="form.onlineLocation"
@ -102,7 +107,7 @@ export default {
}).catch(err => { }) }).catch(err => { })
// +1 // +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 // banner
getBanner (data) { getBanner (data) {
@ -148,6 +153,7 @@ export default {
font-size: 48px; font-size: 48px;
color: #fff; color: #fff;
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat; background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat;
object-fit: cover;
} }
.article { .article {
display: flex; display: flex;
@ -167,6 +173,10 @@ export default {
color: #333; color: #333;
} }
/deep/.des { /deep/.des {
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img { img {
max-width: 100%; max-width: 100%;
} }
@ -202,15 +212,23 @@ export default {
font-size: 18px; font-size: 18px;
} }
} }
@media (max-width: 1420px) { @media (max-width: 1420px) {
.content { .content {
width: 98%; width: 98%;
} }
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.article {
/deep/.des {
img {
max-width: 100%;
height: 15rem;
}
}
}
.banner { .banner {
height: 15rem; font-size: 1.5rem;
} }
.article { .article {
flex-direction: column; flex-direction: column;
@ -221,5 +239,15 @@ export default {
} }
} }
} }
.article {
.des {
img {
height: 15rem !important;
}
}
}
.right {
width: 100%;
}
} }
</style> </style>

@ -84,7 +84,9 @@
} }
.tiny-wrap .people .pic { .tiny-wrap .people .pic {
max-width: 400px; max-width: 400px;
margin-right: 50px; }
.tiny-wrap .people .texts {
margin-left: 50px;
} }
.tiny-wrap .people h6 { .tiny-wrap .people h6 {
font-size: 24px; font-size: 24px;
@ -114,3 +116,11 @@
background: #1583ff; background: #1583ff;
border-radius: 4px; 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> <template>
<div v-show="loaded" <div v-show="loaded"
class="wrap"> class="wrap">
<div v-if="form.articleTemplate !== 23" <!-- 人物详情不展示banner -->
<div v-if="form.articleTemplate !== 23 && !isPeople"
class="banner" class="banner"
:style="{backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : ''}"> :style="{backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : ''}">
{{ form.columnName }} {{ form.columnName }}
@ -19,6 +20,7 @@
<p v-if="form.summary" <p v-if="form.summary"
class="brief">{{ form.summary }}</p> class="brief">{{ form.summary }}</p>
<div class="des" <div class="des"
id="mainBody"
v-html="form.mainBody"></div> v-html="form.mainBody"></div>
<div v-if="form.fileList && form.fileList.length" <div v-if="form.fileList && form.fileList.length"
class="annex"> class="annex">
@ -96,7 +98,6 @@ export default {
if (temId == 72) this.isPeople = 1 // articleTemplate=72 if (temId == 72) this.isPeople = 1 // articleTemplate=72
if (cache.releaseTime) cache.releaseTime = cache.releaseTime.split(' ')[0] if (cache.releaseTime) cache.releaseTime = cache.releaseTime.split(' ')[0]
this.loaded = true this.loaded = true
console.log("🚀 ~ file: index.vue:90 ~ getInfo ~ cache:", this.form, cache)
} else { } else {
this.$post(`${this.api.findArticle}?id=${this.id}`).then(async ({ data }) => { 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() this.$router.back()
} else { } else {
const temId = data.articleTemplate 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) { // / if (temId === 25 || temId === 26) { // /
this.$router.replace((temId === 25 ? '/article/activity' : '/publish/show') + path) this.$router.replace((temId === 25 ? '/article/activity' : '/publish/show') + path)
} else { } else {
@ -126,22 +127,32 @@ export default {
if (temId == 72) this.isPeople = 1 // articleTemplate=72 if (temId == 72) this.isPeople = 1 // articleTemplate=72
data.releaseTime = data.releaseTime.split(' ')[0] data.releaseTime = data.releaseTime.split(' ')[0]
this.form = data 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 this.columnId = data.columnId
// banner // banner
if (!data.bannerImg) { if (!data.bannerImg) {
const columns = await this.$post(this.api.listWithTree, { const columns = await this.$post(this.api.listWithTree, Util.rsa({
siteId: this.site, siteId: this.site,
columnName: '', columnName: '',
templateId: '', templateId: '',
typeId: '', typeId: '',
isSort: 1 isSort: 1
}) }))
this.getBanner(columns.data) this.getBanner(columns.data)
this.form.bannerImg = this.gotBanner ? this.columnBanner || require('@/assets/images/article-banner.png') : '' this.form.bannerImg = this.gotBanner ? this.columnBanner || require('@/assets/images/article-banner.png') : ''
} }
// +1 // +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 this.loaded = true
} }
} }
@ -185,12 +196,15 @@ export default {
} }
} }
.banner { .banner {
display: flex;
align-items: center;
height: 21.6rem; height: 21.6rem;
padding: 14.68rem 0 0 22.1875rem; padding-left: 10%;
font-size: 2.16rem; font-size: 2rem;
font-weight: 600; font-weight: 600;
color: #fff; 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 { .article {
display: flex; display: flex;
@ -209,15 +223,36 @@ export default {
} }
.brief { .brief {
padding-bottom: 1.5rem; padding-bottom: 1.5rem;
margin-bottom: 1rem; margin: 1rem 0;
font-size: 1.2rem; font-size: 1.2rem;
line-height: 1.33; line-height: 1.6;
color: #606060; color: #606060;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
/deep/.des { /deep/.des {
// width: 100%;
// overflow: auto;
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img { img {
max-width: 100%; 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 { .annex {
@ -247,6 +282,7 @@ export default {
} }
} }
} }
@media (max-width: 1420px) { @media (max-width: 1420px) {
.content { .content {
width: 98%; width: 98%;
@ -257,7 +293,7 @@ export default {
/deep/.des { /deep/.des {
img { img {
max-width: 100%; max-width: 100%;
height: 15rem; max-height: 15rem;
} }
} }
} }
@ -280,46 +316,8 @@ export default {
} }
} }
} }
} .right {
width: 100%;
@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

File diff suppressed because it is too large Load Diff

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

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

@ -28,6 +28,7 @@
<script> <script>
import mixins from "@/mixins/page"; import mixins from "@/mixins/page";
import WOW from "wow.js"; import WOW from "wow.js";
import Util from '@/libs/util'
export default { export default {
mixins: [mixins], mixins: [mixins],
data () { data () {
@ -42,23 +43,20 @@ export default {
// //
getInfo () { getInfo () {
// / // /
this.$post( this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}` if (data.length) {
) // state1theEditedJson稿0jsonBeforeEditing
.then(({ data }) => { const json = JSON.parse(
if (data.length) { this.preview
// state1theEditedJson稿0jsonBeforeEditing ? data
const json = JSON.parse( : data[data.length - 1][
this.preview data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
? 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.modules = json; })
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { }); .catch((err) => { });
}, },
}, },
@ -90,12 +88,62 @@ export default {
max-width: 1200px; max-width: 1200px;
margin: 30px 0; margin: 30px 0;
overflow: auto; overflow: auto;
/deep/ img {
width: 100% !important;
height: auto;
}
} }
} }
@media (max-width: 1000px) { @media (max-width: 1200px) {
.history { .tab-content {
width: 90%;
span {
font-size: 1.35rem;
}
}
.block {
padding: 1.25rem 0;
.inner { .inner {
width: 90%; 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> </el-carousel>
<div class="block share"> <div class="block share">
<h6 v-html="modules[1].form.title"></h6> <div class="inner">
<p class="en" <h6 v-html="modules[1].form.title"></h6>
v-html="modules[1].form.des"></p> <p class="en"
<div class="sum">{{ modules[2].form.title }}</div> v-html="modules[1].form.des"></p>
<div class="flex beamBox"> <div class="sum">{{ modules[2].form.title }}</div>
<div class="left"> <div class="flex beamBox">
<div class="des" <div class="left">
v-html="modules[2].form.des"></div> <div class="des"
v-html="modules[2].form.des"></div>
</div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div> </div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<div class="intro-inner"> <div class="inner intro-inner">
<img class="pic" <img class="pic"
:src="modules[3].form.pic" :src="modules[3].form.pic"
alt=""> alt="">
@ -43,7 +45,8 @@
</div> </div>
<div class="unit"> <div class="unit">
<h6>{{ modules[4].form.title }}</h6> <div class="title"
v-html="modules[4].form.title"></div>
<img class="pic" <img class="pic"
:src="modules[4].form.pic" :src="modules[4].form.pic"
alt=""> alt="">
@ -54,6 +57,7 @@
<script> <script>
import mixins from '@/mixins/page' import mixins from '@/mixins/page'
import WOW from 'wow.js' import WOW from 'wow.js'
import Util from '@/libs/util'
export default { export default {
mixins: [mixins], mixins: [mixins],
data () { data () {
@ -88,15 +92,16 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url(../../plugins/wow/animate.css); @import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss'; @import '../../styles/page/page.scss';
$banner-height: 21.6rem;
.wrap { .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 { /deep/ .el-carousel {
height: 12.6rem; height: $banner-height;
.el-carousel__container { .el-carousel__container {
height: 12.6rem; height: $banner-height;
} }
img { img {
height: 12.6rem; height: $banner-height;
} }
} }
} }
@ -144,8 +149,6 @@ export default {
} }
.share { .share {
position: relative; position: relative;
width: 80%;
padding-left: 14%;
.beamBox { .beamBox {
align-items: center; align-items: center;
} }
@ -190,15 +193,13 @@ export default {
} }
} }
.intro { .intro {
width: 80%;
height: 19.65rem; height: 19.65rem;
padding-left: 14%;
margin-bottom: 67px; margin-bottom: 67px;
background-color: #2e4984;
.intro-inner { .intro-inner {
display: flex; display: flex;
align-items: center; align-items: center;
height: 100%; height: 100%;
background-color: #2e4984;
} }
.pic { .pic {
width: 50%; width: 50%;
@ -218,7 +219,7 @@ export default {
width: 986px; width: 986px;
padding-bottom: 60px; padding-bottom: 60px;
margin: 0 auto; margin: 0 auto;
h6 { .title {
padding-left: 0.93rem; padding-left: 0.93rem;
margin-bottom: 0.93rem; margin-bottom: 0.93rem;
font-size: 0.88rem; font-size: 0.88rem;

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

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

File diff suppressed because it is too large Load Diff

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

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

@ -30,7 +30,8 @@
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <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> </div>
<div class="item wow bounceInRight" <div class="item wow bounceInRight"
@ -44,7 +45,8 @@
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <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> </div>
<div class="item wow bounceInLeft" <div class="item wow bounceInLeft"
@ -58,7 +60,8 @@
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ modules[3].form.title }}</h6> <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> </div>
</div> </div>
@ -69,6 +72,7 @@
import mixins from '@/mixins/page' import mixins from '@/mixins/page'
import overview from '@/mixins/estate' import overview from '@/mixins/estate'
import WOW from 'wow.js' import WOW from 'wow.js'
import Util from '@/libs/util'
export default { export default {
mixins: [mixins, overview], mixins: [mixins, overview],
data () { data () {
@ -98,7 +102,7 @@ export default {
padding: 42px; padding: 42px;
margin-bottom: 36px; margin-bottom: 36px;
color: #333; 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; transition: 0.5s;
&:nth-child(even) { &:nth-child(even) {
justify-content: space-between; justify-content: space-between;

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

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

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

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

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

File diff suppressed because it is too large Load Diff

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

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

@ -68,8 +68,8 @@
<script> <script>
import mixins from "@/mixins/page"; import mixins from "@/mixins/page";
import Setting from "@/setting"; import Setting from "@/setting";
import Util from "@/libs/util";
import WOW from "wow.js"; import WOW from "wow.js";
import Util from '@/libs/util'
export default { export default {
mixins: [mixins], mixins: [mixins],
data () { data () {
@ -84,23 +84,20 @@ export default {
// //
getInfo () { getInfo () {
// / // /
this.$post( this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}` if (data.length) {
) // state1theEditedJson稿0jsonBeforeEditing
.then(({ data }) => { const json = JSON.parse(
if (data.length) { this.preview
// state1theEditedJson稿0jsonBeforeEditing ? data
const json = JSON.parse( : data[data.length - 1][
this.preview data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
? 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.modules = json; })
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { }); .catch((err) => { });
}, },
}, },
@ -110,9 +107,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url(../../plugins/wow/animate.css); @import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss'; @import '../../styles/page/page.scss';
.inner {
width: 1200px;
}
.item { .item {
position: relative; position: relative;
margin-bottom: 58px; margin-bottom: 58px;
@ -122,13 +116,14 @@ export default {
} }
.texts { .texts {
position: absolute; position: absolute;
top: 79px; top: 50%;
left: -34px; left: -34px;
width: 532px; width: 532px;
padding: 70px 38px 70px 55px; padding: 70px 38px 70px 55px;
color: #333; color: #333;
background: rgba(255, 241, 231, 0.84); background: rgba(255, 241, 231, 0.84);
transition: 0.5s; transition: 0.5s;
transform: translateY(-50%);
} }
&:nth-child(2) .texts { &:nth-child(2) .texts {
left: auto; left: auto;
@ -189,9 +184,6 @@ export default {
} }
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.inner {
width: 98%;
}
.item { .item {
img { img {
margin-left: 30px; 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> v-html="modules[1].form.des"></p>
</div> </div>
<img class="pic" <img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png" src="https://huorantech.com/images/overviewSetup/1.png"
alt=""> alt="">
</div> </div>
<div class="lg-bg"> <div class="lg-bg">
<img width="100%" <el-image style="width: 100%;"
:src="modules[2].form.pic" :src="modules[2].form.pic"
alt=""> :preview-src-list="[modules[2].form.pic]">
</el-image>
</div> </div>
</div> </div>
</template> </template>
@ -30,6 +31,7 @@
<script> <script>
import mixins from '@/mixins/page' import mixins from '@/mixins/page'
import WOW from 'wow.js' import WOW from 'wow.js'
import Util from '@/libs/util'
export default { export default {
mixins: [mixins], mixins: [mixins],
data () { data () {
@ -44,23 +46,20 @@ export default {
// //
getInfo () { getInfo () {
// / // /
this.$post( this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}` if (data.length) {
) // state1theEditedJson稿0jsonBeforeEditing
.then(({ data }) => { const json = JSON.parse(
if (data.length) { this.preview
// state1theEditedJson稿0jsonBeforeEditing ? data
const json = JSON.parse( : data[data.length - 1][
this.preview data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing"
? 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.modules = json; })
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
}
})
.catch((err) => { }); .catch((err) => { });
}, },
} }
@ -74,7 +73,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
width: 1294px; width: 1200px;
padding: 9px 86px 29px 116px; padding: 9px 86px 29px 116px;
margin: 0 auto 50px; margin: 0 auto 50px;
background: #fcfcfc; background: #fcfcfc;
@ -100,7 +99,7 @@ export default {
} }
} }
.lg-bg { .lg-bg {
width: 65%; width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
@media (max-width: 1300px) { @media (max-width: 1300px) {
@ -123,7 +122,7 @@ export default {
.org { .org {
flex-direction: column; flex-direction: column;
.pic { .pic {
width: 100%; display: none;
} }
.left { .left {
width: 100%; width: 100%;

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

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

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

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

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

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

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

@ -3,8 +3,7 @@
<div class="forms"> <div class="forms">
<div class="item"> <div class="item">
<span class="label">{{$t('column.Publicationtime')}}</span> <span class="label">{{$t('column.Publicationtime')}}</span>
<el-date-picker style="width: 300px" <el-date-picker v-model="form.publicationYear"
v-model="form.publicationYear"
type="year" type="year"
:placeholder="$t('column.pleaseSelectThePublicationTime')" :placeholder="$t('column.pleaseSelectThePublicationTime')"
format="yyyy" format="yyyy"
@ -132,4 +131,18 @@ export default {
cursor: pointer; 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> </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>
@ -59,7 +54,7 @@
align="center" align="center"
min-width="150"></el-table-column> min-width="150"></el-table-column>
<el-table-column prop="applicationDate" <el-table-column prop="applicationDate"
:label="$t('column.ApplicationDate')" :label="$t('column.applicationDate')"
align="center" align="center"
min-width="150"></el-table-column> min-width="150"></el-table-column>
<el-table-column prop="dateOfAuthorization" <el-table-column prop="dateOfAuthorization"
@ -160,4 +155,18 @@ export default {
cursor: pointer; 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> </style>

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

@ -3,30 +3,31 @@
<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 v-model="form.publicationYear"
style="width: 300px" type="year"
v-model="form.publicationYear" :placeholder="$t('column.pleaseSelectThePublicationTime')"
type="year" format="yyyy"
:placeholder="$t('column.pleaseSelectThePublicationTime')" value-format="yyyy"
format="yyyy" clearable
value-format="yyyy" @change="initData">
clearable
@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 +37,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 +52,7 @@ export default {
} }
}, },
watch: { watch: {
id() { id () {
this.id && this.initData() this.id && this.initData()
}, },
'form.paperQueryKeyWord': function (val) { 'form.paperQueryKeyWord': function (val) {
@ -61,7 +62,7 @@ export default {
}, 500); }, 500);
} }
}, },
mounted() { mounted () {
this.initData() this.initData()
}, },
methods: { methods: {
@ -89,22 +90,36 @@ 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;
} }
}
@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> </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>

File diff suppressed because it is too large Load Diff

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

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

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

File diff suppressed because it is too large Load Diff

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

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

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

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

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

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

Loading…
Cancel
Save