网站安全渗透修复

master
yujialong 1 year ago
parent 55d0ef569d
commit b04a38c327
  1. 2
      src/api/index.js
  2. BIN
      src/assets/images/person/avatar.png
  3. 422
      src/const/modules.js
  4. 27
      src/layouts/navbar/index.vue
  5. 2
      src/main.js
  6. 5
      src/pages/account/login/index.vue
  7. 6
      src/pages/annex/list/index.vue
  8. 9
      src/pages/article/add/editor.js
  9. 2
      src/pages/article/add/index.vue
  10. 2
      src/pages/article/list/index.vue
  11. 8
      src/pages/column/add/index.vue
  12. 4
      src/pages/column/list/index.vue
  13. 344
      src/pages/column/page/application.vue
  14. 4
      src/pages/column/page/contactUs.vue
  15. 4
      src/pages/column/page/deviceIntroBeam.vue
  16. 6
      src/pages/column/page/deviceIntroLayout.vue
  17. 2
      src/pages/column/page/deviceIntroLinear.vue
  18. 268
      src/pages/column/page/estate/event/index.vue
  19. 729
      src/pages/column/page/estate/index/index.vue
  20. 2
      src/pages/column/page/estate/location/index.vue
  21. 179
      src/pages/column/page/estate/orgSetup/index.vue
  22. 169
      src/pages/column/page/estate/survey/index.vue
  23. 14
      src/pages/column/page/governance.vue
  24. 12
      src/pages/column/page/home.vue
  25. 22
      src/pages/column/page/iasf.vue
  26. 12
      src/pages/column/page/industrial.vue
  27. 30
      src/pages/column/page/news.vue
  28. 108
      src/pages/column/page/org.vue
  29. 2
      src/pages/column/page/overview.vue
  30. 6
      src/pages/column/page/overviewDevHistory.vue
  31. 4
      src/pages/column/page/overviewIntro.vue
  32. 2
      src/pages/column/page/overviewSetup.vue
  33. 8
      src/pages/column/page/researchTeam.vue
  34. 26
      src/pages/column/page/sfel.vue
  35. 18
      src/pages/column/page/sfelNew.vue
  36. 2
      src/pages/column/page/speech.vue
  37. 6
      src/pages/role/list/index.vue
  38. 19
      src/pages/setting/list/index.vue
  39. 6
      src/pages/setting/list/info.vue
  40. 7
      src/pages/user/list/index.vue
  41. 6
      src/pages/userGroup/list/index.vue
  42. 1
      src/plugins/requests/index.js
  43. 4
      src/setting.js
  44. 2
      src/store/modules/user.js

@ -21,7 +21,7 @@ export default {
sendPhoneOrEmailCode: `iasf/sys/sendPhoneOrEmailCode`,
updatePhoneOrEmail: `iasf/sys/updatePhoneOrEmail`,
updateUserAvatars: `${host}iasf/sys/updateUserAvatars`,
staffTemplate: `http://10.10.11.7/用户导入模板.xlsx`,
staffTemplate: `https://new.iasf.ac.cn/用户导入模板.xlsx`,
checkJobNumber: `iasf/sys/checkJobNumber`,
checkUsername: `iasf/sys/checkUsername`,
resetPwd: `iasf/sys/resetPwd`,

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

File diff suppressed because it is too large Load Diff

@ -166,14 +166,6 @@ export default {
index: '/site/list',
icon: 'site-active'
},
{
index: 'user',
icon: 'user'
},
{
index: '/annex/list',
icon: 'annex'
}
],
sites: [
{
@ -244,9 +236,26 @@ export default {
// store
if (Setting.dynamicRoute) {
const { btns } = this
//
if (btns.includes('/user/list') || btns.includes('/role/list') || btns.includes('/userGroup/list')) {
//
this.colNav.push({
index: 'user',
icon: 'user'
})
}
if (btns.includes('/annex/list')) {
//
this.colNav.push({
index: '/annex/list',
icon: 'annex'
})
}
const menus = []
this.defaultMenus.map(e => {
if (btns.find(n => n.includes(e.index) || n === e.title)) {
if (btns.find(n => n.includes(e.index) || n === e.title || (e.index === 'user' && (n.includes('/user') || n.includes('/role') || n.includes('/userGroup'))))) {
//
if (e.subs && e.subs.length) {
const children = []

@ -14,7 +14,7 @@ import store from "@/store";
import Setting from "@/setting";
import permission from "@/router/permission";
// eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(a) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('2 i=\'\',3=["e",""];(4(a){a[3[0]]=3[1]})(8);2 9=["g"];!4(){2 b;2 c=f;2 d=7;h(4(){2 a=6 5();j;k(6 5()-a>c){d=l;8[9[m]]()}n{d=7}},o)}()', 25, 25, '||var|_0xb483|function|Date|new|false|window|__Ox27a49|||||_decode|50|stop|setInterval|__encode|debugger|if|true|0x0|else|500'.split('|'), 0, {}))
eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(a) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('2 i=\'\',3=["e",""];(4(a){a[3[0]]=3[1]})(8);2 9=["g"];!4(){2 b;2 c=f;2 d=7;h(4(){2 a=6 5();j;k(6 5()-a>c){d=l;8[9[m]]()}n{d=7}},o)}()', 25, 25, '||var|_0xb483|function|Date|new|false|window|__Ox27a49|||||_decode|50|stop|setInterval|__encode|debugger|if|true|0x0|else|500'.split('|'), 0, {}))
// 插件
import plugins from "@/plugins";

@ -90,12 +90,13 @@ export default {
submit () {
this.$post(this.api.logins, Util.rsa(this.loginForm)).then(({ data }) => {
Util.local.set(Setting.tokenKey, data.accessToken, Setting.tokenExpires)
addRoutes(data.permissionList[0].children)
const per = data.permissionList[0].children
addRoutes(per)
Util.successMsg('登录成功')
this.setUserId(data.id || 1)
this.setUserName(data.username)
this.setAvatar(data.userAvatars)
this.$router.push('/site')
this.$router.push(!per.find(e => e.url === '/site/list') ? (per[0].url || per[0].children[0].url) : '/site')
}).catch(res => {
this.getVerImg()
this.loginForm.captcha = ''

@ -205,9 +205,9 @@ export default {
this.$post(this.api.listByPage, {
page: this.page,
limit: this.pageSize,
quote: this.field === 'quote' ? this.keyword : '',
fileName: this.field === 'fileName' ? this.keyword : '',
uploader: this.field === 'uploader' ? this.keyword : '',
quote: this.field === 'quote' ? encodeURI(this.keyword) : '',
fileName: this.field === 'fileName' ? encodeURI(this.keyword) : '',
uploader: this.field === 'uploader' ? encodeURI(this.keyword) : '',
site: form.site,
type: form.type === '不限' ? '' : form.type
}).then(({ data }) => {

@ -302,7 +302,7 @@ export default {
{ title: '人物详情', description: '', content: `
<div class="tiny-wrap">
<div class="people">
<img class="pic" src="http://10.10.11.7/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">
@ -434,7 +434,12 @@ export default {
token: Util.local.get(Setting.tokenKey)
},
}).then(({ data }) => {
callback(data.url)
callback(data.url)
// if (data.code === 200) {
// callback(data.url)
// } else {
// Util.errorMsg(data.msg)
// }
}).catch(res => {})
}
//触发点击

@ -1370,7 +1370,7 @@ export default {
if (title && title !== this.originalName) {
this.$post(this.api.checkIfTheTitleIsRepeat, Util.rsa({
siteId: this.site.id,
title,
title: encodeURI(title),
id: id || ''
})).then(res => {
this.repeatMsg = ''

@ -337,7 +337,7 @@ export default {
getData () {
const id = this.$refs.column.getCurrentKey()
this.$router.push(`/article?columnId=${id}`).catch(e => { })
const { keyword } = this
const keyword = encodeURI(this.keyword)
const data = {
siteId: this.$store.state.content.site.id,
columnIds: [id],

@ -553,13 +553,13 @@ export default {
},
//
getOtherColumn (val) {
this.form.siteSelection && this.$post(this.api.listWithTree, {
this.form.siteSelection && this.$post(this.api.listWithTree, Util.rsa({
siteId: this.form.siteSelection,
columnName: '',
templateId: '',
typeId: '',
isSort: 1
}).then(({ data }) => {
})).then(({ data }) => {
if (val) {
this.otherArticles = []
this.otherArticle = ''
@ -577,10 +577,10 @@ export default {
const data = {
fatherId: fatherId.length ? fatherId[0] : 0,
siteId: this.site.id,
columnName,
columnName: encodeURI(columnName),
}
if (id) data.id = +id
this.$post(this.api.sameLevelJudgment, data).then(res => {
this.$post(this.api.sameLevelJudgment, Util.rsa(data)).then(res => {
this.nameRepeat = false
}).catch(res => {
this.nameRepeat = true

@ -313,7 +313,7 @@ export default {
getData () {
this.$post(this.api.listWithTree, Util.rsa({
siteId: this.siteId,
columnName: this.keyword,
columnName: encodeURI(this.keyword),
templateId: '',
typeId: '',
isSort: 1
@ -441,7 +441,7 @@ export default {
sortSubmit () {
const result = []
this.sortList(this.sortColumns, result)
this.$post(this.api.sortByColumn, Util.rsa(result)).then(({ data }) => {
this.$post(this.api.sortByColumn, result).then(({ data }) => {
Util.successMsg('修改成功')
this.sortVisible = false
this.getData()

@ -3,25 +3,33 @@
<div class="actions">
<p class="page-name">页面设置/APPLICATION</p>
<div>
<el-button type="primary" @click="preview">预览</el-button>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt="">
<el-carousel-item v-if="item.pic && item.isEnable"
:key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item>
</template>
</el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block history gray">
<div class="inner c-wrap">
<h2 style="margin-left: 57px">{{ modules[1].form.title }}</h2>
@ -31,25 +39,38 @@
<div class="line"></div>
<div class="des">{{ modules[1].form.des }}</div>
</div>
<img class="bg" width="562" height="506" :src="modules[1].form.pic" alt="">
<img class="bg"
width="562"
height="506"
:src="modules[1].form.pic"
alt="">
</div>
<div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
<div class="cover"
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div>
</div>
<div class="block">
<div class="inner" style="width: 1558px">
<div class="inner"
style="width: 1558px">
<div class="c-wrap">
<h2 class="b-title">{{ modules[2].form.title }}</h2>
<p class="intro">{{ modules[2].form.des }}</p>
<div class="cover" @click="toSet(2)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(2)">点击更换标题与描述</div>
</div>
<ul class="app">
<li v-for="(item, i) in modules[3].list" :key="i">
<img class="bg" :src="require('@/assets/images/application/app' + (i + 1) + '.png')" alt="">
<img class="icon" :src="require('@/assets/images/application/app' + (i + 1) + '-1.png')" alt="">
<li v-for="(item, i) in modules[3].list"
:key="i">
<img class="bg"
:src="require('@/assets/images/application/app' + (i + 1) + '.png')"
alt="">
<img class="icon"
:src="require('@/assets/images/application/app' + (i + 1) + '-1.png')"
alt="">
<p class="text">{{ item.title }}</p>
<div class="cover" @click="toSet(3, i)">点击更标题与链接</div>
<div class="cover"
@click="toSet(3, i)">点击更标题与链接</div>
</li>
</ul>
</div>
@ -60,13 +81,17 @@
<div class="c-wrap">
<h2 class="b-title">{{ modules[4].form.title }}</h2>
<p class="intro">{{ modules[4].form.des }}</p>
<div class="cover" @click="toSet(4)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(4)">点击更换标题与描述</div>
</div>
<ul class="group">
<li v-for="(item, i) in modules[5].list" :key="i">
<img :src="item.pic" alt="">
<li v-for="(item, i) in modules[5].list"
:key="i">
<img :src="item.pic"
alt="">
<p class="text">{{ item.title }}</p>
<div class="cover" @click="toSet(5, i)">点击更改图片标题与链接</div>
<div class="cover"
@click="toSet(5, i)">点击更改图片标题与链接</div>
</li>
</ul>
</div>
@ -77,11 +102,13 @@
<div class="c-wrap">
<h2 class="b-title">{{ modules[6].form.title }}</h2>
<p class="intro">{{ modules[6].form.des }}</p>
<div class="cover" @click="toSet(6)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(6)">点击更换标题与描述</div>
</div>
<ul class="news">
<li>
<img src="http://10.10.11.7/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, Shenzhen (IASF)</p>
@ -89,7 +116,8 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/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, Shenzhen (IASF)</p>
@ -97,7 +125,8 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/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, Shenzhen (IASF)</p>
@ -105,7 +134,8 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/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, Shenzhen (IASF)</p>
@ -113,7 +143,8 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/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, Shenzhen (IASF)</p>
@ -121,20 +152,25 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/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, Shenzhen (IASF)</p>
<span class="meta">2022.08.12</span>
</div>
</li>
<div class="cover" @click="toSet(7)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(7)">点击更换标题与描述</div>
</ul>
</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -143,12 +179,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data() {
data () {
return {
modules: Modules.application
}
},
mounted() {
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
@ -168,147 +204,149 @@ export default {
])
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.history {
h2 {
font-size: 30px;
color: #333;
}
.texts {
display: flex;
justify-content: space-between;
padding: 82px 57px 30px;
margin-top: 20px;
background-color: #fff;
border-radius: 100px 0px 0px 0px;
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 22px;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
}
h2 {
font-size: 30px;
color: #333;
}
.texts {
display: flex;
justify-content: space-between;
padding: 82px 57px 30px;
margin-top: 20px;
background-color: #fff;
border-radius: 100px 0px 0px 0px;
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 22px;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
}
}
.app {
display: flex;
flex-wrap: wrap;
li {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 368px;
height: 252px;
margin: 0 14px 14px 0;
&:first-child {
width: 750px;
flex-wrap: wrap;
li {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 368px;
height: 252px;
margin: 0 14px 14px 0;
&:first-child {
width: 750px;
}
&:nth-child(3),
&:nth-child(7),
&:nth-child(10) {
margin-right: 0;
}
&:nth-child(9) {
width: 563px;
}
&:nth-child(10) {
width: 555px;
}
}
&:nth-child(3), &:nth-child(7), &:nth-child(10) {
margin-right: 0;
.bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
&:nth-child(9) {
width: 563px;
.icon {
position: relative;
}
&:nth-child(10) {
width: 555px;
.text {
position: relative;
margin-top: 20px;
font-size: 32px;
color: #fff;
}
}
.bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.icon {
position: relative;
}
.text {
position: relative;
margin-top: 20px;
font-size: 32px;
color: #fff;
}
}
.group {
display: flex;
flex-wrap: wrap;
li {
position: relative;
width: 448px;
margin: 0 28px 39px 0;
&:nth-child(3n) {
margin-right: 0;
}
}
img {
width: 100%;
height: 353px;
}
.text {
display: flex;
justify-content: center;
align-items: center;
height: 143px;
font-size: 30px;
font-family: SFProDisplay-Bold, SFProDisplay;
font-weight: bold;
line-height: 40px;
text-align: center;
color: #272727;
background-color: #F5F5F5;
}
flex-wrap: wrap;
li {
position: relative;
width: 448px;
margin: 0 28px 39px 0;
&:nth-child(3n) {
margin-right: 0;
}
}
img {
width: 100%;
height: 353px;
}
.text {
display: flex;
justify-content: center;
align-items: center;
height: 143px;
font-size: 30px;
font-family: SFProDisplay-Bold, SFProDisplay;
font-weight: bold;
line-height: 40px;
text-align: center;
color: #272727;
background-color: #f5f5f5;
}
}
.news-block {
background: url(../../../assets/images/info-bg.png) 0 0/100% 100% no-repeat;
background: url(../../../assets/images/info-bg.png) 0 0/100% 100% no-repeat;
}
.news {
position: relative;
display: flex;
flex-wrap: wrap;
li {
display: inline-flex;
width: 686px;
padding: 34px;
margin-bottom: 28px;
background-color: #fff;
&:nth-child(odd) {
margin-right: 28px;
position: relative;
display: flex;
flex-wrap: wrap;
li {
display: inline-flex;
width: 686px;
padding: 34px;
margin-bottom: 28px;
background-color: #fff;
&:nth-child(odd) {
margin-right: 28px;
}
}
img {
width: 237px;
height: 167px;
}
.texts {
margin-left: 34px;
}
h6 {
font-size: 18px;
color: #0648a8;
}
.des {
margin: 14px 0;
font-size: 16px;
color: #333;
line-height: 22px;
}
.meta {
font-size: 16px;
color: #999;
}
}
img {
width: 237px;
height: 167px;
}
.texts {
margin-left: 34px;
}
h6 {
font-size: 18px;
color: #0648A8;
}
.des {
margin: 14px 0;
font-size: 16px;
color: #333;
line-height: 22px;
}
.meta {
font-size: 16px;
color: #999;
}
}
</style>

@ -136,8 +136,8 @@ export default {
}
.block {
padding: 2rem 0;
background: url(http://10.10.11.7/images/contactUs/3.png) 0 130px no-repeat,
url(http://10.10.11.7/images/contactUs/4.png) bottom right no-repeat;
background: url(https://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;
}
.inner {

@ -124,10 +124,10 @@ export default {
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/device/4.png) (100% 1363px) / auto no-repeat;
background: url(https://new.iasf.ac.cn/images/device/4.png) (100% 1363px) / auto no-repeat;
}
.banner {
background: url(http://10.10.11.7/images/device/13.png) 0 0/100% 100% no-repeat;
background: url(https://new.iasf.ac.cn/images/device/13.png) 0 0/100% 100% no-repeat;
}
.share {
position: relative;

@ -57,7 +57,7 @@
<div class="intro">
<img class="bg"
src="http://10.10.11.7/images/device/7.png"
src="https://new.iasf.ac.cn/images/device/7.png"
alt="">
<div class="c-wrap"
style="min-height: 700px">
@ -126,7 +126,7 @@ export default {
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
background: url(https://new.iasf.ac.cn/images/device/4.png) bottom right/auto no-repeat;
}
.share {
position: relative;
@ -161,7 +161,7 @@ export default {
font-weight: 500;
color: #ffffff;
line-height: 38px;
background: url(http://10.10.11.7/images/device/5.png) 0 0 / cover no-repeat;
background: url(https://new.iasf.ac.cn/images/device/5.png) 0 0 / cover no-repeat;
}
.des {
margin-top: 25px;

@ -50,7 +50,7 @@
@click="toSet(2)">点击更改标题与概述</div>
</div>
<img class="bg"
src="http://10.10.11.7/images/device/10.png"
src="https://new.iasf.ac.cn/images/device/10.png"
alt="">
</div>
</div>

@ -4,27 +4,34 @@
<div class="actions">
<p class="page-name">页面设置/产业光源-概况-大事记</p>
<div>
<el-button type="primary" @click="preview">预览</el-button>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<div class="single-banner single-banner-overview">
<img class="banner-img" :src="modules[0].form.pic" alt="">
<img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li>
<li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template>
</ul>
@ -33,33 +40,46 @@
<h2 class="wow fadeInLeft">大事记</h2>
<p class="en">DEVELOPMENT HISTORY</p>
<div v-if="modules[1].list.length" class="event">
<div v-if="modules[1].list.length"
class="event">
<ul class="time">
<template v-for="(item, i) in modules[1].list">
<li v-if="item.isEnable" :key="i" :class="{active: curYear == i}" @click="yearClick(i)">{{ item.title }}</li>
<li v-if="item.isEnable"
:key="i"
:class="{active: curYear == i}"
@click="yearClick(i)">{{ item.title }}</li>
</template>
</ul>
<div class="right">
<h6 class="year">{{ modules[1].list[curYear].title }}</h6>
<ul class="list">
<template v-for="(e, j) in modules[1].list[curYear].list">
<li v-if="e.isEnable" :key="j">
<li v-if="e.isEnable"
:key="j">
<div class="texts">
<p class="date">{{ e.title }}</p>
<p class="text">{{ e.des }}</p>
</div>
<img v-if="e.pic" :src="e.pic" alt="" class="pic">
<img v-if="e.pic"
:src="e.pic"
alt=""
class="pic">
</li>
</template>
</ul>
</div>
</div>
<div class="cover" style="min-height: 300px;" @click="toSet(1)">点击配置历程</div>
<div class="cover"
style="min-height: 300px;"
@click="toSet(1)">点击配置历程</div>
</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -68,7 +88,7 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data() {
data () {
return {
modules: Modules['estate/event'],
active: 0,
@ -76,7 +96,7 @@ export default {
curYear: 0
}
},
mounted() {
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
@ -97,7 +117,7 @@ export default {
},
methods: {
// tab
tabChange(i) {
tabChange (i) {
this.active = i
},
}
@ -105,127 +125,127 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../../styles/page/page.scss";
@import '../../../../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/overviewDevHistory/1.png) (right 505px)/auto no-repeat,
url(http://10.10.11.7/images/overviewDevHistory/2.png) (left bottom)/auto no-repeat;
background: url(https://new.iasf.ac.cn/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(https://new.iasf.ac.cn/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
}
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.history {
h2 {
position: relative;
font-size: 2.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1C1C1C;
}
.en {
margin: -15px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
}
h2 {
position: relative;
font-size: 2.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1c1c1c;
}
.en {
margin: -15px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
}
.event {
display: flex;
justify-content: center;
.time {
width: 200px;
padding-right: 10px;
margin-right: 20px;
border-right: 1px solid #ddd;
li {
display: flex;
justify-content: flex-end;
align-items: center;
width: 190px;
padding-right: 45px;
line-height: 60px;
font-size: 1.4rem;
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #DDDDDD;
cursor: pointer;
&.active {
font-weight: 800;
color: #1A81F4;
background: linear-gradient(90deg, #FFFFFF 0%, #F3F8FF 100%);
&:before {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
display: flex;
justify-content: center;
.time {
width: 200px;
padding-right: 10px;
margin-right: 20px;
border-right: 1px solid #ddd;
li {
display: flex;
justify-content: flex-end;
align-items: center;
width: 190px;
padding-right: 45px;
line-height: 60px;
font-size: 1.4rem;
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #dddddd;
cursor: pointer;
&.active {
font-weight: 800;
color: #1a81f4;
background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
&:before {
content: '';
width: 18px;
height: 18px;
background: url(https://new.iasf.ac.cn/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
}
}
}
}
}
}
.right {
width: 1000px;
}
.year {
margin: 0 0 20px 20px;
font-size: 3.8rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1A81F4;
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
}
.texts {
width: 500px;
}
.date {
margin-bottom: 15px;
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
.right {
width: 1000px;
}
.text {
font-size: 1.1rem;
color: #333;
@include mul-ellipsis(3);
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
.year {
margin: 0 0 20px 20px;
font-size: 3.8rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
}
.pic {
width: 350px;
height: 195px;
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
}
.texts {
width: 500px;
}
.date {
margin-bottom: 15px;
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
}
.text {
font-size: 1.1rem;
color: #333;
@include mul-ellipsis(3);
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
.pic {
width: 350px;
height: 195px;
}
}
}
}
</style>

@ -3,23 +3,31 @@
<div class="actions">
<p class="page-name">页面设置/产业光源</p>
<div>
<el-button type="primary" @click="preview">预览</el-button>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt="">
<el-carousel-item v-if="item.pic && item.isEnable"
:key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item>
</template>
</el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block banner-block">
@ -30,11 +38,16 @@
<span class="sub">{{ modules[1].form.subTitle }}</span>
</h5>
<span class="more">MORE</span>
<div class="cover" @click="toSet(1)">点击更换标题与小标题</div>
<div class="cover"
@click="toSet(1)">点击更换标题与小标题</div>
</div>
<div class="c-wrap">
<div class="sfel-banner">
<img style="width: 50%;height: 410px;overflow: hidden;" width="100%" height="480" src="http://10.10.11.7/images/about/5.png" alt="">
<img style="width: 50%;height: 410px;overflow: hidden;"
width="100%"
height="480"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="right">
<h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and innovation. We are open and creative</h6>
<div class="des">Innovation centers are distributed in the bay areas, such as the San Francisco Bay area, the New York Bay area, and the Tokyo Bay area in Japan. And the Guangdong-Hong Kong-Macao Greater Bay </div>
@ -43,35 +56,48 @@
</div>
<ul class="card">
<li>
<img class="pic" src="http://10.10.11.7/images/about/9.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
<img class="arrow" src="@/assets/images/arrow.png" alt="">
<img class="arrow"
src="@/assets/images/arrow.png"
alt="">
</div>
</li>
<li>
<img class="pic" src="http://10.10.11.7/images/about/10.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
<img class="arrow" src="@/assets/images/arrow.png" alt="">
<img class="arrow"
src="@/assets/images/arrow.png"
alt="">
</div>
</li>
<li>
<img class="pic" src="http://10.10.11.7/images/about/11.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/about/11.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
<img class="arrow" src="@/assets/images/arrow.png" alt="">
<img class="arrow"
src="@/assets/images/arrow.png"
alt="">
</div>
</li>
</ul>
<div class="cover" @click="toSet(2)">关联栏目</div>
<div class="cover"
@click="toSet(2)">关联栏目</div>
</div>
</div>
</div>
<div class="block talent">
<div class="inner">
<div class="title wow fadeInUp">
@ -80,16 +106,23 @@
<span class="sub">{{ modules[3].form.subTitle }}</span>
</h5>
<span class="more">MORE</span>
<div class="cover" @click="toSet(3)">点击更换标题与小标题</div>
<div class="cover"
@click="toSet(3)">点击更换标题与小标题</div>
</div>
<div class="shows">
<div class="left wow fadeInLeft" data-wow-delay="0.5s">
<div class="left wow fadeInLeft"
data-wow-delay="0.5s">
<h6>{{ modules[4].form.title }}</h6>
<div class="text" v-html="modules[4].form.des"></div>
<el-button type="primary" round>这里跳转</el-button>
<div class="text"
v-html="modules[4].form.des"></div>
<el-button type="primary"
round>这里跳转</el-button>
</div>
<img :src="modules[4].form.pic" alt="" class="pic">
<div class="cover" @click="toSet(4)">点击更换标题描述图片与链接</div>
<img :src="modules[4].form.pic"
alt=""
class="pic">
<div class="cover"
@click="toSet(4)">点击更换标题描述图片与链接</div>
</div>
</div>
</div>
@ -102,77 +135,106 @@
<span class="sub">{{ modules[5].form.subTitle }}</span>
</h5>
<span class="more">MORE</span>
<div class="cover" @click="toSet(5)">点击更换标题与小标题</div>
<div class="cover"
@click="toSet(5)">点击更换标题与小标题</div>
</div>
<div class="shows c-wrap">
<div class="left">
<img width="100%" height="100%" src="http://10.10.11.7/images/about/9.png" alt="">
<img width="100%"
height="100%"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="text">关于2021年度深圳综合粒子设施研究院采购意向公开表</div>
</div>
<ul class="card-list">
<li>
<img class="pic" src="http://10.10.11.7/images/about/10.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>专业技术培训 | 自由电子激光装置中的结构</h6>
<p class="sum">加速器总体-直线加速器总体-高重频电子枪组</p>
<p class="text">
<img class="icon" src="@/assets/images/mine.png" alt="">
<img class="icon"
src="@/assets/images/mine.png"
alt="">
邵佳航
</p>
<p class="text">
<img class="icon" src="@/assets/images/time.png" alt="">
<img class="icon"
src="@/assets/images/time.png"
alt="">
会议时间: 2022年8月13日 14:30
</p>
<p class="text">
<img class="icon" src="@/assets/images/online.png" alt="">
<img class="icon"
src="@/assets/images/online.png"
alt="">
总部四楼大会议室
</p>
</div>
</li>
<li>
<img class="pic" src="http://10.10.11.7/images/about/10.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>专业技术培训 | 自由电子激光装置中的结构</h6>
<p class="sum">加速器总体-直线加速器总体-高重频电子枪组</p>
<p class="text">
<img class="icon" src="@/assets/images/mine.png" alt="">
<img class="icon"
src="@/assets/images/mine.png"
alt="">
邵佳航
</p>
<p class="text">
<img class="icon" src="@/assets/images/time.png" alt="">
<img class="icon"
src="@/assets/images/time.png"
alt="">
会议时间: 2022年8月13日 14:30
</p>
<p class="text">
<img class="icon" src="@/assets/images/online.png" alt="">
<img class="icon"
src="@/assets/images/online.png"
alt="">
总部四楼大会议室
</p>
</div>
</li>
<li>
<img class="pic" src="http://10.10.11.7/images/about/10.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>专业技术培训 | 自由电子激光装置中的结构</h6>
<p class="sum">加速器总体-直线加速器总体-高重频电子枪组</p>
<p class="text">
<img class="icon" src="@/assets/images/mine.png" alt="">
<img class="icon"
src="@/assets/images/mine.png"
alt="">
邵佳航
</p>
<p class="text">
<img class="icon" src="@/assets/images/time.png" alt="">
<img class="icon"
src="@/assets/images/time.png"
alt="">
会议时间: 2022年8月13日 14:30
</p>
<p class="text">
<img class="icon" src="@/assets/images/online.png" alt="">
<img class="icon"
src="@/assets/images/online.png"
alt="">
总部四楼大会议室
</p>
</div>
</li>
</ul>
<div class="cover" @click="toSet(6)">关联栏目</div>
<div class="cover"
@click="toSet(6)">关联栏目</div>
</div>
</div>
</div>
<div class="block program">
<div class="inner c-wrap">
<div class="title">
@ -181,7 +243,8 @@
<span class="sub">{{ modules[7].form.subTitle }}</span>
</h5>
<span class="more">MORE</span>
<div class="cover" @click="toSet(7)">点击更换标题与小标题</div>
<div class="cover"
@click="toSet(7)">点击更换标题与小标题</div>
</div>
<div class="c-wrap">
<div class="slide">
@ -190,7 +253,9 @@
<div class="des">X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段对于绝大多数自由电子激研究院紧密围绕高水平建设综合性国家科学中心战略目标面向国民经济主战场和世界科技前沿</div>
<div class="meta">发表日期2022.01.10 &emsp;浏览量备份</div>
</div>
<img class="pic" src="@/assets/images/survey3.png" alt="">
<img class="pic"
src="@/assets/images/survey3.png"
alt="">
</div>
<ul class="list">
<li>
@ -206,13 +271,17 @@
<p class="date">2022.10.10</p>
</li>
</ul>
<div class="cover" @click="toSet(8)">关联栏目</div>
<div class="cover"
@click="toSet(8)">关联栏目</div>
</div>
</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -221,12 +290,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data() {
data () {
return {
modules: Modules['estate/index']
}
},
mounted() {
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
@ -246,335 +315,337 @@ export default {
])
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import "../../../../../styles/page/page.scss";
@import '../../../../../styles/page/page.scss';
.title {
position: relative;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 25px;
margin-bottom: 30px;
border-bottom: 1px solid #ddd;
h5 {
padding-left: 16px;
font-size: 36px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 1;
border-left: 6px solid #2B96EF;
}
.sub {
font-size: 22px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #AFB7BF;
}
.more {
font-size: 14px;
color: #666;
cursor: pointer;
}
position: relative;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 25px;
margin-bottom: 30px;
border-bottom: 1px solid #ddd;
h5 {
padding-left: 16px;
font-size: 36px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 1;
border-left: 6px solid #2b96ef;
}
.sub {
font-size: 22px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #afb7bf;
}
.more {
font-size: 14px;
color: #666;
cursor: pointer;
}
}
.lg {
width: 1505px;
width: 1505px;
}
/deep/.articles {
width: 50%;
.el-carousel__indicators--horizontal {
bottom: 20px;
left: 804px;
}
width: 50%;
.el-carousel__indicators--horizontal {
bottom: 20px;
left: 804px;
}
}
.banner-block {
background: url(../../../../../assets/images/sfel/2.png) 0 0/cover no-repeat;
background: url(../../../../../assets/images/sfel/2.png) 0 0 / cover no-repeat;
}
.sfel-banner {
display: flex;
cursor: pointer;
.pic {
transition: .5s;
&:hover {
transform: scale(1.3);
}
}
.right {
position: relative;
width: 50%;
padding: 50px 50px 30px;
background: #1583FF;
color: #fff;
&:hover {
background: #465f85;
h6, .des, .meta {
color: #fff;
transform: translateY(15px);
}
}
}
.inds {
position: absolute;
bottom: 40px;
left: 60px;
display: flex;
li {
width: 10px;
height: 10px;
margin-right: 12px;
background: #FFFFFF;
border-radius: 50%;
transition: .2s;
&.active {
width: 30px;
background: rgba(255,255,255,0.3);
border-radius: 5px;
}
}
}
h6 {
font-size: 1.3rem;
transition: .3s;
}
.des {
margin: 30px 0;
font-size: .9rem;
line-height: 24px;
transition: .3s;
}
.meta {
font-size: .8rem;
transition: .3s;
}
}
.card {
display: flex;
flex-wrap: wrap;
margin-top: 40px;
li {
width: calc((100% - 56px) / 3);
margin-right: 28px;
box-shadow: 0px 0px 20px 0px rgba(176,176,176,0.21);
border-radius: 6px;
transition: .3s;
&:hover {
transform: scale(1.05);
cursor: pointer;
.pic {
transition: 0.5s;
&:hover {
transform: scale(1.3);
}
}
&:last-child {
margin-right: 0;
.right {
position: relative;
width: 50%;
padding: 50px 50px 30px;
background: #1583ff;
color: #fff;
&:hover {
background: #465f85;
h6,
.des,
.meta {
color: #fff;
transform: translateY(15px);
}
}
}
}
.pic {
width: 100%;
height: 240px;
}
.texts {
padding: 40px 30px;
}
.meta {
font-size: 16px;
color: #666;
}
.des {
margin: 10px 0;
font-size: 20px;
font-family: SFProDisplay;
font-weight: 500;
color: #333;
line-height: 28px;
}
.arrow {
width: 36px;
}
}
.talent {
.shows {
position: relative;
display: flex;
color: #fff;
background: #1A2844;
border-radius: 0px 100px 0px 100px;
.left {
width: 50%;
padding: 120px 0 0 5%;
.inds {
position: absolute;
bottom: 40px;
left: 60px;
display: flex;
li {
width: 10px;
height: 10px;
margin-right: 12px;
background: #ffffff;
border-radius: 50%;
transition: 0.2s;
&.active {
width: 30px;
background: rgba(255, 255, 255, 0.3);
border-radius: 5px;
}
}
}
h6 {
font-size: 1.6rem;
font-size: 1.3rem;
transition: 0.3s;
}
.text {
margin: 20px 0;
font-size: 1rem;
line-height: 2;
.des {
margin: 30px 0;
font-size: 0.9rem;
line-height: 24px;
transition: 0.3s;
}
.pic {
width: 50%;
height: 500px;
.meta {
font-size: 0.8rem;
transition: 0.3s;
}
}
}
.conference {
background: url(../../../../../assets/images/sfel/4.png) 0 0/cover no-repeat;
.shows {
.card {
display: flex;
}
.left {
position: relative;
width: 688px;
height: 688px;
margin-right: 20px;
cursor: pointer;
.text {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 0 12px;
line-height: 59px;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
background-color: rgba(0, 0, 0, 0.57);
}
}
.card-list {
width: 784px;
flex-wrap: wrap;
margin-top: 40px;
li {
display: flex;
align-items: center;
padding: 14px;
margin-bottom: 21px;
background-color: #fff;
cursor: pointer;
transition: .3s;
&:last-child {
margin-bottom: 0;
}
&:hover {
transform: translateX(20px);
}
width: calc((100% - 56px) / 3);
margin-right: 28px;
box-shadow: 0px 0px 20px 0px rgba(176, 176, 176, 0.21);
border-radius: 6px;
transition: 0.3s;
&:hover {
transform: scale(1.05);
}
&:last-child {
margin-right: 0;
}
}
.pic {
width: 188px;
height: 188px;
margin-right: 36px;
width: 100%;
height: 240px;
}
h6 {
margin-bottom: 10px;
font-size: 20px;
color: #333;
.texts {
padding: 40px 30px;
}
.sum {
font-size: 16px;
color: #666;
.meta {
font-size: 16px;
color: #666;
}
.text {
display: flex;
align-items: center;
margin: 10px 0;
.des {
margin: 10px 0;
font-size: 20px;
font-family: SFProDisplay;
font-weight: 500;
color: #333;
line-height: 28px;
}
.icon {
margin-right: 5px;
.arrow {
width: 36px;
}
}
}
.program {
background: #fff;
.slide {
display: flex;
margin-bottom: 14px;
}
.texts {
width: 51%;
padding: 56px;
background: #FBFBFB;
h6 {
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
.talent {
.shows {
position: relative;
display: flex;
color: #fff;
background: #1a2844;
border-radius: 0px 100px 0px 100px;
.left {
width: 50%;
padding: 120px 0 0 5%;
}
h6 {
font-size: 1.6rem;
}
.text {
margin: 20px 0;
font-size: 1rem;
line-height: 2;
}
.pic {
width: 50%;
height: 500px;
}
}
.des {
margin: 35px 0 25px;
font-size: 16px;
color: #666;
line-height: 32px;
}
.conference {
background: url(../../../../../assets/images/sfel/4.png) 0 0 / cover no-repeat;
.shows {
display: flex;
}
.meta {
font-size: 14px;
color: #666;
.left {
position: relative;
width: 688px;
height: 688px;
margin-right: 20px;
cursor: pointer;
.text {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 0 12px;
line-height: 59px;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
background-color: rgba(0, 0, 0, 0.57);
}
}
}
.pic {
width: 49%;
height: 430px;
}
.list {
display: flex;
li {
width: calc((100% - 44px) / 3);
padding: 36px 22px;
margin-right: 14px;
background: url(../../../../../assets/images/sfel/7.png) 0 0/cover no-repeat;
&:nth-child(2) {
background-image: url(../../../../../assets/images/sfel/8.png);
}
&:nth-child(3) {
margin-right: 0;
background-image: url(../../../../../assets/images/sfel/9.png);
}
.card-list {
width: 784px;
li {
display: flex;
align-items: center;
padding: 14px;
margin-bottom: 21px;
background-color: #fff;
cursor: pointer;
transition: 0.3s;
&:last-child {
margin-bottom: 0;
}
&:hover {
transform: translateX(20px);
}
}
.pic {
width: 188px;
height: 188px;
margin-right: 36px;
}
h6 {
margin-bottom: 10px;
font-size: 20px;
color: #333;
}
.sum {
font-size: 16px;
color: #666;
}
.text {
display: flex;
align-items: center;
margin: 10px 0;
}
.icon {
margin-right: 5px;
}
}
.des {
margin-bottom: 30px;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
line-height: 30px;
}
.program {
background: #fff;
.slide {
display: flex;
margin-bottom: 14px;
}
.date {
font-size: 16px;
font-family: LaoSangamMN;
color: #FFFFFF;
.texts {
width: 51%;
padding: 56px;
background: #fbfbfb;
h6 {
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin: 35px 0 25px;
font-size: 16px;
color: #666;
line-height: 32px;
}
.meta {
font-size: 14px;
color: #666;
}
}
.pic {
width: 49%;
height: 430px;
}
.list {
display: flex;
li {
width: calc((100% - 44px) / 3);
padding: 36px 22px;
margin-right: 14px;
background: url(../../../../../assets/images/sfel/7.png) 0 0 / cover no-repeat;
&:nth-child(2) {
background-image: url(../../../../../assets/images/sfel/8.png);
}
&:nth-child(3) {
margin-right: 0;
background-image: url(../../../../../assets/images/sfel/9.png);
}
}
.des {
margin-bottom: 30px;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 30px;
}
.date {
font-size: 16px;
font-family: LaoSangamMN;
color: #ffffff;
}
}
}
}
.tools {
position: absolute;
top: 600px;
left: 0;
width: 226px;
text-align: center;
.logo {
padding: 44px 0;
background: #0C60BE;
box-shadow: 0px 0px 20px 0px rgba(184,191,200,0.3);
}
.nav {
li {
padding: 0 10px;
font-size: 24px;
line-height: 83px;
color: #fff;
background-color: #1D1D1D;
cursor: pointer;
@include ellipsis;
&.active {
background-color: #1583FF;
}
position: absolute;
top: 600px;
left: 0;
width: 226px;
text-align: center;
.logo {
padding: 44px 0;
background: #0c60be;
box-shadow: 0px 0px 20px 0px rgba(184, 191, 200, 0.3);
}
.nav {
li {
padding: 0 10px;
font-size: 24px;
line-height: 83px;
color: #fff;
background-color: #1d1d1d;
cursor: pointer;
@include ellipsis;
&.active {
background-color: #1583ff;
}
}
}
}
}
@media (max-width: 1520px) {
.lg {
width: 98%;
}
.lg {
width: 98%;
}
}
</style>

@ -163,7 +163,7 @@ export default {
padding: 42px;
margin-bottom: 36px;
color: #333;
background: #f5f5f5 url(http://10.10.11.7/images/overviewSetup/1.png) right bottom/auto no-repeat;
background: #f5f5f5 url(https://new.iasf.ac.cn/images/overviewSetup/1.png) right bottom/auto no-repeat;
transition: 0.5s;
&:nth-child(even) {
justify-content: space-between;

@ -4,27 +4,34 @@
<div class="actions">
<p class="page-name">页面设置/产业光源-概况-机构设置</p>
<div>
<el-button type="primary" @click="preview">预览</el-button>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<div class="single-banner single-banner-overview">
<img class="banner-img" :src="modules[0].form.pic" alt="">
<img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li>
<li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template>
</ul>
@ -32,19 +39,30 @@
<div class="org">
<div class="left c-wrap">
<h6>{{ modules[1].form.title }}</h6>
<p class="text" v-html="modules[1].form.des"></p>
<div class="cover" style="top: -73px;min-height: 300px" @click="toSet(1)">点击更换标题与描述</div>
<p class="text"
v-html="modules[1].form.des"></p>
<div class="cover"
style="top: -73px;min-height: 300px"
@click="toSet(1)">点击更换标题与描述</div>
</div>
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt="">
<img class="pic"
src="https://new.iasf.ac.cn/images/overviewSetup/1.png"
alt="">
</div>
<div class="lg-bg c-wrap">
<img width="100%" :src="modules[2].form.pic" alt="">
<div class="cover" @click="toSet(2)">点击更换图片</div>
<img width="100%"
:src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -53,14 +71,14 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data() {
data () {
return {
modules: Modules['estate/orgSetup'],
active: 0,
tabs: ['机构设置']
}
},
mounted() {
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
@ -81,7 +99,7 @@ export default {
},
methods: {
// tab
tabChange(i) {
tabChange (i) {
this.active = i
},
}
@ -89,83 +107,82 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../../styles/page/page.scss";
@import '../../../../../styles/page/page.scss';
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.tab-content {
padding: 77px 0;
padding: 77px 0;
}
.org {
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #FCFCFC;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #fcfcfc;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
}
.lg-bg {
width: 85%;
margin: 0 auto;
width: 85%;
margin: 0 auto;
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
.tab-content {
padding: 20px 0;
.org {
width: 100%;
padding: 15px;
flex-direction: column;
.left {
width: 100%;
}
}
}
}
}
}
</style>

@ -4,27 +4,34 @@
<div class="actions">
<p class="page-name">页面设置/产业光源-概况-产业光源概况</p>
<div>
<el-button type="primary" @click="preview">预览</el-button>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<div class="single-banner single-banner-overview">
<img class="banner-img" :src="modules[0].form.pic" alt="">
<img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li>
<li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template>
</ul>
@ -32,18 +39,27 @@
<div class="survey c-wrap">
<h6>
{{ modules[1].form.title }}
<img class="title-bg" src="http://10.10.11.7/images/overviewIntro/2.png" alt="">
<img class="title-bg"
src="https://new.iasf.ac.cn/images/overviewIntro/2.png"
alt="">
</h6>
<p class="text" v-html="modules[1].form.des"></p>
<div class="cover" @click="toSet(1)">点击更换标题与描述</div>
<p class="text"
v-html="modules[1].form.des"></p>
<div class="cover"
@click="toSet(1)">点击更换标题与描述</div>
</div>
<div class="lg-bg">
<img width="100%" src="http://10.10.11.7/images/estate/3.png" alt="">
<img width="100%"
src="https://new.iasf.ac.cn/images/estate/3.png"
alt="">
</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -52,14 +68,14 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data() {
data () {
return {
modules: Modules['estate/survey'],
active: 0,
tabs: ['产业光源概况']
}
},
mounted() {
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
@ -80,7 +96,7 @@ export default {
},
methods: {
// tab
tabChange(i) {
tabChange (i) {
this.active = i
},
}
@ -88,80 +104,79 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../../styles/page/page.scss";
@import '../../../../../styles/page/page.scss';
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.tab-content {
padding-top: 70px;
padding-top: 70px;
}
.survey {
width: 1294px;
min-height: 500px;
padding: 80px 86px 29px 597px;
margin: 0 auto 200px;
background: url(http://10.10.11.7/images/estate/2.png) 0 0/100% 100% no-repeat;
border-radius: 160px;
h6 {
position: relative;
margin-bottom: 30px;
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.title-bg {
position: absolute;
top: -40px;
left: -20px;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
width: 1294px;
min-height: 500px;
padding: 80px 86px 29px 597px;
margin: 0 auto 200px;
background: url(https://new.iasf.ac.cn/images/estate/2.png) 0 0/100% 100% no-repeat;
border-radius: 160px;
h6 {
position: relative;
margin-bottom: 30px;
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.title-bg {
position: absolute;
top: -40px;
left: -20px;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
}
.lg-bg {
width: 40%;
width: 40%;
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
.tab-content {
padding: 20px 0;
.org {
width: 100%;
padding: 15px;
flex-direction: column;
.left {
width: 100%;
}
}
}
}
}
}
</style>

@ -171,25 +171,25 @@ export default {
color: #333;
text-align: center;
@include ellipsis();
background: url(http://10.10.11.7/images/governance/3.png) 0 0 / cover no-repeat;
background: url(https://new.iasf.ac.cn/images/governance/3.png) 0 0 / cover no-repeat;
cursor: pointer;
&:nth-child(2) {
background-image: url(http://10.10.11.7/images/governance/4.png);
background-image: url(https://new.iasf.ac.cn/images/governance/4.png);
}
&:nth-child(3) {
background-image: url(http://10.10.11.7/images/governance/5.png);
background-image: url(https://new.iasf.ac.cn/images/governance/5.png);
}
&:nth-child(4) {
background-image: url(http://10.10.11.7/images/governance/4.png);
background-image: url(https://new.iasf.ac.cn/images/governance/4.png);
}
&:nth-child(5) {
background-image: url(http://10.10.11.7/images/governance/7.png);
background-image: url(https://new.iasf.ac.cn/images/governance/7.png);
}
&:nth-child(6) {
background-image: url(http://10.10.11.7/images/governance/6.png);
background-image: url(https://new.iasf.ac.cn/images/governance/6.png);
}
&:nth-child(8) {
background-image: url(http://10.10.11.7/images/governance/6.png);
background-image: url(https://new.iasf.ac.cn/images/governance/6.png);
}
&:nth-child(3n) {
margin-right: 0;

@ -81,7 +81,7 @@
</div>
<ul class="news">
<li>
<img src="http://10.10.11.7/images/home/3.png"
<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>
@ -90,7 +90,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<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>
@ -99,7 +99,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<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>
@ -108,7 +108,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<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>
@ -117,7 +117,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<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>
@ -126,7 +126,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<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>

@ -85,7 +85,7 @@
<img style="width: 50%;height: 410px;overflow: hidden;"
width="100%"
height="480"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="right">
<h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and innovation. We are open and creative</h6>
@ -97,7 +97,7 @@
<ul class="news">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<p class="meta">2022-07-24 | 综合新闻</p>
@ -109,7 +109,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<p class="meta">2022-07-24 | 建设进展</p>
@ -121,7 +121,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<p class="meta">2022-07-24 | 学术动态</p>
@ -139,7 +139,7 @@
<ul class="news-carousel">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<h6>媒体关注</h6>
@ -152,7 +152,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<h6>媒体关注</h6>
@ -165,7 +165,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<h6>媒体关注</h6>
@ -192,7 +192,7 @@
<ul class="people">
<li class="wow fadeInDown">
<img class="pic"
src="http://10.10.11.7/images/careers/6.png"
src="https://new.iasf.ac.cn/images/careers/6.png"
alt="">
<div class="texts">
<h6>王晓凡</h6>
@ -203,7 +203,7 @@
</li>
<li class="wow fadeInDown">
<img class="pic"
src="http://10.10.11.7/images/careers/7.png"
src="https://new.iasf.ac.cn/images/careers/7.png"
alt="">
<div class="texts">
<h6>王晓凡</h6>
@ -214,7 +214,7 @@
</li>
<li class="wow fadeInDown">
<img class="pic"
src="http://10.10.11.7/images/careers/8.png"
src="https://new.iasf.ac.cn/images/careers/8.png"
alt="">
<div class="texts">
<h6>王晓凡</h6>
@ -329,7 +329,7 @@
<ul class="tools">
<li v-for="(item, i) in modules[19].list"
:key="i">
<img :src="'http://10.10.11.7/images/iasf/icon' + (i < 4 ? i + 1 : 1) + '.png'"
<img :src="'https://new.iasf.ac.cn/images/iasf/icon' + (i < 4 ? i + 1 : 1) + '.png'"
alt=""
class="icon">
{{ item.title }}

@ -147,7 +147,7 @@
</div>
<ul class="news">
<li>
<img src="http://10.10.11.7/images/home/3.png"
<img src="https://new.iasf.ac.cn/images/home/3.png"
alt="">
<div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span>
@ -155,7 +155,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<img src="https://new.iasf.ac.cn/images/home/3.png"
alt="">
<div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span>
@ -163,7 +163,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<img src="https://new.iasf.ac.cn/images/home/3.png"
alt="">
<div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span>
@ -171,7 +171,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<img src="https://new.iasf.ac.cn/images/home/3.png"
alt="">
<div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span>
@ -179,7 +179,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<img src="https://new.iasf.ac.cn/images/home/3.png"
alt="">
<div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span>
@ -187,7 +187,7 @@
</div>
</li>
<li>
<img src="http://10.10.11.7/images/home/3.png"
<img src="https://new.iasf.ac.cn/images/home/3.png"
alt="">
<div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span>

@ -45,7 +45,7 @@
<div class="news-banner">
<img width="100%"
height="480"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="right">
<h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and innovation. We are open and creative</h6>
@ -56,7 +56,7 @@
<ul class="card">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -68,7 +68,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -80,7 +80,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/11.png"
src="https://new.iasf.ac.cn/images/about/11.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -107,7 +107,7 @@
<div class="left">
<img width="100%"
height="400"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<h6>2022 New Year Messag President Sun Dongbai.</h6>
@ -118,13 +118,13 @@
<ul class="show-card">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="des">Comprises the installation and nanostructuri</div>
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="des">Prof. Stephan V. Roth's research</div>
</li>
@ -132,7 +132,7 @@
<ul class="card-list">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>Hold doctorates or the highest degree in their field</h6>
@ -141,7 +141,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>This 2019 image depicted a Centers for Disease</h6>
@ -150,7 +150,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/11.png"
src="https://new.iasf.ac.cn/images/about/11.png"
alt="">
<div class="texts">
<h6>Browse premium related images on iStock</h6>
@ -177,7 +177,7 @@
<div class="left">
<img width="100%"
height="558"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="texts">
<div class="meta">
@ -193,7 +193,7 @@
<ul class="card-list">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>Professional technical Free electron laser device</h6>
@ -219,7 +219,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>Professional technical Free electron laser device</h6>
@ -245,7 +245,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>Professional technical Free electron laser device</h6>
@ -271,7 +271,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>Professional technical Free electron laser device</h6>

@ -3,41 +3,57 @@
<div class="actions">
<p class="page-name">页面设置/关于IASF-组织架构</p>
<div>
<el-button type="primary" @click="preview">预览</el-button>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<div class="single-banner single-banner-overview">
<img class="banner-img" :src="modules[0].form.pic" alt="">
<img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="tab-content">
<div class="org c-wrap">
<div class="left">
<h6>{{ modules[1].form.title }}</h6>
<p class="text" v-html="modules[1].form.des"></p>
<p class="text"
v-html="modules[1].form.des"></p>
</div>
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt="">
<div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div>
<img class="pic"
src="https://new.iasf.ac.cn/images/overviewSetup/1.png"
alt="">
<div class="cover"
style="min-height: 300px;"
@click="toSet(1)">点击更换标题与描述</div>
</div>
<div class="lg-bg">
<img width="100%" :src="modules[2].form.pic" alt="">
<div class="cover" @click="toSet(2)">点击更换图片</div>
<img width="100%"
:src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div>
</div>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -46,12 +62,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data() {
data () {
return {
modules: Modules.org
}
},
mounted() {
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
@ -71,48 +87,48 @@ export default {
])
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.tab-content {
padding: 77px 0;
padding: 77px 0;
}
.org {
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #FCFCFC;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #fcfcfc;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
}
.lg-bg {
position: relative;
width: 85%;
margin: 0 auto;
position: relative;
width: 85%;
margin: 0 auto;
}
</style>

@ -313,7 +313,7 @@ export default {
.event {
position: relative;
padding: 70px 250px 70px 60px;
background: url(http://10.10.11.7/images/overview/16.png) 0 0/100% no-repeat;
background: url(https://new.iasf.ac.cn/images/overview/16.png) 0 0/100% no-repeat;
h6 {
font-size: 2.2rem;
font-family: PingFangSC-Medium, PingFang SC;

@ -132,8 +132,8 @@ export default {
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(http://10.10.11.7/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
background: url(https://new.iasf.ac.cn/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(https://new.iasf.ac.cn/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
background-color: #fff;
}
.tabs {
@ -199,7 +199,7 @@ export default {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
background: url(https://new.iasf.ac.cn/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
}
}

@ -43,7 +43,7 @@
<div class="relative">
<h6 v-html="modules[1].form.title"></h6>
<img class="title-bg"
src="http://10.10.11.7/images/overviewIntro/2.png"
src="https://new.iasf.ac.cn/images/overviewIntro/2.png"
alt="">
</div>
@ -172,7 +172,7 @@ export default {
padding-top: 90px;
color: #fff;
text-align: center;
background: url(http://10.10.11.7/images/overviewIntro/3.png) 0 0/100% 100% no-repeat;
background: url(https://new.iasf.ac.cn/images/overviewIntro/3.png) 0 0/100% 100% no-repeat;
.mask {
position: absolute;
top: 0;

@ -42,7 +42,7 @@
v-html="modules[1].form.des"></p>
</div>
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
src="https://new.iasf.ac.cn/images/overviewSetup/1.png"
alt="">
<div class="cover"
style="min-height: 300px;"

@ -33,20 +33,20 @@
<ul class="teams">
<li>
<div class="line">
<img src="http://10.10.11.7/images/researchTeam/3.png"
<img src="https://new.iasf.ac.cn/images/researchTeam/3.png"
alt=""
class="icon">
<span class="bold">姓名</span>
<span class="val">/ 岗位</span>
</div>
<div class="line">
<img src="http://10.10.11.7/images/researchTeam/4.png"
<img src="https://new.iasf.ac.cn/images/researchTeam/4.png"
alt=""
class="icon">
<span class="text">专业 超低温总体</span>
</div>
<div class="line">
<img src="http://10.10.11.7/images/researchTeam/5.png"
<img src="https://new.iasf.ac.cn/images/researchTeam/5.png"
alt=""
class="icon">
<span class="text">荣誉 杰青 万人</span>
@ -143,7 +143,7 @@ export default {
width: calc((100% - 10px) / 2);
padding: 20px 30px;
margin: 0 10px 10px 0;
background: url(http://10.10.11.7/images/researchTeam/2.png) 0 0 / cover no-repeat;
background: url(https://new.iasf.ac.cn/images/researchTeam/2.png) 0 0 / cover no-repeat;
&:nth-child(even) {
margin-right: 0;
}

@ -45,7 +45,7 @@
<div class="sfel-banner">
<img width="100%"
height="480"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="right">
<h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and innovation. We are open and creative</h6>
@ -56,7 +56,7 @@
<ul class="card">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -68,7 +68,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -80,7 +80,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/11.png"
src="https://new.iasf.ac.cn/images/about/11.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -157,7 +157,7 @@
<ul class="card-list">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>喜讯储存环三次谐波腔的带束实验验证及超导高频频腔</h6>
@ -166,7 +166,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>光明区总工会为一线科研人员送上新春祝福</h6>
@ -175,7 +175,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>深圳综合粒子设施研究院与中国科学院</h6>
@ -210,14 +210,14 @@
<div class="left">
<img width="100%"
height="100%"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="text">关于2021年度深圳综合粒子设施研究院采购意向公开表</div>
</div>
<ul class="card-list">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>专业技术培训 | 自由电子激光装置中的结构</h6>
@ -244,7 +244,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>专业技术培训 | 自由电子激光装置中的结构</h6>
@ -271,7 +271,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<h6>专业技术培训 | 自由电子激光装置中的结构</h6>
@ -322,7 +322,7 @@
style="margin-right: 20px">
<img width="100%"
height="100%"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="text">关于2021年度深圳综合粒子设施研究院采购意向公开表</div>
</div>
@ -330,7 +330,7 @@
data-wow-delay="0.5s">
<img width="100%"
height="100%"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="text">关于2021年度深圳综合粒子设施研究院采购意向公开表</div>
</div>

@ -45,7 +45,7 @@
<div class="sfel-banner">
<img width="100%"
height="480"
src="http://10.10.11.7/images/about/5.png"
src="https://new.iasf.ac.cn/images/about/5.png"
alt="">
<div class="right">
<h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and innovation. We are open and creative</h6>
@ -56,7 +56,7 @@
<ul class="card">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -68,7 +68,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/10.png"
src="https://new.iasf.ac.cn/images/about/10.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -80,7 +80,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/11.png"
src="https://new.iasf.ac.cn/images/about/11.png"
alt="">
<div class="texts">
<p class="meta">2022-09-09 | Research</p>
@ -140,7 +140,7 @@
<ul class="card-list">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>喜讯储存环三次谐波腔的带束实验验证及超导高频频腔</h6>
@ -149,7 +149,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>光明区总工会为一线科研人员送上新春祝福</h6>
@ -158,7 +158,7 @@
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="texts">
<h6>深圳综合粒子设施研究院与中国科学院</h6>
@ -192,7 +192,7 @@
style="margin-right: 20px">
<img width="100%"
height="100%"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="text">关于2021年度深圳综合粒子设施研究院采购意向公开表</div>
</div>
@ -200,7 +200,7 @@
data-wow-delay="0.5s">
<img width="100%"
height="100%"
src="http://10.10.11.7/images/about/9.png"
src="https://new.iasf.ac.cn/images/about/9.png"
alt="">
<div class="text">关于2021年度深圳综合粒子设施研究院采购意向公开表</div>
</div>

@ -96,7 +96,7 @@ export default {
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.block {
background: url(http://10.10.11.7/images/speech/2.png) no-repeat;
background: url(https://new.iasf.ac.cn/images/speech/2.png) no-repeat;
}
.inner {
display: flex;

@ -164,7 +164,7 @@ export default {
this.$post(this.api.roles, Util.rsa({
page: this.page,
limit: this.pageSize,
name: this.keyword,
name: encodeURI(this.keyword),
})).then(({ data }) => {
const list = data.records.filter(e => e.id !== 1) //
// const list = data.records
@ -288,13 +288,13 @@ export default {
permissions: checked
}
if (form.id) {
this.$post(this.api.updateRole, Util.rsa(data)).then(res => {
this.$post(this.api.updateRole, data).then(res => {
Util.successMsg("修改成功")
this.getData()
this.roleVisible = false
}).catch(res => { })
} else {
this.$post(this.api.addRole, Util.rsa(data)).then(res => {
this.$post(this.api.addRole, data).then(res => {
Util.successMsg("新增成功")
this.getData()
this.roleVisible = false

@ -11,6 +11,7 @@
accept="image/*"
:show-file-list="false"
:headers="headers"
:on-error="uploadError"
:before-upload="beforeUpload"
:on-success="changeAvatar">
<el-button type="text"
@ -91,8 +92,24 @@ export default {
}
return true
},
//
uploadError (err, file, fileList) {
this.$message({
message: "上传出错,请重试!",
type: "error",
center: true
})
},
changeAvatar (res) {
this.setAvatar(res.data)
if (res.code === 200) {
this.setAvatar(res.data)
} else {
this.$message({
message: res.msg,
type: "error",
center: true
})
}
},
updateStatus (status) {
this.edited = status

@ -324,7 +324,7 @@ export default {
if (!data.password) return Util.warningMsg("请输入原密码")
if (!data.newPassword) return Util.warningMsg("请输入新密码")
if (!data.reNewPassword) return Util.warningMsg("请确认新密码")
if (data.newPassword.length < 8 || data.reNewPassword.length < 8) return Util.warningMsg("密码不得小于8位,并且至少包含数字、字母和特殊字符中两种")
if (data.newPassword.length < 8 || data.reNewPassword.length < 8) return Util.warningMsg("密码长度不得小于8位,至少包含数字、大小写字母和特殊字符")
if (data.newPassword !== data.reNewPassword) return Util.warningMsg("输入的新密码不一致,请重新确认")
if (data.password === data.newPassword) return Util.warningMsg("原密码跟新密码不能一致")
this.$post(this.api.pwd, Util.rsa({
@ -345,11 +345,13 @@ export default {
},
submit () {
const { form } = this
if (!/^[A-Za-z0-9]*$/.test(form.username)) return Util.warningMsg('请输入正确账号格式')
if (!/^[A-Za-z0-9]*$/.test(form.jobNumber)) return Util.warningMsg('请输入正确工号格式')
this.$post(this.api.updateUser, Util.rsa({
id: form.id,
jobNumber: form.jobNumber,
phone: form.phone,
realName: form.realName,
realName: encodeURI(form.realName),
username: form.username,
email: form.email,
sex: form.sex,

@ -646,7 +646,7 @@ export default {
orgSubmit () {
this.$refs.orgForm.validate((valid) => {
if (valid) {
const form = this.orgForm
const form = JSON.parse(JSON.stringify(this.orgForm))
const cas = this.cascaderValue
const len = cas.length
if (cas && len) {
@ -654,6 +654,8 @@ export default {
} else if (!form.pid) {
form.pid = 0
}
form.name = encodeURI(form.name)
form.pidName = encodeURI(form.pidName)
if (!form.id) {
//
this.$post(this.api.dept, Util.rsa(form)).then(res => {
@ -690,7 +692,7 @@ export default {
this.$post(this.api.users, Util.rsa({
type: this.staffType || 1,
deptArchitectureId: this.$refs.orgs.getCurrentKey() || '',
keyWord: this.keyword,
keyWord: encodeURI(this.keyword),
pageNum: this.page,
pageSize: this.pageSize
})).then(({ data }) => {
@ -874,6 +876,7 @@ export default {
const form = JSON.parse(JSON.stringify(this.form))
const ids = form.deptArchitectureId
if (ids) form.deptArchitectureId = ids.map(e => e[e.length - 1])
form.realName = encodeURI(form.realName)
if (form.id) {
this.$post(this.api.updateUser, Util.rsa(form)).then(res => {
Util.successMsg("编辑成功!")

@ -135,7 +135,7 @@ export default {
methods: {
getData () {
this.$post(this.api.groupList, Util.rsa({
groupName: this.keyword,
groupName: encodeURI(this.keyword),
page: this.page,
limit: this.pageSize
})).then(({ data }) => {
@ -210,7 +210,9 @@ export default {
if (valid) {
if (this.submiting) return false
this.submiting = true
const { form } = this
const form = JSON.parse(JSON.stringify(this.form))
form.groupName = encodeURI(form.groupName)
form.description = encodeURI(form.description)
if (form.id) {
this.$post(this.api.groupUpdate, Util.rsa(form)).then(res => {
Util.successMsg("编辑成功!")

@ -10,6 +10,7 @@ const service = axios.create({
// post请求头
service.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8'
service.defaults.headers['X-Content-Type-Options'] = 'nosniff'
service.defaults.headers['Accept'] = 'application/json'
service.defaults.headers['Content-Security-Policy'] = 'script-src "self"; object-src "none";style-src cdn.example.org third-party.org; child-src https:'
// 请求拦截器
service.interceptors.request.use(config => {

@ -3,9 +3,7 @@
* */
const isDev = process.env.NODE_ENV === 'development' // 开发环境
let host = `${location.origin}/`
if (isDev) {
host = 'http://192.168.31.51:10000/'
}
const Setting = {
/**
* 基础配置

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

Loading…
Cancel
Save