Commit 9f280217 by 李宏达

lhd

parent 371e2ec6
......@@ -311,7 +311,7 @@
display: inline-block;
width: 100%;
height: 100%;
line-height: 36px;
line-height: 46px;
background: #313356;
text-align: center;
font-size: 16px;
......@@ -339,8 +339,8 @@
/* xinban header */
#app-header {
width: 100%;
height:36px;
line-height: 36px;
height:46px;
line-height: 46px;
background:rgba(15,13,35,1);
font-size:14px;
font-family:Microsoft YaHei;
......@@ -399,6 +399,43 @@
color: #fff;
margin-right: 10px;
}
.el-popover{
background:rgba(26,45,78,1) !important;
border: 1px solid #1A2D4E !important;
}
.el-popper[x-placement^=bottom] .popper__arrow::after {
border-bottom-color:rgba(26,45,78,1) !important;
}
.el-popper[x-placement^=bottom] .popper__arrow {
border-bottom-color:rgba(26,45,78,1) !important;
}
.popover-title {
font-size:12px;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(255,255,255,1);
}
.popover-list {
margin-top: 11px;
font-size:12px;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(175,190,215,1);
line-height:17px;
}
.popover-list > div {
display: inline-block;
border-left: 3px solid #128EE9;
padding-left: 10px;
line-height: 12px;
margin-right: 17px;
}
.popover-list > span {
cursor: pointer;
}
.popover-list > span:hover {
color: #128EE9;
}
</style>
</head>
......@@ -407,6 +444,18 @@
<div id="app-header">
<div :class="isfront ? 'header-main' : 'header-main-houtai'">
<div class="header-main-title" @click="backhome">智能化知识产权服务平台</div>
<div class="header-main-title" style="margin-left:11px;" v-if="companyinfo.company.siteTheme == 'policy'">
<el-popover
placement="bottom-start"
width="511"
trigger="hover">
<div>
<div class="popover-title">全部省份</div>
<div class="popover-list" v-for="(item,key) in areaArr" :key="key"><div>{{item.name}}</div><span v-for="(list,index) in item.lists">{{list}}</span></div>
</div>
<span slot="reference">地区</span>
</el-popover>
</div>
<div v-if="!currentUser" class="header-main-login header-main-right">
<span @click="onselect('login')">登录</span>
<span @click="onselect('register')">免费注册</span>
......@@ -434,7 +483,6 @@
</el-dropdown>
</div>
</div>
<!-- 第一版 -->
<div class="popups clearfix">
<div class="popups-zhanwei"></div>
......
......@@ -250,6 +250,24 @@ function addCSS(csspath) {
store: store,
data: function () {
return {
areaArr:[
{
name:'A-G',
lists:['北京>','安徽>','重庆>','福建>','广东>','广西>','甘肃>','贵州>']
},
{
name:'H-J',
lists:['河北>','河南>','海南>','湖北>','湖南>','黑龙江>','吉林>','江苏>','江西>']
},
{
name:'L-S',
lists:['辽宁>','内蒙古>','宁夏>','青海>','上海>','四川>','山东>','山西>','陕西>']
},
{
name:'T-Z',
lists:['天津>','新疆>','西藏>','云南>','浙江>']
}
],
loadingHome: false,
headerRowType:false,
popupsHeight:null,
......
......@@ -30,8 +30,20 @@
}
},
mounted:function(){
this.$root.rsData = [
{
label: '首页',
codePath: '/'
},
{
label: '政策图谱',
codePath: '/'
},
{
label: '政策资讯',
codePath: '/'
}
]
},
created:function(){
......
......@@ -162,6 +162,8 @@
width: 100%;
overflow: hidden;
border: 1px solid #F0F3F0;
padding: 20px;
box-sizing: border-box;
}
.header-left {
float: left;
......
......@@ -133,7 +133,7 @@
<div class="policylist" v-if="!detailPageType">
<div class="policylist-header" style="border:none;">
<div class="header-left" @click="next">区域政策 > <span style="color: #484848">政策详情</span></div>
<div class="header-left" >当前位置:<span @click="next">区域政策 > </span><span style="color: #484848">政策详情</span></div>
</div>
<div style="width: 100%;height: 25px;"></div>
<div class="policylist-portrayal">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment