Commit 413b5d01 by 李宏达

lhd

parent 824c5670
......@@ -262,4 +262,37 @@ background-color: white;
}
.selficpreg_main .el-form-item .el-form-item__content .el-input .el-input__inner{
height:32px;
}
.policy {
width: 100%;
height: 100%;
position: relative;
background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_721015748400460492019271534649banner.png') no-repeat;
background-size: 100% 100%;
padding-top: 250px;
box-sizing: border-box;
}
.policy-input-value {
width: 820px;
height: 56px;
float: left;
background: #fff;
padding: 8px 0;
box-sizing: border-box;
}
.policy input {
border: none;
}
.policy-input-buttom {
float: right;
width: 140px;
height: 56px;
line-height: 56px;
background: #128EE9;
font-family: PingFangSC-Regular;
font-size: 18px;
padding: 0;
color: #fff;
text-align: center;
cursor: pointer;
}
\ No newline at end of file
<div style="background-color:white" class="autumn">
policy...................
</div>
<div class="policy" :style="meihuaStyle" @click="show2 = false">
<div style="
width:100%;
text-align: center;
font-size:50px;
font-family:PingFangSC;
font-weight:400;
color:#fff;">商标政策早知道,就上政企遇</div>
<div class="meihua-inquire-input">
<div class="policy-input-value">
<el-input style="width:100%" v-model="state2" placeholder="输入您要查询的关键字"></el-input>
<transition name="el-zoom-in-top">
<div class="inquire-lists" v-show="show2">
<div class="top"></div>
<div class="inquire-list" v-for="(item,key) in listArr" @click.stop="handleIconClick(item)">{{item.company_name}}</div>
</div>
</transition>
</div>
<div class="policy-input-buttom" slot="reference" @click.stop="searchResult">搜 索</div>
</div>
</div>
\ No newline at end of file
......@@ -13,815 +13,164 @@
}
}
};
return {
trademarkName:'',
inputstr:"",
loopplays:[
{
leftimg:'/imgs/autumn/banber.jpg'
}
],
SpecialPerformance:[],
tabNum:1,
popupsDataList:[],
pDataKey: 0,
pTowDataKey: null,
popupsData:[
{
itemTypeName:'(25类)服装鞋帽',
smallList:[
{
serviceSmallClassTypeName:'(2501)衣物',
productList:[
{
name:'服装'
},{
name:'男装'
},{
name:'女装'
},{
name:'裤子'
},{
name:'衬衣'
},{
name:'童装'
},{
name:'内衣'
},{
name:'外套'
},{
name:'T恤'
}
]
},
{
serviceSmallClassTypeName:'(2507)鞋',
productList:[
{
name:'运动鞋'
},{
name:'凉鞋'
},{
name:'雨鞋'
},{
name:'运动靴'
},{
name:'鞋底'
},{
name:'鞋垫'
}
]
},
{
serviceSmallClassTypeName:'(2508)帽',
productList:[
{
name:'帽子'
},{
name:'头带'
},{
name:'儿童头盔'
},{
name:'风帽'
},{
name:'耳套'
},{
name:'大礼帽'
}
]
},
{
serviceSmallClassTypeName:'(2502)婴儿纺织用品',
productList:[
{
name:'婴儿裤'
},{
name:'婴儿睡袋'
},{
name:'婴儿全套衣(小孩用)'
},{
name:'婴儿纺织品尿布'
}
]
}
]
},
{
itemTypeName:'(03类)日化用品',
smallList:[
{
serviceSmallClassTypeName:'(0301)肥皂,香皂及其他人用洗洁物品,洗衣用漂白剂',
productList:[
{
name:'洗衣用漂白剂'
},{
name:'香皂'
},{
name:'洗面奶'
},{
name:'沐浴露'
},{
name:'洗发液'
},{
name:'肥皂'
},{
name:'抑菌洗手剂'
},{
name:'洗衣用漂白剂'
}
]
},
{
serviceSmallClassTypeName:'(0302)清洁,去渍用制剂',
productList:[
{
name:'去污剂'
},{
name:'清洗用洗涤碱'
},{
name:'清洁制剂'
},{
name:'明矾石(收敛剂)'
}
]
},
{
serviceSmallClassTypeName:'(0305)香料,香油精',
productList:[
{
name:'香料'
},{
name:'花精(香料)'
},{
name:'香油精'
},{
name:'香木'
},{
name:'芳香剂(香精油)'
},{
name:'玫瑰油'
}
]
},
{
serviceSmallClassTypeName:'(0306)化妆品(不包括动物用化妆品)',
productList:[
{
name:'口红'
},{
name:'香水'
},{
name:'美容面膜'
},{
name:'染发剂'
},{
name:'假指甲'
},{
name:'防皱霜'
},{
name:'个人用除臭剂'
},
]
}
]
},
{
itemTypeName:'(30类)方便食品',
smallList:[
{
serviceSmallClassTypeName:'(3001)咖啡,可可',
productList:[
{
name:'咖啡'
},{
name:'可可'
},{
name:'咖啡饮料'
},{
name:'巧克力饮料'
},{
name:'可可饮料'
},{
name:'巧克力酱'
},
]
},
{
serviceSmallClassTypeName:'(3002)茶',
productList:[
{
name:'茶'
},{
name:'茶饮料'
},{
name:'用作茶叶代用品的花或叶'
},{
name:'冰茶'
},{
name:'甘菊茶饮料'
},
]
},
{
serviceSmallClassTypeName:'(3006)面包糕点',
productList:[
{
name:'面包'
},{
name:'馅饼(点心)'
},{
name:'麻花'
},{
name:'燕麦食品'
},{
name:'甜食'
},{
name:'汉堡包'
},
{
name:'脆米饼'
},
]
},
{
serviceSmallClassTypeName:'(3007)方便食品',
productList:[
{
name:'粥'
},{
name:'盒饭'
},{
name:'饺子'
},{
name:'馒头'
},{
name:'炒饭'
},{
name:'元宵'
},{
name:'粽子'
},
]
}
]
},
{
itemTypeName:'(29类)食品',
smallList:[
{
serviceSmallClassTypeName:'(2901)肉,非活的家禽,野味,肉汁',
productList:[
{
name:'家禽(非活)'
},{
name:'肉'
},{
name:'猪肉'
},{
name:'火腿'
},{
name:'可食用昆虫(非活)'
},{
name:'冻田鸡腿'
},{
name:'熏肉'
},{
name:'人食用蚕蛹'
},
]
},
{
serviceSmallClassTypeName:'(2902)非活水产品',
productList:[
{
name:'鱼(非活)'
},{
name:'虾(非活)'
},{
name:'鱼制食品'
},{
name:'牡蛎(非活)'
},{
name:'贝壳类动物(非活)'
},{
name:'鱼肉干'
},{
name:'鱼子酱'
},{
name:'腌制鱼'
},
]
},
{
serviceSmallClassTypeName:'(2903)罐头食品(软包装食品不包括在内,随原料制成品归组)',
productList:[
{
name:'肉罐头'
},{
name:'水果罐头'
},{
name:'蔬菜罐头'
},{
name:'鱼罐头'
},{
name:'水产罐头'
},{
name:'鹌鹑蛋罐头'
},
]
},
{
serviceSmallClassTypeName:'(2905)腌制、干制蔬菜',
productList:[
{
name:'腌制蔬菜'
},{
name:'榨菜'
},{
name:'番茄酱'
},{
name:'咸菜'
},{
name:'速冻菜'
},{
name:'蔬菜汤料'
},{
name:'制汤剂'
},{
name:'汤'
},
]
}
]
},
{
itemTypeName:'(09类)科学仪器',
smallList:[
{
serviceSmallClassTypeName:'(0901)电子计算机及其外部设备',
productList:[
{
name:'可下载的计算机程序'
},{
name:'智能手表(数据处理)'
},{
name:'计算机软件(已录制)'
},{
name:'已录制的计算机游戏软件'
},{
name:'具有人工智能的人形机器人'
},{
name:'平板电脑'
}
]
},
{
serviceSmallClassTypeName:'(0907)通信导航设备',
productList:[
{
name:'智能手机'
},{
name:'导航仪器'
},{
name:'光通信设备'
},{
name:'无线电设备'
},{
name:'穿戴式行动追踪器'
},{
name:'手机屏幕专用保护膜'
},{
name:'智能手机用壳'
},
]
},
{
serviceSmallClassTypeName:'(0910)测量仪器仪表,实验室用器具,电测量仪器,科学仪器',
productList:[
{
name:'感应器(电)'
},{
name:'计量用玻璃器皿'
},{
name:'气量计(计量仪器)'
},{
name:'平衡仪器'
},{
name:'化学仪器和器具'
},{
name:'计量仪表'
},{
name:'教学仪器'
},{
name:'比重计'
},
]
},
{
serviceSmallClassTypeName:'(0911)光学仪器',
productList:[
{
name:'目镜'
},{
name:'镜(光学)'
},{
name:'显微镜'
},{
name:'望远镜'
},{
name:'放大镜(光学)'
},{
name:'物镜(光学)'
},{
name:'光学玻璃'
}
]
}
]
},
{
itemTypeName:'(36类)金融物管',
smallList:[
{
serviceSmallClassTypeName:'(3601)保险',
productList:[
{
name:'保险信息'
},{
name:'保险承保'
},{
name:'火灾保险承保'
},{
name:'事故保险承保'
},{
name:'健康保险承保'
},{
name:'保险咨询'
},{
name:'人寿保险承保'
},{
name:'保险经纪'
}
]
},
{
serviceSmallClassTypeName:'(3602)金融事务',
productList:[
{
name:'融资服务'
},{
name:'抵押贷款'
},{
name:'金融贷款'
},{
name:'电子转账'
},{
name:'基金投资'
},{
name:'金融管理'
},{
name:'发行信用卡'
},{
name:'公积金服务'
},{
name:'贸易清算(金融)'
}
]
},
{
serviceSmallClassTypeName:'(3603)珍品估价',
productList:[
{
name:'艺术品估价'
},{
name:'钱币估价'
},{
name:'首饰估价'
},{
name:'古玩估价'
},{
name:'珠宝估价'
},{
name:'邮票估价'
}
]
},
{
serviceSmallClassTypeName:'(3604)不动产事务',
productList:[
{
name:'不动产代理'
},{
name:'公寓管理'
},{
name:'不动产管理'
},{
name:'不动产经纪'
},{
name:'住所代理(公寓)'
},{
name:'商品房销售'
},{
name:'公寓出租'
}
]
}
]
},
{
itemTypeName:'(35类)广告营销',
smallList:[
{
serviceSmallClassTypeName:'(3501)广告',
productList:[
{
name:'广告'
},{
name:'广告代理'
},{
name:'计算机网络上的在线广告'
},{
name:'广告设计'
},{
name:'为零售目的在通信媒体上展示商品'
},{
name:'广告宣传'
}
]
},
{
serviceSmallClassTypeName:'(3502)工商管理辅助业',
productList:[
{
name:'商业信息'
},{
name:'饭店商业管理'
},{
name:'通过网站提供商业信息'
},{
name:'市场分析'
},{
name:'商业中介服务'
},{
name:'商业评估'
}
]
},
{
serviceSmallClassTypeName:'(3503)替他人推销',
productList:[
{
name:'替他人推销'
},{
name:'为商品和服务的买卖双方提供在线市场'
},{
name:'替他人采购(替其他企业购买商品或服务)'
},{
name:'市场营销'
},{
name:'拍卖'
},{
name:'电话市场营销'
}
]
},
{
serviceSmallClassTypeName:'(3507)财会',
productList:[
{
name:'会计'
},{
name:'商业审计'
},{
name:'财务审计'
},{
name:'税务申报服务'
},{
name:'税款准备'
},{
name:'绘制账单、账目报表'
},{
name:'拟备工资单'
},{
name:'簿记'
},
]
}
]
},
{
itemTypeName:'全部类别',
}
],
tms:[],
tms1:[],
tms2:[],
tms3:[],
tms4:[],
ncldata:[
{},{code:"01",name:"化学原料",type:1},{code:"02",name:"颜料油漆",type:1},{code:"03",name:"日化用品",type:1},{code:"04",name:"燃料油脂",type:1},{code:"05",name:"医药",type:1},
{code:"06",name:"金属材料",type:1},{code:"07",name:"机械设备",type:1},{code:"08",name:"手工器械",type:1},{code:"09",name:"科学仪器",type:1},{code:"10",name:"医疗器械",type:1},
{code:"11",name:"灯具空调",type:1},{code:"12",name:"运输工具",type:1},{code:"13",name:"军火烟火",type:1},{code:"14",name:"珠宝钟表",type:1},{code:"15",name:"乐器",type:1},
{code:"16",name:"办公用品",type:1},{code:"17",name:"橡胶制品",type:1},{code:"18",name:"皮革皮具",type:1},{code:"19",name:"建筑材料",type:1},{code:"20",name:"家具",type:1},
{code:"21",name:"厨房洁具",type:1},{code:"22",name:"绳网袋篷",type:1},{code:"23",name:"纱线丝",type:1},{code:"24",name:"布料床单",type:1},{code:"25",name:"服装鞋帽",type:1},
{code:"26",name:"纽扣拉链",type:1},{code:"27",name:"地毯席垫",type:1},{code:"28",name:"健身器材",type:1},{code:"29",name:"食品",type:1},{code:"30",name:"方便食品",type:1},
{code:"31",name:"饲料种籽",type:1},{code:"32",name:"啤酒饮料",type:1},{code:"33",name:"酒",type:1},{code:"34",name:"烟草烟具",type:1},{code:"35",name:"广告销售",type:1},
{code:"36",name:"金融物管",type:1},{code:"37",name:"建筑修理",type:1},{code:"38",name:"通讯服务",type:1},{code:"39",name:"运输贮藏",type:1},{code:"40",name:"材料加工",type:1},
{code:"41",name:"教育娱乐",type:1},{code:"42",name:"网站服务",type:1},{code:"43",name:"餐饮住宿",type:1},{code:"44",name:"医疗园艺",type:1},{code:"45",name:"社会服务",type:1}
],
}
return {
input:'',
state2: '',
meihuaStyle: '',
summerTabs: 2,
restaurants: [],
listArr:[],
show2: false
}
},
mounted:function(){
var self=this;
/*self.$root.postReq("/web/loopplayCtl/findAll",{}).then(function(d){
if(d.status==0){
self.loopplays=d.data;
if(d.data.length==0){
self.loopplays.push({"leftimg":"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_202215516795147422019414514742leftimg.png"});
}
}else{
}
});*/
var f=function(){
var own=self;
var t=setTimeout(()=>{
if(own.$root.currentCompany){
own.getHotTm();
own.getRecommendedTm();
own.getSpecialofferTm();
own.getHighqualityTm();
own.getSpecialPerformance();
clearTimeout(t);
}else{
f();
}
},1000);
};
f();
},
created:function(){
$('#header_row').hide();
$('#header').hover(function() {
$('#header_row').show();
}, function() {
$('#header_row').hide();
});
var taht = this;
taht.meihuaStyle = 'height:' + document.documentElement.clientHeight + 'px;width:' + document.documentElement.clientWidth + 'px';
window.addEventListener("resize",function(){
taht.meihuaStyle = 'height:' + document.documentElement.clientHeight + 'px;width:' + document.documentElement.clientWidth + 'px';
});
},
methods:{
getSpecialPerformance(){
if(this.$root.currentCompany){
var company_id = this.$root.currentCompany.id;
var obj={limit:4,company_id:company_id,siteTheme:'autumn'};
this.$root.getReq("/web/transactionspecialperformanceCtl/getSpecialPerformanceBySiteTheme", obj).then(d=>{
console.log(d,'fffffffffffffffffffffffffff');
this.SpecialPerformance = d.data;
})
}
},
getSpecialofferTm(){
if(this.$root.currentCompany){
var company_id = this.$root.currentCompany.id;
var obj={type:"specialoffer",company_id:company_id};
this.$root.getReq("/web/trademarktransactionCtl/findByTmType", obj).then(d=>{
if(d && d.code==1){
this.tms3=d.data;
}
})
}
createFilter(queryString) {
return (restaurant) => {
return (restaurant.value != '');
};
},
getHighqualityTm(){
if(this.$root.currentCompany){
var company_id = this.$root.currentCompany.id;
var obj={type:"highquality",company_id:company_id};
this.$root.getReq("/web/trademarktransactionCtl/findByTmType", obj).then(d=>{
if(d && d.code==1){
this.tms4=d.data;
}
})
}
handleIconClick(ev) {
this.$root.loadingHome = true;
setTimeout(()=>{
this.$root.loadingHome = false;
},3000);
this.$root.pushx({
title:"企业画像",
name:"/entdrawing",
params:{"obj": ev,"shouji": this.isNumber(this.state2) ? this.state2 : ''}
});
},
getHotTm(){
if(this.$root.currentCompany){
var company_id = this.$root.currentCompany.id;
var obj={type:"hot",company_id:company_id};
this.$root.getReq("/web/trademarktransactionCtl/findByTmType", obj).then(d=> {
if(d && d.code==1){
this.tms1=d.data;
this.tms=this.tms1;
}
})
querySearch(queryString, cb) {
this.input = queryString;
var obj = {
name: queryString
};
var that = this;
if (this.isNumber(queryString)) {
function strlen(str){
var len = 0;
for (var i=0; i<str.length; i++) {
var c = str.charCodeAt(i);
if ((c >= 0x0001 && c <= 0x007e) || (0xff60<=c && c<=0xff9f)) {
len++;
}
else {
len+=2;
}
}
return len;
};
if (strlen(queryString) == 11) {
this.$root.postReq("/web/companyportraitCtl/phonequery",obj).then(d=>{
if(d && d.status==0){
if (d.data.rows.length != 0) {
this.restaurants = d.data.rows;
var restaurants = d.data.rows;
var results = queryString ? restaurants.filter(that.createFilter(queryString)) : restaurants;
cb(results);
}
}
}).catch(e=>{
});
}else {
console.log('不符合长度');
};
}else {
this.$root.postReq("/web/companyportraitCtl/phonequery",obj).then(d=>{
if(d && d.status==0){
if (d.data.rows.length != 0) {
this.restaurants = d.data.rows;
var restaurants = d.data.rows;
var results = queryString ? restaurants.filter(that.createFilter(queryString)) : restaurants;
cb(results);
}
}
}).catch(e=>{
});
}
},
getRecommendedTm(){
if(this.$root.currentCompany){
var company_id = this.$root.currentCompany.id;
var obj={type:"recommended",company_id:company_id};
this.$root.getReq("/web/trademarktransactionCtl/findByTmType", obj).then(d=>{
if(d && d.code==1){
this.tms2=d.data;
isNumber(val) {
var regPos = /^\d+(\.\d+)?$/;
var regNeg = /^(-(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*)))$/;
if(regPos.test(val) || regNeg.test(val)) {
return true;
} else {
return false;
}
})
}
},
onfocus:function(name){
if (typeof name == 'string') {
this.inputstr = name;
}
if(this.inputstr==""){
},
searchResult () {
if (this.state2 != '') {
var obj = {
name: this.state2
};
this.$root.postReq("/web/companyportraitCtl/phonequery",obj).then(d=>{
if(d && d.status==0){
console.log(d.data.rows.length);
if (d.data.rows.length > 0) {
this.show2 = true;
this.listArr = d.data.rows;
}else {
this.$message({
message: '无搜索结果',
type: 'warning'
});
}
}
}).catch(e=>{
});
}else {
this.$message({
type: 'error',
message: '请填写搜索内容'
});
}else{
this.$root.pushx({
title:"商标交易市场",
name:"/tmtransactionmarket",
params:{tminput:this.inputstr}
message: '请按提示输入',
type: 'warning'
});
}
},
autunmnTabs(num) {
this.tabNum = num;
if(num==1){
this.tms = this.tms1
}else if(num==2){
this.tms = this.tms2
}
else if(num==3){
this.tms = this.tms3
}
else if(num==4){
this.tms = this.tms4
}
},
popupsList (list,key) {
this.trademarkName = list.itemTypeName;
if (key == 7) {
return;
}
this.popupsDataList = list.smallList;
this.pDataKey = key;
this.pTowDataKey = key;
},
popupsLeave() {
this.pTowDataKey = null;
},
findAllServicesitemA(){
this.company_id=this.$root.currentCompany.id;
var params={company_id:this.$root.currentCompany.id};
var that=this;
this.$root.postReq("/web/serviceitemCtl/getAllProducts", params).then(function(d) {
that.popupsData = [];
if(d.status==0&&d.data){
d.data.forEach(r=>{
if(r){
that.popupsData.push(r);
}
that.popupsDataList = that.popupsData[0].smallList;
/*if(this.summerTabs==2 && this.state2 != ''){
this.input = this.state2;
if (this.restaurants && this.restaurants.length == 1) {
this.$root.loadingHome = true;
setTimeout(()=>{
this.$root.loadingHome = false;
},3000);
this.$root.pushx({
title:"企业画像",
name:"/entdrawing",
params:{"obj": this.restaurants[0],"shouji": this.isNumber(this.state2) ? this.state2 : ''}
});
that.$root.popupsData=that.popupsData;
that.$root.popupsDataList= that.popupsDataList ;
}
})
},
goServiceDetails(){
localStorage.setItem("trademarkName",this.trademarkName);
this.$root.windowOpen({
url:window.location.href.split("#")[0]+"#/tmtransactionmarket",
title:"商标交易市场",
params:[
{}
]
})
},
navJump(item,key) {
/*var col = '';
if (key == 0) {
col = '#1d7cfa'
}else if (key == 1) {
col = '#fae0af'
}else if (key == 2) {
col = '#fcf3ed'
}else if (key == 3) {
col = '#ffe0d1'
};*/
console.log(item);
this.$root.pushx({
title:"商标交易市场",
name:"/tmtransactionmarket",
params:{trademarkCode:item.ncl_one_codes,trademarkImg:item.banner_img,trademarkColor:item.backgroundColor,trademarkTextColor:item.fontColor}
});
},
toDetail(sbzch,gjfl){
if(sbzch && gjfl){
this.$root.windowOpen({
url:window.location.href.split("#")[0]+"#/tmtransactiondetail",
title:"商标详情",
params:[
{name:"sbzch",value: sbzch},
{name:"gjfl",value: gjfl}
]
})
}
}else {
this.$message({
message: '请选择一个公司',
type: 'warning'
});
}
return ;
}else {
this.$message({
message: '请按提示输入',
type: 'warning'
});
return ;
}*/
},
},
computed:{
......
.autumn {
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
.autumn-search {
width:1200px;
height:173px;
margin:0 auto;
line-height: 173px;
text-align:center;
z-index:99;
}
.autumn-search-text {
display: inline-block;
margin-right: 42px;
font-size:30px;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(252,86,52,1);
}
.autumn-search-input {
width:788px;
height:54px;
background:rgba(255,255,255,1);
border:2px solid rgba(253,98,40,1);
}
.autumn-search .el-input__inner{
width: 631px;
line-height:54px;
height: 54px;
border: none;
border-radius: 0px;
}
.autumn-search .el-input-group__append{
width: 157px;
background:#FC5634;
font-size:16px;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(255,255,255,1);
border: none;
border-radius: 0px;
}
.autumn-main-top {
width: 100%;
height: 264px;
padding: 20px 0px;
}
.autumn-main-top-item {
float: left;
width: 25%;
height: 100%;
padding: 10px;
box-sizing: border-box;
cursor: pointer;
}
.autumn-main-top-item:hover {
opacity: 0.8;
}
.autumn-main-top-item > img {
width: 100%;
height: 100%;
}
.autumn-main-nav {
margin: 25px 10px;
width: 100%;
height: 42px;
border-left: 1px solid rgba(229, 59, 24, 1);
}
.autumn-main-nav-item {
float: left;
width: 125px;
height: 40px;
line-height: 40px;
border:1px solid rgba(229, 59, 24, 1);
border-left: none;
font-size:14px;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(252,86,52,1);
text-align: center;
cursor: pointer;
}
.autumn-main-content {
margin: 22px 0px;
width: 100%;
max-height: 670px;
padding: 0px 10px;
box-sizing: border-box;
}
.autumn-main-content-item {
display: inline-block;
width: 231px;
height: 164px;
background-color: sandybrown;
position: relative;
cursor: pointer;
}
.autumn-main-content-item > img {
width: 100%;
height: 100%;
}
.content-item-shade {
position: absolute;
top: 0;
width: 100%;
height: 100%;
font-size: 18px;
background-color: rgba(0,0,0,0.6);
color: #fff;
padding: 20px 40px;
box-sizing: border-box;
opacity: 0;
transition: opacity 0.5s;
-moz-transition: opacity 0.5s;
-webkit-transition: opacity 0.5s;
-o-transition: opacity 0.5s;
}
.content-item-shade > div {
width: 100%;
line-height: 40px;
height: 40px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.autumn-main-content-item:hover .content-item-shade {
opacity: 1;
}
.autumn-img1 {
width: 100%;
height: 693px;
background: url('/imgs/autumn/bj1.png');
background-size: 100% 100%;
text-align: center;
}
.autumn-img2 {
width: 100%;
height: 662px;
background: url('/imgs/autumn/bj2.png');
background-size: 100% 100%;
text-align: center;
}
.autumn-img3 {
width: 100%;
height: 616px;
background: url('/imgs/autumn/bj3.png');
background-size: 100% 100%;
text-align: center;
}
.autumn-bj > img {
margin-top: 99px;
}
.autumn-two {
position: absolute;
top: 83px;
width: 100%;
height: 400px;
z-index: 999;
}
.autumn-two-main {
width: 1200px;
height: 100%;
margin: 0 auto;
}
.autumn-two-main-left {
float: left;
width:200px;
height:100%;
background:rgba(0,0,0,0.5);
box-sizing: border-box;
border-radius: 3px;
-webkit-border-radius: 3px;
}
.autumn-two-left-item {
width: 100%;
height: 50px;
line-height: 50px;
text-align: left;
font-size: 14px;
color:rgba(255,255,255,0.7);
cursor: pointer;
}
.autumn-two-left-item:last-child {
text-align: center;
background: #fc5634;
color:#fff;
}
.autumn-two-left-item-cla {
width: 100%;
height: 50px;
line-height: 50px;
text-align: left;
font-size: 14px;
background-color:#FFFFFF;
color:#FD6228;
cursor: pointer;
}
.autumn-two-left-item-span{
display: block;
width: 60%;
height: 100%;
margin: 0 auto;
}
.autumn-two-right {
width: 1000px;
height: 100%;
overflow-y: auto;
float: right;
background-color: #fff;
text-align: left;
box-sizing: border-box;
cursor: default;
}
.autumn-tow-right-title {
cursor: pointer;
width: 100%;
padding-left: 11px;
line-height: 36px;
font-size:14px;
font-family:PingFangSC-Regular;
color:rgba(56,64,75,1);
overflow: hidden;
font-weight: bold;
}
.autumn-tow-right-lists {
float: left;
width: 100%;
height: 100%;
}
.autumn-tow-right-it {
float: left;
line-height: 30px;
cursor: pointer;
font-size:14px;
font-family:PingFangSC-Regular;
font-weight:400;
color:#666;
overflow: hidden;
position: relative;
padding: 0px 11px;
}
.autumn-tow-right-it:after {
content: '';
position: absolute;
width: 1px;
height: 10px;
background-color: #a4a4a4;
top: 10px;
right: 0;
}
.autumn-tow-right-it:last-child {
position: static;
}
.autumn-tow-right-it:hover {
color: #FD6228;
}
\ No newline at end of file
.policylist-warpper {
width: 100%;
height: 100%;
}
.el-input--mini .el-input__inner{
border:1px solid rgba(238,238,238,1);
border-radius: 0px;
}
.policylist-headerbut{
background: #fff;
position: relative;
top: -1px;
color:rgba(121,121,121,1) !important;
}
.policyquery-items > .items_item > div{
padding-right: 30px !important;
}
.policyquery-items > .items_item > div:hover{
color: #118EE9;
}
.policyquery-items > .items_right:hover{
color: #118EE9;
}
.policyquery-items:nth-child(1){
border-top: 1px solid #F0F3F0;
}
.policyquery-items{
border: none !important;
box-sizing: border-box;
border-bottom: 1px solid #F0F3F0 !important;
}
.policyquery-items:last-child{
border:none !important;
}
.policylist-warpper > .policylist {
width: 100%;
height: 100%;
}
.policylist-header {
width: 100%;
overflow: hidden;
border: 1px solid #F0F3F0;
}
.header-left {
float: left;
font-size:16px;
font-family:MicrosoftYaHei;
color:rgba(121,121,121,1);
cursor: pointer;
}
.header-right {
float: right;
width: 110px;
height: 28px;
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(121,121,121,1);
}
.policylist-swiper {
width: 100%;
margin-top: 30px;
height: 150px;
padding: 20px;
box-sizing: border-box;
position: relative;
background-color: #FAFAFA;
/* background-color: #ccc; */
}
.swiper-main {
width: 96%;
height: 100%;
margin: 0 auto;
white-space:nowrap;
overflow: hidden;
}
.swiper-leftButton {
position: absolute;
top: 33%;
left: 20px;
width:16px;
height:54px;
line-height: 54px;
text-align: center;
background:rgba(240,240,240,1);
border-radius:2px;
cursor: pointer;
}
.swiper-rightButton {
position: absolute;
top: 33%;
right: 20px;
width:16px;
height:54px;
line-height: 54px;
text-align: center;
background:rgba(240,240,240,1);
border-radius:2px;
cursor: pointer;
}
.swiper-rightButton:hover {
background-color:rgba(235,242,255,1);
color: #97A6AD;
}
.swiper-leftButton:hover {
background-color:rgba(235,242,255,1);
color: #97A6AD;
}
.main-lists {
height: 100%;
overflow: hidden;
white-space: nowrap;
display: inline-block;
-webkit-transition: transform 0.3s linear;
}
.mian-list {
display: inline-block;
width: 360px;
height: 100%;
margin-right: 10px;
background:rgba(255,255,255,1);
box-shadow:2px 2px 5px 0px rgba(226,226,226,0.5);
border-radius:2px;
border:1px solid rgba(230,232,233,1);
padding: 20px;
box-sizing: border-box;
overflow: hidden;
cursor: pointer;
}
.mian-list:hover {
background:rgba(255,255,255,1);
box-shadow:2px 2px 5px 0px rgba(226,226,226,0.5);
border-radius:2px;
border:1px solid rgba(17,142,233,1);
}
.list-img {
float: left;
width:70px;
height:70px;
margin-right: 20px;
font-size: 20px;
color: #5D9ADD;
background:rgba(235,242,255,1);
white-space: normal !important;
text-align: center;
display:table;
padding: 0px 10px;
box-sizing: border-box;
}
.list-img > span {
display:table-cell;
vertical-align:middle
}
.list-text {
float: left;
line-height: 24px;
letter-spacing: 2px;
}
.list-text-title {
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(72,72,72,1);
}
.list-text-name {
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(121,121,121,1);
}
.policylist-portrayal {
width:100%;
height:118px;
background:rgba(255,255,255,1);
border-radius:1px;
border:1px solid rgba(247,247,248,1);
overflow: hidden;
padding: 20px;
box-sizing: border-box;
}
.portrayal-left {
float: left;
font-weight: 600;
color: #118EE9;
font-size: 1.6vw;
margin-right: 22px;
}
.portrayal-right {
float: left;
width: 85%;
height: 100%;
overflow: hidden;
padding: 0.5% 0px;
box-sizing: border-box;
}
.portrayal-right-list {
float: left;
margin-right: 16px;
margin-bottom: 10px;
padding: 5px 10px;
font-size:12px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
cursor: default;
}
.policylist-recommend {
width:100%;
height:60px;
background:rgba(255,255,255,1);
border-radius:1px;
border:1px solid rgba(247,247,248,1);
padding: 0px 20px;
line-height: 60px;
box-sizing: border-box;
overflow: hidden;
}
.recommend-title {
float: left;
font-weight: 600;
font-size: 1.6vw;
color: #F2784B;
margin-right: 22px;
}
.recommend-name {
float: left;
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(121,121,121,1);
margin-right: 30px;
font-weight: 600;
}
.recommend-name > span {
margin-left: 10px;
color: #118EE9;
}
.recommend-input {
float: right;
width:220px;
height:32px;
}
.policylist-content {
width: 100%;
}
.policylist-content-list {
width: 100%;
padding: 20px 30px;
box-sizing: border-box;
}
.policylist-conten-title {
font-size:18px;
font-family:PingFangSC-Semibold,PingFangSC;
font-weight:600;
color:rgba(72,72,72,1);
margin-bottom: 15px;
cursor: pointer;
}
.policylist-conten-title a {
text-decoration:none !important;
color:#333 !important;
}
.policylist-conten-title span {
margin-left: 10px;
padding: 5px 10px;
font-size:12px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(255,255,255,1);
background-color: #597EF7;
}
.policylist-conten-text {
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(121,121,121,1);
margin-bottom: 13px;
}
.policylist-conten-items {
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(153,153,153,1);
}
.policylist-conten-items > span {
margin-right: 40px;
}
.policylist-pagination {
text-align: right;
}
.policylist-details {
width: 100%;
height:130px;
background:rgba(250,250,250,1);
padding: 30px;
box-sizing: border-box;
overflow: hidden;
}
.details-leftimg {
float: left;
width:70px;
height:70px;
background:rgba(234,244,255,1);
margin-right: 22px;
}
.details-righttext {
float: left;
width: 80%;
}
.righttext-name {
width: 100%;
line-height: 24px;
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(72,72,72,1);
}
.righttext-span {
line-height: 24px;
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(121,121,121,1);
}
.righttext-span > span {
display: inline-block;
}
.policylist-essay {
width: 100%;
}
.essay-title {
width: 100%;
height: 175px;
padding-top: 30px;
box-sizing: border-box;
}
.essay-title-name {
width:100%;
height:75px;
font-size:24px;
font-weight: 600;
font-family:MicrosoftYaHei;
color:rgba(72,72,72,1);
line-height:40px;
text-align: center;
}
.essay-title-list {
width: 100%;
margin-top: 20px;
text-align: center;
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(170,170,170,1);
}
.essay-title-list > span {
margin-right: 38px;
}
.essay-content {
width: 100%;
font-size:14px;
font-family:PingFangSC-Regular,PingFangSC;
font-weight:400;
color:rgba(85,85,85,1);
line-height: 42px;
}
.policylist-buttons {
width: 100%;
padding-bottom: 30px;
border-bottom:1px solid rgba(239,239,239,1);
overflow: hidden;
}
.policylist-buttons > div {
float: right;
width:120px;
height:32px;
line-height: 32px;
margin-right: 13px;
border-radius:20px;
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
text-align: center;
cursor: pointer;
}
.policylist-buttons > div > img {
vertical-align: middle;
}
.policylist-navigation {
width: 100%;
height: 107px;
font-size:14px;
font-family:PingFangSC-Regular,PingFangSC;
font-weight:400;
color:rgba(70,70,70,1);
padding: 30px 0px;
box-sizing: border-box;
}
.policylist-navigation > div {
line-height: 24px;
cursor: pointer;
}
.policylist-qr {
width:100%;
height:134px;
line-height: 134px;
background:rgba(248,248,248,1);
font-size:14px;
font-family:PingFangSC-Medium,PingFangSC;
font-weight:500;
color:rgba(72,72,72,1);
text-align: center;
}
.policylist-qr > img {
vertical-align:middle;
}
\ No newline at end of file
<div class="policylist-warpper">
<div class="policylist" v-if="detailPageType">
<div class="policylist-title">政策查询</div>
<div class="policylist-header" :style="headerHeight ? \'height:190px\' : \'height:auto\'">
<div class="policyquery-items">
<div class="items_left">发布地区</div>
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
<div :class="input1 ? \'\':\'pitch\'" @click="tableDataClick1()">不限</div>
<div :class="input1 == item ? \'pitch\' : \'\'" v-for="item in tableData1" @click="tableDataClick1(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight1 = !headerHeight1"><span v-if="headerHeight1">更多 <i class="el-icon-arrow-down"></i></span><span v-else>收起 <i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">政策级别</div>
<div class="items_item" :style="headerHeight2 ? \'height:45px\' : \'height:auto\'">
<div :class="input2 ? \'\':\'pitch\'" @click="tableDataClick2()">不限</div>
<div :class="input2 == item ? \'pitch\' : \'\'" v-for="item in tableData2" @click="tableDataClick2(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight2 = !headerHeight2"><span v-if="headerHeight2">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">发布部门</div>
<div class="items_item" :style="headerHeight3 ? \'height:45px\' : \'height:auto\'">
<div :class="input3 ? \'\':\'pitch\'" @click="tableDataClick3()">不限</div>
<div :class="input3 == item ? \'pitch\' : \'\'" v-for="item in tableData3" @click="tableDataClick3(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight3 = !headerHeight3"><span v-if="headerHeight3">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">扶持方式</div>
<div class="items_item" :style="headerHeight4 ? \'height:45px\' : \'height:auto\'">
<div :class="input4 ? \'\':\'pitch\'" @click="tableDataClick4()">不限</div>
<div :class="input4 == item ? \'pitch\' : \'\'" v-for="item in tableData4" @click="tableDataClick4(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight4 = !headerHeight4"><span v-if="headerHeight4">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">企业性质</div>
<div class="items_item" :style="headerHeight5 ? \'height:45px\' : \'height:auto\'">
<div :class="input5 ? \'\':\'pitch\'" @click="tableDataClick5()">不限</div>
<div :class="input5 == item ? \'pitch\' : \'\'" v-for="item in tableData5" @click="tableDataClick5(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight5 = !headerHeight5"><span v-if="headerHeight5">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">行业类别</div>
<div class="items_item" :style="headerHeight6 ? \'height:45px\' : \'height:auto\'">
<div :class="input6 ? \'\':\'pitch\'" @click="tableDataClick6()">不限</div>
<div :class="input6 == item ? \'pitch\' : \'\'" v-for="item in tableData6" @click="tableDataClick6(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight6 = !headerHeight6"><span v-if="headerHeight6">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">政策类型</div>
<div class="items_item" :style="headerHeight7 ? \'height:45px\' : \'height:auto\'">
<div :class="input7 ? \'\':\'pitch\'" @click="tableDataClick7()">不限</div>
<div :class="input7 == item ? \'pitch\' : \'\'" v-for="item in tableData7" @click="tableDataClick7(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight7 = !headerHeight7"><span v-if="headerHeight7">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">扶持领域</div>
<div class="items_item" :style="headerHeight8 ? \'height:45px\' : \'height:auto\'">
<div :class="input8 ? \'\':\'pitch\'" @click="tableDataClick8()">不限</div>
<div :class="input8 == item ? \'pitch\' : \'\'" v-for="item in tableData8" @click="tableDataClick8(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight8 = !headerHeight8"><span v-if="headerHeight8">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
<div class="policyquery-items">
<div class="items_left">时间年限</div>
<div class="items_item" :style="headerHeight9 ? \'height:45px\' : \'height:auto\'">
<div :class="input9 ? \'\':\'pitch\'" @click="tableDataClick9()">不限</div>
<div :class="input9 == item ? \'pitch\' : \'\'" v-for="item in tableData9" @click="tableDataClick9(item)">{{item}}</div>
</div>
<div class="items_right" @click="headerHeight9 = !headerHeight9"><span v-if="headerHeight9">更多<i class="el-icon-arrow-down"></i></span><span v-else>收起<i class="el-icon-arrow-up"></i></span></div>
</div>
</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-recommend">
<div style="float: left;font-size:14px;
font-family:MicrosoftYaHei;
color:rgba(121,121,121,1);">共为您的企业推荐了<span style="color: #F2784B">{{total}}</span>条政策</div>
<div class="recommend-input">
<el-input
placeholder="请输入查询的标题/内容"
v-model="zctext"
size="mini"
change="()=>{console.log(123)}">
<i slot="suffix" class="el-input__icon el-icon-search" style="fontSize:16px;"></i>
</el-input>
</div>
</div>
<div class="policylist-content">
<div class="brandfind-main-equal-form-box-null" v-if="recommendationsArr.length==0" style="height:500px;">
<!-- 没数据 -->
<div>
<img src="/imgs/datanull.png" alt="">
<div>暂无数据</div>
</div>
</div>
<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-text"><span style="dispaly:line-block;padding: 0 10px;color:#fff;" :style="color16()">{{i.label}}</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>
</div>
<div class="policylist-pagination" v-show="recommendationsArr.length">
<el-pagination
background
layout="prev, pager, next"
@current-change="handleCurrentChange"
:total="total">
</el-pagination>
</div>
<div v-else></div>
</div>
<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>
<div style="width: 100%;height: 25px;"></div>
<div class="policylist-portrayal">
<div class="portrayal-left">政策画像</div>
<div class="portrayal-right">
<div class="portrayal-right-list" v-for="(item,key) in portrayalArr" :key="key" :style="rgba()">{{item}}</div>
</div>
</div>
<div class="policylist-essay">
<div class="essay-title">
<div class="essay-title-name">{{recommendationsObj.name}}</div>
<div class="essay-title-list"><span>{{recommendationsObj.source}}</span><span>阅读量:{{recommendationsObj.browse}}</span><span>{{recommendationsObj.date}}</span></div>
</div>
<div class="essay-content" v-html="recommendationsObj.policytext"></div>
</div>
<div class="policylist-buttons">
<!-- <div style="border:1px solid rgba(88,184,72,1);color: #2AA515"><img src="/imgs/wx.png" alt="">分享到微信</div>
<div style="border:1px solid rgba(228,109,108,1);color: #E46D6C"><img src="/imgs/wb.png" alt="">分享到微博</div>
<div style="border:1px solid rgba(255,189,29,1);color: #FFBD1D"><img src="/imgs/sc.png" alt="">收藏</div> -->
<div style="border:1px solid rgba(78,140,238,1);color:#4E8CEE" @click="consulting"><img src="/imgs/zx.png" alt="">政策咨询</div>
</div>
<!-- <div class="policylist-navigation">
<div @click="before(rKey)" v-if="recommendationsObjBefore">上一篇:{{recommendationsObjBefore.name}}</div>
<div @click="after(rKey)" v-if="recommendationsObjAfter">下一篇:{{recommendationsObjAfter.name}}</div>
</div> -->
<div class="policylist-qr">
<img src="/imgs/gsb.png" alt=""> 扫一扫,关注iBOSS微信服务号,随时随地了解行业政策最新资讯
</div>
</div>
</div>
\ No newline at end of file
{
template: '${tmpl}',
data: function() {
return {
total: 0,
policyArr: [],
recommendationsArr: [],
policyOptions: [{
value: '北京东方飞扬软件股份有限公司',
label: '北京东方飞扬软件股份有限公司'
}],
policyValue: '',
transformNumber: 0,
portrayalArr: [],
zctext: '',
detailPageType: true,
recommendationsObj: {},
recommendationsObjBefore: {},
recommendationsObjAfter: {},
companyObj: {},
rKey: null,
zcoName: '',
activeNames: ['1'],
headerHeight: true,
headerHeight1: true,
headerHeight2: true,
headerHeight3: true,
headerHeight4: true,
headerHeight5: true,
headerHeight6: true,
headerHeight7: true,
headerHeight8: true,
headerHeight9: true,
input1:'',
input2:'',
input3:'',
input4:'',
input5:'',
input6:'',
input7:'',
input8:'',
input9:'',
tableData1: [
'不限',
'北京',
'天津',
'上海',
'重庆',
'河北',
'河南',
'云南',
'辽宁',
'黑龙江',
'湖南',
'安徽',
'山东',
'江苏',
'浙江',
'江西',
'湖北',
'新疆维吾尔族自治区',
'广西壮族自治区',
'甘肃',
'山西',
'陕西',
'内蒙古自治区',
'吉林',
'福建',
'贵州',
'广东',
'青海',
'西藏自治区',
'夏回族自治区',
'四川'
],
tableData2:[
'部委',
'省级',
'市级',
'区级'
],
tableData3:[
'发改部门',
'教育部门',
'科学技术部门',
'工业和信息化部门',
'人社部门',
'生态环境部门',
'交通运输部门',
'农业农村部门',
'商务部门',
'文化和旅游部门',
'知识产权部门',
'财政部门',
'税务部门',
'国防科技部门',
'开发区/高新区/自贸区',
'市场监督部门',
'其他部门'
],
tableData4:[
'资质荣誉',
'事前补助',
'研发费补助',
'奖励',
'贷款信息',
'担保补助',
'投资补贴',
'税收优惠',
'创业补贴',
'人才补贴'
],
tableData5:[
'事业单位',
'企业单位',
'社会组织'
],
tableData6:[
'工业',
'建筑业',
'金融业',
'农、林、牧、渔业',
'软件、信息传输和信息技术服务业',
'住宿和餐饮业',
'批发和零售业',
'现代服务业',
'租赁和商业服务业',
'交通运输、仓储和邮政业',
'教育和卫生业',
'文化、体育和娱乐业',
'房地产和物业管理业',
'水利、环境和公共设施管理业',
'公共管理、社会保障、社会和国际组织',
'电力、热力、燃气及水生产和供应业',
'其他'
],
tableData7:[
'普惠(创新券/社保补贴/创业补贴等)',
'科技创新',
'人才类',
'资质认定',
'商贸业/电子商务/交通/现代物流',
'税收优惠',
'技术改造',
'智能制造',
'现代服务业',
'工程中心/技术中心/实验室/研发机构',
'金融补贴',
'首台/首套',
'绿色建筑',
'创客空间/孵化器/产业园/科技园',
'生物医药',
'航空航天',
'奖项评选',
'知识产权/知识产权金融',
'专精特新/瞪羚/小巨人/独角兽',
'公共/示范平台',
'龙头/标杆/骨干/示范企业',
'租金/展会/制定标准补贴',
'产品认定',
'其他'
],
tableData8:[
'基础与应用基础研究',
'社会民生',
'现代服务业',
'高新技术领域',
'新一代信息技术产业',
'战略性新兴产业',
'未来产业',
'创业补贴',
'人才补贴'
],
tableData9:[
'2019',
'2018',
'2017',
'2016',
'2015',
'2014',
'2013'
],
colorList:[{
bgColor:"#EDEEFA",
fontColor:"#5B65D3"
},{
bgColor:"#FDF2EC",
fontColor:"#FC835A"
},{
bgColor:"#FFEBF5",
fontColor:"#FF75B3"
},{
bgColor:"#E1EDFB",
fontColor:"#3CACFF"
},{
bgColor:"#E0F4E8",
fontColor:"#54D02F"
},{
bgColor:"#E8F7F9",
fontColor:"#30BBCE"
}]
}
},
methods: {
rgba() {
var color = this.colorList[Math.floor(Math.random()*this.colorList.length)];
return `color:${color.fontColor};background-color:${color.bgColor}`;
},
inputDel(input) {
console.log(input);
this[input] = '';
this.zcPost()
},
tableDataClick1(val) {
console.log(val);
if (val == undefined) {
console.log(123123123123);
val = ''
};
this.input1 = val;
this.zcPost()
},
tableDataClick2(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input2 = val;
this.zcPost()
},
tableDataClick3(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input3 = val;
this.zcPost()
},
tableDataClick4(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input4 = val;
this.zcPost()
},
tableDataClick5(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input5 = val;
this.zcPost()
},
tableDataClick6(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input6 = val;
this.zcPost()
},
tableDataClick7(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input7 = val;
this.zcPost()
},
tableDataClick8(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input8 = val;
this.zcPost()
},
tableDataClick9(val) {
console.log(val);
if (val == undefined) {
val = ''
};
this.input9 = val;
this.zcPost()
},
search() {
this.zcPost()
},
handleCurrentChange(val) {
this.zcPost(val)
},
consulting () {
this.$confirm('提交后会有政策解读专家与您联系,为您进行一对一免费解答,请 确认是否提交?', '政策咨询', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: ''
}).then(() => {
this.$message({
type: 'success',
message: '提交成功!'
});
}).catch(() => {
this.$message({
type: 'info',
message: '已取消提交'
});
});
},
articleDetails(obj) {
this.detailPageType = false;
scrollTo(0,0);
this.recommendationsObj = obj;
this.portrayalArr = obj.hx_list;
console.log(this.portrayalArr,'11111111111111');
axios.post('http://43.247.184.92:8018/gsb/api/zcdetailcount',{
"ID": obj.ID,
"count":0
}).then( d => {
console.log(d,'=================================');
var data = d.data.data;
this.recommendationsArr = data
})
},
/*before(i) {
this.rKey = i-1;
},
after(i) {
this.rKey = i+1;
},*/
next () {
this.detailPageType = true;
this.zccompanyPost();
this.zcPost()
},
LookHome() {
this.zccompanyPost();
this.zcPost()
/* this.recommendationsArr = this.recommendationsArr1*/
},
LookCompany(i) {
this.companyObj = i;
/*this.recommendationsArr = this.recommendationsArr2*/
this.zcoName = i.name;
this.zccompanyNamePost()
},
color16(){
var r = Math.floor(Math.random()*256);
var g = Math.floor(Math.random()*256);
var b = Math.floor(Math.random()*256);
var color = 'background-color:' + '#'+r.toString(16)+g.toString(16)+b.toString(16);
return color;
},
rgb(){
var r = Math.floor(Math.random()*256);
var g = Math.floor(Math.random()*256);
var b = Math.floor(Math.random()*256);
var rgb = 'color:' + 'rgba('+r+','+g+','+b+', 1)' + ';' + 'background-color:' + 'rgba('+r+','+g+','+b+', 0.3)';
return rgb;
},
leftswiperList () {
console.log(this.$refs.swiperList.offsetWidth);
if (this.transformNumber < 0) {
this.transformNumber = this.transformNumber + 360;
this.$refs.swiperList.style.transform = 'translateX(' + this.transformNumber + 'px) scale(1)';
}
},
rightswiperList () {
if ((this.$refs.swiperList.offsetWidth - Math.abs(this.transformNumber)) > this.$refs.swiperMain.offsetWidth) {
this.transformNumber = this.transformNumber - 360;
this.$refs.swiperList.style.transform = 'translateX(' + this.transformNumber + 'px) scale(1)';
}
},
zccompanyNamePost() {
axios.post('http://43.247.184.92:8018/gsb/api/zccompany_name',{
"company_name": this.zcoName
}).then( d => {
console.log(d,'=================================');
var data = d.data.data;
this.portrayalArr = d.data.company_keys;
this.recommendationsArr = data
})
},
zcPost(size) {
/*http://43.247.184.92:8018/gsb/api/zc*/
axios.post('http://43.247.184.92:8019/gsb/api/zc',{
"zctext": this.zctext,
"currentpage": size || 1,
"pagesize":10,
"address": this.input1,
"zc_level": this.input2,
"zc_department": this.input3,
"zc_mode": this.input4,
"company_type": this.input5,
"industry_type": this.input6,
"policy_type": this.input7,
"support_field": this.input8,
"year": this.input9
}).then( d => {
console.log(d,'---------------------------------');
var data = d.data.data;
this.recommendationsArr = data;
this.total = d.data.total;
console.log(this.recommendationsArr,12312312321);
})
},
zccompanyPost() {
axios.post('http://43.247.184.92:8018/gsb/api/zccompany',{}).then( d => {
console.log(d);
var data = d.data.data;
this.portrayalArr = data
})
},
getCompanyListPost() {
/*function getLocalTime(nS) {
let date = new Date(nS);
let year = date.getFullYear();
let month = date.getMonth()+1;
let day = date.getDate();
month = month < 10 ? "0"+month:month;
day = day < 10 ? "0"+day:day;
date = year+'-'+month+'-'+day;
return date;
};*/
var that = this;
this.$root.postReq("/web/tmquery/toolCtl/getCompanyList", {}).then(function (d) {
console.log(d, "//////////////////////////");
var data = d.data;
that.policyArr = [];
for (let i = 0; i < data.length; i++) {
data[i]['logo'] = data[i].name.substr(0, 4);
that.policyArr.push(data[i]);
};
console.log(that.policyArr)
}).catch(function (e) {
console.log(`操作失败,请刷新页面后重新操作`);
});
}
},
mounted: function() {
/*for (let i = 0; i < this.portrayalArr.length; i++) {
this.portrayalArr[i].col = this.rgb();
};*/
this.zcPost();
this.zccompanyPost();
},
vname: "gsb-policyquery"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -33,7 +33,6 @@
"express": "^4.16.2",
"express-session": "^1.15.6",
"gm": "^1.23.1",
"gulp": "^4.0.0",
"jszip": "^3.2.1",
"method-override": "^2.3.10",
"mongoose": "^5.3.6",
......@@ -64,8 +63,8 @@
"devDependencies": {
"element-theme": "^2.0.1",
"element-theme-chalk": "^2.4.0",
"es6-promise": "^4.2.6",
"gulp": "^4.0.0",
"es6-promise": "^4.2.8",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-if": "^2.0.2",
"gulp-imagemin": "^5.0.3",
......
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