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>
</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">
<navbar ref="nav" :isHome.sync="isHome" @updateModelType="updateType"></navbar>
</div>
@ -72,6 +72,7 @@ export default {
data () {
return {
Util,
menuIcon: require(location.href.includes('eduvessel') ? '@/assets/images/menu-gray.svg' : '@/assets/images/menu.svg'),
isHome: true,
isEstate: false,
isIasf: false,
@ -167,7 +168,7 @@ export default {
const h = this.height
let scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
// const rule = scrollTop > h
const rule = scrollTop > 120
const rule = scrollTop > 10
if (this.isHome == rule) {
if (this.isHome != !(rule)) this.navShow = false
this.isHome = !(rule)

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

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

@ -188,7 +188,7 @@
<p class="sub-title">{{ modules[12].form.subTitle }}</p>
<div class="text" v-html="modules[12].form.des"></div>
<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>
<img :src="modules[12].form.pic" alt="" class="pic">
</div>

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

Loading…
Cancel
Save