Commit 628e4027 by haozhenhua

hzh

parent c5700696
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -250,7 +250,7 @@ function addCSS(csspath) { ...@@ -250,7 +250,7 @@ function addCSS(csspath) {
store: store, store: store,
data: function () { data: function () {
return { return {
areaName: '地区', areaName: '北京',
areaArr:[ areaArr:[
{ {
name:'A-G', name:'A-G',
...@@ -481,6 +481,7 @@ function addCSS(csspath) { ...@@ -481,6 +481,7 @@ function addCSS(csspath) {
setTimeout(()=>{ setTimeout(()=>{
$("#footer").css("visibility", "visible"); $("#footer").css("visibility", "visible");
},3000); },3000);
localStorage.setItem("areaName", this.areaName);
}, },
methods: { methods: {
areachoice(name) { areachoice(name) {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="meihua-inquire-input"> <div class="meihua-inquire-input">
<div class="lists"> <div class="lists">
<div <div
:class="activeClass == index ? \'active\' : \'acitves\'" :class="activeClass == index ? \'actived\' : \'acitves\'"
@click="getItme(index)" @click="getItme(index)"
v-for="(item,index) in checkBoxArr" v-for="(item,index) in checkBoxArr"
:key="index"> :key="index">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.policy-input-buttom{ .policy-input-buttom{
height: 61px !important; height: 61px !important;
} }
.active { .actived {
float: left; float: left;
position: relative; position: relative;
width: 77px; width: 77px;
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
} }
.active:before, .actived:before,
.active:after{ .actived:after{
position:absolute; position:absolute;
content:''; content:'';
width:10px; width:10px;
...@@ -47,7 +47,7 @@ pointer-events:none; ...@@ -47,7 +47,7 @@ pointer-events:none;
transform:rotate(45deg); transform:rotate(45deg);
} }
.active:after{ .actived:after{
bottom: -4px; bottom: -4px;
background: rgba(16,142,233,1); background: rgba(16,142,233,1);
} }
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
width: 97px; width: 97px;
height:inherit; height:inherit;
float: left; float: left;
background-color: #FAFAFA;
padding: 13px 20px; padding: 13px 20px;
box-sizing: border-box; box-sizing: border-box;
font-size:14px; font-size:14px;
...@@ -27,7 +26,7 @@ ...@@ -27,7 +26,7 @@
.policyquery-items > .items_item { .policyquery-items > .items_item {
width: calc(100% - 167px); width: calc(100% - 167px);
float: left; float: left;
padding: 5px 20px; padding: 5px 26px;
box-sizing: border-box; box-sizing: border-box;
font-size:14px; font-size:14px;
font-family:MicrosoftYaHei; font-family:MicrosoftYaHei;
...@@ -67,19 +66,21 @@ ...@@ -67,19 +66,21 @@
font-weight:500; font-weight:500;
color:rgba(72,72,72,1); color:rgba(72,72,72,1);
line-height:14px; line-height:14px;
width:81px; width:100%;
height:22px; height:22px;
line-height: 22px; line-height: 22px;
border-radius:0px 0px 15px 15px;
border:1px solid rgba(240,243,240,1);
border-top: 0px; border-top: 0px;
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer; cursor: pointer;
border: 1px solid rgba(234,237,244,1);
border-top: none;
} }
.policylist-selected { .policylist-selected {
width: 100%; width: 100%;
min-height: 40px; min-height: 40px;
overflow: hidden; overflow: hidden;
padding-left: 20px;
line-height: 40px;
} }
.policylist-selected > .leftName { .policylist-selected > .leftName {
width: 97px; width: 97px;
...@@ -87,12 +88,13 @@ ...@@ -87,12 +88,13 @@
font-size:14px; font-size:14px;
font-family:PingFangSC-Medium,PingFang SC; font-family:PingFangSC-Medium,PingFang SC;
font-weight:500; font-weight:500;
color:rgba(121,121,121,1); color: rgba(47,47,47,1);
} }
.policylist-selected > .itemsName { .policylist-selected > .itemsName {
width: calc(100% - 97px); width: calc(100% - 97px);
float: left; float: left;
overflow: hidden; overflow: hidden;
padding-top: 10px;
} }
.policylist-selected > .itemsName > .itemName { .policylist-selected > .itemsName > .itemName {
float: left; float: left;
...@@ -109,12 +111,14 @@ ...@@ -109,12 +111,14 @@
line-height: 26px; line-height: 26px;
color: #118EE9; color: #118EE9;
position: relative; position: relative;
font-size: 12px;
} }
.policylist-selected > .itemsName > .itemName > i{ .policylist-selected > .itemsName > .itemName > i{
position: absolute; position: absolute;
right: 6px; right: 1px;
top: 7px; top: 6px;
cursor: pointer; cursor: pointer;
border: 1px dotted #333;
} }
.policylist-warpper { .policylist-warpper {
width: 100%; width: 100%;
...@@ -147,7 +151,6 @@ ...@@ -147,7 +151,6 @@
.policyquery-items{ .policyquery-items{
border: none !important; border: none !important;
box-sizing: border-box; box-sizing: border-box;
border-bottom: 1px solid #F0F3F0 !important;
} }
.policyquery-items:last-child{ .policyquery-items:last-child{
border:none !important; border:none !important;
...@@ -156,13 +159,22 @@ ...@@ -156,13 +159,22 @@
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
background-color: #fff;
} }
.policylist-header { .policylist-header {
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
border: 1px solid #F0F3F0; box-sizing: border-box;
padding: 20px; margin-top: 20px;
background: #fff;
border: 1px solid rgba(234,237,244,1);
}
.policylist-tile {
width: 100%;
overflow: hidden;
height: 40px;
background: rgba(15,142,233,0.1);
border-radius: 1px;
box-sizing: border-box; box-sizing: border-box;
} }
.header-left { .header-left {
...@@ -384,6 +396,7 @@ ...@@ -384,6 +396,7 @@
color:rgba(72,72,72,1); color:rgba(72,72,72,1);
margin-bottom: 15px; margin-bottom: 15px;
cursor: pointer; cursor: pointer;
display: flex;
} }
.policylist-conten-title a { .policylist-conten-title a {
text-decoration:none !important; text-decoration:none !important;
...@@ -396,7 +409,6 @@ ...@@ -396,7 +409,6 @@
font-family:PingFangSC-Medium,PingFangSC; font-family:PingFangSC-Medium,PingFangSC;
font-weight:500; font-weight:500;
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
background-color: #597EF7;
} }
.policylist-conten-text { .policylist-conten-text {
font-size:14px; font-size:14px;
...@@ -411,9 +423,24 @@ ...@@ -411,9 +423,24 @@
font-weight:500; font-weight:500;
color:rgba(153,153,153,1); color:rgba(153,153,153,1);
} }
.policylist-conten-items > span { .policylistsitems {
margin-right: 40px; font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(153,153,153,1);
}
.policylist-conten-items img{
border: 1px dotted #999;
vertical-align: middle;
} }
.policylistsitems img{
border: 1px dotted #999;
vertical-align: middle;
}
.zuo{
float: right;
}
.policylist-pagination { .policylist-pagination {
text-align: right; text-align: right;
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</div> </div>
</div> </div>
<div class="policylist-header"> <div class="policylist-tile" style="margin-top: 15px;">
<div class="policyquery-items"> <div class="policyquery-items">
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'"> <div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
<div :class="quanbu == item ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)">{{item}}</div> <div :class="quanbu == item ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)">{{item}}</div>
...@@ -25,6 +25,20 @@ ...@@ -25,6 +25,20 @@
</div> </div>
</div> </div>
<div class="policylist-header" :style="headerHeight ? \'height:190px\' : \'height:auto\'"> <div class="policylist-header" :style="headerHeight ? \'height:190px\' : \'height:auto\'">
<div class="policylist-selected" v-if="input1 || input2 || input3 || input4 || input5 || input6 || input7 || input8 || input9">
<div class="leftName">已选条件:</div>
<div class="itemsName">
<div class="itemName" v-if="input1">发布地区:{{input1}} <i class="el-icon-close" @click="inputDel(\'input1\')"></i> </div>
<div class="itemName" v-if="input2">政策级别:{{input2}} <i class="el-icon-close" @click="inputDel(\'input2\')"></i> </div>
<div class="itemName" v-if="input3">发布部门:{{input3}} <i class="el-icon-close" @click="inputDel(\'input3\')"></i> </div>
<div class="itemName" v-if="input4">扶持方式:{{input4}} <i class="el-icon-close" @click="inputDel(\'input4\')"></i> </div>
<div class="itemName" v-if="input5">企业性质:{{input5}} <i class="el-icon-close" @click="inputDel(\'input5\')"></i> </div>
<div class="itemName" v-if="input6">行业类别:{{input6}} <i class="el-icon-close" @click="inputDel(\'input6\')"></i> </div>
<div class="itemName" v-if="input7">政策类型:{{input7}} <i class="el-icon-close" @click="inputDel(\'input7\')"></i> </div>
<div class="itemName" v-if="input8">扶持领域:{{input8}} <i class="el-icon-close" @click="inputDel(\'input8\')"></i> </div>
<div class="itemName" v-if="input9">时间年限:{{input9}} <i class="el-icon-close" @click="inputDel(\'input9\')"></i> </div>
</div>
</div>
<div class="policyquery-items"> <div class="policyquery-items">
<div class="items_left">发布地区</div> <div class="items_left">发布地区</div>
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'"> <div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
...@@ -99,20 +113,7 @@ ...@@ -99,20 +113,7 @@
</div> </div>
</div> </div>
<div class="policylist-headerbut" @click="headerHeight = !headerHeight"><span v-if="headerHeight">更多</span><span v-else>收起</span></div> <div class="policylist-headerbut" @click="headerHeight = !headerHeight"><span v-if="headerHeight">更多</span><span v-else>收起</span></div>
<div class="policylist-selected" v-if="input1 || input2 || input3 || input4 || input5 || input6 || input7 || input8 || input9">
<div class="leftName">筛选条件:</div>
<div class="itemsName">
<div class="itemName" v-if="input1">{{input1}} <i class="el-icon-close" @click="inputDel(\'input1\')"></i> </div>
<div class="itemName" v-if="input2">{{input2}} <i class="el-icon-close" @click="inputDel(\'input2\')"></i> </div>
<div class="itemName" v-if="input3">{{input3}} <i class="el-icon-close" @click="inputDel(\'input3\')"></i> </div>
<div class="itemName" v-if="input4">{{input4}} <i class="el-icon-close" @click="inputDel(\'input4\')"></i> </div>
<div class="itemName" v-if="input5">{{input5}} <i class="el-icon-close" @click="inputDel(\'input5\')"></i> </div>
<div class="itemName" v-if="input6">{{input6}} <i class="el-icon-close" @click="inputDel(\'input6\')"></i> </div>
<div class="itemName" v-if="input7">{{input7}} <i class="el-icon-close" @click="inputDel(\'input7\')"></i> </div>
<div class="itemName" v-if="input8">{{input8}} <i class="el-icon-close" @click="inputDel(\'input8\')"></i> </div>
<div class="itemName" v-if="input9">{{input9}} <i class="el-icon-close" @click="inputDel(\'input9\')"></i> </div>
</div>
</div>
<div class="policylist-content"> <div class="policylist-content">
<div class="brandfind-main-equal-form-box-null" v-if="recommendationsArr.length==0" style="height:500px;"> <div class="brandfind-main-equal-form-box-null" v-if="recommendationsArr.length==0" style="height:500px;">
...@@ -123,9 +124,16 @@ ...@@ -123,9 +124,16 @@
</div> </div>
</div> </div>
<div v-else class="policylist-content-list" v-for="(i,k) in recommendationsArr"> <div v-else class="policylist-content-list" v-for="(i,k) in recommendationsArr">
<div class="policylist-conten-title" @click="articleDetails(i)">{{i.name}} </div> <div class="policylist-conten-title" @click="articleDetails(i)">
<div class="policylist-conten-text"><span style="dispaly:line-block;padding: 0 10px;color:#fff;" :style="color16()">{{i.label}}</span></div> <div style="margin-left: -10px;" v-if="i.app_status==0"> <span style="dispaly:line-block;color:#fff;background-color: #B2B2B2;">申报已结束</span></div>
<div class="policylist-conten-items"><span>来源:{{i.source}}</span><span>日期:{{i.date}}</span><span> <p style="float:right"><i class="el-icon-view"></i> {{i.count}}</span></p></div> <div style="margin-left: -10px;" v-if="i.app_status==1"> <span style="dispaly:line-block;color:#fff;background-color: #FFA940">开放申报中</span></div>
<div style="margin-left: -10px;" v-if="i.app_status==2"> <span style="dispaly:line-block;color:#fff;background-color: #597EF7">即将申报</span></div>
<div style="margin-left: 15px;"> {{i.name}} </div>
</div>
<div>
<div class="policylist-conten-items"><span><img src="/imgs/tuandui.png" alt="">&nbsp;{{i.source}}</span><span> <p style="float:right"><img src="/imgs/riqi.png" alt="">&nbsp;申报日期:{{i.begindate}}/{{i.enddate}}</span></p></div>
<div class="policylistsitems"><span><img src="/imgs/zehngfu.png" alt="">&nbsp;{{i.policygrade}}|{{i.label}}</span><span style="display: block;"> <p class="zuo"><img src="/imgs/yan.png" alt="">&nbsp;浏览量:{{i.count}}</span></p></div>
</div>
</div> </div>
</div> </div>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
headerHeight7: true, headerHeight7: true,
headerHeight8: true, headerHeight8: true,
headerHeight9: true, headerHeight9: true,
areaName:'',
input1:'', input1:'',
input2:'', input2:'',
input3:'', input3:'',
...@@ -53,7 +54,6 @@ ...@@ -53,7 +54,6 @@
'新闻资讯(69)', '新闻资讯(69)',
], ],
tableData1: [ tableData1: [
'不限',
'北京', '北京',
'天津', '天津',
'上海', '上海',
...@@ -408,15 +408,16 @@ ...@@ -408,15 +408,16 @@
"zctext": this.zctext, "zctext": this.zctext,
"currentpage": size || 1, "currentpage": size || 1,
"pagesize":10, "pagesize":10,
"address": this.input1, "cityname": this.input1,
"zc_level": this.input2, "policygrade": this.input2,
"zc_department": this.input3, "policydepartment": this.input3,
"zc_mode": this.input4, "policytype": this.input4,
"company_type": this.input5, "qiye": this.input5,
"industry_type": this.input6, "classification": this.input6,
"policy_type": this.input7, "policydomain": this.input7,
"support_field": this.input8, "fieldtext": this.input8,
"year": this.input9 "year": this.input9,
"address":this.areaName
}).then( d => { }).then( d => {
console.log(d,'---------------------------------'); console.log(d,'---------------------------------');
var data = d.data.data; var data = d.data.data;
...@@ -462,9 +463,9 @@ ...@@ -462,9 +463,9 @@
/*for (let i = 0; i < this.portrayalArr.length; i++) { /*for (let i = 0; i < this.portrayalArr.length; i++) {
this.portrayalArr[i].col = this.rgb(); this.portrayalArr[i].col = this.rgb();
};*/ };*/
this.areaName = localStorage.getItem("areaName");
this.zcPost(); this.zcPost();
this.zccompanyPost(); this.zccompanyPost();
}, },
vname: "gsb-policyquery" vname: "gsb-policyquery"
} }
\ No newline at end of file
...@@ -4019,12 +4019,14 @@ ...@@ -4019,12 +4019,14 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
...@@ -4039,17 +4041,20 @@ ...@@ -4039,17 +4041,20 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
...@@ -4166,7 +4171,8 @@ ...@@ -4166,7 +4171,8 @@
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
...@@ -4178,6 +4184,7 @@ ...@@ -4178,6 +4184,7 @@
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
...@@ -4192,6 +4199,7 @@ ...@@ -4192,6 +4199,7 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
...@@ -4199,12 +4207,14 @@ ...@@ -4199,12 +4207,14 @@
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.3.5", "version": "2.3.5",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.2", "safe-buffer": "^5.1.2",
"yallist": "^3.0.0" "yallist": "^3.0.0"
...@@ -4223,6 +4233,7 @@ ...@@ -4223,6 +4233,7 @@
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
...@@ -4303,7 +4314,8 @@ ...@@ -4303,7 +4314,8 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
...@@ -4315,6 +4327,7 @@ ...@@ -4315,6 +4327,7 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
...@@ -4436,6 +4449,7 @@ ...@@ -4436,6 +4449,7 @@
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
......
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