yujialong 4 months ago
parent 3d2ee869be
commit f01ab6e255
  1. 1
      src/assets/images/menu-gray.svg
  2. 5
      src/layouts/header/index.vue
  3. 1
      src/layouts/navbar/index.vue
  4. 14
      src/pages/column/index.vue
  5. 2
      src/pages/iasf/index.vue
  6. 2
      src/store/modules/content.js

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721981483704" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11612" width="26" height="26" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M751.281231 352.078769h-478.523077a39.384615 39.384615 0 0 1-39.384616-39.384615 39.384615 39.384615 0 0 1 39.384616-39.384616h478.523077a39.384615 39.384615 0 0 1 39.384615 39.384616 39.384615 39.384615 0 0 1-39.384615 39.384615z" fill="#4c4c4d" p-id="11613"></path><path d="M751.281231 750.690462h-478.523077a39.384615 39.384615 0 0 1-39.384616-39.384616 39.384615 39.384615 0 0 1 39.384616-39.384615h478.523077a39.384615 39.384615 0 0 1 39.384615 39.384615 39.384615 39.384615 0 0 1-39.384615 39.384616z" fill="#4c4c4d" p-id="11614"></path><path d="M751.281231 551.384615h-478.523077a39.384615 39.384615 0 0 1-39.384616-39.384615 39.384615 39.384615 0 0 1 39.384616-39.384615h478.523077a39.384615 39.384615 0 0 1 39.384615 39.384615 39.384615 39.384615 0 0 1-39.384615 39.384615z" fill="#4c4c4d" p-id="11615"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -50,7 +50,7 @@
</el-popover> </el-popover>
</div> </div>
<img class="menu-icon" src="@/assets/images/menu.svg" alt="" @click.stop="updateType(!modelType)"> <img class="menu-icon" :src="menuIcon" alt="" @click.stop="updateType(!modelType)">
<div class="contentBox" v-show="modelType"> <div class="contentBox" v-show="modelType">
<navbar ref="nav" :isHome.sync="isHome" @updateModelType="updateType"></navbar> <navbar ref="nav" :isHome.sync="isHome" @updateModelType="updateType"></navbar>
</div> </div>
@ -72,6 +72,7 @@ export default {
data () { data () {
return { return {
Util, Util,
menuIcon: require(location.href.includes('eduvessel') ? '@/assets/images/menu-gray.svg' : '@/assets/images/menu.svg'),
isHome: true, isHome: true,
isEstate: false, isEstate: false,
isIasf: false, isIasf: false,
@ -167,7 +168,7 @@ export default {
const h = this.height const h = this.height
let scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop let scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
// const rule = scrollTop > h // const rule = scrollTop > h
const rule = scrollTop > 120 const rule = scrollTop > 10
if (this.isHome == rule) { if (this.isHome == rule) {
if (this.isHome != !(rule)) this.navShow = false if (this.isHome != !(rule)) this.navShow = false
this.isHome = !(rule) this.isHome = !(rule)

@ -189,6 +189,7 @@ $height: 89px;
span { span {
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
text-shadow: 0px 2px 2px rgba(185, 185, 185, .6);
} }
&:hover { &:hover {

@ -403,6 +403,7 @@ export default {
}, },
methods: { methods: {
init () { init () {
this.columnBanner = ''
this.getInfo(); this.getInfo();
this.getColumn(); this.getColumn();
this.getNews(); this.getNews();
@ -448,14 +449,14 @@ export default {
}).catch(err => { }) }).catch(err => { })
} }
}, },
// banner // banner
getBanner (data) { getBanner (data) {
for (const e of data) { for (const e of data) {
if (e.columnBanner) this.columnBanner = e.columnBanner; if (e.columnBanner) this.columnBanner = e.columnBanner
if (e.id == this.info.id) { if (e.id == this.info.id) {
break; break
} else if (e.children.length) { } else if (e.children.length) {
this.getBanner(e.children); this.getBanner(e.children)
} }
} }
}, },
@ -879,10 +880,6 @@ export default {
} }
/deep/.columns { /deep/.columns {
&+.detail {
padding-left: 20px;
}
width: 22%; width: 22%;
margin-right: 0.6rem; margin-right: 0.6rem;
overflow: auto; overflow: auto;
@ -1229,6 +1226,7 @@ export default {
.detail { .detail {
flex: 1; flex: 1;
max-width: 77%; max-width: 77%;
min-height: calc(100vh - 24rem - 90px);
padding: 20px; padding: 20px;
background-color: #fff; background-color: #fff;
overflow: auto; overflow: auto;

@ -188,7 +188,7 @@
<p class="sub-title">{{ modules[12].form.subTitle }}</p> <p class="sub-title">{{ modules[12].form.subTitle }}</p>
<div class="text" v-html="modules[12].form.des"></div> <div class="text" v-html="modules[12].form.des"></div>
<el-button v-if="isLink(modules[12].form.link.linkName)" style="background-color: #026BE1;" <el-button v-if="isLink(modules[12].form.link.linkName)" style="background-color: #026BE1;"
type="primary" round @click="openLink(modules[12].form)">诚邀海内外人才加入我们 ></el-button> type="primary" round @click="openLink(modules[12].form)">前往查看 ></el-button>
</div> </div>
<img :src="modules[12].form.pic" alt="" class="pic"> <img :src="modules[12].form.pic" alt="" class="pic">
</div> </div>

@ -6,7 +6,7 @@ import Router from '@/router'
export default { export default {
namespaced: true, namespaced: true,
state: { state: {
site: 1, site: location.href.includes('eduvessel') ? 7 : 1,
keyword: '', keyword: '',
scrollTop: 0, scrollTop: 0,
}, },

Loading…
Cancel
Save