yujialong 1 year ago
parent dc26567cad
commit 53a419fe96
  1. 1
      src/layouts/footer/index.vue
  2. 9
      src/pages/column/index.vue
  3. 4
      src/pages/estate/index/index.vue
  4. 17
      src/pages/iasf/index.vue
  5. 4
      src/pages/lightSources/index.vue
  6. 7
      src/pages/org/index.vue

@ -161,7 +161,6 @@ export default {
typeId: '', typeId: '',
isSort: 1 isSort: 1
}).then(({ data }) => { }).then(({ data }) => {
this.columns = data.slice(0, 5) this.columns = data.slice(0, 5)
}).catch(err => { }) }).catch(err => { })
}, },

@ -410,7 +410,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="right"> <!-- 选择了列表样式不用显示右侧部分 -->
<div v-if="info.listStyleId !== 73"
class="right">
<p class="l-title">{{ $t('column.hot') }}</p> <p class="l-title">{{ $t('column.hot') }}</p>
<ul class="list"> <ul class="list">
<li v-for="(item, i) in hots" <li v-for="(item, i) in hots"
@ -467,7 +469,7 @@ export default {
sameStyle: 1, sameStyle: 1,
allColumnId: [], allColumnId: [],
showNav: false, showNav: false,
showNavIds: [10, 11, 12, 16, 55, 68], // id showNavIds: [10, 11, 12, 16, 55, 68, 73], // id
isFilter: false, isFilter: false,
page: 1, page: 1,
pageSize: 10, pageSize: 10,
@ -774,9 +776,8 @@ export default {
}) })
this.articles = articles this.articles = articles
this.total = +data.total; this.total = +data.total;
//
// this.total == 1 && this.info.showWithDetails && this.$router.push(`/article?articleId=${this.articles[0].id}&id=${this.articles[0].columnId}`) // this.total == 1 && this.info.showWithDetails && this.$router.push(`/article?articleId=${this.articles[0].id}&id=${this.articles[0].columnId}`)
if (this.total == 1) { if (this.total) {
this.$post(`${this.api.findArticle}?id=${articles[0].id}`).then(async ({ data }) => { this.$post(`${this.api.findArticle}?id=${articles[0].id}`).then(async ({ data }) => {
this.article = data this.article = data
console.log("🚀 ~ file: index.vue:778 ~ .then ~ this.article:", this.article) console.log("🚀 ~ file: index.vue:778 ~ .then ~ this.article:", this.article)

@ -332,11 +332,11 @@ 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;
} }
} }
.title { .title {

@ -1,7 +1,6 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<el-carousel class="carousel" <el-carousel class="carousel"
:style="{height}"
:interval="6000" :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'">
@ -422,10 +421,10 @@ export default {
.carousel { .carousel {
height: 100vh; height: 100vh;
img { img {
height: 100%; height: 100vh;
} }
/deep/.el-carousel__container { /deep/.el-carousel__container {
height: 100%; height: 100vh;
} }
.texts { .texts {
position: absolute; position: absolute;
@ -466,8 +465,7 @@ export default {
} }
} }
.inner { .inner {
width: 1444px; width: 1200px;
// min-width: 70%;
} }
.card { .card {
display: flex; display: flex;
@ -476,7 +474,7 @@ export default {
li { li {
position: relative; position: relative;
width: calc((100% - 64px) / 2); width: calc((100% - 64px) / 2);
height: 488px; height: 402px;
transition: 0.3s; transition: 0.3s;
overflow: hidden; overflow: hidden;
&:hover { &:hover {
@ -517,7 +515,7 @@ export default {
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 0 128px; padding: 0 60px;
text-align: center; text-align: center;
color: #fff; color: #fff;
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
@ -849,6 +847,7 @@ export default {
} }
.text { .text {
font-size: 1rem; font-size: 1rem;
text-align: justify;
line-height: 1.6; line-height: 1.6;
color: #333; color: #333;
} }
@ -918,8 +917,8 @@ export default {
position: absolute; position: absolute;
top: -60px; top: -60px;
right: 0; right: 0;
width: 744px; width: 632px;
height: 657px; height: 558px;
} }
} }
.tools { .tools {

@ -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>
@ -84,7 +84,7 @@
<th>波长范围/nm</th> <th>波长范围/nm</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>

@ -20,9 +20,10 @@
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>
@ -100,7 +101,7 @@ export default {
} }
} }
.lg-bg { .lg-bg {
width: 65%; width: 50%;
margin: 0 auto; margin: 0 auto;
} }
@media (max-width: 1300px) { @media (max-width: 1300px) {

Loading…
Cancel
Save