Commit a05e4671 by 刘泽奇

123

parent 6860f6c0
......@@ -238,10 +238,29 @@ module.exports = {
"label": "登录",
"isctl": "no"
},
{
"code": "nowbuy",
"icon": "fa fa-power-off",
"path": ":channel/nowbuy",
"isMenu": false,
"label": "登录",
"isctl": "no"
},
{
"code": "paysuccess",
"icon": "fa fa-power-off",
"path": ":channel/paysuccess",
"isMenu": false,
"label": "登录",
"isctl": "no"
},
],
},
"bizs": {
"OAjdcompany": { "title": "后台首页", "config": null, "path": "/:channel/OAjdcompany", "comname": "OAjdcompany" },
"paysuccess": { "title": "后台首页", "config": null, "path": "/:channel/paysuccess", "comname": "paysuccess" },
"nowbuy": { "title": "后台首页", "config": null, "path": "/:channel/nowbuy", "comname": "nowbuy" },
"orderpay": { "title": "后台首页", "config": null, "path": "/:channel/orderpay", "comname": "orderpay" },
"bwselftmreg": { "title": "后台首页", "config": null, "path": "/:channel/bwselftmreg", "comname": "bwselftmreg" },
"OAjdlist": { "title": "后台首页", "config": null, "path": "/:channel/OAjdlist", "comname": "OAjdlist" },
......
......@@ -62,7 +62,7 @@
<div class="jc_hd"></div>
</div>
<!-- 启服通公共头 -->
<div class="jdindentlist-header" v-if="channelName == 'bw'">
<div class="commonchannel" v-if="channelName == 'bw'">
<div>
<div>
<img src="/imgs/pt.jpg" alt="">
......@@ -70,16 +70,26 @@
<span>{{channelMessage}}工商、商标注册平台</span>
</div>
<div v-if="user_Name">
<span v-if="user_Name"><i class="el-icon-user"></i></span>
<span>{{user_Name}}</span>
<el-dropdown>
<span class="el-dropdown-link">
{{user_Name}}<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item icon="el-icon-plus">黄金糕</el-dropdown-item>
<el-dropdown-item icon="el-icon-circle-plus">狮子头</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<span @click="loginOut" v-if="user_Name">退出</span>
</div>
<div v-else>
<router-link class="jdindentlist-header-login" :to="'/'+channelName+'/login'">登录</router-link>
<router-link class="jdindentlist-header-login" style="display:inline-block;color: #fff;padding: 0 15px;background:linear-gradient(80deg,#3171ff 0,#a14faf 100%);border-radius:13px;height: 26px;
<router-link class="commonchannel-login" :to="'/'+channelName+'/login'">登录</router-link>
<router-link class="commonchannel-login" style="display:inline-block;color: #fff;padding: 0 15px;background:linear-gradient(80deg,#3171ff 0,#a14faf 100%);border-radius:13px;height: 26px;
line-height: 26px;" :to="'/'+channelName+'/register'">免费注册</router-link>
</div>
</div>
<!-- 启服通公共头 -->
<!-- 根据渠道显示不同公共头end -->
<transition name="slide-fade">
<router-view></router-view>
......@@ -95,4 +105,5 @@
<script src="/js/common.js"></script>
<script type="module" src="/js/index.js"></script>
</body>
</html>
</html>
\ No newline at end of file
.commonchannel {
width: 100%;
height: 70px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 30px 0 36px;
box-sizing: border-box;
background: #212122;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
.commonchannel>div:nth-child(1) {
font-family: JDLANGZHENGTI--GB1-0;
font-size: 20px;
color: #ffffff;
text-align: left;
line-height: 24px;
}
.commonchannel>div:nth-child(1)>div {
height: 40px;
display: inline-block;
}
.commonchannel>div:nth-child(1)>div>img{
height: 100%;
}
.commonchannel-login {
color: #fff;
margin-right: 13px;
}
.commonchannel-login:hover {
color: #3171ff;
}
.commonchannel>div:nth-child(2)>span:nth-child(1) {
font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #7b819f;
line-height: 22px;
}
.commonchannel>div:nth-child(2)>span:nth-child(2) {
font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 22px;
margin-right: 20px;
margin-left: 20px;
cursor: pointer;
}
.commonchannel>div:nth-child(2)>span:nth-child(3) {
font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 22px;
cursor: pointer;
}
.commonchannel .el-dropdown-link{
color: #fff;
cursor: pointer;
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -163,7 +163,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
jdSelfHeaderShow: true,
commonHeader: true,
commonFooter: true,
user_Name: "",
user_Name: "123xxxxxxxxxxx",
channelMessage: "",
};
......
......@@ -23,9 +23,11 @@
height: 40px;
display: inline-block;
}
.jdindentlist-header>div:nth-child(1)>div>img{
.jdindentlist-header>div:nth-child(1)>div>img {
height: 100%;
}
.jdindentlist-header-login {
color: #fff;
margin-right: 13px;
......@@ -50,7 +52,7 @@
color: #ffffff;
line-height: 22px;
margin-right: 20px;
cursor: pointer;
}
.jdindentlist-header>div:nth-child(2)>span:nth-child(3) {
......
#baoguo{
#baoguo {
padding: 20px 20px 20px;
background: rgba(255,255,255,1);
border: 1px solid rgba(151,151,151,1);
background: rgba(255, 255, 255, 1);
border: 1px solid rgba(151, 151, 151, 1);
}
#bychpage .el-form-item>.el-form-item__content{
#bychpage .el-form-item>.el-form-item__content {
margin-left: 0 !important;
}
.login-content>.login-content-input{
.login-content>.login-content-input {
padding: 20px 20px 20px;
width: auto;
margin-left: 0;
......@@ -17,4 +19,28 @@
position: absolute;
right: 20%;
top: 23%;
}
.login-content-button {
width: 100%;
}
.login-content {
width: 320px;
height: 420px;
background: rgba(255, 255, 255, 1);
border-radius: 6px;
}
.login-content-title {
background: url(../imgs/bg_title.png);
background-repeat: no-repeat;
background-size: 100% 100%;
width: 320px;
height: 89px;
line-height: 70px;
text-align: center;
font-size: 18px;
font-weight: 400;
color: rgba(47, 47, 47, 1);
}
\ No newline at end of file
.nowbuy {
margin: 0 auto;
width: 1200px;
}
.nowbuy-nav {
height: 60px;
box-sizing: border-box;
padding: 21px 0;
}
.nowbuy-main {
padding-left: 54px;
width: 1203px;
background: rgba(255, 255, 255, 1);
border: 1px solid rgba(214, 214, 214, 1);
}
.nowbuy-title>div {
border-left: 5px solid #1EAFFF;
padding-left: 12px;
font-size: 18px;
margin: 20px 0;
}
.nowbuy-title>div>span {
color: #1EAFFF;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: 400;
color: rgba(30, 175, 255, 1);
}
/* .nowbuy-tips {
height: 40px;
line-height: 40px;
padding-left: 25px;
width: 1095px;
background: rgba(243, 250, 254, 1);
border: 1px solid rgba(102, 201, 255, 1);
} */
.nowbuy-form {
width: 35%;
}
.nowbuy .el-form-item__label {
text-align: right;
}
.nowbuy-footer-warpper{
border-top:1px solid #C1C1C1;
height: 170px;
padding-top: 17px;
box-sizing: border-box;
}
.nowbuy-footer {
box-sizing: border-box;
padding-left: 54px;
width: 1200px;
margin: 0 auto;
}
.nowbuy-footer>div {
display: inline-block;
}
.nowbuy-footer>span {
color: #f54a07;
}
.nowbuy-footer-img {
display: inline-block;
vertical-align: middle;
width: 26px;
height: 26px;
margin-left: 278px;
margin-bottom: 3px;
cursor: pointer;
margin-right: 15px;
}
.nowbuy-footer-img>img {
width: 100%;
height: 100%;
}
.nowbuy-footer>div>button {
margin-left: 80px;
}
.nowbuy .nowbuy-tableheader {
background: #F3F3F3;
font-size:14px;
font-family:Microsoft YaHei;
font-weight:400;
color:rgba(34,34,34,1);
}
.nowbuy .el-table th,
.el-table tr {
background: none;
}
\ No newline at end of file
<div class="nowbuy-warpper">
<div class="nowbuy">
<div class="nowbuy-nav">
<div class="tm-body-breadcrumb" style="margin-bottom: 15px;"><span @click="tiaozhuan(\'/\',\'首页\')"
style="cursor: pointer;">首页</span>
<i class="el-icon-arrow-right"></i>
<span style="font-weight:600;cursor: pointer;font-weight: 300;"
@click="tiaozhuan( \'/servicedetails\',\'服务详情\',)">{{serviceName||\'担保商标注册\'}}</span>
<i class="el-icon-arrow-right">下单</i>
</div>
</div>
<div class="nowbuy-main">
<div class="nowbuy-title">
<div>
购买服务
</div>
</div>
<div style="width:1093px;border:1px solid #F3F3F3;margin-bottom: 51px;">
<el-table :data="tableData" header-row-class-name="nowbuy-tableheader" style="width: 100%">
<el-table-column prop="name" label="服务名称" width="180">
</el-table-column>
<el-table-column prop="num" label="购买数量" width="180">
</el-table-column>
<el-table-column prop="countPrice" label="总金额(元)">
</el-table-column>
</el-table>
</div>
<div style="width:100%;height:1px;background:#f3f3f3;transform: translateX(-30px);margin-bottom: 30px;">
</div>
<div class="nowbuy-title">
<div>
订单联系人
<span style="margin-left:23px;"><i class="el-icon-warning"></i>
订单支付后,平台专业商标顾问会与您沟通商标注册需求,请保持电话畅通!</span>
</div>
</div>
<div class="nowbuy-form">
<div style="margin: 20px;"></div>
<el-form label-width="100px" :model="apply" :rules="applyRules" ref="apply">
<el-form-item label="姓名:" prop="contacts">
<el-input v-model="apply.contacts"></el-input>
</el-form-item>
<el-form-item label="电话:" prop="mobile">
<el-input v-model="apply.mobile"></el-input>
</el-form-item>
<el-form-item label="邮箱:">
<el-input v-model="apply.email"></el-input>
</el-form-item>
<el-form-item label="备注:">
<el-input type="textarea" v-model="apply.notes"></el-input>
</el-form-item>
</el-form>
</div>
</div>
</div>
<div class="nowbuy-footer-warpper">
<div class="nowbuy-footer">
订单金额: <span>¥{{tableData[0] ? tableData[0].countPrice:\'-\' }}</span>
<div>
<div class="nowbuy-footer-img" @click="checkImg = !checkImg">
<img :src="checkImg?\'/imgs/nowbuy/xuanzhong2.png\':\'/imgs/nowbuy/xuanzhong.png\'" alt="">
</div>
<span style="font-size: 20px;color:#999999; ">
我已阅读 <span style="color:#1EAFFF;">《商标服务合同》</span> ,且同意该合同内容
</span>
<el-button type="primary" @click="goOrder()" :disabled="!checkImg">去支付</el-button>
</div>
</div>
</div>
</div>
\ No newline at end of file
{
template: '${tmpl}',
data: function() {
var name = (rule, value, callback) => {
console.log(rule, value, callback);
if (value == '') {
callback(new Error('请输入姓名'));
} else {
callback();
}
};
var phoneNum = (rule, value, callback) => {
var x = /((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/g.test(value);
if (!x) {
callback(new Error('联系电话格式错误!'));
} else {
callback();
}
};
return {
tableData: [
],
labelPosition: 'right',
apply: {
orderType: "zzdd",
contacts: '',
mobile: '',
email: '',
notes: ''
},
applyRules: {
contacts: [
{ required: true, message: '请输入姓名', trigger: 'blur', validator: name },
],
mobile: [
{ required: true, message: '请输入正确电话号码', trigger: 'change', validator: phoneNum }
],
},
checkImg: false,
num: null,
params: {
itemCode: "",
order_appendinfo: {
level: "",
area_list: [],
department_list: [],
type_list: []
},
apply: {
orderType: "zzdd",
contacts: "",
mobile: "",
email: "",
notes: ""
},
tm: {
totalSum: null,
},
},
serviceName:"",
}
},
mounted: function() {
console.log(Number(this.$route.query.sdsId), `llllllkkkkkkkkkkkkkkkkkkkkkk`);
this.num = Number(this.$route.query.num);
this.getProduct();
console.log(this.$route.query);
/**
*
$("#app-header").hide();
*
*/
},
created: function() {
},
methods: {
goOrder(){
let that = this;
this.params.tm.totalSum = this.tableData[0].countPrice;
this.params.tm.salesNum = Number(this.$route.query.num);
this.apply.orderType = "zzdd";
this.params.apply = this.apply;
this.params.itemCode = this.tableData[0].code;
this.$root.postReq("/web/orderCtl/createOtherOrder", this.params).then((d) => {
console.log("---------submitOrder-------");
if (this.$store.state.currentUser == null){
this.$message.warning("未登录");
return
}
if (d.code == 1) {
this.$root.pushx({
title: "订单支付",
name: "/orderpay",
params: { orderNum: d.data.code }
});
} else {
this.$message.warning(d.msg);
}
}).catch((e) => {
console.log(e);
})
},
getProduct(){
var sdsId = window.location.href.split("sdsId=")[1];
var that = this;
this.$root.getReq("/web/serviceitemCtl/findOneById", { id: sdsId }).then(function (d) {
if (d.code == 1) {
var data = d.data;
console.log(d.data);
d.data.num = that.$route.query.num;
d.data.countPrice = (d.data.serviceCharge + d.data.publicExpense) * Number(that.$route.query.num);
that.tableData.push(d.data);
console.log("返回信息", that.tableData);
that.serviceName = d.data.name;
}
});
},
tiaozhuan(path, name, params) {
this.$root.pushx({
title: name,
name: path,
params: {
isDirectJump: 1,
sdsId: this.$route.query.sdsId
}
});
},
},
computed: {
},
vname: "gsb-nowbuy"
}
......@@ -28,7 +28,7 @@
付款账户为公司账户,则可以为付款的公司账户开具发票;如果是个人账户,则只能为付款人或申请人开具发票,请选择合适的付款账户。</div>
</el-row>
</div>
<div v-if="orderInfo.sveItemCode==\'zzsbzc\'">
<div v-if="1">
<div style="clear:both;width: 100%;height: 20px;"></div>
<el-row :gitter="20" style="margin-top:20px;font-size: 12px;font-weight:400;padding-left: 15px;">
<div class="el5">
......
{
template: '${tmpl}',
data: function () {
return {
imgHeight: null,
orderNum: "",
orderInfo: {},
payType: "wx",
d: {},
action: "",
zfpzUrl: "",
accounts: [],
account_id: "",
account_index: "",
accountinfo: {},
qrcode: "",
tradekey: "",
time: "",
interval: null,
roleList: null,
isBizemp: false,
loading: false,
payOrderType: false,
email: "",
poliyLevel: "",
address: "",
Deparment: "",
industry: "",
period:"3个月",
}
},
data: function () {
return {
imgHeight: null,
orderNum: "",
orderInfo: {},
payType: "wx",
d: {},
action: "",
zfpzUrl: "",
accounts: [],
account_id: "",
account_index: "",
accountinfo: {},
qrcode: "",
tradekey: "",
time: "",
interval: null,
roleList: null,
isBizemp: false,
loading: false,
payOrderType: false,
email: "",
poliyLevel: "",
address: "",
Deparment: "",
industry: "",
period: "3个月",
}
},
mounted: function () {
this.imgHeight = 'min-height:' + (document.documentElement.clientHeight - 221) + "px;";
var currentUser = this.currentUser;
......
.common-paysuccess{
width: 1200px;
margin: 0 auto;
}
.common-paysuccess-main{
margin-left: 195px;
}
.common-paysuccess-img{
width: 140px;
height: 140px;
display: inline-block;
}
.common-paysuccess-img>img{
width: 100%;
height: 100%;
}
.common-paysuccess-main{
margin-top: 120px;
}
.common-paysuccess-main>div:nth-child(2){
display: inline-block;
}
\ No newline at end of file
<div class="common-paysuccess-warpper">
<div class="common-paysuccess">
<div class="common-paysuccess-main">
<div class="common-paysuccess-img"> <img src="/imgs/paysuccess.png" alt=""> </div>
<div>
<h1>支付成功</h1>
<p>您已成功支付¥798.00元 订单编号:<span>订单编号:11114012410250810824</span></p>
<p></p>
</div>
</div>
<div class="common-paysuccess-footer"></div>
</div>
</div>
\ No newline at end of file
{
template: '${tmpl}',
data: function() {
return {
ldms: [],
phone:'',
orderIndent:''
}
},
mounted: function() {
this.$root.getChannelPath();
},
created: function() {
},
methods: {
push(){
var obj = this.$root.copyParams({"buyerMoblie":this.phone,"channelServiceNo":this.orderIndent},"pushFqBusiness","/action/tmOrder/springBoard",);
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d)=>{
console.log(d.data);
console.log(d.msg);
});
}
},
vname: "gsb-paysuccess"
}
......@@ -2,42 +2,46 @@
<div style="width:100%;margin: 0 auto;">
<div style="z-index:1;position:relative;background-color:#31373b">
<img style="width:100%;height:auto" :src="loginUrl" />
<div class="login-title" v-if="companyinfo.company.siteTheme == \'policy\'">
<span class="tong">政企通</span>
<span class="shujuzi">政策大数据服务平台</span>
</div>
<!-- <div class="login-title" v-if="companyinfo.company.siteTheme == \'policy\'">
<span class="tong">政企通</span>
<span class="shujuzi">政策大数据服务平台</span>
</div> -->
<div class="login-div" v-if="a">
<div class="login-content" style="width: 380px;
height: 508px;
background: rgba(255,255,255,1);
border: 1px solid rgba(151,151,151,1);">
<div class="logins-title">
欢迎注册
欢迎注册
</div>
<!-- 验证码登录 -->
<div v-if="activeIndex==1" class="login-content-inputs">
<el-form ref="form1" :rules="rules1" :model="form1" label-width="0px" key="1">
<el-form-item>
<el-input v-model="form1.username" placeholder="请输入企业名称"> <i slot="prefix" class="el-input__icon el-icon-tickets"></i></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="form1.username" placeholder="请输入企业名称"> <i slot="prefix"
class="el-input__icon el-icon-tickets"></i></el-input>
</el-form-item>
<el-form-item prop="mobile">
<el-input v-model="form1.mobile" placeholder="请输入11位手机号码"><i slot="prefix" class="el-input__icon el-icon-mobile-phone"></i></el-input>
<el-input v-model="form1.mobile" placeholder="请输入11位手机号码"><i slot="prefix"
class="el-input__icon el-icon-mobile-phone"></i></el-input>
</el-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form1.password" placeholder="请输入登录密码"><i slot="prefix" class="el-input__icon el-icon-view"></i></el-input>
</el-form-item>
<el-input type="password" v-model="form1.password" placeholder="请输入登录密码"><i slot="prefix"
class="el-input__icon el-icon-view"></i></el-input>
</el-form-item>
<el-form-item prop="code">
<el-input style="width:175px;" v-model="form1.code" placeholder="请输入验证码"><i slot="prefix" class="el-input__icon el-icon-edit"></i></el-input>
<el-input style="width:175px;" v-model="form1.code" placeholder="请输入验证码"><i slot="prefix"
class="el-input__icon el-icon-edit"></i></el-input>
<el-button id="loginCode" type="primary" plain style="width:135px;background: rgba(18,142,233,1);
color: rgba(255,255,255,1);"
@click="obtaincode1">
color: rgba(255,255,255,1);" @click="obtaincode1">
获取验证码</el-button>
</el-form-item>
<div class="zhanghao">已有账号?
<span style="color:#108EE9;cursor:pointer" @click="login">立即登录</span>
</div>
<span style="color:#108EE9;cursor:pointer" @click="login">立即登录</span>
</div>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" class="login-content-button" @click="checklogin1" style="margin-top: 45px;">注 册</el-button>
<el-button type="primary" class="login-content-button" @click="checklogin1" style="margin-top: 45px;">
</el-button>
</el-form-item>
<div style="font-size: 12px;
color: rgb(130, 130, 130);
......@@ -84,8 +88,8 @@
</el-form-item>
<el-form-item prop="code">
<el-input style="width:120px;" v-model="form3.code" placeholder="请输入验证码"></el-input>
<el-button id="resetCode" type="primary" plain style="width:135px;"submitregister
@click="obtaincode2">获取验证码</el-button>
<el-button id="resetCode" type="primary" plain style="width:135px;" submitregister @click="obtaincode2">
获取验证码</el-button>
</el-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form3.password" placeholder="请设置6-18位密码"></el-input>
......@@ -114,8 +118,8 @@
</el-form-item>
<el-form-item prop="code">
<el-input style="width:120px;" v-model="form4.code" placeholder="请输入验证码"></el-input>
<el-button id="registerCode" type="primary" plain style="width:135px;"
@click="obtaincode3">获取验证码</el-button>
<el-button id="registerCode" type="primary" plain style="width:135px;" @click="obtaincode3">获取验证码
</el-button>
</el-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form4.password" placeholder="请设置6-18位密码,区分大小写"></el-input>
......@@ -144,5 +148,4 @@
<el-button slot="buttonarea" style="width:80%" type="primary" @click="sbhandler">登录</el-button>
</gsb-form>
</div>
</gsb-pcpage> -->
</gsb-pcpage> -->
\ 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