Files
GX.O3.WMS/APK/APP_Report/pages/myinfo/login/login.vue
T

1068 lines
27 KiB
Vue
Executable File

<template>
<view class="login-content">
<view class="greay-layer" @click="hideNetSet"></view>
<view class="login-page">
<view class="top" style="flex:1 1 ;">
<image class="logo-img" src="../../../static/login/logo.png"></image>
</view>
<view class="login" v-show="!showNetSet">
<view>
<view class="login-title">
<view class="login-title-text">
<text>登录</text>
<text>LOGIN IN</text>
</view>
<image src="../../../static/login/pic-login.png"></image>
</view>
<view class="login-info" @click="GetDBaliseList" style="margin-top: 43.47rpx;flex: 1 1;">
<image src="../../../static/login/icon-db.png"></image>
<view>
<xfl-selectlogin :list="dbList" :defaultSelectText="dbSelectText" ref="dbList"
:clearable="false" :showItemNum="5" :isCanInput="false" @change="changeDB"/>
</view>
</view>
<view :class="[unameFocus?'login-info-uname-focus':'login-info-uname']">
<image src="../../../static/login/icon-uname.png"></image>
<view>
<input placeholder="输入用户名" placeholder-class="defult-input" style="font-size: 30.79rpx"
v-model="userName" @input="checkInput" @focus="userNameFocus" @blur="userNameBlur"/>
</view>
<image src="../../../static/login/icon-clear.png" @click="clearUname"></image>
</view>
<view :class="[psdFocus?'login-info-psd-focus':'login-info-psd']">
<image src="../../../static/login/icon-psd.png"></image>
<view>
<input v-show="!isShowPSW" placeholder="输入密码" placeholder-class="defult-input" style="font-size: 30.79rpx"
password="true" @input="OnPasswordInput" v-model="passWord" @confirm="Login"
@focus="passWordFocus" @blur="passWordBlur"/>
<input v-show="isShowPSW" placeholder="输入密码" placeholder-class="defult-input" style="font-size: 30.79rpx"
@input="OnPasswordInput" v-model="passWord" @confirm="Login"
@focus="passWordFocus" @blur="passWordBlur"/>
</view>
<image v-show="!isShowPSW" src="../../../static/login/icon-hpsd.png" @click="showPSD"></image>
<image v-show="isShowPSW" src="../../../static/login/icon-vpsd.png" @click="showPSD"></image>
</view>
<view class="net-setting" @click="netSet">网络设置<text style="color: red;margin-left: 18.11rpx;">{{perrMsg}}</text></view>
<view class="login-btn" :disabled="disabled" @click="Login">登录</view>
</view>
</view>
<view class="login" v-show="showNetSet">
<view class="login-title" @click="hideNetSet">
<view class="login-title-text">
<text>网络设置</text>
<text>NETWORK SETTINGS</text>
</view>
<image src="../../../static/login/pic-setting.png"></image>
</view>
<view class="login-info" style="margin-top: 72.46rpx;font-size: 25.36rpx;">
<text class="set-text">网络地址</text>
<view>
<input placeholder="请输入网址/Ip" placeholder-class="defult-input" style="font-size: 25.36rpx;"
v-model="ip" @input="ipInput" focus="ipFocus"/>
</view>
</view>
<view class="login-info">
<text class="set-text">网络端口</text>
<view>
<input placeholder="请输入端口" placeholder-class="defult-input" style="font-size: 25.36rpx;"
v-model="post" @input="partInput" focus="postFocus"/>
</view>
</view>
<view class="setting-btn" :disabled="btnDisable" @click="ConfirmClick"
style="margin-top: 85.14rpx;">确定</view>
</view>
</view>
</view>
</template>
<script>
import uniPopupDialogMessage from '@/components/uni-popup/uni-popup-dialog-message.vue'
import faIcon from "@/components/fa-icon/fa-icon.vue"
import md5 from '@/common/md5.js';
import xflSelectlogin from '@/components/xfl-selectlogin/xfl-selectlogin.vue'
import errorUtil from '@/common/errorutil.js'
import {
mapState,
mapMutations
} from 'vuex';
export default {
data() {
return {
MACAddress:"",
isDisable: false,
isDoRefresh: false,
userName: '',
passWord: '',
dbAlise: '',
index: 0,
dbList:[],
dbSelectText:'选择账套',
indexOrg: 0,
orgid:"",
orgList:[],
orgSelectText:'选择组织',
perrMsg: '',
disabled: true,
messageContent: "",
dialogDuration: 3000,
showNetSet:false,
unameFocus:false,
psdFocus:false,
isShowPSW:false,
reportUrl: '',
ip: '',
post: '',
virtualPath: '',
btnDisable: true,
current: '',
ipFocus: true,
postFocus: true,
virtualFocus: true,
halfHeight:"",
}
},
components: {
faIcon,
uniPopupDialogMessage,
xflSelectlogin
},
computed: {
...mapState(['hasLogin', 'userInfo', 'deptInfos', 'customerInfos', 'supplierInfos', 'sysParameters','hasConnect', 'dbInfo'])
},
onLoad: function(data) {
//0=全部;1=WMS;2=看板;3=检验;4=设备;5=汇报
uni.setStorageSync("appType", 5);
const res = uni.getSystemInfoSync();
this.halfHeight = res.windowHeight/0.552-836.95-79.71;
let storageLoginInfo = uni.getStorageSync('loginInfo')
this.userName = storageLoginInfo.userName;
this.dbAlise = storageLoginInfo.DBName;
this.dbSelectText = storageLoginInfo.DBName?storageLoginInfo.DBName:'选择账套';
this.checkInput();
this.isDisable = false;
if (data.option) {
this.logout()
}
},
mounted() {
this.GetDBaliseList();
},
onShow() {
if (this.isDoRefresh) {
this.GetDBaliseList()
this.isDoRefresh = false
}
if(this.$global.globalData.requestUrl.length==0) {
this.perrMsg="请点击网络设置,完成网络设定!"
}
else {
this.perrMsg=""
}
let storageLoginInfo = uni.getStorageSync('loginInfo')
this.userName = storageLoginInfo.userName;
this.dbAlise = storageLoginInfo.DBName;
this.dbSelectText = storageLoginInfo.DBName?storageLoginInfo.DBName:'选择账套';
this.checkInput();
},
methods: {
clearUname(){
if(this.userName.length!=0){
this.userName = "";
this.perrMsg = "请输入用户名"
}
},
getOrganizeList: function(){
//组织
let _self = this;
this.orgList = [];
this.$request.post({
data: {
action: 'GetOrganization',
params: {
DB: this.dbAlise
}
}
}).then(res => {
console.log("----organizeInfos---- requestsuccess");
let datalist = JSON.parse(res);
if(datalist.length == 0){
this.orgList = [];
this.$refs.orgList.selectText = "当前无组织";
}else{
datalist.forEach(
function(el,index){
let obj = {value:el.FName,orgKey:el.FItemID};
_self.orgList.push(obj);
}
);
}
});
},
bindOrgChange: function(e) {
//console.log('picker发送选择改变,携带值为:' + e.target.value)
console.log(this.orgArry);
this.indexOrg = e.target.value;
let index = this.indexOrg;
if (this.orgArry.length > 0) {
this.orgid = this.orgArry[index].orgKey;
console.log(this.orgid);
}
},
GetDBaliseList: function() {
console.log("-----GetDBaliseList-----");
let _self = this;
this.dbList= [];
uni.showLoading({
mask: true
});
try {
// post请求获取账套
this.$request.post('/Service/GetDBInfo').then(res => {
uni.hideLoading()
// _self.dbList = JSON.parse(res);
_self.dbList = res;
if(_self.dbList && (_self.dbList.length>0)) {
_self.dbList.forEach(
(item, index) => {
item.value = item.DataBaseAias;
});
}
else{
_self.dbList = [];
}
console.log(_self.dbList);
});
} finally {
uni.hideLoading()
}
},
bindDBAliseChange: function(e) {
this.index = e.target.value;
if (this.dbAliseArry.length > 0) {
this.dbAlise = this.dbAliseArry[this.index].key;
let userData = uni.getStorageSync(this.dbAlise);
}
this.checkInput();
console.log(this.dbAlise);
this.indexOrg = 0;
},
OnPasswordInput: function(e) {
this.passWord = e.target.value;
if (this.passWord.length > 0 && this.passWord.length < 6) {
this.perrMsg = "*密码长度必须大于6位";
} else {
this.perrMsg = "";
}
this.checkInput();
},
checkInput: function() {
this.perrMsg=""
if (this.dbAlise=="" || this.userName.length==0) {
this.disabled = true;
if(this.dbAlise ==""){
this.perrMsg = "请选择账套"
}
if(this.userName.length==0){
this.perrMsg = "请输入用户名"
}
}else {
this.disabled = false;
}
},
Login: function(e) {
let _self = this;
if(this.disabled){
return false;
}
uni.showLoading({
mask: true
});
if(!this.orgid) {
this.orgid = "";
}
uni.setStorageSync('orgid',this.orgid);
this.isDisable = true;
let params = {
userid: this.userName,
password: md5.md5(this.passWord),
dbaias: this.dbAlise,
errtype:''
}
this.$request.post('/Authentication/RequestToken',params).then(res => {
uni.hideLoading();
var datalist = res
var userInfo = datalist;
let errorMsg;
switch (parseInt(datalist.errtype)) {
case 1:
errorMsg = '用户不存在';
this.isDisable = false;
break;
case 2:
errorMsg = '账号或密码错误';
this.isDisable = false;
break;
case 3:
errorMsg = '软件将过服务到期日,请提前申请或购买下一年度服务';
this.isDisable = false;
break;
case 4:
errorMsg = '软件服务到期日已过,请申请或购买下一年度服务';
this.isDisable = false;
break;
case 5:
errorMsg = '软件未注册请先注册再使用';
this.isDisable = false;
break;
case 11: //当前用户无手机端浏览权限
errorMsg = '当前用户无手机端浏览权限';
this.isDisable = false;
break;
case 100:
errorMsg = '当前用户与组织不匹配';
this.isDisable = false;
break;
}
if (datalist.errtype==3||datalist.errtype==4||datalist.errtype==8) {
uni.setStorageSync('token',userInfo.token);
uni.setStorageSync('loginId',_self.userName);
let loginInfoArr = {
userName:_self.userName,
DBName:_self.dbAlise
};
uni.setStorageSync('loginInfo',loginInfoArr);
_self.getMACAddress();
_self.reLoadReportSystemParam();
// basicType: 1=部门;2=供应商;3=客户;4=设备;5=工序 6=资源;7=工作中心;8=班组;9=班次;10=职员;11=不良原因
if(userInfo.token){
this.getBasicInfo(7)
setTimeout(
function(){
_self.getBasicInfo(6);
}, 1000);
setTimeout(
function(){
_self.getBasicInfo(8);
}, 1000);
setTimeout(
function(){
_self.getBasicInfo(9);
}, 1000);
setTimeout(
function(){
_self.getBasicInfo(10);
}, 1000);
setTimeout(
function(){
_self.getBasicInfo(11);
}, 1000);
setTimeout(
function(){
_self.getBasicInfo(13);
}, 1000);
setTimeout(
function(){
_self.getBasicInfo(14);
}, 1000);
}
uni.setStorageSync('ifLogin', true)
uni.navigateTo({
url: '../../tabbar/home/home'
});
} else {
uni.showToast({
icon: 'none',
title: errorMsg
});
}
}).catch(err => {
uni.hideLoading()
errorUtil.handle(err)
});
_self.$forceUpdate();
},
getMACAddress:function(){
let Address = require('../../../common/MacAddress.js')
if(Object.keys(Address).length>0){
if(!Address.address()) {
uni.showModal({
content: "获取mac地址失败",
showCancel:false,
success: function (res) {
if (res.confirm) {
console.log('用户点击确定');
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
return false;
}
this.MACAddress = Address.address();
uni.setStorageSync("MACAddress",this.MACAddress);
let mac = uni.getStorageSync("MACAddress");
console.log("++++++++++++++++++++++"+mac)
}else{
let mac = "90:17:c8:37:7f:55";
uni.setStorageSync("MACAddress",mac);
}
},
reLoadReportSystemParam(){
this.$request.get('/ReportInfoLoad/ReLoadReportSystemParam')
.then(res => {
let data = res;
uni.setStorageSync('reLoadReportSystemParam',data);
}).catch(err => {
errorUtil.handle(err);
})
},
getBasicInfo: function(basicType){
let _self = this;
let params;
this.$request.get('/SysConfigData/QueryResource',{
params:{
basicType:basicType,
basicNO:'',
orgId:''
}
}).then(res => {
let data = res;
if (data && data.length > 0) {
if(basicType==7){
let workCenterList = [];
data.forEach(
function(el){
let arr = {
"FID":el.FID,
"FNO":el.FNO,
"FName":el.FNAME,
"FPhoneID":el.FPHONEID,
"FCOMPANYID":el.FCOMPANYID,
"isChoose":false
}
workCenterList.push(arr)
}
)
uni.setStorageSync("workCenterInfo",workCenterList)
}
if(basicType==6){
let allSource = [];
data.forEach(
function(el){
let arr = {
"FID":el.FID,
"FNO":el.FNO,
"FName":el.FNAME,
"FPhoneID":el.FPHONEID,
"FCOMPANYID":el.FCOMPANYID,
"isChoose":false
}
allSource.push(arr)
}
)
uni.setStorageSync("allSourceInfo",allSource)
}
if(basicType==8){
let team = [];
data.forEach(
function(el){
let arr = {
"FID":el.FID,
"FNO":el.FNO,
"FName":el.FNAME,
"FPhoneID":el.FPHONEID,
"FCOMPANYID":el.FCOMPANYID,
"isChoose":false
}
team.push(arr)
}
)
uni.setStorageSync("teamInfo",team)
}
if(basicType==9){
let teamRow = [];
data.forEach(
function(el){
let arr = {
"FID":el.FID,
"FNO":el.FNO,
"FName":el.FNAME,
"FPhoneID":el.FPHONEID,
"FCOMPANYID":el.FCOMPANYID,
"isChoose":false
}
teamRow.push(arr)
}
)
uni.setStorageSync("teamRowInfo",teamRow)
}
if(basicType==10){
uni.setStorageSync("defultUserInfoArray",data)
}
if(basicType==11){
let defaultInfo = [];
data.forEach(
function(el){
let arr = {
"FID":el.FID,
"FNO":el.FNO,
"FName":el.FNAME,
"FPROCESSNO":el.FPROCESSNO,
"FPhoneID":el.FPHONEID,
"FCOMPANYID":el.FCOMPANYID,
"isChoose":false
}
defaultInfo.push(arr)
}
)
uni.setStorageSync("defultReasonInfo",defaultInfo)
}
if(basicType==13){
let stopInfo = [];
data.forEach(
function(el){
let arr = {
"FID":el.FID,
"FNO":el.FNO,
"FName":el.FNAME,
"FCOMPANYID":el.FCOMPANYID,
"isChoose":false
}
stopInfo.push(arr)
}
)
uni.setStorageSync("processStopReason",stopInfo)
}
if(basicType==14){
uni.setStorageSync("defultLampType",data)
}
}
}).catch(err => {
errorUtil.handle(err)
});
},
getSysParameters: function(userInfo){
this.getSysParameter(userInfo, "BarcodeRuleForVerification");
let _self = this;
setTimeout(
function(){
_self.getSysParameter(userInfo, "STOCKPLACECHAR");
}, 1000);
// setTimeout(
// function(){
// _self.getSysParameter(userInfo, "IsScanenter");
// }, 1000);
},
getSysParameter: function(userInfo, sysKey){
let updateFlag = !this.sysParameters;
if(!updateFlag) {
if(!this.sysParameters.hasOwnProperty(sysKey)) {
updateFlag = true;
}
}
let requestParams = {
"id": userInfo.token,
"sysKey": sysKey
};
console.log("----getSysParameters---- requeststart" + updateFlag + this.sysParameters);
// if(updateFlag) {
this.$request.post(
{
data: {
action: 'GetSysParams',
params: requestParams
}
}
).then(res => {
console.log("----getSysParameters---- requestsuccess");
//返回的是字符串
let data = res;
this.saveSysParameters({value:data, key:sysKey});
});
},
dialogConfirm:function(done){
done();
},
netSet:function(){
this.ShowData();
this.showNetSet = true;
},
hideNetSet:function(){
this.showNetSet = false;
},
ShowData: function() {
this.post = uni.getStorageSync('requestPort');
this.ip = uni.getStorageSync('requestIp');
this.virtualPath = uni.getStorageSync('requestPath');
this.checkInputSet();
},
checkInputSet: function() {
if (this.ip.length > 0) {
this.btnDisable = false;
} else {
this.btnDisable = true;
}
},
ConfirmClick: function() {
var _self = this;
if(this.btnDisable){
return false;
}
setTimeout(
function function_name () {
_self.$nextTick(function(){
_self.ipFocus = true;
_self.postFocus = true;
_self.virtualFocus = true;
setTimeout(
function function_name () {
_self.save();
},
300
);
})
},
100
);
},
ipInput: function(event) {
this.ip = event.target.value;
this.checkInputSet();
},
partInput: function(event) {
this.post = event.target.value;
this.checkInputSet();
},
pathInput: function(event) {
this.virtualPath = event.target.value;
this.checkInputSet();
},
save: function() {
let _self = this;
var request = 'http://'+this.ip
if(this.post!='80') {
request += ':' + this.post
}
if(this.virtualPath) {
request += '/' + this.virtualPath
}
request += '/O3/v1';
this.reportUrl = request;
//缓存账套配置
this.$global.setGlobalObj({
requestUrl: this.reportUrl
});
uni.setStorageSync('requestPort',this.post);
uni.setStorageSync('requestIp',this.ip);
// uni.setStorageSync('requestPath',this.virtualPath);
// console.log("uni.getStorageSync('requestPath')", this.virtualPath);
this.showNetSet = false;
this.dbList = [];
this.orgList = [];
uni.removeStorage({
key:'DBAlise'
})
uni.removeStorage({
key:'userName'
});
uni.removeStorage({
key:'passWord'
});
this.perrMsg = "";
uni.showModal({
title: '提示',
content: '保存成功',
showCancel:false,
success: function (res) {
if (res.confirm) {
_self.GetDBaliseList();
}
}
});
},
getExceedTimeParameter: function(){
let tokenpara = uni.getStorageSync('tokenpara');
let userInfo = uni.getStorageSync('userInfo')
let requestParams = {
"id": userInfo.UserID,
"sysKey": "ExceedTimeCanEdit"
};
this.$request.post({
data: {
action: 'GetSysParams',
params: requestParams
}
}).then(res => {
console.log("----getSysParameters---- requestsuccess");
//返回的是字符串
let data = res;
uni.setStorageSync('getSysParameter',data);
});
},
getSysParameterCameraType: function(){
let tokenpara = uni.getStorageSync('tokenpara');
let userInfo = uni.getStorageSync('userInfo')
let requestParams = {
"id": userInfo.UserID,
"sysKey": "CameraType"
};
this.$request.post({
data: {
action: 'GetSysParams',
params: requestParams
}
}).then(res => {
console.log("----getSysParameters---- requestsuccess");
//返回的是字符串
let data = res;
uni.setStorageSync('getSysParameterCameraType',data);
});
},
changeDB({ newVal, oldVal, index, orignItem }){
this.dbAlise = newVal;
// this.$refs.orgList.selectText = "选择组织";
// this.getOrganizeList();
this.checkInput();
},
changeOrg({ newVal, oldVal, index, orignItem }){
this.orgid = orignItem.orgKey;
this.checkInput();
},
showPSD(){
this.psdFocus = true;
this.isShowPSW = !this.isShowPSW;
},
userNameFocus(){
this.unameFocus = true;
this.psdFocus = false;
},
userNameBlur(){
this.unameFocus = false;
},
passWordFocus(){
this.psdFocus = true;
this.unameFocus = false;
},
passWordBlur(){
this.psdFocus = false;
},
...mapMutations(['login', 'logout', 'saveCustomerInfos', 'saveDeptInfos',
'saveSysParameters', 'saveSupplierInfos', 'updateCacheByStorage','connectDB'])
}
}
</script>
<style>
.login-content{
width: 100%;
height: 100%;
background-image: url(../../../static/login/phoneBG.png);
overflow-y: hidden;
background-repeat: no-repeat;
background-size: 100%;
}
.login-page{
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
}
.greay-layer{
width: 100%;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: #2D4A9D;
opacity: 0.3;
}
.top{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.logo-img{
height: 253.62rpx;
width: 206.52rpx;
}
.login{
height: 836.95rpx;
width: 100%;
display: flex;
flex-direction: column;
/* position: fixed;
bottom: 0;
left: 0;
right: 0; */
background: #FFFFFF;
border-radius: 36.23upx 36.23rpx 0 0;
opacity: 0.95;
/* z-index: 100; */
justify-content: start;
}
.login-title{
display: flex;
flex-direction: row;
position: relative;
width: 100%;
height: 126.81rpx;
/* margin-left: 43.47rpx; */
/* margin-right: 43.47rpx; */
margin-top: 57.97rpx;
/* overflow-x: hidden; */
}
.login-title image{
height: 126.81rpx;
width: 126.81rpx;
position: absolute;
right: 43.47rpx;
}
.login-title-text{
display: flex;
flex-direction: column;
margin-left: 43.47rpx;
}
.login-title-text text{
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #323232;
}
.login-info{
display: flex;
flex-direction: row;
align-items: center;
justify-content: start;
height:90.57rpx ;
line-height: 90.57rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
border-bottom: #F1F1F1 solid 1.81rpx;
}
.login-info image{
height: 32.6rpx;
width: 32.6rpx;
}
.login-info view{
margin-left: 21.73rpx;
width: 100%;
}
.login-info-psd{
display: flex;
flex-direction: row;
align-items: center;
justify-content: start;
height:90.57rpx ;
line-height: 90.57rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
border-bottom: #F1F1F1 solid 1.81rpx;
}
.login-info-psd-focus{
display: flex;
flex-direction: row;
align-items: center;
justify-content: start;
height:90.57rpx ;
line-height: 90.57rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
border-bottom: #4889FD solid 1.81rpx;
}
.login-info-psd image{
height: 32.6rpx;
width: 32.6rpx;
}
.login-info-psd view{
margin-left: 21.73rpx;
width: 100%;
}
.login-info-psd-focus image{
height: 32.6rpx;
width: 32.6rpx;
}
.login-info-psd-focus view{
margin-left: 21.73rpx;
width: 100%;
}
.login-info-uname{
display: flex;
flex-direction: row;
align-items: center;
justify-content: start;
height:90.57rpx ;
line-height: 90.57rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
border-bottom: #F1F1F1 solid 1.81rpx;
}
.login-info-uname-focus{
display: flex;
flex-direction: row;
align-items: center;
justify-content: start;
height:90.57rpx ;
line-height: 90.57rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
border-bottom: #4889FD solid 1.81rpx;
}
.login-info-uname image{
height: 32.6rpx;
width: 32.6rpx;
}
.login-info-uname view{
margin-left: 21.73rpx;
width: 100%;
}
.login-info-uname-focus image{
height: 32.6rpx;
width: 32.6rpx;
}
.login-info-uname-focus view{
margin-left: 21.73rpx;
width: 100%;
}
.set-text{
width:159.42rpx;
height: 39.85rpx;
font-size: 28.98rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #5B5B5B;
line-height: 39.85rpx;
}
.defult-input{
font-size: 30.79rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #A1A1A1;
}
.net-setting{
height: 30.79rpx;
margin-top: 23.55rpx;
margin-left: 43.47rpx;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #5B94FD;
}
.login-btn{
height: 86.95rpx;
line-height: 86.95rpx;
background: #035DFF;
border-radius: 9.05rpx;
margin-top: 43.47rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
font-size: 18px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
text-align: center;
}
.login-btn[disabled]{
height: 86.95rpx;
line-height: 86.95rpx;
background: #89B3FF;
border-radius: 9.05rpx;
margin-top: 43.47rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
font-size: 32.6rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
text-align: center;
}
.setting-btn[disabled]{
height: 86.95rpx;
line-height: 86.95rpx;
background: #89B3FF;
border-radius: 9.05rpx;
margin-top: 43.47rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
font-size: 18px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
text-align: center;
}
.setting-btn{
height: 86.95rpx;
line-height: 86.95rpx;
background: #035DFF;
border-radius: 9.05rpx;
margin-top: 43.47rpx;
margin-left: 43.47rpx;
margin-right: 43.47rpx;
font-size: 18px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
text-align: center;
}
</style>