Commit a74c5230 by 任建

rj

parent cba59a57
......@@ -809,10 +809,13 @@ module.exports = {
"path": "",
},
],
},
"bizs": {
"recommen": {"title": "政策推荐", "config": null, "path":"/recommen", "comname": "recommen"},
"pay": {"title": "支付订阅", "config": null, "path":"/pay", "comname": "pay"},
"subscription": {"title": "政策订阅", "config": null, "path":"/subscription", "comname": "subscription"},
"patentanalysis": { "title": "专利分析", "config": null, "path": "/patentanalysis", "comname": "patentanalysis" },
"declare": { "title": "申报通知", "config": null, "path": "/declare", "comname": "declare" },
"managementmeasures": { "title": "管理办法", "config": null, "path": "/managementmeasures", "comname": "managementmeasures" },
......@@ -1173,7 +1176,7 @@ module.exports = {
"dispose_status": { "wxd": "未下单", "yxd": "已下单" },
"order_source": { "gsay": "公司案源", "ptsj": "平台商机", "wzzx": "网站咨询" },
"customer_intention": { "yxyb": "意向一般", "yxhg": "重要意向", "wjt": "未接通" },
"site_theme": { "default": "默认", "normal":"常规","spring": "九宫格", "autumn": "交易", "summer": "工商", "winter": "专利", "meihua": "综合","policy":"政策"},//, "summer": "夏天", "autumn": "秋天", "winter": "冬天" },
"site_theme": { "default": "默认", "normal":"常规","spring": "九宫格", "autumn": "交易", "summer": "工商", "winter": "专利", "meihua": "综合","policy":"政策","policyShop":"政策商城"},//, "summer": "夏天", "autumn": "秋天", "winter": "冬天" },
"site_theme2": { "autumn": "秋天" },//用于交易专场---》秋天主题首页专场信息维护
"tm_transaction_publish_status": { "audit": "审核中", "fail": "审核不通过", "success": "审核通过", "uppershelf": "上架", "lowershelf": "下架" },//商标交易发布状态
"big_class_icon": {
......
......@@ -549,6 +549,12 @@
<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">
<div class="header-main-tool" @click="onselect('subscription')"><span>政策订阅</span></div>
</el-dropdown>
<el-dropdown style="float: left;" @command="handleCommand">
<div class="header-main-tool" @click="goShop"><span>政策商城</span></div>
</el-dropdown>
</div>
<div style="float: right;" v-else>
<el-dropdown style="float: right;" @command="handleCommand">
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -623,7 +623,10 @@ var app = new Vue({
* ]
* }
*/
goShop(){
window.location.href='#';
this.windowOpen({url:"/?paramtheme=policyShop#/",params:[]})
},
windowOpen(obj) {
if (!obj) {
this.$message.warning("参数错误");
......@@ -1391,7 +1394,12 @@ var app = new Vue({
this.popupsType = false;
var self = this;
if (k == "subscription") {
this.pushx({
title: "政策订阅",
name: "/subscription"
});
}
if (k == "declare") {
this.pushx({
title: "政策资讯",
......
......@@ -22,11 +22,12 @@
listArr:[],
show2: false,
checkBoxArr: [
"搜政策",
"搜企业"
"政策查询",
"政策推荐"
],
activeClass: 0,
type: "政策查询"
}
},
mounted:function(){
......@@ -137,10 +138,20 @@
}
},
searchResult () {
this.$root.pushx({
title: "政策列表",
name: "/policyquery"
});
if(this.state2!=""){
if(this.type == "政策推荐"){
this.$root.pushx({
title: "政策推荐",
name: "/recommen"
});
}else if(this.type == "政策查询"){
this.$root.pushx({
title: "政策列表",
name: "/policyquery"
});
}
}
if (this.state2 != '') {
var obj = {
......@@ -197,6 +208,11 @@
},
getItme(index) {
this.activeClass = index;
if(index == 0 ){
this.type = "政策查询"
}else{
this.type = "政策推荐"
}
},
},
computed:{
......
.pay{
width: 100%;
box-sizing: border-box;
}
.title{
text-align: center;
margin: 50px 0;
}
.title>p{
width:168px;
height:56px;
font-size:40px;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(51,51,51,1);
line-height:56px;
letter-spacing:1px;
margin: 0 auto;
}
.title>img{
position: absolute;
top: 67px;
left: 50%;
margin-left: -222px;
}
.main{
width:1197px;
height:830px;
background:rgb(255, 255, 255);
margin:0 auto;
padding: 50px;
box-sizing: border-box;
}
.main>h1{
height:56px;
font-size:40px;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(51,51,51,1);
line-height:56px;
letter-spacing:2px;
margin: 10px 0;
}
.zhiMain{
width: 100%;
height: 235px;
display: flex;
margin: 45px 0;
}
.zhiItem{
width: 320px;
height: 100%;
border:4px solid rgba(225,225,225,1);
margin-right: 70px;
display: flex;
flex-direction: column;
}
.indItem{
width: 320px;
height: 100%;
border:4px solid #F00000;
margin-right: 70px;
display: flex;
flex-direction: column;
background: no-repeat url("/imgs/rightBom.png");
background-position: 255px 178px;
}
.zhiItem:nth-child(3){
margin-right: 0;
}
.zhiItem>p{
flex: 1;
display: flex;
justify-content: center;
}
.zhiItem>p:nth-child(1){
align-items: flex-end;
font-weight: 600;
}
.zhiItem>p>span{
display: inline-block;
margin-right: 10px;
font-size:16px;
}
.zhiItem>p>span:nth-child(1){
height:22px;
font-size:16px;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(205,205,205,1);
line-height:22px;
letter-spacing:1px;
text-decoration: line-through;
}
.email{
height: 40px;
display: flex;
margin-top: 38px;
}
.email>span{
display: inline-block;
width:80px;
height:38px;
font-size:14px;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(34,34,34,1);
line-height:38px;
}
.email .el-input{
width:266px;
height:38px;
}
.main>h3{
display: flex;
justify-content: flex-end;
height:37px;
font-size:16px;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(51,51,51,1);
line-height:22px;
letter-spacing:2px;
}
.main>h3>span{
font-size: 26px;
font-weight: 600;
color: #DB1313;
}
.main .el-button{
float: right;
width:182px;
height:44px;
background:rgba(18,142,233,1);
margin-top: 45px;
}
\ No newline at end of file
<div class="pay">
<div class="title"><p>支付订阅</p> <img src="/imgs/zhiTitle.png" alt=""></div>
<div class="main">
<h1>政企通订阅</h1>
<div class="zhiMain">
<div :class="index==ind? \'indItem\ \zhiItem\' : \'zhiItem\'" v-for="(item,ind) in timeList" @click="timeClick(ind)">
<p>{{item.year}}</p>
<p><span>¥{{item.oldMoney}}</span><span>¥{{item.newMoney}}</span></p>
</div>
</div>
<h1>通知接收邮箱</h1>
<div class="email">
<span>*邮箱地址:</span>
<el-input v-model="email" placeholder="请输入内容" type="email"></el-input>
</div>
<h3>实付金额:<span>{{money}}元</span></h3>
<el-button type="primary" @click="btnClick()">主要按钮</el-button>
</div>
</div>
\ No newline at end of file
{
template: '${tmpl}',
data: function() {
return {
timeList: [{
year: "3个月",
oldMoney: 180,
newMoney: 90,
code:"zcdy3gy"
}, {
year: "6个月",
oldMoney: 365,
newMoney: 180,
code:"zcdy6gy"
}, {
year: "1年",
oldMoney: 730,
newMoney: 365,
code:"zcdy1n"
}],
email: null,
money: 90,
index: 0,
itemCode: "zcdy3gy"
};
},
created: function() {
},
methods: {
timeClick(ind) {
this.index = ind;
this.itemCode = this.timeList[this.index].code;
this.money = this.timeList[this.index].newMoney;
},
btnClick() {
let params = {
itemCode: this.itemCode,
order_appendinfo: {
level: ["市级通知"],
area_list: ["广州", "天津"],
department_list: ["发改部门", "教育部门"],
type_list: ["人才类", "技术改造"]
},
apply: {
orderType: "zzdd",
contacts: "",
mobile: "",
email: "renjian@gongsibao.com",
notes: ""
},
tm: {
totalSum: this.money
}
};
this.$root.postReq("/web/orderCtl/createOtherOrder", params).then( (d) => {
console.log("---------submitOrder-------");
console.log(d);
if (d.code == 1) {
this.$root.pushx({
title: "订单支付",
name: "/orderpay",
params: { orderNum: d.data.code }
});
} else {
this.$message.warning(d.msg);
}
})
}
},
mounted: function() {
},
vname: "gsb-pay"
}
<div class="policylist-warpper">
<div class="policylist" v-if="detailPageType">
<div class="policylist-recommend">
<div style="float: left;
font-size: 28px;
font-family: PingFangSC-Medium,PingFang SC;
font-weight: 500;
color: rgba(16,142,233,1);">政策推荐</div>
<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-input>
</div>
</div>
<div class="policylist-portrayal" style="margin: 20px 0;border-bottom: 1px solid #ddd;">
<div class="portrayal-left">企业画像</div>
<div class="portrayal-right" ref="qyhx">
<div class="portrayal-right-list" v-for="(item,key) in portrayalArr" :key="key" :style="rgb()">{{item}}</div>
</div>
</div>
<div class="policylist-content" style="background: rgba(255,255,255,1);
border-radius: 2px;
border: 1px solid rgba(225,225,225,1);">
<div class="brandfind-main-equal-form-box-null" v-if="recommendationsArr.length==0" style="height:500px;">
<!-- 没数据 -->
<div class="shuju">
<img src="/imgs/toubu.png" alt="">
<!-- <div class="shuju">暂无数据</div> -->
</div>
</div>
<div v-else class="policylist-content-list" v-for="(i,k) in recommendationsArr">
<div class="policylist-conten-title" @click="articleDetails(i)">
<div style="margin-left: -10px;" v-if="i.app_status==0"> <span
style="dispaly:line-block;color:#fff;background-color: #B2B2B2;">申报已结束</span></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 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-header1" style="border:none;">
<div class="header-left">当前位置:<span @click="next">区域政策 > </span><span style="color: #108EE9;">政策详情</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="henxian"></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.count}}</span><span>申报日期:{{recommendationsObj.begindate}}</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
.snbscription{
width: 100%;
height: 100%;
position: relative;
}
.snbscription>img{
width: 100%;
}
.btn1{
position: absolute;
top: 10%;
left: 50%;
width: 117px;
height: 35px;
border: 1px solid #fff;
background: #128EE9;
margin-left: -55px;
color: #fff;
border-radius: 3px;
}
.btn2{
position: absolute;
bottom: 76px;
left: 50%;
margin-left: -76px;
width: 148px;
height: 37px;
border: 1px solid #fff;
border-radius: 3px;
color: #fff;
background: #128EE9;
}
\ No newline at end of file
<div class="snbscription">
<img src="/imgs/server.png" alt="">
<button class="btn1" @click="payClick()">马上订阅</button>
<button class="btn2" @click="payClick()">马上订阅</button>
</div>
\ No newline at end of file
{
template: '${tmpl}',
data: function() {
return {
}
},
mounted: function() {
},
created: function() {
},
methods: {
payClick(){
console.log(1231231231232);
this.$root.pushx({
title: "支付订阅",
name: "/pay"
});
}
},
vname: "gsb_subscription"
}
\ No newline at end of file
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