提交 e017535c authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 4b087446
......@@ -192,7 +192,7 @@ const items = [
max-width: 1200px;
margin: 0 auto;
color: #fff;
padding: 40px 0;
padding: 80px 0;
display: flex;
gap: 120px;
a:hover {
......
......@@ -181,7 +181,7 @@ const navList = ref([
{ name: '紫荆简介', href: '/about' },
{ name: '文化理念', href: '/about/culture' },
{ name: '企业动态', href: '/about/news' },
{ name: '校友故事', href: '/alumnus/story' },
{ name: '校友故事', href: '/about/alumnus' },
{ name: '公开课', href: '/about/lesson' },
{ name: '联系我们', href: '/about/contact' },
],
......@@ -549,7 +549,7 @@ const onDropdownLeave = () => {
&-item-children {
font-size: 14px;
line-height: 30px;
line-height: 38px;
ul li {
white-space: nowrap;
......
......@@ -39,17 +39,17 @@ const swiperOption = {
},
loop: true,
}
const data = [
{ web_img_uri: 'https://webapp-pub.ezijing.com/www/pc/next/banner1.jpg' },
{ web_img_uri: 'https://webapp-pub.ezijing.com/www/pc/next/banner2.jpg?v=2' },
{ web_img_uri: 'https://webapp-pub.ezijing.com/www/pc/next/banner3.jpg' },
]
// const data = [
// { web_img_uri: 'https://webapp-pub.ezijing.com/www/pc/next/banner1.jpg' },
// { web_img_uri: 'https://webapp-pub.ezijing.com/www/pc/next/banner2.jpg?v=2' },
// { web_img_uri: 'https://webapp-pub.ezijing.com/www/pc/next/banner3.jpg' },
// ]
// 使用 useAsyncData 进行服务端渲染
// const { data } = await useAsyncData('banner-ads', async () => {
// const params = { project_id: config.public.projectId, type_tag: 'ad_banner' }
// const res = await getAdvertisementList(params)
// return [{ web_img_uri: '/images/banner.jpg' }, ...res.data.data] || []
// })
const { data } = await useAsyncData('banner-ads', async () => {
const params = { project_id: config.public.projectId, type_tag: 'ad_banner' }
const res = await getAdvertisementList(params)
return res.data.data || []
})
</script>
<style lang="scss">
......
......@@ -135,7 +135,7 @@ const rows = computed(() => {
<div class="home-enterprise-box" v-for="(item, index) in item" :key="index">
<div class="home-enterprise-box-inner">
<div class="home-enterprise-box-inner-header">
<div class="home-enterprise-box-icon">
<div class="home-enterprise-box-icon" v-if="item.icon">
<EnterpriseIcons :name="item.icon" />
</div>
<p class="home-enterprise-box-name">{{ item.name }}</p>
......
......@@ -36,8 +36,8 @@ const items = ref([
{
name: '硕士',
items: [
{ name: '威斯康星协和大学家庭教育硕士', href: 'https://cu.ezijing.com/' },
{ name: '康博斯维尔大学教育学硕士', href: 'https://cuw.ezijing.com/' },
{ name: '威斯康星协和大学家庭教育硕士', href: 'https://cuw.ezijing.com/' },
{ name: '康博斯维尔大学教育学硕士', href: 'https://cu.ezijing.com/' },
],
},
{
......
......@@ -14,10 +14,10 @@ export const useAboutNavList = () => {
name: t('menu.aboutChild.news'),
path: '/about/news',
},
// {
// name: t('menu.aboutChild.msg'),
// path: '/about/message'
// },
{
name: t('menu.story'),
path: '/about/alumnus',
},
{
name: t('menu.aboutChild.openLesson'),
path: '/about/lesson',
......
<template>
<article-detail :tabs="tabs" @back="router.push('/about/alumnus')"></article-detail>
</template>
<script setup>
const router = useRouter()
const tabs = useAboutNavList()
</script>
<template>
<AppFrame :tabs="tabs">
<img src="https://webapp-pub.ezijing.com/www/pc/alumnus/banner.png" class="banner" />
<template #article>
<ArticleList v-bind="listOptions" />
</template>
</AppFrame>
</template>
<script setup>
import { getArticleList } from '@/api'
const config = useRuntimeConfig()
const tabs = useAboutNavList()
const listOptions = {
remote: {
httpRequest: getArticleList,
params: {
project_id: config.public.projectId,
type_tag: 'article_alumni',
},
},
to(item) {
return { path: `/about/alumnus/${item.id}` }
},
}
</script>
<style lang="scss" scoped>
.main_content {
width: 1200px;
margin: 30px auto;
.banner {
width: 100%;
}
}
</style>
......@@ -330,8 +330,9 @@ const tabList = [
border-radius: 12px;
overflow: hidden;
transition: all 0.3s;
&:hover {
box-shadow: 0px 0px 22px 1px rgba(0, 0, 0, 0.12);
&:hover {
transform: translateY(-10px);
.content {
top: 0;
background-color: #fff;
......@@ -484,6 +485,7 @@ const tabList = [
background-size: 100% 100%;
&:hover {
background: url('https://webapp-pub.ezijing.com/www/pc/next/ai/fwbz_hover.png') no-repeat;
background-size: 100% 100%;
h3 {
color: var(--main-color);
}
......
......@@ -26,7 +26,7 @@ const certList = [
name: '中/高端酒店总经理培养项目',
tags: ['双方导师培养', '真实运营案例', '岗位直通快车'],
desc: '瑞士酒店MBA中心与万达酒店高管联合授课,先进理论+万达酒店运营案例,学员深度参与酒店运营,全面提升薄弱项和简历含金量;考核优秀者直通万达酒店副/总经理岗位面试。',
href: 'https://wdm.ezijing.com/',
href: 'https://wdgm.ezijing.com/',
},
{
img: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/next/cert/cert_5.png',
......@@ -220,7 +220,7 @@ const zzfwList = ['顶层设计服务', '技能培训服务', '行业讲座服
}
}
&-content {
padding: 30px;
padding: 20px;
position: absolute;
top: 140px;
right: 0;
......@@ -231,7 +231,7 @@ const zzfwList = ['顶层设计服务', '技能培训服务', '行业讲座服
border-radius: 12px;
h3 {
font-size: 22px;
font-size: 20px;
font-weight: bold;
}
ul {
......@@ -243,7 +243,7 @@ const zzfwList = ['顶层设计服务', '技能培训服务', '行业讲座服
padding: 0 12px;
background: #fff;
height: 26px;
font-size: 14px;
font-size: 12px;
color: #6c6c6c;
line-height: 26px;
border-radius: 33px;
......@@ -253,7 +253,7 @@ const zzfwList = ['顶层设计服务', '技能培训服务', '行业讲座服
display: none;
margin-top: 30px;
padding-top: 40px;
font-size: 16px;
font-size: 14px;
color: #6c6c6c;
line-height: 22px;
border-top: 1px solid #d5d5d5;
......
......@@ -265,6 +265,7 @@ const xsList = ref([
border: 1px solid #d5d5d5;
padding-bottom: 60px;
transition: all 0.3s;
overflow: hidden;
&:hover {
box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.12);
transform: translateY(-10px);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论