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

chore: update

上级 68ec05b2
差异被折叠。
......@@ -3,8 +3,11 @@
<header class="main-header">
<template v-if="!searchVisible">
<div class="logo-box">
<img @click="goWebsite" src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg" />
<nuxt-link to="/" class="logo">
<img
@click="goWebsite"
src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg"
/>
<nuxt-link to="/home" class="logo">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/seg-shms/seg-shms-logo.png" />
</nuxt-link>
</div>
......
......@@ -3,16 +3,19 @@
<div class="color-bar"></div>
<div class="head-top-content">
<div class="max-width-content">
<!-- <nuxt-link to="/">
<!-- <nuxt-link to="/home">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/ciis/ezijing-logo.png" />
<img style="margin-left:20px" src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/seg-shms/seg-shms-logos.png" />
</nuxt-link> -->
<div class="logo-box">
<img @click="goWebsite" src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg" />
<nuxt-link to="/" class="logo">
<img src="https://webapp-pub.ezijing.com/project/seg-shms/shms0402.svg" />
</nuxt-link>
</div>
<img
@click="goWebsite"
src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg"
/>
<nuxt-link to="/home" class="logo">
<img src="https://webapp-pub.ezijing.com/project/seg-shms/shms0402.svg" />
</nuxt-link>
</div>
<div class="user" v-if="user.id">
<span>{{ user.realname || user.nickname }}</span
......@@ -114,8 +117,8 @@ li {
// }
// }
// }
.logo-box{
display:flex;
.logo-box {
display: flex;
img {
height: 55px;
cursor: pointer;
......
......@@ -2,7 +2,7 @@
<div class="main-container" v-if="false">
<h1 v-if="error.statusCode === 404">Page not found</h1>
<h1 v-else>An error occurred</h1>
<NuxtLink to="/">返回首页</NuxtLink>
<NuxtLink to="/home">返回首页</NuxtLink>
</div>
</template>
......@@ -11,7 +11,7 @@ export default {
props: ['error'],
layout: 'error',
middleware: [
function ({ redirect }) {
function({ redirect }) {
return redirect(301, '/el?e=rnf')
}
],
......
......@@ -3,7 +3,7 @@
<header class="header">
<div class="inner">
<div class="logo">
<router-link to="/"
<router-link to="/home"
><img src="https://webapp-pub.ezijing.com/project/application/images/ezijing-logo.png"
/></router-link>
</div>
......
<template>
<div class="container">
<!-- 轮播图 -->
<banner />
<!-- 项目特色 -->
<project-features />
<!-- 学校排名 -->
<school-ranking />
<!-- 最新动态 -->
<news />
<!-- 师生风采 -->
<presence />
<!-- 常见问题 -->
<common-problem />
<!-- 公开课 -->
<open-class />
<!-- 右侧功能栏 -->
<!-- <right-aside /> -->
</div>
</template>
<script>
import banner from '../components/home/banner'
import projectFeatures from '../components/home/projectFeatures'
import schoolRanking from '../components/home/schoolRanking'
import news from '../components/home/news'
import presence from '../components/home/presence'
import commonProblem from '../components/home/commonProblem'
import openClass from '../components/home/openClass'
import rightAside from '../components/rightAside'
export default {
layout: 'normal',
components: {
banner,
projectFeatures,
schoolRanking,
news,
presence,
commonProblem,
openClass,
rightAside
},
data() {
return {
isScale: false
}
},
created() {},
mounted() {
if (document.documentElement.clientWidth < 1400) {
// this.isScale = true
}
}
}
</script>
<style>
.container {
width: 100%;
padding-bottom: 50px;
}
</style>
<template>
<div class="container">
<!-- 轮播图 -->
<banner />
<!-- 项目特色 -->
<project-features />
<!-- 学校排名 -->
<school-ranking />
<!-- 最新动态 -->
<news />
<!-- 师生风采 -->
<presence />
<!-- 常见问题 -->
<common-problem />
<!-- 公开课 -->
<open-class />
<!-- 右侧功能栏 -->
<!-- <right-aside /> -->
<div class="home">
<div class="buttons">
<a href="/home" class="is-active">Enter the SHMS-MBA Website</a>
<a href="https://certs.ezijing.com">Degree Inquiry</a>
</div>
</div>
</template>
<script>
import banner from '../components/home/banner'
import projectFeatures from '../components/home/projectFeatures'
import schoolRanking from '../components/home/schoolRanking'
import news from '../components/home/news'
import presence from '../components/home/presence'
import commonProblem from '../components/home/commonProblem'
import openClass from '../components/home/openClass'
import rightAside from '../components/rightAside'
export default {
layout: 'normal',
components: {
banner,
projectFeatures,
schoolRanking,
news,
presence,
commonProblem,
openClass,
rightAside
},
data() {
return {
isScale: false
}
},
created() {},
mounted() {
if (document.documentElement.clientWidth < 1400) {
// this.isScale = true
<style lang="scss">
.home {
position: relative;
height: 100vh;
min-height: 900px;
background: url('~assets/images/home.png') no-repeat center top;
background-size: auto 100%;
.buttons {
position: absolute;
left: 50%;
bottom: 294px;
transform: translateX(-50%);
display: flex;
flex-direction: column;
row-gap: 44px;
}
a {
width: 452px;
height: 60px;
font-family: Source Han Sans CN;
font-size: 24px;
text-align: center;
line-height: 60px;
color: #ffffff;
border-radius: 66px;
box-sizing: border-box;
border: 2px solid #d5b329;
background: url('~assets/images/button_arrow.png') no-repeat center right 20px;
&.is-active,
&:hover {
color: #000;
background: #d5b329 url('~assets/images/button_arrow_hover.png') no-repeat center right 20px;
}
}
}
</script>
<style>
.container {
width: 100%;
padding-bottom: 50px;
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论