Commit 007c4dd3 by 李宏达

lhd

parent e56ff63c
......@@ -542,17 +542,17 @@
<el-dropdown style="float: left;" @command="handleCommand">
<div class="header-main-tool" @click="onselect('policybigdata')"><span>政策大数据</span></div>
</el-dropdown>
<el-dropdown style="float: left;" @command="handleCommand">
<el-dropdown style="float: left;margin-left: 40px;" @command="handleCommand">
<div class="header-main-tool" @click="onselect('declare')"><span>政策资讯</span><i
class="el-icon-caret-bottom"></i></div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="item in titles" :command="item.title">{{item.name}}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-dropdown style="float: left;" @command="handleCommand">
<el-dropdown style="float: left;margin-left: 40px;" @command="handleCommand">
<div class="header-main-tool" @click="onselect('subscription')"><span>政策订阅</span></div>
</el-dropdown>
<el-dropdown style="float: left;" @command="handleCommand">
<el-dropdown style="float: left;margin-left: 40px;" @command="handleCommand">
<div class="header-main-tool" @click="goShop"><span>政策商城</span></div>
</el-dropdown>
</div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
<div style="
width:100%;
text-align: center;
font-size:50px;
font-size:40px;
font-family:PingFangSC;
font-weight:400;
color:#fff;">科技产业政策早知道,就上政企通</div>
......@@ -27,7 +27,21 @@
</div>
</transition>
</div>
<div class="policy-input-buttom" slot="reference" @click.stop="searchResult"><i class="el-icon-search"></i></div>
</div>
<div class="policy-input-buttom" slot="reference" @click.stop="searchResult"><i class="el-icon-search" style="font-size: 25px;"></i></div>
<br>
<div class="policy-resoubang">
<div>
热搜榜:
</div>
<div
class="policy-baoguo"
@click="resouItem(item)"
v-for="(item,index) in checkReArr"
:key="index">
{{item}}
</div>
</div>
</div>
</div>
\ No newline at end of file
......@@ -26,7 +26,16 @@
"政策推荐"
],
checkReArr:[
"2019年",
"2020年",
"知识产权",
"技术改造",
"工业互联网",
"技术攻关"
],
activeClass: 0,
resouclass: 0,
type: "政策查询"
}
},
......@@ -218,6 +227,27 @@
this.type = "政策推荐"
}
},
resouItem (item) {
console.log(item);
if(this.type == "政策推荐"){
this.$root.pushx({
title: "政策推荐",
name: "/recommen",
params: {
tminput: item
}
});
}else if(this.type == "政策查询"){
this.$root.pushx({
title: "政策查询",
name: "/policyquery",
params: {
tminput: item
}
});
}
}
},
computed:{
},
......
.policy-input-value{
height: 61px !important;
height: 50px !important;
}
.policy-input-buttom{
height: 61px !important;
height: 50px !important;
line-height: 50px !important;
}
.actived {
float: left;
......@@ -14,11 +15,23 @@
background: rgba(16,142,233,1);
border-radius: 2px;
color: #fff;
}
.meihua-inquire-input{
height: 230px !important;
}
.policy-resoubang{
color: #fff;
display: flex;
width: 60%;
justify-content: space-between;
line-height: 50px;
font-size: 14px;
}
.policy-baoguo:hover{
color:#128EE9;
}
.acitves{
width: 77px;
height: 27px;
......@@ -29,7 +42,7 @@
color:#fff;
cursor: pointer;
}
.actived:before,
.actived:after{
......
<div class="normal">
<div class="normal-header">
<img class="normal-header-logo" src="/imgs/gsbLogo.png" alt="">
<img class="normal-header-logo" src="/imgs/iconimg.png" alt="">
<div style="display: inline-block;">
<div class="normal-input-tabs">
<div :style="inputTabsKey == 1 ? \'background:rgba(81,163,245,1);color:#fff\' : \' \'"
......
......@@ -35,11 +35,11 @@
position: relative;
}
.normal-header-logo {
width: 186px;
height: 76px;
width: 150px;
height: 54px;
position: absolute;
top: 19px;
left: 0px;
top: 35px;
left: 20px;
}
.normal-input-tabs {
width: 100%;
......
......@@ -16,7 +16,7 @@
<div class="policylist-tile"  style="margin-top: 15px;">
<div class="policyquery-items">
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
<div :class="quanbu ? \'\':\'pitch\'" @click="quanClick1()">全部({{total}})</div>
<div :class="quanbu ? \'\':\'pitch\'" @click="quanClick1()">全部</div>
<div :class="quanbu == item ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)">
{{item}}</div>
</div>
......
......@@ -46,12 +46,12 @@
input9:'',
quanbu:'',
quanData1:[
'申报通知(386)',
'立项公示(134)',
'管理办法(103)',
'政策图解(1)',
'政务信息(13)',
'新闻资讯(69)',
'申报通知',
'立项公示',
'管理办法',
'政策图解',
'政务信息',
'新闻资讯',
],
tableData1: [
'北京',
......@@ -340,7 +340,7 @@
this.recommendationsObj = obj;
this.portrayalArr = obj.hx_list;
console.log(this.portrayalArr,'11111111111111');
axios.post('http://43.247.184.92:8018/gsb/api/zcdetailcount',{
axios.post('http://43.247.184.92:8019/gsb/api/zcdetailcount',{
"ID": obj.ID,
"count":0
}).then( d => {
......
......@@ -9,7 +9,7 @@
<div class="recommend-input">
<el-input placeholder="请输入查询的标题/内容" v-model="zctext" change="()=>{console.log(123)}">
<el-button slot="append" icon="el-icon-search"  @click="zcPost()">检索</el-button>
<el-button slot="append" >生成报告</el-button>
<el-button slot="append" @click="open3">生成报告</el-button>
</el-input>
</div>
......
......@@ -464,6 +464,25 @@
}).catch(function (e) {
console.log(`操作失败,请刷新页面后重新操作`);
});
},
open3() {
console.log(111);
this.$prompt('邮箱地址:', '接收报告邮箱', {
confirmButtonText: '确认',
cancelButtonText: '取消',
inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
inputErrorMessage: '邮箱格式不正确'
}).then(({ value }) => {
this.$message({
type: 'success',
message: '你的邮箱是: ' + value
});
}).catch(() => {
this.$message({
type: 'info',
message: '取消输入'
});
});
}
},
mounted: function() {
......
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