yujialong 2 years ago
parent b959369fab
commit 0d452dcd3e
  1. 2
      src/api/index.js
  2. 130
      src/const/modules.js
  3. 46
      src/mixins/page/index.js
  4. 58
      src/pages/article/add/index.vue
  5. 2
      src/pages/article/list/index.vue
  6. 2
      src/pages/column/add/index.vue
  7. 2
      src/pages/column/list/index.vue
  8. 2
      src/pages/column/page/about.vue
  9. 14
      src/pages/column/page/application.vue
  10. 2
      src/pages/column/page/careers.vue
  11. 2
      src/pages/column/page/edu.vue
  12. 14
      src/pages/column/page/home.vue
  13. 32
      src/pages/column/page/news.vue
  14. 2
      src/pages/column/page/newsPress.vue
  15. 2
      src/pages/column/page/newsProcurement.vue
  16. 2
      src/pages/column/page/research.vue
  17. 2
      src/setting.js

@ -17,7 +17,7 @@ export default {
sendPhoneOrEmailCode: `iasf/sys/sendPhoneOrEmailCode`, sendPhoneOrEmailCode: `iasf/sys/sendPhoneOrEmailCode`,
updatePhoneOrEmail: `iasf/sys/updatePhoneOrEmail`, updatePhoneOrEmail: `iasf/sys/updatePhoneOrEmail`,
updateUserAvatars: `${host}iasf/sys/updateUserAvatars`, updateUserAvatars: `${host}iasf/sys/updateUserAvatars`,
staffTemplate: `https://31k70639y6.zicp.fun/用户导入模板.xlsx`, staffTemplate: `http://192.168.31.136/用户导入模板.xlsx`,
checkJobNumber: `iasf/sys/checkJobNumber`, checkJobNumber: `iasf/sys/checkJobNumber`,
checkUsername: `iasf/sys/checkUsername`, checkUsername: `iasf/sys/checkUsername`,
resetPwd: `iasf/sys/resetPwd`, resetPwd: `iasf/sys/resetPwd`,

@ -43,7 +43,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/about/1.png', pic: 'http://192.168.31.136/images/about/1.png',
title: 'ABOUT', title: 'ABOUT',
link: { link: {
linkName: '无', linkName: '无',
@ -92,7 +92,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/about/2.png', pic: 'http://192.168.31.136/images/about/2.png',
title: 'Our History', title: 'Our History',
subTitle: 'Throughout the world, most of the top science and technology innovation centers are distributed', subTitle: 'Throughout the world, most of the top science and technology innovation centers are distributed',
link: { link: {
@ -446,7 +446,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/about/5.png', pic: 'http://192.168.31.136/images/about/5.png',
title: 'Strategic Plan', title: 'Strategic Plan',
link: { link: {
linkName: '无', linkName: '无',
@ -533,7 +533,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/about/6.png', pic: 'http://192.168.31.136/images/about/6.png',
title: 'Sun Dongbai', title: 'Sun Dongbai',
subTitle: 'Founder and 1st PRESIDENT OF THE INSTITUTE OF ADVANCED SCIENCE FACILITIES, SHENZHEN', subTitle: 'Founder and 1st PRESIDENT OF THE INSTITUTE OF ADVANCED SCIENCE FACILITIES, SHENZHEN',
link: { link: {
@ -551,7 +551,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/about/7.png', pic: 'http://192.168.31.136/images/about/7.png',
title: 'Yang Xueming', title: 'Yang Xueming',
subTitle: 'Vice President of the Institute of Advanced Scienc, Shenzhen', subTitle: 'Vice President of the Institute of Advanced Scienc, Shenzhen',
link: { link: {
@ -569,7 +569,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/about/8.png', pic: 'http://192.168.31.136/images/about/8.png',
title: 'Ulf KALSSON', title: 'Ulf KALSSON',
subTitle: 'The Chairman of Science and Technology Advisory Committee', subTitle: 'The Chairman of Science and Technology Advisory Committee',
link: { link: {
@ -635,7 +635,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/about/9.png', pic: 'http://192.168.31.136/images/about/9.png',
title: 'Science and Technology', title: 'Science and Technology',
subTitle: '', subTitle: '',
link: { link: {
@ -679,7 +679,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/about/10.png', pic: 'http://192.168.31.136/images/about/10.png',
title: 'User Committee', title: 'User Committee',
subTitle: '', subTitle: '',
link: { link: {
@ -723,7 +723,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/about/11.png', pic: 'http://192.168.31.136/images/about/11.png',
title: 'Industry Advancement Committee', title: 'Industry Advancement Committee',
subTitle: '', subTitle: '',
link: { link: {
@ -787,7 +787,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/about/12.png', pic: 'http://192.168.31.136/images/about/12.png',
title: 'Throughout the world, most of the top science and technology innovation centers are distributed', title: 'Throughout the world, most of the top science and technology innovation centers are distributed',
subTitle: '', subTitle: '',
link: { link: {
@ -845,7 +845,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/1.png', pic: 'http://192.168.31.136/images/careers/1.png',
title: 'CAREERS', title: 'CAREERS',
link: { link: {
linkName: '无', linkName: '无',
@ -889,7 +889,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/careers/2.png', pic: 'http://192.168.31.136/images/careers/2.png',
title: 'Research', title: 'Research',
link: { link: {
linkName: '无', linkName: '无',
@ -932,7 +932,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/careers/3.png', pic: 'http://192.168.31.136/images/careers/3.png',
title: 'Engineering', title: 'Engineering',
link: { link: {
linkName: '无', linkName: '无',
@ -975,7 +975,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/careers/4.png', pic: 'http://192.168.31.136/images/careers/4.png',
title: 'Management Staff', title: 'Management Staff',
link: { link: {
linkName: '无', linkName: '无',
@ -1018,7 +1018,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/careers/5.png', pic: 'http://192.168.31.136/images/careers/5.png',
title: 'Post-doc Programs', title: 'Post-doc Programs',
link: { link: {
linkName: '无', linkName: '无',
@ -1098,7 +1098,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/6.png', pic: 'http://192.168.31.136/images/careers/6.png',
title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.', title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.',
link: { link: {
linkName: '无', linkName: '无',
@ -1115,7 +1115,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/7.png', pic: 'http://192.168.31.136/images/careers/7.png',
title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.', title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.',
link: { link: {
linkName: '无', linkName: '无',
@ -1132,7 +1132,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/8.png', pic: 'http://192.168.31.136/images/careers/8.png',
title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.', title: 'IASF started its journey to chase light, push the boundaries forward, and discover the unknown.',
link: { link: {
linkName: '无', linkName: '无',
@ -1200,7 +1200,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/9.png', pic: 'http://192.168.31.136/images/careers/9.png',
title: 'Benefits', title: 'Benefits',
subTitle: 'YOU ARE IN GOOD HANDS', subTitle: 'YOU ARE IN GOOD HANDS',
link: { link: {
@ -1218,7 +1218,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/10.png', pic: 'http://192.168.31.136/images/careers/10.png',
title: 'Traineeships', title: 'Traineeships',
subTitle: 'YOUR FUTURE STARTS HERE', subTitle: 'YOUR FUTURE STARTS HERE',
link: { link: {
@ -1236,7 +1236,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/11.png', pic: 'http://192.168.31.136/images/careers/11.png',
title: 'Programs', title: 'Programs',
subTitle: 'YOUR INSPIRATION HAS GREAT SUPPORTS', subTitle: 'YOUR INSPIRATION HAS GREAT SUPPORTS',
link: { link: {
@ -1296,7 +1296,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/edu/1.png', pic: 'http://192.168.31.136/images/edu/1.png',
title: 'EDUCATION & COLLABORATION', title: 'EDUCATION & COLLABORATION',
link: { link: {
linkName: '无', linkName: '无',
@ -1340,7 +1340,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/edu/2.png', pic: 'http://192.168.31.136/images/edu/2.png',
title: 'Partnership', title: 'Partnership',
link: { link: {
linkName: '无', linkName: '无',
@ -1383,7 +1383,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/edu/2.png', pic: 'http://192.168.31.136/images/edu/2.png',
title: 'Programs', title: 'Programs',
link: { link: {
linkName: '无', linkName: '无',
@ -1469,7 +1469,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/edu/3.png', pic: 'http://192.168.31.136/images/edu/3.png',
title: 'community service', title: 'community service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -1487,7 +1487,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/edu/4.png', pic: 'http://192.168.31.136/images/edu/4.png',
title: 'community service', title: 'community service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -1505,7 +1505,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/edu/5.png', pic: 'http://192.168.31.136/images/edu/5.png',
title: 'community service', title: 'community service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -1565,7 +1565,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/home/1.png', pic: 'http://192.168.31.136/images/home/1.png',
title: 'HOME', title: 'HOME',
link: { link: {
linkName: '无', linkName: '无',
@ -1629,7 +1629,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/home/2.png', pic: 'http://192.168.31.136/images/home/2.png',
title: 'Shenzhen Innovation Lightsource Facility', title: 'Shenzhen Innovation Lightsource Facility',
link: { link: {
linkName: '无', linkName: '无',
@ -1672,7 +1672,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/home/3.png', pic: 'http://192.168.31.136/images/home/3.png',
title: 'Shenzhen Soft X-ray Superconducting Free-electron Laser Facility ', title: 'Shenzhen Soft X-ray Superconducting Free-electron Laser Facility ',
link: { link: {
linkName: '无', linkName: '无',
@ -1788,7 +1788,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/6.png', pic: 'http://192.168.31.136/images/careers/6.png',
title: 'SHAO Jiahang, PH.D.', title: 'SHAO Jiahang, PH.D.',
subTitle: '', subTitle: '',
link: { link: {
@ -1806,7 +1806,7 @@ export default {
des: '“..., The new facility (S3FEL) will provide the brightest soft X-ray laser to both scientific and industrial users worldwide, enabling applications that are beyond imagination, ...”…' des: '“..., The new facility (S3FEL) will provide the brightest soft X-ray laser to both scientific and industrial users worldwide, enabling applications that are beyond imagination, ...”…'
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/7.png', pic: 'http://192.168.31.136/images/careers/7.png',
title: 'PENG Ziling, Ph.D.', title: 'PENG Ziling, Ph.D.',
subTitle: '', subTitle: '',
link: { link: {
@ -1824,7 +1824,7 @@ export default {
des: '“..., With so many young, professional, and passionate workmates, I treasure the moments we spent on fruitful discussions, brainstorming, teamworking, and the leisure activities on the Guangming farm just next to our worksite, ...”…' des: '“..., With so many young, professional, and passionate workmates, I treasure the moments we spent on fruitful discussions, brainstorming, teamworking, and the leisure activities on the Guangming farm just next to our worksite, ...”…'
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/careers/8.png', pic: 'http://192.168.31.136/images/careers/8.png',
title: 'CHEN Rikun, M.S.', title: 'CHEN Rikun, M.S.',
subTitle: '', subTitle: '',
link: { link: {
@ -2061,7 +2061,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/news/1.png', pic: 'http://192.168.31.136/images/news/1.png',
title: 'NEWS & EVENTS', title: 'NEWS & EVENTS',
link: { link: {
linkName: '无', linkName: '无',
@ -2241,7 +2241,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/news/1.png', pic: 'http://192.168.31.136/images/news/1.png',
title: 'NEWS & EVENTS', title: 'NEWS & EVENTS',
link: { link: {
linkName: '无', linkName: '无',
@ -2308,7 +2308,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/newsPress/1.png', pic: 'http://192.168.31.136/images/newsPress/1.png',
title: 'Reports', title: 'Reports',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -2326,7 +2326,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/newsPress/2.png', pic: 'http://192.168.31.136/images/newsPress/2.png',
title: 'Brochures', title: 'Brochures',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -2344,7 +2344,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/newsPress/3.png', pic: 'http://192.168.31.136/images/newsPress/3.png',
title: 'Gallery', title: 'Gallery',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -2404,7 +2404,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/news/1.png', pic: 'http://192.168.31.136/images/news/1.png',
title: 'NEWS & EVENTS', title: 'NEWS & EVENTS',
link: { link: {
linkName: '无', linkName: '无',
@ -2471,7 +2471,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/newsProcurement/1.png', pic: 'http://192.168.31.136/images/newsProcurement/1.png',
title: 'Project ', title: 'Project ',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -2489,7 +2489,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/newsProcurement/2.png', pic: 'http://192.168.31.136/images/newsProcurement/2.png',
title: 'Goods', title: 'Goods',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -2507,7 +2507,7 @@ export default {
isEnable: 1 isEnable: 1
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/newsProcurement/3.png', pic: 'http://192.168.31.136/images/newsProcurement/3.png',
title: 'Service', title: 'Service',
subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.', subTitle: 'IASF is driven to serve the Science and industry, and solve grand challenges.',
link: { link: {
@ -2567,7 +2567,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/1.png', pic: 'http://192.168.31.136/images/research/1.png',
title: 'RESEARCH', title: 'RESEARCH',
link: { link: {
linkName: '无', linkName: '无',
@ -2648,7 +2648,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/res1.png', pic: 'http://192.168.31.136/images/research/res1.png',
title: 'Physics', title: 'Physics',
link: { link: {
linkName: '无', linkName: '无',
@ -2664,7 +2664,7 @@ export default {
des: 'Research Field Description', des: 'Research Field Description',
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/res2.png', pic: 'http://192.168.31.136/images/research/res2.png',
title: 'Chemistry', title: 'Chemistry',
link: { link: {
linkName: '无', linkName: '无',
@ -2680,7 +2680,7 @@ export default {
des: 'Research Field Description', des: 'Research Field Description',
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/res3.png', pic: 'http://192.168.31.136/images/research/res3.png',
title: 'Biology', title: 'Biology',
link: { link: {
linkName: '无', linkName: '无',
@ -2696,7 +2696,7 @@ export default {
des: 'Research Field Description', des: 'Research Field Description',
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/res4.png', pic: 'http://192.168.31.136/images/research/res4.png',
title: 'Advanced Materials ', title: 'Advanced Materials ',
link: { link: {
linkName: '无', linkName: '无',
@ -2712,7 +2712,7 @@ export default {
des: 'Research Field Description', des: 'Research Field Description',
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/res5.png', pic: 'http://192.168.31.136/images/research/res5.png',
title: 'Advanced Manufacturing', title: 'Advanced Manufacturing',
link: { link: {
linkName: '无', linkName: '无',
@ -2787,7 +2787,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/3.png', pic: 'http://192.168.31.136/images/research/3.png',
title: 'Accelerator', title: 'Accelerator',
link: { link: {
linkName: '无', linkName: '无',
@ -2802,7 +2802,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/4.png', pic: 'http://192.168.31.136/images/research/4.png',
title: 'Physics', title: 'Physics',
link: { link: {
linkName: '无', linkName: '无',
@ -2817,7 +2817,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/5.png', pic: 'http://192.168.31.136/images/research/5.png',
title: 'Mechanical Engineering', title: 'Mechanical Engineering',
link: { link: {
linkName: '无', linkName: '无',
@ -2832,7 +2832,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/6.png', pic: 'http://192.168.31.136/images/research/6.png',
title: 'Digital Light-source', title: 'Digital Light-source',
link: { link: {
linkName: '无', linkName: '无',
@ -2847,7 +2847,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/7.png', pic: 'http://192.168.31.136/images/research/7.png',
title: 'Beam Lines', title: 'Beam Lines',
link: { link: {
linkName: '无', linkName: '无',
@ -2862,7 +2862,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/8.png', pic: 'http://192.168.31.136/images/research/8.png',
title: 'End Stations', title: 'End Stations',
link: { link: {
linkName: '无', linkName: '无',
@ -2943,7 +2943,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/12.png', pic: 'http://192.168.31.136/images/research/12.png',
title: '这里是标题一句话标题', title: '这里是标题一句话标题',
link: { link: {
linkName: '无', linkName: '无',
@ -2959,7 +2959,7 @@ export default {
des: 'Online single-shot characterization of ultrafast pulses from high-gain free-electron lasers, Li Zeng,Chao Feng,Duan Gu,Xiaofan Wang,Kaiqing Zhang,Bo Liu,Zhentang Zhao,Fundamental Research', des: 'Online single-shot characterization of ultrafast pulses from high-gain free-electron lasers, Li Zeng,Chao Feng,Duan Gu,Xiaofan Wang,Kaiqing Zhang,Bo Liu,Zhentang Zhao,Fundamental Research',
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/13.png', pic: 'http://192.168.31.136/images/research/13.png',
title: '这里是标题一句话标题', title: '这里是标题一句话标题',
link: { link: {
linkName: '无', linkName: '无',
@ -2979,7 +2979,7 @@ export default {
`, `,
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/14.png', pic: 'http://192.168.31.136/images/research/14.png',
title: '这里是标题一句话标题', title: '这里是标题一句话标题',
link: { link: {
linkName: '无', linkName: '无',
@ -3039,7 +3039,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/application/1.png', pic: 'http://192.168.31.136/images/application/1.png',
title: 'APPLICATION', title: 'APPLICATION',
link: { link: {
linkName: '无', linkName: '无',
@ -3088,7 +3088,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://31k70639y6.zicp.fun/images/research/2.png', pic: 'http://192.168.31.136/images/research/2.png',
title: 'Why IASF?', title: 'Why IASF?',
subTitle: `IASF started its journey to chase light, subTitle: `IASF started its journey to chase light,
The one that can drive innovation, The one that can drive innovation,
@ -3357,7 +3357,7 @@ export default {
}, },
list: [ list: [
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/3.png', pic: 'http://192.168.31.136/images/application/3.png',
title: 'Accelerator', title: 'Accelerator',
link: { link: {
linkName: '无', linkName: '无',
@ -3372,7 +3372,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/4.png', pic: 'http://192.168.31.136/images/application/4.png',
title: 'Physics', title: 'Physics',
link: { link: {
linkName: '无', linkName: '无',
@ -3387,7 +3387,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/5.png', pic: 'http://192.168.31.136/images/application/5.png',
title: 'Mechanical Engineering', title: 'Mechanical Engineering',
link: { link: {
linkName: '无', linkName: '无',
@ -3402,7 +3402,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/6.png', pic: 'http://192.168.31.136/images/application/6.png',
title: 'Digital Light-source', title: 'Digital Light-source',
link: { link: {
linkName: '无', linkName: '无',
@ -3417,7 +3417,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/7.png', pic: 'http://192.168.31.136/images/application/7.png',
title: 'Beam Lines', title: 'Beam Lines',
link: { link: {
linkName: '无', linkName: '无',
@ -3432,7 +3432,7 @@ export default {
} }
}, },
{ {
pic: 'https://31k70639y6.zicp.fun/images/research/8.png', pic: 'http://192.168.31.136/images/application/8.png',
title: 'End Stations', title: 'End Stations',
link: { link: {
linkName: '无', linkName: '无',

@ -1,7 +1,6 @@
import Module from '@/components/modules/module' import Module from '@/components/modules/module'
import Setting from '@/setting' import Setting from '@/setting'
import Util from '@/libs/util' import Util from '@/libs/util'
import ColumnConst from '@/const/column'
import { Loading } from 'element-ui' import { Loading } from 'element-ui'
export default { export default {
data() { data() {
@ -10,15 +9,33 @@ export default {
site: this.$store.state.content.site, site: this.$store.state.content.site,
columnId: +this.$route.query.id, columnId: +this.$route.query.id,
id: '', id: '',
originModules: [],
diaVisible: false, diaVisible: false,
curModule: 0, curModule: 0,
curListIndex: 0, curListIndex: 0,
curData: {}, curData: {},
pass: false,
} }
}, },
components: { components: {
Module, Module,
}, },
// 页面离开的时候如果没有保存则提示
beforeRouteLeave(to, from, next) {
// 更改了信息才需要提示
if (!this.pass && this.originModules !== JSON.stringify(this.modules)) {
this.$confirm(`所填写内容暂未保存,是否保存?`, '提示', {
type: 'warning'
}).then(() => {
this.save(1, 1)
next()
}).catch(() => {
next()
})
} else {
next()
}
},
mounted() { mounted() {
this.getInfo() this.getInfo()
}, },
@ -49,7 +66,9 @@ export default {
if (data.length) { if (data.length) {
const json = data[0] const json = data[0]
this.id = json.id this.id = json.id
this.modules = JSON.parse(json[json.state ? 'theEditedJson' : 'jsonBeforeEditing']) const str = json[json.state ? 'theEditedJson' : 'jsonBeforeEditing']
this.originModules = str // 原始json,用以页面离开的时候判断是否需要提示保存
this.modules = JSON.parse(str)
console.log("🚀 ~ file: index.js ~ line 53 ~ this.$post ~ this.modules", this.modules) console.log("🚀 ~ file: index.js ~ line 53 ~ this.$post ~ this.modules", this.modules)
} }
}).catch(err => {}) }).catch(err => {})
@ -101,13 +120,13 @@ export default {
json: this.handleJson() json: this.handleJson()
}).then(res => { }).then(res => {
load.close() load.close()
window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'https://31k70639y6.zicp.fun/front') + `/#/${this.$route.query.path}?id=${this.columnId}&preview=1&siteId=${this.$route.query.siteId}`) window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'http://192.168.31.136/front') + `/#/${this.$route.query.path}?id=${this.columnId}&preview=1&siteId=${this.$route.query.siteId}`)
}).catch(err => { }).catch(err => {
load.close() load.close()
}) })
}, },
// 保存 // 保存
save(state) { save(state, leave) {
const json = this.handleJson() const json = this.handleJson()
const data = { const data = {
id: this.id, id: this.id,
@ -120,9 +139,26 @@ export default {
} }
if (state) data.theEditedJson = json if (state) data.theEditedJson = json
this.$post(this.api[this.id ? 'updatePage' : 'savePage'], data).then(res => { this.$post(this.api[this.id ? 'updatePage' : 'savePage'], data).then(res => {
this.originModules = json
Util.successMsg((state ? '发布' : '保存') + '成功') Util.successMsg((state ? '发布' : '保存') + '成功')
this.$router.back() leave || this.$router.back()
}).catch(err => {}) }).catch(err => {})
},
// 返回
back() {
this.pass = true
// 更改了信息才需要提示
if (this.originModules !== JSON.stringify(this.modules)) {
this.$confirm(`所填写内容暂未保存,是否保存?`, '提示', {
type: 'warning'
}).then(() => {
this.save(1)
}).catch(() => {
this.$router.back()
})
} else {
this.$router.back()
} }
},
} }
}; };

@ -174,7 +174,7 @@
<el-select style="width: 234px;" v-model="form.classificationId"> <el-select style="width: 234px;" v-model="form.classificationId">
<template v-for="item in classifications"> <template v-for="item in classifications">
<el-option <el-option
v-if="item.classificationName" v-if="item.id"
:key="item.id" :key="item.id"
:label="item.classificationName" :label="item.classificationName"
:value="item.id"> :value="item.id">
@ -187,7 +187,7 @@
<el-select style="width: 234px;" v-model="form.lableId" multiple> <el-select style="width: 234px;" v-model="form.lableId" multiple>
<template v-for="item in labels"> <template v-for="item in labels">
<el-option <el-option
v-if="item.labelName" v-if="item.id"
:key="item.id" :key="item.id"
:label="item.labelName" :label="item.labelName"
:value="item.id"> :value="item.id">
@ -317,7 +317,7 @@
@upload="customUpload" /> @upload="customUpload" />
</el-dialog> </el-dialog>
<el-dialog title="所属分类设置" :visible.sync="classVisible" width="500px" :close-on-click-modal="false" class="manage-dia"> <el-dialog title="所属分类设置" :visible.sync="classVisible" width="500px" :close-on-click-modal="false" class="manage-dia" :before-close="closeClass">
<div class="plus"> <div class="plus">
<i class="el-icon-circle-plus-outline" @click="addClass"></i> <i class="el-icon-circle-plus-outline" @click="addClass"></i>
</div> </div>
@ -345,11 +345,11 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<span slot="footer"> <span slot="footer">
<el-button @click="classVisible = false">返回</el-button> <el-button @click="closeClass">返回</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="主题标签设置" :visible.sync="labelVisible" width="500px" :close-on-click-modal="false" class="manage-dia"> <el-dialog title="主题标签设置" :visible.sync="labelVisible" width="500px" :close-on-click-modal="false" class="manage-dia" :before-close="closeLabel">
<div class="plus"> <div class="plus">
<i class="el-icon-circle-plus-outline" @click="addLabel"></i> <i class="el-icon-circle-plus-outline" @click="addLabel"></i>
</div> </div>
@ -377,7 +377,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<span slot="footer"> <span slot="footer">
<el-button @click="labelVisible = false">返回</el-button> <el-button @click="closeLabel">返回</el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
@ -716,7 +716,7 @@ export default {
} }
}, },
// //
submitClass(row) { submitClass(row, showMsg = 1) {
if (!row.classificationName) return util.errorMsg('请输入分类名称') if (!row.classificationName) return util.errorMsg('请输入分类名称')
this.$post(`${this.api.checkClassif}?classificationName=${row.classificationName}&siteId=${this.site.id}&classificationId=${row.id}`).then(res => { this.$post(`${this.api.checkClassif}?classificationName=${row.classificationName}&siteId=${this.site.id}&classificationId=${row.id}`).then(res => {
this.$post(this.api[row.id ? 'updateClassif' : 'saveClassif'], { this.$post(this.api[row.id ? 'updateClassif' : 'saveClassif'], {
@ -727,11 +727,29 @@ export default {
editorId: this.userId, editorId: this.userId,
founderId: this.userId founderId: this.userId
}).then(res => { }).then(res => {
util.successMsg((row.id ? '修改' : '新增') + '成功') showMsg && util.successMsg((row.id ? '修改' : '新增') + '成功')
this.getClassification() this.getClassification()
}).catch(res => {}) }).catch(res => {})
}).catch(res => {}) }).catch(res => {})
}, },
//
closeClass() {
const list = this.classifications
if (list.find(e => e.edit && e.classificationName)) {
this.$confirm('所填写内容暂未保存,是否保存?', '提示', {
type: 'warning'
}).then(() => {
list.map(e => {
e.edit && e.classificationName && this.submitClass(e, 0)
})
this.classVisible = false
}).catch(() => {
this.classVisible = false
})
} else {
this.classVisible = false
}
},
// //
@ -772,7 +790,7 @@ export default {
} }
}, },
// //
submitLabel(row) { submitLabel(row, showMsg = 1) {
if (!row.labelName) return util.errorMsg('请输入主题名称') if (!row.labelName) return util.errorMsg('请输入主题名称')
this.$post(`${this.api.checkLabel}?labelName=${row.labelName}&siteId=${this.site.id}&labelId=${row.id}`).then(res => { this.$post(`${this.api.checkLabel}?labelName=${row.labelName}&siteId=${this.site.id}&labelId=${row.id}`).then(res => {
this.$post(this.api[row.id ? 'updateLabel' : 'saveLabel'], { this.$post(this.api[row.id ? 'updateLabel' : 'saveLabel'], {
@ -782,11 +800,29 @@ export default {
editorId: this.userId, editorId: this.userId,
founderId: this.userId founderId: this.userId
}).then(res => { }).then(res => {
util.successMsg((row.id ? '修改' : '新增') + '成功') showMsg && util.successMsg((row.id ? '修改' : '新增') + '成功')
this.getLabel() this.getLabel()
}).catch(res => {}) }).catch(res => {})
}).catch(res => {}) }).catch(res => {})
}, },
//
closeLabel() {
const list = this.labels
if (list.find(e => e.edit && e.labelName)) {
this.$confirm('所填写内容暂未保存,是否保存?', '提示', {
type: 'warning'
}).then(() => {
list.map(e => {
e.edit && e.labelName && this.submitLabel(e, 0)
})
this.labelVisible = false
}).catch(() => {
this.labelVisible = false
})
} else {
this.labelVisible = false
}
},
// //
nameChange(){ nameChange(){
@ -933,7 +969,7 @@ export default {
}, },
// //
preview() { preview() {
window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'https://31k70639y6.zicp.fun/front') + `/#/article?id=${this.form.id}&siteId=${this.form.siteId}`) window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'http://192.168.31.136/front') + `/#/article?articleId=${this.form.id}&siteId=${this.form.siteId}&id=${this.form.columnId}`)
}, },
// //
back() { back() {

@ -289,7 +289,7 @@ export default {
}, },
// //
preview(row) { preview(row) {
window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'https://31k70639y6.zicp.fun/front') + `/#/article?id=${row.id}&siteId=${this.$refs.column.getCurrentNode().siteId}`) window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'http://192.168.31.136/front') + `/#/article?articleId=${row.id}&siteId=${this.$refs.column.getCurrentNode().siteId}&id=${row.columnId}`)
}, },
// //
edit(row) { edit(row) {

@ -195,7 +195,7 @@
</ul> </ul>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item v-show="form.typeId === 4" prop="showWithDetails" label="只有一篇文章时,以详情方式展示" label-width="240px"> <el-form-item v-show="form.typeId === 1 || form.typeId === 4" prop="showWithDetails" label="只有一篇文章时,以详情方式展示" label-width="240px">
<el-switch <el-switch
v-model="form.showWithDetails" v-model="form.showWithDetails"
:active-value="1" :active-value="1"

@ -294,7 +294,7 @@ export default {
const item = this.pageStyle.find(e => e.id == row.listStyleId) const item = this.pageStyle.find(e => e.id == row.listStyleId)
if (item) path = item.path if (item) path = item.path
} }
window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'https://31k70639y6.zicp.fun/front') + `/#/${row.typeId === 3 ? row.path : 'column'}?id=${row.id}&siteId=${row.siteId}`) window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'http://192.168.31.136/front') + `/#/${row.typeId === 3 ? row.path : 'column'}?id=${row.id}&siteId=${row.siteId}`)
}, },
// //
page(row) { page(row) {

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -81,7 +81,7 @@
</div> </div>
<ul class="news"> <ul class="news">
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -89,7 +89,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -97,7 +97,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -105,7 +105,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -113,7 +113,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -121,7 +121,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -61,7 +61,7 @@
</div> </div>
<ul class="news"> <ul class="news">
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -69,7 +69,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -77,7 +77,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -85,7 +85,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -93,7 +93,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>
@ -101,7 +101,7 @@
</div> </div>
</li> </li>
<li> <li>
<img src="https://31k70639y6.zicp.fun/images/home/3.png" alt=""> <img src="http://192.168.31.136/images/home/3.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Message from President Sun Dongbai</h6> <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> <p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</p>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -32,7 +32,7 @@
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<div class="banner"> <div class="banner">
<img width="100%" height="480" src="https://31k70639y6.zicp.fun/images/about/5.png" alt=""> <img width="100%" height="480" src="http://192.168.31.136/images/about/5.png" alt="">
<div class="right"> <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> <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> <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>
@ -41,7 +41,7 @@
</div> </div>
<ul class="card"> <ul class="card">
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="texts"> <div class="texts">
<p class="meta">2022-09-09 | Research</p> <p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div> <div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
@ -49,7 +49,7 @@
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/10.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/10.png" alt="">
<div class="texts"> <div class="texts">
<p class="meta">2022-09-09 | Research</p> <p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div> <div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
@ -57,7 +57,7 @@
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/11.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/11.png" alt="">
<div class="texts"> <div class="texts">
<p class="meta">2022-09-09 | Research</p> <p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div> <div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
@ -78,7 +78,7 @@
</div> </div>
<div class="shop-shows"> <div class="shop-shows">
<div class="left"> <div class="left">
<img width="100%" height="400" src="https://31k70639y6.zicp.fun/images/about/5.png" alt=""> <img width="100%" height="400" src="http://192.168.31.136/images/about/5.png" alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Messag President Sun Dongbai.</h6> <h6>2022 New Year Messag President Sun Dongbai.</h6>
<div class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</div> <div class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</div>
@ -87,31 +87,31 @@
<div class="right"> <div class="right">
<ul class="show-card"> <ul class="show-card">
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="des">Comprises the installation and nanostructuri</div> <div class="des">Comprises the installation and nanostructuri</div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/10.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/10.png" alt="">
<div class="des">Prof. Stephan V. Roth's research</div> <div class="des">Prof. Stephan V. Roth's research</div>
</li> </li>
</ul> </ul>
<ul class="card-list"> <ul class="card-list">
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="texts"> <div class="texts">
<h6>Hold doctorates or the highest degree in their field</h6> <h6>Hold doctorates or the highest degree in their field</h6>
<div class="des">Characterization in Fibre and Polymer Technology, KTH Royal Institute of Technology.Characteriza Royal Institute of technology.</div> <div class="des">Characterization in Fibre and Polymer Technology, KTH Royal Institute of Technology.Characteriza Royal Institute of technology.</div>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/10.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/10.png" alt="">
<div class="texts"> <div class="texts">
<h6>This 2019 image depicted a Centers for Disease</h6> <h6>This 2019 image depicted a Centers for Disease</h6>
<div class="des">laboratory technician, dressed in personal protective equipment (PPE), in thelaboratory technician, dressed in personal in the</div> <div class="des">laboratory technician, dressed in personal protective equipment (PPE), in thelaboratory technician, dressed in personal in the</div>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/11.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/11.png" alt="">
<div class="texts"> <div class="texts">
<h6>Browse premium related images on iStock</h6> <h6>Browse premium related images on iStock</h6>
<div class="des">which would undergo analysis, here, in this laboratory environment.which would undergo analysis, here, in this laboratory environment.</div> <div class="des">which would undergo analysis, here, in this laboratory environment.which would undergo analysis, here, in this laboratory environment.</div>
@ -133,7 +133,7 @@
</div> </div>
<div class="shows"> <div class="shows">
<div class="left"> <div class="left">
<img width="100%" height="558" src="https://31k70639y6.zicp.fun/images/about/5.png" alt=""> <img width="100%" height="558" src="http://192.168.31.136/images/about/5.png" alt="">
<div class="texts"> <div class="texts">
<div class="meta"> <div class="meta">
<p class="date">09</p> <p class="date">09</p>
@ -147,7 +147,7 @@
</div> </div>
<ul class="card-list"> <ul class="card-list">
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
@ -165,7 +165,7 @@
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
@ -183,7 +183,7 @@
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
@ -201,7 +201,7 @@
</div> </div>
</li> </li>
<li> <li>
<img class="pic" src="https://31k70639y6.zicp.fun/images/about/9.png" alt=""> <img class="pic" src="http://192.168.31.136/images/about/9.png" alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>

@ -6,7 +6,7 @@
<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 @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="$router.back()">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>

@ -6,7 +6,7 @@ const isDev = process.env.NODE_ENV === 'development' // 开发环境
let host = `${location.origin}/` let host = `${location.origin}/`
if (isDev) { if (isDev) {
host = 'http://192.168.31.136:10000/' // 测试服 host = 'http://192.168.31.136:10000/' // 测试服
// host = 'https://31k70639y6.zicp.fun/' // 测试服 // host = 'http://192.168.31.136/' // 测试服
// host = 'http://192.168.31.51:10000/' // 榕 // host = 'http://192.168.31.51:10000/' // 榕
// host = 'http://192.168.31.116:10000/' // 赓 // host = 'http://192.168.31.116:10000/' // 赓
} }

Loading…
Cancel
Save