Commit 6860f6c0 by 刘泽奇

123

parent b2f4df12
...@@ -126,6 +126,14 @@ module.exports = { ...@@ -126,6 +126,14 @@ module.exports = {
"isctl": "no" "isctl": "no"
}, },
{ {
"code": "bwselftmreg",
"icon": "fa fa-power-off",
"path": ":channel/bwselftmreg",
"isMenu": false,
"label": "登录",
"isctl": "no"
},
{
"code": "admin", "code": "admin",
"icon": "fa fa-power-off", "icon": "fa fa-power-off",
"path": ":channel/admin", "path": ":channel/admin",
...@@ -222,10 +230,20 @@ module.exports = { ...@@ -222,10 +230,20 @@ module.exports = {
"label": "登录", "label": "登录",
"isctl": "no" "isctl": "no"
}, },
{
"code": "orderpay",
"icon": "fa fa-power-off",
"path": ":channel/orderpay",
"isMenu": false,
"label": "登录",
"isctl": "no"
},
], ],
}, },
"bizs": { "bizs": {
"OAjdcompany": { "title": "后台首页", "config": null, "path": "/:channel/OAjdcompany", "comname": "OAjdcompany" }, "OAjdcompany": { "title": "后台首页", "config": null, "path": "/:channel/OAjdcompany", "comname": "OAjdcompany" },
"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" }, "OAjdlist": { "title": "后台首页", "config": null, "path": "/:channel/OAjdlist", "comname": "OAjdlist" },
"OAjddetails": { "title": "后台首页", "config": null, "path": "/:channel/OAjddetails", "comname": "OAjddetails" }, "OAjddetails": { "title": "后台首页", "config": null, "path": "/:channel/OAjddetails", "comname": "OAjddetails" },
"proxy": { "title": "后台首页", "config": null, "path": "/:channel/proxy", "comname": "proxy" }, "proxy": { "title": "后台首页", "config": null, "path": "/:channel/proxy", "comname": "proxy" },
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<script src="/js/ele/ele2.12.0.js"></script> <script src="/js/ele/ele2.12.0.js"></script>
<script src="/js/vue/axios.min.js"></script> <script src="/js/vue/axios.min.js"></script>
<script src="/js/vue/jquery.min.js"></script> <script src="/js/vue/jquery.min.js"></script>
<script src="https://www.jdcloud.com/public/js/portalBar.js"></script>
<!-- 京东公共头部和尾部js链接 --> <!-- 京东公共头部和尾部js链接 -->
<script> <script>
var appinfo = JSON.parse(unescape('<%=appinfo?appinfo:null%>')); var appinfo = JSON.parse(unescape('<%=appinfo?appinfo:null%>'));
...@@ -56,21 +57,42 @@ ...@@ -56,21 +57,42 @@
<body> <body>
<div id="app" v-loading.fullscreen.lock="loading" customClass="global-loading" <div id="app" v-loading.fullscreen.lock="loading" customClass="global-loading"
element-loading-background="rgba(0, 0, 0, 0.8)" class="app-main" style="visibility:hidden"> element-loading-background="rgba(0, 0, 0, 0.8)" class="app-main" style="visibility:hidden">
<div class="jd_header_box" v-show="selfHeaderShow"> <!-- 根据渠道显示不同公共头start -->
<div class="jd_header_box" v-show="jdSelfHeaderShow">
<div class="jc_hd"></div> <div class="jc_hd"></div>
</div> </div>
<!-- 启服通公共头 -->
<div class="jdindentlist-header" v-if="channelName == 'bw'">
<div>
<div>
<img src="/imgs/pt.jpg" alt="">
</div>
<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>
<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;
line-height: 26px;" :to="'/'+channelName+'/register'">免费注册</router-link>
</div>
</div>
<!-- 根据渠道显示不同公共头end -->
<transition name="slide-fade"> <transition name="slide-fade">
<router-view></router-view> <router-view></router-view>
</transition> </transition>
<div class="jd_footer_box" v-show="selfFooterShow"> <!-- 根据渠道显示不同公共尾start -->
<div class="jd_footer_box" v-show="jdSelfFooterShow">
<div class="jdc-footer"></div> <div class="jdc-footer"></div>
</div> </div>
<!-- 根据渠道显示不同公共尾end -->
</div> </div>
<script src="/js/cropper/index.js"></script> <script src="/js/cropper/index.js"></script>
<script src="/js/vue/base64.js"></script> <script src="/js/vue/base64.js"></script>
<script src="/js/common.js"></script> <script src="/js/common.js"></script>
<script type="module" src="/js/index.js"></script> <script type="module" src="/js/index.js"></script>
</body> </body>
</html> </html>
<script src="https://www.jdcloud.com/public/js/portalBar.js"></script>
\ No newline at end of file
#admin-warpper {
display: flex;
width: 100%;
}
/* .admin-menu {
width: 180px;
min-height: 390px;
overflow: hidden;
box-sizing: border-box;
background: rgb(84, 92, 100);
} */
/* .el-menu-vertical-demo{
} */
.admin-content {
width: 100%;
min-height: 390px;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -159,8 +159,13 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -159,8 +159,13 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
rsData: [], rsData: [],
channelUserId: "", channelUserId: "",
channelName: '', channelName: '',
selfFooterShow: true, jdSelfFooterShow: true,
selfHeaderShow: true, jdSelfHeaderShow: true,
commonHeader: true,
commonFooter: true,
user_Name: "",
channelMessage: "",
}; };
}, },
created() { created() {
...@@ -176,6 +181,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -176,6 +181,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
}, },
mounted() { mounted() {
this.handleHeader(); this.handleHeader();
console.log($.fn.jquery, "vvvvvvvvvvvvvvvvv");
var self = this; var self = this;
if (!this.currentUser) { if (!this.currentUser) {
this.logins.push({ "icon": "el-icon-location-outline", "title": "登录", "type": "text", key: "login", "isOnGrid": true }); this.logins.push({ "icon": "el-icon-location-outline", "title": "登录", "type": "text", key: "login", "isOnGrid": true });
...@@ -189,8 +195,8 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -189,8 +195,8 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
$route: { $route: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
if (val.fullPath == "/jd/jdtrademark" && location.hostname == "tm.plus.jdcloud.com") { if (val.fullPath == "/jd/jdtrademark" && location.hostname == "tm.plus.jdcloud.com") {
this.selfHeaderShow = true; this.jdSelfHeaderShow = true;
this.selfFooterShow = true; this.jdSelfFooterShow = true;
this.channelName = location.hash.split('/')[1]; this.channelName = location.hash.split('/')[1];
} }
}, },
...@@ -199,6 +205,37 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -199,6 +205,37 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
} }
}, },
methods: { methods: {
loginOut() {
/*
var url = encodeURIComponent("http://tm.plus.jdcloud.com/#/jd/jdtrademark") ;
*/
/*
location.href = `http://login.jdcloud.com/logout?callback=http://tm.plus.jdcloud.com/#/jd/jdtrademark`;
*/
let _this = this;
$.ajax({
async: true,
url: "https://login.jdcloud.com/logout",
type: "GET",
dataType: "jsonp",
jsonp: 'callback',
jsonpCallback: 'handleResponse',
data: {
},
success: function (response, status, xhr) {
console.log('状态为:' + status + ',状态是:' + xhr.statusText);
console.log(response);
if (response.code == 0) {
console.log(response);
_this.$router.push({ path: `/${_this.$root.channelName}/jdtrademark` });
}
}
});
},
// 返回当前接入渠道标识 // 返回当前接入渠道标识
getChannelPath() { getChannelPath() {
var from = this.$route.path; var from = this.$route.path;
...@@ -219,17 +256,21 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -219,17 +256,21 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
var OAjddetails = location.hash.includes('/OAjddetails'); var OAjddetails = location.hash.includes('/OAjddetails');
var OAjdcompany = location.hash.includes('/OAjdcompany'); var OAjdcompany = location.hash.includes('/OAjdcompany');
var companydetail = location.hash.includes('/companydetail'); var companydetail = location.hash.includes('/companydetail');
// 京东公共尾部隐藏
if (OAjdlist || selftmreg || jdindentlist || jdindentdetail || OAjddetails || OAjdcompany || companydetail) { if (OAjdlist || selftmreg || jdindentlist || jdindentdetail || OAjddetails || OAjdcompany || companydetail) {
this.selfFooterShow = false; this.jdSelfFooterShow = false;
} }
// 京东公共头部隐藏
if (OAjdlist || jdindentlist || jdindentdetail || OAjddetails || OAjdcompany || companydetail) { if (OAjdlist || jdindentlist || jdindentdetail || OAjddetails || OAjdcompany || companydetail) {
this.selfHeaderShow = false; this.jdSelfHeaderShow = false;
} }
break; break;
case "bw":
this.channelMessage = "百望";
console.log("bbbbbbbbbbbbbbbbbbbbbbbbb");
default: default:
this.selfHeaderShow = false; this.jdSelfHeaderShow = false;
this.selfFooterShow = false; this.jdSelfFooterShow = false;
break; break;
} }
......
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
padding: 10px 20px; padding: 10px 20px;
background: #f6f9ff; background: #f6f9ff;
} }
.jdc-footer{ /* .jdc-footer{
display: none; display: none;
} } */
\ No newline at end of file \ No newline at end of file
...@@ -19,11 +19,19 @@ ...@@ -19,11 +19,19 @@
line-height: 24px; line-height: 24px;
} }
.jdindentlist-header>div:nth-child(1)>div {
height: 40px;
display: inline-block;
}
.jdindentlist-header>div:nth-child(1)>div>img{
height: 100%;
}
.jdindentlist-header-login { .jdindentlist-header-login {
color: #fff; color: #fff;
margin-right: 13px; margin-right: 13px;
} }
.jdindentlist-header-login:hover{
.jdindentlist-header-login:hover {
color: #3171ff; color: #3171ff;
} }
...@@ -222,7 +230,8 @@ ...@@ -222,7 +230,8 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.jdindentlist-null>p{
.jdindentlist-null>p {
text-align: center; text-align: center;
margin-top: 10px; margin-top: 10px;
} }
......
.login{ #baoguo{
position: fixed; padding: 20px 20px 20px;
top:150px; background: rgba(255,255,255,1);
right:50px; border: 1px solid rgba(151,151,151,1);
opacity: 0.7; }
#bychpage .el-form-item>.el-form-item__content{
margin-left: 0 !important;
}
.login-content>.login-content-input{
padding: 20px 20px 20px;
width: auto;
margin-left: 0;
margin-top: 0;
}
.login-div {
position: absolute;
right: 20%;
top: 23%;
} }
\ No newline at end of file
<div class="login"> <div id="bychpage" class="login">
<gsb-form style="width:300px;margin: auto;margin-right:37%" ref="loginFrm" @btnclick="loginclick" :metaData="ldms" :refvalidatemethod="validmethod"> <div style="width:100%;margin: 0 auto;">
</gsb-form> <div style="z-index:1;position:relative;background-color:#31373b">
</div> <img style="width:100%;height:100%" :src="loginUrl" />
<div class="login-div" v-if="a">
<div class="login-content" id="baoguo" style="height:auto;">
<div style="margin-top: 30px;
padding-left: 28px;">
<el-menu :default-active="activeIndex" mode="horizontal" @select="handleSelect" style="border:none">
<el-menu-item index="1" style="width:130px;height:40px;line-height:40px;font-size: 17px;
font-family: PingFangSC-Regular,PingFang SC;
font-weight: 400;
color: rgba(51,51,51,1);text-align: center;">验证码登录</el-menu-item>
<el-menu-item index="2" style="width:130px;height:40px;line-height:40px;font-size: 17px;
font-family: PingFangSC-Regular,PingFang SC;
font-weight: 400;
color: rgba(51,51,51,1);text-align: center;">密码登录</el-menu-item>
</el-menu>
</div>
<!-- 验证码登录 -->
<div v-if="activeIndex==1" class="login-content-input">
<el-form ref="form1" :rules="rules1" :model="form1" label-width="10px" key="1">
<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-form-item>
<el-form-item prop="code">
<el-input style="width:130px;" 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: 145px;
background: #128EE9;
color: #fff;"
@click="obtaincode1">
获取验证码</el-button>
</el-form-item>
<div style="font-size:12px;color:#B2B2B2;margin-top: -4px;
margin-left: 85px;">
<span style="color:#108EE9;cursor:pointer" @click="register()">没有账号?去注册</span>
<span style="margin:0 4px;">|</span>
<span style="color:#999999;cursor:pointer" @click="rsetpassword">忘记密码?</span>
</div>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" class="login-content-button" @click="checklogin1" style="margin-top: 50px;">登录</el-button>
</el-form-item>
<div style="font-size:12px;color:#828282;margin-left: 70px;">登录即同意
<span style="color:#108EE9">《服务协议》</span>
</div>
</el-form>
</div>
<!-- 密码登录 -->
<div v-if="activeIndex==2" class="login-content-input">
<el-form ref="form2" :rules="rules2" :model="form2" label-width="10px" key="2">
<el-form-item prop="username">
<el-input v-model="form2.username" 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="form2.password" placeholder="请输入登录密码"><i slot="prefix" class="el-input__icon el-icon-view"></i></el-input>
</el-form-item>
<div style="font-size:12px;color:#B2B2B2;margin-top: -4px;
margin-left: 85px;">
<span style="color:#108EE9;cursor:pointer" @click="register()">没有账号?去注册</span>
<span style="margin:0 4px;">|</span>
<span style="color:#999999;cursor:pointer" @click="rsetpassword">忘记密码?</span>
</div>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" key="xxcccc" class="login-content-button" @click="checklogin2" style="margin-top: 50px;">登录</el-button>
</el-form-item>
<div style="font-size:12px;color:#828282;margin-left: 70px;">登录即同意
<span style="color:#108EE9">《服务协议》</span>
</div>
</el-form>
</div>
</div>
</div>
<!-- 重置密码 -->
<div class="login-div" v-if="b">
<div class="login-content">
<div class="login-content-title">
重置密码
</div>
<div class="login-content-input">
<el-form ref="form3" :rules="rules3" :model="form3" label-width="0px" key="3">
<el-form-item prop="mobile">
<el-input v-model="form3.mobile" placeholder="请输入手机号码"></el-input>
</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;"
@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>
</el-form-item>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" class="login-content-button" @click="sumbitreset">确定</el-button>
</el-form-item>
<div style="font-size:12px;color:#108EE9;margin-top:26px;text-align:center">
<span style="margin-right:16px;cursor:pointer" @click="login">登录</span>
<span style="cursor:pointer" @click="register">注册</span>
</div>
</el-form>
</div>
</div>
</div>
<!-- 用户注册 -->
<div class="login-div" v-if="c">
<div class="login-content">
<div class="login-content-title">
欢迎注册{{ this.$root.currentCompany?this.$root.currentCompany.sitename:"知圈圈"}}
</div>
<div class="login-content-input">
<el-form ref="form4" :rules="rules4" :model="form4" label-width="0px" key="4">
<el-form-item prop="mobile">
<el-input v-model="form4.mobile" placeholder="请输入手机号码"></el-input>
</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-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form4.password" placeholder="请设置6-18位密码,区分大小写"></el-input>
</el-form-item>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" class="login-content-button" @click="submitregister">注册</el-button>
</el-form-item>
<div style="font-size:12px;color:#828282">点击“登录”即表示同意
<span style="color:#108EE9">《创知厚德用户协议》</span>
</div>
<div style="font-size:12px;color:#B2B2B2;margin-top:26px;">已有账户?
<span style="color:#108EE9;cursor:pointer" @click="login">去登录</span>
</div>
</el-form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <gsb-pcpage style="text-align:center;margin-top:80px">
<div>
<gsb-form style="width:30%;margin: auto;" ref="loginFrm" :metaData="ldms" :refvalidatemethod="validmethod">
<h2 slot="title" style="margin:0px;padding-top: 20px">欢迎登录{{ this.$root.currentCompany?this.$root.currentCompany.sitename:"知圈圈"}}</h2>
<el-button slot="buttonarea" style="width:80%" type="primary" @click="sbhandler">登录</el-button>
</gsb-form>
</div>
</gsb-pcpage> -->
.orderpay_input .el-input.is-disabled .el-input__inner {
height: 30px;
}
.orderpay-card {
background-color: #eee;
}
.el5 {
float: left;
width: 168px;
margin-right: 40px;
}
.el5 .el-button span {
line-height: 35px;
}
.payType_wxzf {
margin-left: 15px;
margin-top: 15px;
width:764px;
height:auto;
min-height: 267px;
background:rgba(255,255,255,1);
box-shadow:0px 0px 8px 0px rgba(0,0,0,0.1);
border:1px solid rgba(225,225,225,1);
text-align: center;
position: relative;
}
.kailong{
position: absolute;
top: -10px;
left: 60px;
width: 0;
height: 0;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
border-bottom: 10px solid rgba(225,225,225,1);
}
.kailong span{
display: block;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid #fff;
position: absolute;
left: -8px;
top: 2px;
}
.kailong1{
position: absolute;
top: -10px;
left: 270px;
width: 0;
height: 0;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
border-bottom: 10px solid rgba(225,225,225,1);
}
.kailong1 span{
display: block;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid #fff;
position: absolute;
left: -8px;
top: 2px;
}
.kailong2{
position: absolute;
top: -10px;
left: 470px;
width: 0;
height: 0;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
border-bottom: 10px solid rgba(225,225,225,1);
}
.kailong2 span{
display: block;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid #fff;
position: absolute;
left: -8px;
top: 2px;
}
\ No newline at end of file
.register{ .login-title{
position: fixed; position: absolute;
top:150px; top: 35%;
right:50px; left: 25%;
opacity: 0.7; width: 30%;
} height: 130px;
\ No newline at end of file }
.tong{
font-size: 46px;
font-family: PingFangSC-Medium,PingFang SC;
font-weight: 500;
color: rgba(255,255,255,1);
}
.shujuzi{
font-size:30px;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
display: block;
margin-left: 0px;
margin-top: 4px;
}
.logins-title{
width:320px;
height:89px;
line-height:89px;
text-align:center;
font-size:24px;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(51,51,51,1);
}
.login-content-inputs{
margin-left: 30px;
width: 315px;
height: 44px;
}
.zhanghao{
margin-left: 160px;
margin-top: -10px;
}
<div class="register"> <div id="bychpage" class="login">
<gsb-form style="width:400px;margin: auto;margin-right:37%" ref="regFrm" @btnclick="registerclick" :metaData="ldms" :refvalidatemethod="validmethod"> <div style="width:100%;margin: 0 auto;">
</gsb-form> <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-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 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-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-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-button id="loginCode" type="primary" plain style="width:135px;background: rgba(18,142,233,1);
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>
<el-form-item style="margin-bottom:8px;">
<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);
margin-left: 100px;">登录即同意
<span style="color:#108EE9">《服务协议》</span>
</div>
</el-form>
</div>
<!-- 密码登录 -->
<div v-if="activeIndex==2" class="login-content-input">
<el-form ref="form2" :rules="rules2" :model="form2" label-width="0px" key="2">
<el-form-item prop="username">
<el-input v-model="form2.username" placeholder="请输入账号"></el-input>
</el-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form2.password" placeholder="请输入密码"></el-input>
</el-form-item>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" key="xxcccc" class="login-content-button" @click="checklogin2">登录</el-button>
</el-form-item>
<div style="font-size:12px;color:#828282">点击“登录”即表示同意
<span style="color:#108EE9">《创知厚德用户协议》</span>
</div>
<div style="font-size:12px;color:#B2B2B2;margin-top:26px;">还没有账户?
<span style="color:#108EE9;cursor:pointer" @click="register">立即注册</span>
<span style="margin:0 4px;">|</span>
<span style="color:#108EE9;cursor:pointer" @click="rsetpassword">忘记密码?</span>
</div>
</el-form>
</div>
</div>
</div>
<!-- 重置密码 -->
<div class="login-div" v-if="b">
<div class="login-content">
<div class="login-content-title">
重置密码
</div>
<div class="login-content-input">
<el-form ref="form3" :rules="rules3" :model="form3" label-width="0px" key="3">
<el-form-item prop="mobile">
<el-input v-model="form3.mobile" placeholder="请输入手机号码"></el-input>
</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-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form3.password" placeholder="请设置6-18位密码"></el-input>
</el-form-item>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" class="login-content-button" @click="sumbitreset">确定</el-button>
</el-form-item>
<div style="font-size:12px;color:#108EE9;margin-top:26px;text-align:center">
<span style="margin-right:16px;cursor:pointer" @click="login">登录</span>
<span style="cursor:pointer" @click="register">注册</span>
</div>
</el-form>
</div>
</div>
</div>
<!-- 用户注册 -->
<div class="login-div" v-if="c">
<div class="login-content">
<div class="login-content-title">
欢迎注册{{ this.$root.currentCompany?this.$root.currentCompany.sitename:"知圈圈"}}
</div>
<div class="login-content-input">
<el-form ref="form4" :rules="rules4" :model="form4" label-width="0px" key="4">
<el-form-item prop="mobile">
<el-input v-model="form4.mobile" placeholder="请输入手机号码"></el-input>
</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-form-item>
<el-form-item prop="password">
<el-input type="password" v-model="form4.password" placeholder="请设置6-18位密码,区分大小写"></el-input>
</el-form-item>
<el-form-item style="margin-bottom:8px;">
<el-button type="primary" class="login-content-button" @click="submitregister">注册</el-button>
</el-form-item>
<div style="font-size:12px;color:#828282">点击“登录”即表示同意
<span style="color:#108EE9">《创知厚德用户协议》</span>
</div>
<div style="font-size:12px;color:#B2B2B2;margin-top:26px;">已有账户?
<span style="color:#108EE9;cursor:pointer" @click="login">去登录</span>
</div>
</el-form>
</div>
</div>
</div>
</div>
</div>
</div> </div>
<!-- <gsb-pcpage style="text-align:center;margin-top:80px">
<div>
<gsb-form style="width:30%;margin: auto;" ref="loginFrm" :metaData="ldms" :refvalidatemethod="validmethod">
<h2 slot="title" style="margin:0px;padding-top: 20px">欢迎登录{{ this.$root.currentCompany?this.$root.currentCompany.sitename:"知圈圈"}}</h2>
<el-button slot="buttonarea" style="width:80%" type="primary" @click="sbhandler">登录</el-button>
</gsb-form>
</div>
</gsb-pcpage> -->
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