Compare commits

..

No commits in common. 'master' and 'V1.0.2' have entirely different histories.

  1. 80
      src/const/modules.js
  2. 2
      src/pages/article/add/editor.js
  3. 13
      src/pages/article/add/index.vue
  4. 178
      src/pages/article/list/index.vue
  5. 12
      src/pages/column/page/application.vue
  6. 4
      src/pages/column/page/contactUs.vue
  7. 4
      src/pages/column/page/governance.vue
  8. 2
      src/store/modules/user.js

@ -44,7 +44,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/about/1.png',
pic: 'https://new.iasf.ac.cn/images/about/1.png',
title: 'ABOUT',
link: {
linkName: '无',
@ -93,7 +93,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/2.png',
pic: 'https://new.iasf.ac.cn/images/about/2.png',
title: 'Our History',
subTitle: 'Throughout the world, most of the top science and technology innovation centers are distributed',
link: {
@ -447,7 +447,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/5.png',
pic: 'https://new.iasf.ac.cn/images/about/5.png',
title: 'Strategic Plan',
link: {
linkName: '无',
@ -534,7 +534,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/about/6.png',
pic: 'https://new.iasf.ac.cn/images/about/6.png',
title: 'Sun Dongbai',
subTitle: 'Founder and 1st PRESIDENT OF THE INSTITUTE OF ADVANCED SCIENCE FACILITIES, SHENZHEN',
link: {
@ -552,7 +552,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/about/7.png',
pic: 'https://new.iasf.ac.cn/images/about/7.png',
title: 'Yang Xueming',
subTitle: 'Vice President of the Institute of Advanced Scienc, Shenzhen',
link: {
@ -570,7 +570,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/about/8.png',
pic: 'https://new.iasf.ac.cn/images/about/8.png',
title: 'Ulf KALSSON',
subTitle: 'The Chairman of Science and Technology Advisory Committee',
link: {
@ -636,7 +636,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/9.png',
pic: 'https://new.iasf.ac.cn/images/about/9.png',
title: 'Science and Technology',
subTitle: '',
link: {
@ -680,7 +680,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/10.png',
pic: 'https://new.iasf.ac.cn/images/about/10.png',
title: 'User Committee',
subTitle: '',
link: {
@ -724,7 +724,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/11.png',
pic: 'https://new.iasf.ac.cn/images/about/11.png',
title: 'Industry Advancement Committee',
subTitle: '',
link: {
@ -788,7 +788,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/12.png',
pic: 'https://new.iasf.ac.cn/images/about/12.png',
title: 'Throughout the world, most of the top science and technology innovation centers are distributed',
subTitle: '',
link: {
@ -847,7 +847,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/about/1.png',
pic: 'https://new.iasf.ac.cn/images/about/1.png',
title: 'ABOUT',
link: {
linkName: '无',
@ -896,7 +896,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/2.png',
pic: 'https://new.iasf.ac.cn/images/about/2.png',
title: 'Our History',
subTitle: 'Throughout the world, most of the top science and technology innovation centers are distributed',
link: {
@ -1250,7 +1250,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/5.png',
pic: 'https://new.iasf.ac.cn/images/about/5.png',
title: 'Strategic Plan',
link: {
linkName: '无',
@ -1337,7 +1337,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/about/6.png',
pic: 'https://new.iasf.ac.cn/images/about/6.png',
title: 'Sun Dongbai',
subTitle: 'Founder and 1st PRESIDENT OF THE INSTITUTE OF ADVANCED SCIENCE FACILITIES, SHENZHEN',
link: {
@ -1355,7 +1355,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/about/7.png',
pic: 'https://new.iasf.ac.cn/images/about/7.png',
title: 'Yang Xueming',
subTitle: 'Vice President of the Institute of Advanced Scienc, Shenzhen',
link: {
@ -1373,7 +1373,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/about/8.png',
pic: 'https://new.iasf.ac.cn/images/about/8.png',
title: 'Ulf KALSSON',
subTitle: 'The Chairman of Science and Technology Advisory Committee',
link: {
@ -1439,7 +1439,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/9.png',
pic: 'https://new.iasf.ac.cn/images/about/9.png',
title: 'Science and Technology',
subTitle: '',
link: {
@ -1483,7 +1483,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/10.png',
pic: 'https://new.iasf.ac.cn/images/about/10.png',
title: 'User Committee',
subTitle: '',
link: {
@ -1527,7 +1527,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/11.png',
pic: 'https://new.iasf.ac.cn/images/about/11.png',
title: 'Industry Advancement Committee',
subTitle: '',
link: {
@ -1591,7 +1591,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/about/12.png',
pic: 'https://new.iasf.ac.cn/images/about/12.png',
title: 'Throughout the world, most of the top science and technology innovation centers are distributed',
subTitle: '',
link: {
@ -1650,7 +1650,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/careers/1.png',
pic: 'https://new.iasf.ac.cn/images/careers/1.png',
title: 'CAREERS',
link: {
linkName: '无',
@ -1694,7 +1694,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/careers/2.png',
pic: 'https://new.iasf.ac.cn/images/careers/2.png',
title: 'Research',
link: {
linkName: '无',
@ -1737,7 +1737,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/careers/3.png',
pic: 'https://new.iasf.ac.cn/images/careers/3.png',
title: 'Engineering',
link: {
linkName: '无',
@ -1780,7 +1780,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/careers/4.png',
pic: 'https://new.iasf.ac.cn/images/careers/4.png',
title: 'Management Staff',
link: {
linkName: '无',
@ -1823,7 +1823,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/careers/5.png',
pic: 'https://new.iasf.ac.cn/images/careers/5.png',
title: 'Post-doc Programs',
link: {
linkName: '无',
@ -1903,7 +1903,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/careers/6.png',
pic: 'https://new.iasf.ac.cn/images/careers/6.png',
title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.',
link: {
linkName: '无',
@ -1920,7 +1920,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/careers/7.png',
pic: 'https://new.iasf.ac.cn/images/careers/7.png',
title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.',
link: {
linkName: '无',
@ -1937,7 +1937,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/careers/8.png',
pic: 'https://new.iasf.ac.cn/images/careers/8.png',
title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.',
link: {
linkName: '无',
@ -2005,7 +2005,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/careers/9.png',
pic: 'https://new.iasf.ac.cn/images/careers/9.png',
title: 'Benefits',
subTitle: 'YOU ARE IN GOOD HANDS',
link: {
@ -2023,7 +2023,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/careers/10.png',
pic: 'https://new.iasf.ac.cn/images/careers/10.png',
title: 'Traineeships',
subTitle: 'YOUR FUTURE STARTS HERE',
link: {
@ -2041,7 +2041,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/careers/11.png',
pic: 'https://new.iasf.ac.cn/images/careers/11.png',
title: 'Programs',
subTitle: 'YOUR INSPIRATION HAS GREAT SUPPORTS',
link: {
@ -2102,7 +2102,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/edu/1.png',
pic: 'https://new.iasf.ac.cn/images/edu/1.png',
title: 'EDUCATION & COLLABORATION',
link: {
linkName: '无',
@ -2146,7 +2146,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/edu/2.png',
pic: 'https://new.iasf.ac.cn/images/edu/2.png',
title: 'Partnership',
link: {
linkName: '无',
@ -2189,7 +2189,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/edu/2.png',
pic: 'https://new.iasf.ac.cn/images/edu/2.png',
title: 'Programs',
link: {
linkName: '无',
@ -2277,7 +2277,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/edu/3.png',
pic: 'https://new.iasf.ac.cn/images/edu/3.png',
title: 'community service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: {
@ -2295,7 +2295,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/edu/4.png',
pic: 'https://new.iasf.ac.cn/images/edu/4.png',
title: 'community service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: {
@ -2313,7 +2313,7 @@ export default {
isEnable: 1
},
{
pic: 'https://www.iasf.ac.cn/images/edu/5.png',
pic: 'https://new.iasf.ac.cn/images/edu/5.png',
title: 'community service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: {
@ -2374,7 +2374,7 @@ export default {
},
list: [
{
pic: 'https://www.iasf.ac.cn/images/home/1.png',
pic: 'https://new.iasf.ac.cn/images/home/1.png',
title: 'HOME',
link: {
linkName: '无',
@ -2438,7 +2438,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/home/2.png',
pic: 'https://new.iasf.ac.cn/images/home/2.png',
title: 'Shenzhen Innovation Lightsource Facility',
link: {
linkName: '无',
@ -2481,7 +2481,7 @@ export default {
}
],
form: {
pic: 'https://www.iasf.ac.cn/images/home/3.png',
pic: 'https://new.iasf.ac.cn/images/home/3.png',
title: 'Shenzhen Soft X-ray Superconducting Free-electron Laser Facility ',
link: {
linkName: '无',

@ -309,7 +309,7 @@ export default {
title: '人物详情', description: '', content: `
<div class="tiny-wrap">
<div class="people">
<img class="pic" src="https://www.iasf.ac.cn/images/team/5.png"/>
<img class="pic" src="https://new.iasf.ac.cn/images/team/5.png"/>
<div class="texts">
<h6>谢明远 XIE Mingyuan</h6>
<div class="text">

@ -532,9 +532,9 @@ export default {
classificationId: [
{ required: false, message: '请选择所属分类', trigger: 'change' }
],
// eventProfile: [
// { required: true, message: '', trigger: 'blur' }
// ],
eventProfile: [
{ required: true, message: '请输入活动简介', trigger: 'blur' }
],
releaseTime: [
{ required: true, message: '请选择发布日期', trigger: 'change' }
],
@ -1313,12 +1313,7 @@ export default {
this.$post(this.api.updateArticle, form).then(res => {
this.updateFile(fileId, form, form.id)
Util.successMsg('修改成功')
if (next) {
next()
} else {
// last
form.columnId != this.originColumnId ? this.$router.push(`list?columnId=${form.columnId}&last=1`) : this.$router.back()
}
next ? next() : this.$router.push(`list?columnId=` + form.columnId + (form.columnId != this.originColumnId ? '&last=1' : '')) // last
}).catch(err => {
this.submiting = false
})

@ -3,99 +3,188 @@
<div style="width: 218px;border-right: 1px solid #EBEDF0">
<p class="page-name mb">全部栏目</p>
<div style="height: calc(100vh - 190px);overflow: auto">
<el-tree ref="column" :data="columns" highlight-current :expand-on-click-node="false" default-expand-all
:props="defaultProps" node-key="id" @node-click="initData">
<span class="custom-tree-node" slot-scope="{ node, data }">
<span class="org-name" :title="node.label">{{ node.label }}</span>
<el-tree ref="column"
:data="columns"
highlight-current
:expand-on-click-node="false"
default-expand-all
:props="defaultProps"
node-key="id"
@node-click="initData">
<span class="custom-tree-node"
slot-scope="{ node, data }">
<span class="org-name"
:title="node.label">{{ node.label }}</span>
</span>
</el-tree>
</div>
</div>
<div class="p-l-20" style="width: calc(100% - 219px);">
<div class="p-l-20"
style="width: calc(100% - 219px);">
<div class="tool">
<div class="search-wrap">
<el-select v-model="field" @change="initData">
<el-option v-for="(item, i) in keywords" :key="i" :label="item.name" :value="item.id">
<el-select v-model="field"
@change="initData">
<el-option v-for="(item, i) in keywords"
:key="i"
:label="item.name"
:value="item.id">
</el-option>
</el-select>
<el-input class="keyword" :placeholder="'请输入' + keywords.find(e => e.id === field).name"
v-model.trim="keyword" clearable></el-input>
<el-input class="keyword"
:placeholder="'请输入' + keywords.find(e => e.id === field).name"
v-model.trim="keyword"
clearable></el-input>
</div>
<div class="actions">
<el-dropdown class="setting" trigger="click" :hide-on-click="false">
<img class="icon" src="@/assets/images/setting.png" alt="">
<el-dropdown class="setting"
trigger="click"
:hide-on-click="false">
<img class="icon"
src="@/assets/images/setting.png"
alt="">
<el-dropdown-menu>
<el-dropdown-item>
<el-button @click="resetColumns" type="text">列重置</el-button>
<el-button @click="resetColumns"
type="text">列重置</el-button>
</el-dropdown-item>
<el-dropdown-item v-for="(column, i) in settings" :key="i" :divided="i === 0">
<el-dropdown-item v-for="(column, i) in settings"
:key="i"
:divided="i === 0">
<el-checkbox v-model="column.show">{{ column.name }}</el-checkbox>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:新增'" type="primary" @click="add">新增</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:删除'" @click="batchDel">删除</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:新增'"
type="primary"
@click="add">新增</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:删除'"
@click="batchDel">删除</el-button>
</div>
</div>
<el-table :data="list" class="table" ref="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id" @sort-change="sortChange">
<el-table-column v-if="settings[0].show" type="selection" width="55" align="center"
<el-table :data="list"
class="table"
ref="table"
header-align="center"
@selection-change="handleSelectionChange"
row-key="id"
@sort-change="sortChange">
<el-table-column v-if="settings[0].show"
type="selection"
width="55"
align="center"
:reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
<el-table-column type="index"
width="60"
label="序号"
align="center">
<template scope="scope">
<span>{{(page - 1) * pageSize + scope.$index + 1}}</span>
</template>
</el-table-column>
<el-table-column v-if="settings[1].show" show-overflow-tooltip prop="title" label="标题" align="center"
<el-table-column v-if="settings[1].show"
show-overflow-tooltip
prop="title"
label="标题"
align="center"
min-width="150"></el-table-column>
<el-table-column v-if="settings[2].show" prop="columnName" label="栏目" align="center"
<el-table-column v-if="settings[2].show"
prop="columnName"
label="栏目"
align="center"
min-width="120"></el-table-column>
<el-table-column v-if="settings[3].show" prop="classificationName" label="所属分类" align="center"
<el-table-column v-if="settings[3].show"
prop="classificationName"
label="所属分类"
align="center"
min-width="120"></el-table-column>
<el-table-column v-if="settings[4].show" prop="typeId" label="栏目类型" align="center" min-width="100">
<el-table-column v-if="settings[4].show"
prop="typeId"
label="栏目类型"
align="center"
min-width="100">
<template slot-scope="scope">
{{ types.find(e => e.id === scope.row.typeId).name }}
</template>
</el-table-column>
<el-table-column v-if="settings[5].show" prop="founderName" label="录入人" align="center"
<el-table-column v-if="settings[5].show"
prop="founderName"
label="录入人"
align="center"
min-width="80"></el-table-column>
<el-table-column v-if="settings[6].show" prop="editorName" label="修改人" align="center"
<el-table-column v-if="settings[6].show"
prop="editorName"
label="修改人"
align="center"
min-width="80"></el-table-column>
<el-table-column v-if="settings[7].show" prop="updateTime" label="修改日期" align="center" min-width="150"
<el-table-column v-if="settings[7].show"
prop="updateTime"
label="修改日期"
align="center"
min-width="150"
sortable="custom"></el-table-column>
<el-table-column v-if="settings[8].show" prop="releaseTime" label="发布日期" align="center" min-width="100"
<el-table-column v-if="settings[8].show"
prop="releaseTime"
label="发布日期"
align="center"
min-width="100"
sortable="custom"></el-table-column>
<el-table-column v-if="settings[9].show" prop="totalBrowsing" label="总浏览" align="center"
<el-table-column v-if="settings[9].show"
prop="totalBrowsing"
label="总浏览"
align="center"
min-width="70"></el-table-column>
<el-table-column v-if="settings[10].show" prop="workNumber" label="状态" align="center" min-width="80">
<el-table-column v-if="settings[10].show"
prop="workNumber"
label="状态"
align="center"
min-width="80">
<template slot-scope="scope">
{{ scope.row.isRelease ? '已发布' : '草稿' }}
</template>
</el-table-column>
<el-table-column v-auth="'/site/list:' + siteName + ':内容管理:文章管理:置顶'" prop="sequence" label="置顶" align="center"
min-width="80" sortable="custom">
<el-table-column v-auth="'/site/list:' + siteName + ':内容管理:文章管理:置顶'"
prop="sequence"
label="置顶"
align="center"
min-width="80"
sortable="custom">
<template slot-scope="scope">
<i v-if="scope.row.isRelease" :class="['squ-icon', scope.row.isTop ? 'el-icon-check' : 'el-icon-close']"
<i v-if="scope.row.isRelease"
:class="['squ-icon', scope.row.isTop ? 'el-icon-check' : 'el-icon-close']"
@click="sticky(scope.row)"></i>
</template>
</el-table-column>
<el-table-column v-if="settings[11].show" label="操作" align="center" width="190">
<el-table-column v-if="settings[11].show"
label="操作"
align="center"
width="190">
<template slot-scope="scope">
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:预览'" type="text"
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:预览'"
type="text"
@click="preview(scope.row)">预览</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:编辑'" type="text"
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:编辑'"
type="text"
@click="edit(scope.row)">编辑</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:删除'" type="text"
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:删除'"
type="text"
@click="handleDelete(scope.row)">删除</el-button>
<el-switch v-if="scope.row.isRelease" v-auth="'/site/list:' + siteName + ':内容管理:文章管理:禁用'" class="m-l-10"
v-model="scope.row.isDisable" :active-value="0" :inactive-value="1"
<el-switch v-if="scope.row.isRelease"
v-auth="'/site/list:' + siteName + ':内容管理:文章管理:禁用'"
class="m-l-10"
v-model="scope.row.isDisable"
:active-value="0"
:inactive-value="1"
@change="switchOff($event, scope.row, scope.$index)">
</el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background @current-change="currentChange" :current-page="page" layout="total, prev, pager, next"
<el-pagination background
@current-change="currentChange"
:current-page="page"
layout="total, prev, pager, next"
:total="total"></el-pagination>
</div>
</div>
@ -137,9 +226,9 @@ export default {
name: '修改人'
}
],
keyword: this.$route.query.keyword || '',
keyword: '',
list: [],
page: +this.$route.query.page || 1,
page: 1,
pageSize: 10,
total: 0,
modifiedTimeSort: '',
@ -247,7 +336,7 @@ export default {
//
getData () {
const id = this.$refs.column.getCurrentKey()
this.$router.push(`/article?columnId=${id}&page=${this.page}&keyword=${this.keyword || ''}`).catch(e => { })
this.$router.push(`/article?columnId=${id}`).catch(e => { })
const keyword = encodeURI(this.keyword)
const data = {
siteId: this.$store.state.content.site.id,
@ -408,7 +497,6 @@ export default {
display: inline-flex;
align-items: center;
}
.name {
display: inline-block;
max-width: 160px;
@ -416,21 +504,17 @@ export default {
overflow: hidden;
text-overflow: ellipsis;
}
.squ-icon {
font-size: 16px;
font-weight: 600;
cursor: pointer;
color: #f70000;
&.el-icon-check {
color: #05991e;
}
}
/deep/.squ-input {
width: auto;
.el-input__inner {
width: 60px;
padding: 0 10px;

@ -82,7 +82,7 @@
</div>
<ul class="news">
<li>
<img src="https://www.iasf.ac.cn/images/home/3.png" alt="">
<img src="https://new.iasf.ac.cn/images/home/3.png" alt="">
<div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6>
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,
@ -92,7 +92,7 @@
</div>
</li>
<li>
<img src="https://www.iasf.ac.cn/images/home/3.png" alt="">
<img src="https://new.iasf.ac.cn/images/home/3.png" alt="">
<div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6>
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,
@ -102,7 +102,7 @@
</div>
</li>
<li>
<img src="https://www.iasf.ac.cn/images/home/3.png" alt="">
<img src="https://new.iasf.ac.cn/images/home/3.png" alt="">
<div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6>
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,
@ -112,7 +112,7 @@
</div>
</li>
<li>
<img src="https://www.iasf.ac.cn/images/home/3.png" alt="">
<img src="https://new.iasf.ac.cn/images/home/3.png" alt="">
<div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6>
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,
@ -122,7 +122,7 @@
</div>
</li>
<li>
<img src="https://www.iasf.ac.cn/images/home/3.png" alt="">
<img src="https://new.iasf.ac.cn/images/home/3.png" alt="">
<div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6>
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,
@ -132,7 +132,7 @@
</div>
</li>
<li>
<img src="https://www.iasf.ac.cn/images/home/3.png" alt="">
<img src="https://new.iasf.ac.cn/images/home/3.png" alt="">
<div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6>
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,

@ -91,8 +91,8 @@ export default {
.block {
padding: 2rem 0;
background: url(https://www.iasf.ac.cn/images/contactUs/3.png) 0 130px no-repeat,
url(https://www.iasf.ac.cn/images/contactUs/4.png) bottom right no-repeat;
background: url(https://new.iasf.ac.cn/images/contactUs/3.png) 0 130px no-repeat,
url(https://new.iasf.ac.cn/images/contactUs/4.png) bottom right no-repeat;
background-color: #f7f8fa;
}

@ -34,10 +34,10 @@
</div>
</div>
<div class="c-wrap">
<div class="cards">
<ul>
<li v-for="(item, i) in modules[2].list" :key="i">{{ item.title }}</li>
<div class="cover" @click="toSet(2)">点击配置文本</div>
</ul>
</div>
@ -50,8 +50,6 @@
<img class="pic" :src="modules[2].list[curYear].list[0].pic" alt="">
</div>
</div>
<div class="cover" @click="toSet(2)">点击配置文本</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />

@ -8,7 +8,7 @@ import addRoutes from '@/libs/route/addRoutes'
export default {
namespaced: true,
state: {
avatar: 'https://www.iasf.ac.cn/images/avatar.png',
avatar: 'https://new.iasf.ac.cn/images/avatar.png',
userId: '',
userName: '',
crumbs: ''

Loading…
Cancel
Save