diff --git a/app.vue b/app.vue index afd60ea..9b21e65 100644 --- a/app.vue +++ b/app.vue @@ -14,12 +14,21 @@ import { useStore } from '~/store' import { useI18n } from 'vue-i18n' const { locale } = useI18n() useSeoMeta({ - title: '中国共产主义青年团洛阳市委员会', - ogTitle: '中国共产主义青年团洛阳市委员会', - description: '中国共产主义青年团洛阳市委员会', - ogDescription: '中国共产主义青年团洛阳市委员会', - ogImage: 'https://example.com/image.png', + title: '洛阳青年之家 | 共青团洛阳市委员会 - 引领青年成长,服务洛阳发展', + ogTitle: '共青团洛阳市委员会官网 | 洛阳青年工作动态与服务平台', + description: '共青团洛阳市委员会权威平台,发布青年政策、志愿服务、就业创业指南、主题活动资讯,助力洛阳青年发展与城市建设。', + ogDescription: '获取洛阳共青团最新工作动态、青年活动报名入口、权益维护服务及社会实践机会,加入洛阳青年成长社区。', + ogImage: 'https://tsw.hschool.com.cn/web/img/index/logo.png', twitterCard: 'summary_large_image', + // 补充关键元标签 + keywords: '洛阳共青团,青年志愿服务,洛阳就业创业,青少年权益保护,青年大学习,洛阳青年活动' +}) +// 补充企业微信专用标签 +useHead({ + meta: [ + { name: 'wechat:image', content: 'https://tsw.hschool.com.cn/web/img/index/logo.png' }, + { name: 'x5:image', content: 'https://tsw.hschool.com.cn/web/img/index/logo.png' }, + ] }) const store = useStore(); onMounted(() => { diff --git a/components/AppAbout.vue b/components/AppAbout.vue index a848e7b..764a7ba 100644 --- a/components/AppAbout.vue +++ b/components/AppAbout.vue @@ -24,7 +24,7 @@
-
关于我们
+
组织机构
@@ -144,6 +144,7 @@ const getNewstypeList = async () => { } .top_search { + margin: 0 auto; margin-top: 50px; height: 70px; justify-content: space-between; @@ -407,4 +408,18 @@ const getNewstypeList = async () => { width: 700px; } } +@media (max-width: 1280px) { + .top_search { + width: 800px; + margin-left: 357px; + + } + .News_box{ + width: 900px; + margin-left: 250px; + } + .rig_box{ + width: 700px; + } +} \ No newline at end of file diff --git a/components/AppContactUs.vue b/components/AppContactUs.vue index 0e8a973..7adb2db 100644 --- a/components/AppContactUs.vue +++ b/components/AppContactUs.vue @@ -10,13 +10,13 @@
- +
@@ -126,6 +126,14 @@ const getLiuyanList = async () => { onMounted(() => { getLiuyanList(); }) +const toSearch = () => { + // emit('toSwpe',9); + // emitter.emit('inputSea', { + // keywords:inputSearch.value, + // type: 1, + // }); + window.open(`/search_info?type=1&keywords=${inputSearch.value}`) +} const emit = defineEmits(['toSwpe']) const toMore = (index:number) => { emit('toSwpe', index); @@ -198,6 +206,7 @@ const submitForm = () => { } .top_search { + margin: 0 auto; margin-top: 50px; height: 70px; justify-content: space-between; @@ -209,7 +218,6 @@ const submitForm = () => { .inputform { position: relative; width: 340px; - margin-right: 319px; } .contactInput { @@ -232,7 +240,7 @@ const submitForm = () => { .search_rinput { width: 68px; height: 50px; - background: #E6E6E6; + background: #338CDE; border-radius: 0px 8px 8px 0px; position: absolute; top: 0; @@ -321,7 +329,7 @@ const submitForm = () => { // right: 30px; height: 50px; margin-top: 20px; - margin-left: 50px; + margin-left: 60px; background: linear-gradient(0deg, #338CDE 0%, #469CE2 100%); border: none; font-weight: bold; @@ -388,11 +396,16 @@ const submitForm = () => { } @media (max-width: 1440px) { + .top_search { + width: 920px; + margin-left: 370px; + + } .left-msg { width: 1018px; margin: 0; margin-left: 270px; - margin-top: 40px; + margin-top: 60px; } #myTextarea { @@ -413,4 +426,34 @@ const submitForm = () => { width: 41px; } } +@media (max-width: 1280px) { + .top_search { + width: 800px; + margin-left: 357px; + } + .left-msg { + width: 900px; + margin: 0; + margin-left: 260px; + margin-top: 60px; + } + + #myTextarea { + width: 658px; + } + + .contactInputs { + width: 165px; + } + + .inputforms { + display: flex; + justify-content: start !important; + align-items: center; + } + + .contactForm .inputforms span { + width: 41px; + } +} diff --git a/components/AppFooter.vue b/components/AppFooter.vue index b6a8308..657d079 100644 --- a/components/AppFooter.vue +++ b/components/AppFooter.vue @@ -2,7 +2,7 @@