|
|
@ -1,55 +1,108 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div :class="['header', { channel: isHome, estate: isEstate }]"> |
|
|
|
<div :class="['header', { channel: isHome, estate: isEstate }]"> |
|
|
|
<a class="logo" @click="toIndex"> |
|
|
|
<a class="logo" |
|
|
|
<template v-if="!$store.getters.getModelType"> |
|
|
|
@click="toIndex"> |
|
|
|
<img :src="require('@/assets/images/logo2.png')" alt=""> |
|
|
|
<template v-if="!$store.getters.getModelType"> |
|
|
|
</template> |
|
|
|
<img :src="require('@/assets/images/logo2.png')" |
|
|
|
<template v-else> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-else> |
|
|
|
|
|
|
|
|
|
|
|
<img :src="require('@/assets/images/' + (isSfel ? 'logo2' : isHome ? 'logo' : 'logo2') + '.png')" alt=""> |
|
|
|
<img :src="require('@/assets/images/' + (isSfel ? 'logo2' : isHome ? 'logo' : 'logo2') + '.png')" |
|
|
|
</template> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<!-- pc端 --> |
|
|
|
<!-- pc端 --> |
|
|
|
<template v-if="$store.getters.getModelType"> |
|
|
|
<template v-if="$store.getters.getModelType"> |
|
|
|
<navbar v-if="navShow" ref="nav" :isHome.sync="isHome" :isEstate.sync="isEstate" @showMoreBtns="updateBtnsType"></navbar> |
|
|
|
<navbar v-if="navShow" |
|
|
|
|
|
|
|
ref="nav" |
|
|
|
|
|
|
|
:isHome.sync="isHome" |
|
|
|
|
|
|
|
:isEstate.sync="isEstate" |
|
|
|
|
|
|
|
@showMoreBtns="updateBtnsType"></navbar> |
|
|
|
<div class="tools"> |
|
|
|
<div class="tools"> |
|
|
|
<img class="search" :src="require('@/assets/images/search' + (isHome ? '-white' : '') + '.png')" alt="" @click.stop="toggleSearch"> |
|
|
|
<img class="search" |
|
|
|
|
|
|
|
:src="require('@/assets/images/search' + (isHome ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toggleSearch"> |
|
|
|
|
|
|
|
<template v-if="site == 2"> |
|
|
|
|
|
|
|
<img class="search" |
|
|
|
|
|
|
|
:src="require('@/assets/images/email' + (isHome ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toMail"> |
|
|
|
|
|
|
|
<img class="search" |
|
|
|
|
|
|
|
:src="require('@/assets/images/oa' + (isHome ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toMail"> |
|
|
|
|
|
|
|
</template> |
|
|
|
<template v-if="$i18n.locale == 'en'"> |
|
|
|
<template v-if="$i18n.locale == 'en'"> |
|
|
|
<img :src="require('@/assets/images/cn' + (isHome ? '-white' : '') + '.png')" alt="" @click.stop="toggleLang"> |
|
|
|
<img :src="require('@/assets/images/cn' + (isHome ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toggleLang"> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else-if="$i18n.locale == 'zh'"> |
|
|
|
<template v-else-if="$i18n.locale == 'zh'"> |
|
|
|
<img :src="require('@/assets/images/en' + (isHome ? '-white' : '') + '.png')" alt="" @click.stop="toggleLang"> |
|
|
|
<img :src="require('@/assets/images/en' + (isHome ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toggleLang"> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-if="showSearch" |
|
|
|
<div v-if="showSearch" class="search-wrap" @click.stop="stop"> |
|
|
|
class="search-wrap" |
|
|
|
<input ref="search" type="text" :placeholder="$t('column.titlePlaceholder')" v-model="title"> |
|
|
|
@click.stop="stop"> |
|
|
|
<img class="search-icon" src="@/assets/images/search.png" alt="" @click="handleSearch"> |
|
|
|
<input ref="search" |
|
|
|
<i class="el-icon-close close-icon" @click="showSearch = false"></i> |
|
|
|
type="text" |
|
|
|
|
|
|
|
:placeholder="$t('column.titlePlaceholder')" |
|
|
|
|
|
|
|
v-model="title"> |
|
|
|
|
|
|
|
<img class="search-icon" |
|
|
|
|
|
|
|
src="@/assets/images/search.png" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click="handleSearch"> |
|
|
|
|
|
|
|
<i class="el-icon-close close-icon" |
|
|
|
|
|
|
|
@click="showSearch = false"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<!-- 手机端 --> |
|
|
|
<!-- 手机端 --> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<i class="rightBox" :class="modelType ? 'el-icon-s-fold': 'el-icon-s-unfold' " @click="updateModelType"></i> |
|
|
|
<i class="rightBox" |
|
|
|
<div class="contentBox" v-show="modelType"> |
|
|
|
:class="modelType ? 'el-icon-s-fold': 'el-icon-s-unfold' " |
|
|
|
<navbar ref="nav" :isHome.sync="isHome" :updateModelType="updateType"></navbar> |
|
|
|
@click="updateModelType"></i> |
|
|
|
|
|
|
|
<div class="contentBox" |
|
|
|
|
|
|
|
v-show="modelType"> |
|
|
|
|
|
|
|
<navbar ref="nav" |
|
|
|
|
|
|
|
:isHome.sync="isHome" |
|
|
|
|
|
|
|
:updateModelType="updateType"></navbar> |
|
|
|
<div class="modelBox"> |
|
|
|
<div class="modelBox"> |
|
|
|
<div class="searchBox"><img class="search" :src="require('@/assets/images/search' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" alt="" @click.stop="toggleSearch"></div> |
|
|
|
<div class="searchBox"><img class="search" |
|
|
|
|
|
|
|
:src="require('@/assets/images/search' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toggleSearch"></div> |
|
|
|
<div class="languageBox"> |
|
|
|
<div class="languageBox"> |
|
|
|
<!-- <img :src="require('@/assets/images/cn' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" alt="" @click.stop="toggleLang"> --> |
|
|
|
<!-- <img :src="require('@/assets/images/cn' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" alt="" @click.stop="toggleLang"> --> |
|
|
|
<template v-if="$i18n.locale == 'en'"> |
|
|
|
<template v-if="$i18n.locale == 'en'"> |
|
|
|
<img :src="require('@/assets/images/cn' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" alt="" @click.stop="toggleLang"> |
|
|
|
<img :src="require('@/assets/images/cn' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" |
|
|
|
</template> |
|
|
|
alt="" |
|
|
|
<template v-else-if="$i18n.locale == 'zh'"> |
|
|
|
@click.stop="toggleLang"> |
|
|
|
<img :src="require('@/assets/images/en' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" alt="" @click.stop="toggleLang"> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else-if="$i18n.locale == 'zh'"> |
|
|
|
|
|
|
|
<img :src="require('@/assets/images/en' + (isHome && $store.getters.getModelType ? '-white' : '') + '.png')" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click.stop="toggleLang"> |
|
|
|
|
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="showSearch" class="search-wrap" @click.stop="stop"> |
|
|
|
<div v-if="showSearch" |
|
|
|
<input ref="search" type="text" :placeholder="$t('column.titlePlaceholder')" v-model="title"> |
|
|
|
class="search-wrap" |
|
|
|
<img class="search-icon" src="@/assets/images/search.png" alt="" @click="handleSearch"> |
|
|
|
@click.stop="stop"> |
|
|
|
<i class="el-icon-close close-icon" @click="showSearch = false"></i> |
|
|
|
<input ref="search" |
|
|
|
|
|
|
|
type="text" |
|
|
|
|
|
|
|
:placeholder="$t('column.titlePlaceholder')" |
|
|
|
|
|
|
|
v-model="title"> |
|
|
|
|
|
|
|
<img class="search-icon" |
|
|
|
|
|
|
|
src="@/assets/images/search.png" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
@click="handleSearch"> |
|
|
|
|
|
|
|
<i class="el-icon-close close-icon" |
|
|
|
|
|
|
|
@click="showSearch = false"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -62,7 +115,7 @@ import Util from '@/libs/util' |
|
|
|
import { mapMutations } from 'vuex' |
|
|
|
import { mapMutations } from 'vuex' |
|
|
|
import navbar from '../navbar' |
|
|
|
import navbar from '../navbar' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
isHome: true, |
|
|
|
isHome: true, |
|
|
|
isEstate: false, |
|
|
|
isEstate: false, |
|
|
@ -78,13 +131,16 @@ export default { |
|
|
|
navbar |
|
|
|
navbar |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
isSfel() { |
|
|
|
isSfel () { |
|
|
|
return this.$route.path === '/sfel' |
|
|
|
return this.$route.path === '/sfel' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
site () { |
|
|
|
|
|
|
|
return this.$route.query.siteId || this.$store.state.content.site |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
'$route.path': { |
|
|
|
'$route.path': { |
|
|
|
handler() { |
|
|
|
handler () { |
|
|
|
this.isHome = Util.isIndex() |
|
|
|
this.isHome = Util.isIndex() |
|
|
|
this.isEstate = this.$route.path === '/estate/index' |
|
|
|
this.isEstate = this.$route.path === '/estate/index' |
|
|
|
}, |
|
|
|
}, |
|
|
@ -95,7 +151,7 @@ export default { |
|
|
|
beforeDestroy () { |
|
|
|
beforeDestroy () { |
|
|
|
window.removeEventListener('scroll', this.handleScroll) |
|
|
|
window.removeEventListener('scroll', this.handleScroll) |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
this.setKeyword('') |
|
|
|
this.setKeyword('') |
|
|
|
window.addEventListener('scroll', this.handleScroll) // 监听页面滚动 |
|
|
|
window.addEventListener('scroll', this.handleScroll) // 监听页面滚动 |
|
|
|
}, |
|
|
|
}, |
|
|
@ -103,17 +159,17 @@ export default { |
|
|
|
...mapMutations('content', [ |
|
|
|
...mapMutations('content', [ |
|
|
|
'setKeyword' |
|
|
|
'setKeyword' |
|
|
|
]), |
|
|
|
]), |
|
|
|
toIndex() { |
|
|
|
toIndex () { |
|
|
|
this.$refs.nav.jump() |
|
|
|
this.$refs.nav.jump() |
|
|
|
}, |
|
|
|
}, |
|
|
|
stop() { |
|
|
|
stop () { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
/** |
|
|
|
/** |
|
|
|
* pc端下,当导航栏条目大于10的情况下,显示更多按钮 |
|
|
|
* pc端下,当导航栏条目大于10的情况下,显示更多按钮 |
|
|
|
* type : true显示,false隐藏 |
|
|
|
* type : true显示,false隐藏 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
updateBtnsType(type) { |
|
|
|
updateBtnsType (type) { |
|
|
|
this.showMoreBtns = type |
|
|
|
this.showMoreBtns = type |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 获取页面滚动距离(home长页专用) |
|
|
|
// 获取页面滚动距离(home长页专用) |
|
|
@ -132,14 +188,22 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 切换显示搜索 |
|
|
|
// 切换显示搜索 |
|
|
|
toggleSearch() { |
|
|
|
toggleSearch () { |
|
|
|
this.showSearch = !this.showSearch |
|
|
|
this.showSearch = !this.showSearch |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.search.focus() |
|
|
|
this.$refs.search.focus() |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
// mail点击 |
|
|
|
|
|
|
|
toMail () { |
|
|
|
|
|
|
|
window.open('https://qiye.aliyun.com/alimail/auth/login?custom_login_flag=1&reurl=%2Falimail%2F') |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// oa点击 |
|
|
|
|
|
|
|
toOa () { |
|
|
|
|
|
|
|
window.open('http://oa.iasf.ac.cn/sys/portal/page.jsp') |
|
|
|
|
|
|
|
}, |
|
|
|
// 切换语言 |
|
|
|
// 切换语言 |
|
|
|
toggleLang() { |
|
|
|
toggleLang () { |
|
|
|
let id = +(this.$route.query.siteId || this.$store.state.content.site) |
|
|
|
let id = +(this.$route.query.siteId || this.$store.state.content.site) |
|
|
|
// 中英文站点的id是相邻的,有6个站点,1/2 3/4 5/6 |
|
|
|
// 中英文站点的id是相邻的,有6个站点,1/2 3/4 5/6 |
|
|
|
id % 2 ? id++ : id-- |
|
|
|
id % 2 ? id++ : id-- |
|
|
@ -147,7 +211,7 @@ export default { |
|
|
|
location.reload() |
|
|
|
location.reload() |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 全局搜索 |
|
|
|
// 全局搜索 |
|
|
|
handleSearch() { |
|
|
|
handleSearch () { |
|
|
|
this.setKeyword(this.title) |
|
|
|
this.setKeyword(this.title) |
|
|
|
this.modelType = !this.modelType |
|
|
|
this.modelType = !this.modelType |
|
|
|
if (this.title) { |
|
|
|
if (this.title) { |
|
|
@ -156,10 +220,10 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 更改右侧盒子样式 |
|
|
|
// 更改右侧盒子样式 |
|
|
|
updateModelType() { |
|
|
|
updateModelType () { |
|
|
|
this.modelType = !this.modelType |
|
|
|
this.modelType = !this.modelType |
|
|
|
}, |
|
|
|
}, |
|
|
|
updateType(type) { |
|
|
|
updateType (type) { |
|
|
|
this.modelType = type |
|
|
|
this.modelType = type |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -168,146 +232,146 @@ export default { |
|
|
|
<style scoped lang="scss"> |
|
|
|
<style scoped lang="scss"> |
|
|
|
$height: 90px; |
|
|
|
$height: 90px; |
|
|
|
.header { |
|
|
|
.header { |
|
|
|
z-index: 10; |
|
|
|
z-index: 10; |
|
|
|
position: fixed; |
|
|
|
position: fixed; |
|
|
|
top: 0; |
|
|
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
// min-width: $min-width; |
|
|
|
|
|
|
|
// background-color: #fff; |
|
|
|
|
|
|
|
height: $height; |
|
|
|
|
|
|
|
box-sizing: content-box; |
|
|
|
|
|
|
|
&:not(.channel) { |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
border-bottom: 1px solid #f7f7f7; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.estate { |
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, .15); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.logo{ |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 0; |
|
|
|
top: 0; |
|
|
|
left: 5%; |
|
|
|
left: 0; |
|
|
|
font-size: 1.428rem; |
|
|
|
width: 100%; |
|
|
|
color: #333330; |
|
|
|
// min-width: $min-width; |
|
|
|
line-height: $height; |
|
|
|
// background-color: #fff; |
|
|
|
cursor: pointer; |
|
|
|
height: $height; |
|
|
|
img { |
|
|
|
box-sizing: content-box; |
|
|
|
margin-right: 10px; |
|
|
|
&:not(.channel) { |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
border-bottom: 1px solid #f7f7f7; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
&.estate { |
|
|
|
.tools { |
|
|
|
background-color: rgba(0, 0, 0, 0.15); |
|
|
|
position: absolute; |
|
|
|
} |
|
|
|
top: 30px; |
|
|
|
.logo { |
|
|
|
right: 5%; |
|
|
|
position: absolute; |
|
|
|
img { |
|
|
|
top: 0; |
|
|
|
cursor: pointer; |
|
|
|
left: 5%; |
|
|
|
|
|
|
|
font-size: 1.428rem; |
|
|
|
|
|
|
|
color: #333330; |
|
|
|
|
|
|
|
line-height: $height; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
margin-right: 10px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.tools { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 30px; |
|
|
|
|
|
|
|
right: 5%; |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.search { |
|
|
|
|
|
|
|
margin-right: 43px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.search { |
|
|
|
|
|
|
|
margin-right: 43px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.search-wrap { |
|
|
|
.search-wrap { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 67px; |
|
|
|
top: 67px; |
|
|
|
right: 89px; |
|
|
|
right: 89px; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
padding: 10px 15px 10px 10px; |
|
|
|
padding: 10px 15px 10px 10px; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
box-shadow: 0px 6px 9px 0px rgba(0,0,0,0.3); |
|
|
|
box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.3); |
|
|
|
input { |
|
|
|
input { |
|
|
|
width: 300px; |
|
|
|
width: 300px; |
|
|
|
height: 40px; |
|
|
|
height: 40px; |
|
|
|
padding: 0 40px 0 15px; |
|
|
|
padding: 0 40px 0 15px; |
|
|
|
font-size: 1.14rem; |
|
|
|
font-size: 1.14rem; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
line-height: 46px; |
|
|
|
line-height: 46px; |
|
|
|
border: 0; |
|
|
|
border: 0; |
|
|
|
border-radius: 4px; |
|
|
|
border-radius: 4px; |
|
|
|
outline: none; |
|
|
|
outline: none; |
|
|
|
} |
|
|
|
} |
|
|
|
.search-icon { |
|
|
|
.search-icon { |
|
|
|
padding-right: 15px; |
|
|
|
padding-right: 15px; |
|
|
|
margin: 0 15px; |
|
|
|
margin: 0 15px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
border-right: 1px solid #ccc; |
|
|
|
border-right: 1px solid #ccc; |
|
|
|
} |
|
|
|
} |
|
|
|
.close-icon { |
|
|
|
.close-icon { |
|
|
|
font-size: 2rem; |
|
|
|
font-size: 2rem; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.menu-child { |
|
|
|
.menu-child { |
|
|
|
/deep/ .el-submenu__title{ |
|
|
|
/deep/ .el-submenu__title { |
|
|
|
font-size: 1rem; |
|
|
|
font-size: 1rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.rightBox{ |
|
|
|
.rightBox { |
|
|
|
font-size: 2.57rem; |
|
|
|
font-size: 2.57rem; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
right: 10px; |
|
|
|
right: 10px; |
|
|
|
top: 2rem; |
|
|
|
top: 2rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.contentBox{ |
|
|
|
.contentBox { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 90px; |
|
|
|
top: 90px; |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
|
background-color: white; |
|
|
|
background-color: white; |
|
|
|
z-index: 9999; |
|
|
|
z-index: 9999; |
|
|
|
max-height: 30rem; |
|
|
|
max-height: 30rem; |
|
|
|
overflow-y: scroll; |
|
|
|
overflow-y: scroll; |
|
|
|
} |
|
|
|
} |
|
|
|
.searchBox, .languageBox{ |
|
|
|
.searchBox, |
|
|
|
padding-left: 20px; |
|
|
|
.languageBox { |
|
|
|
height: 56px; |
|
|
|
padding-left: 20px; |
|
|
|
line-height: 56px; |
|
|
|
height: 56px; |
|
|
|
|
|
|
|
line-height: 56px; |
|
|
|
} |
|
|
|
} |
|
|
|
.modelBox{ |
|
|
|
.modelBox { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
padding-bottom: 20px; |
|
|
|
padding-bottom: 20px; |
|
|
|
.search-wrap{ |
|
|
|
.search-wrap { |
|
|
|
top: 0; |
|
|
|
top: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@media (max-width: 1660px) { |
|
|
|
@media (max-width: 1660px) { |
|
|
|
.header { |
|
|
|
.header { |
|
|
|
.logo { |
|
|
|
.logo { |
|
|
|
left: 10px; |
|
|
|
left: 10px; |
|
|
|
} |
|
|
|
} |
|
|
|
.search { |
|
|
|
.search { |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
.tools { |
|
|
|
.tools { |
|
|
|
right: 30px |
|
|
|
right: 30px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 280px) and (max-width: 1200px) { |
|
|
|
@media (min-width: 280px) and (max-width: 1200px) { |
|
|
|
.header{ |
|
|
|
.header { |
|
|
|
color: black !important; |
|
|
|
color: black !important; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
.contentBox{ |
|
|
|
|
|
|
|
.searchBox, .languageBox{ |
|
|
|
|
|
|
|
padding-left: 20px; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
line-height: 40px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.contentBox { |
|
|
|
.search-wrap { |
|
|
|
.searchBox, |
|
|
|
right: 10px; |
|
|
|
.languageBox { |
|
|
|
top: 0; |
|
|
|
padding-left: 20px; |
|
|
|
width: 70%; |
|
|
|
height: 40px; |
|
|
|
input { |
|
|
|
line-height: 40px; |
|
|
|
width: 15rem; |
|
|
|
} |
|
|
|
padding: 0 .5rem 0 .1rem; |
|
|
|
} |
|
|
|
|
|
|
|
.search-wrap { |
|
|
|
|
|
|
|
right: 10px; |
|
|
|
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
width: 70%; |
|
|
|
|
|
|
|
input { |
|
|
|
|
|
|
|
width: 15rem; |
|
|
|
|
|
|
|
padding: 0 0.5rem 0 0.1rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
</style> |
|
|
|