Commit 9645d707 by GiottoMaster

update

parent 425eb2c4
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<h3 class="_1xOfyRAi">{{ $t('register.title') }}</h3> <h3 class="_1xOfyRAi">{{ $t('register.title') }}</h3>
<ul class="_9s4xncLL" id="yanzhangma"> <ul class="_9s4xncLL" id="yanzhangma">
<li class="FzjZ-TwQ"> <li class="FzjZ-TwQ">
<input type="text" name="userName" class="" maxlength="32" :placeholder="$t('register.placeholder1')" autocomplete="off" value="" /> <input type="number" name="userName" class="" maxlength="32" :placeholder="$t('register.placeholder1')" autocomplete="off" value="" />
<i class="_3pvR4aic _3-xMSbk3"></i> <i class="_3pvR4aic _3-xMSbk3"></i>
</li> </li>
<li class="FzjZ-TwQ"> <li class="FzjZ-TwQ">
...@@ -200,8 +200,9 @@ export default { ...@@ -200,8 +200,9 @@ export default {
}; };
console.log(info); console.log(info);
// 用户名验证 // 用户名验证
let namereg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,}$/; //不得低于6位,以字母或数字组合! let namereg = /^[0-9]{6,}$/; //不得低于6位,以字母或数字组合!
let passwordreg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,}$/; //以字母或数字组合!不低于6位
let passwordreg = /^[0-9]{6,}$/; //以字母或数字组合!不低于6位
var realnamereg = /^[\u0391-\uFFE5a-zA-Z·&\\s]+$/; //中英文姓名 var realnamereg = /^[\u0391-\uFFE5a-zA-Z·&\\s]+$/; //中英文姓名
let paypasswordreg = /^.{6,6}$/; //只能是6位 let paypasswordreg = /^.{6,6}$/; //只能是6位
let codereg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{4,}$/; //以字母或数字组合 不低于4位 let codereg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{4,}$/; //以字母或数字组合 不低于4位
...@@ -219,10 +220,10 @@ export default { ...@@ -219,10 +220,10 @@ export default {
that.showTost(that.$t('register.toast3')); that.showTost(that.$t('register.toast3'));
return; return;
} }
if (realnamereg.test(info.realname) == false) { // if (realnamereg.test(info.realname) == false) {
that.showTost(that.$t('register.toast4')); // that.showTost(that.$t('register.toast4'));
return; // return;
} // }
if (paypasswordreg.test(info.paypassword) == false) { if (paypasswordreg.test(info.paypassword) == false) {
that.showTost(that.$t('register.toast5')); that.showTost(that.$t('register.toast5'));
......
...@@ -365,6 +365,8 @@ export const mine = { ...@@ -365,6 +365,8 @@ export const mine = {
label53: '温馨提示', label53: '温馨提示',
label54: '您还为绑定钱包卡片,请前往添加!', label54: '您还为绑定钱包卡片,请前往添加!',
label55: '去绑定', label55: '去绑定',
label56: '备注',
label57: '收款账号',
toast1: '请输入存款人姓名', toast1: '请输入存款人姓名',
toast2: '请输入银行类型', toast2: '请输入银行类型',
toast3: '请输入银行卡号', toast3: '请输入银行卡号',
...@@ -375,10 +377,12 @@ export const mine = { ...@@ -375,10 +377,12 @@ export const mine = {
toast8: '请选择内容', toast8: '请选择内容',
toast9: '正在跳转...', toast9: '正在跳转...',
toast10: '复制成功!', toast10: '复制成功!',
toast11: '请输入备注',
placeholder1: '请输入汇款姓名', placeholder1: '请输入汇款姓名',
placeholder2: '请输入卡号', placeholder2: '请输入卡号',
placeholder3: '请输入开户行', placeholder3: '请输入开户行',
placeholder4: '请输入取款金额', placeholder4: '请输入取款金额',
placeholder5: '请输入备注',
}, },
mail: { mail: {
title: '消息公告', title: '消息公告',
......
...@@ -365,6 +365,8 @@ export const mine = { ...@@ -365,6 +365,8 @@ export const mine = {
label53: 'Warm Tips', label53: 'Warm Tips',
label54: 'You have not yet bound a wallet card, please go and add it!', label54: 'You have not yet bound a wallet card, please go and add it!',
label55: 'Go to bind', label55: 'Go to bind',
label56: 'Remarks',
label57: 'Receiving Account',
toast1: "Please enter the depositor's name", toast1: "Please enter the depositor's name",
toast2: 'Please enter the bank type', toast2: 'Please enter the bank type',
toast3: 'Please enter the bank card number', toast3: 'Please enter the bank card number',
...@@ -375,10 +377,12 @@ export const mine = { ...@@ -375,10 +377,12 @@ export const mine = {
toast8: 'Please select content', toast8: 'Please select content',
toast9: 'Redirecting...', toast9: 'Redirecting...',
toast10: 'Copy successfully!', toast10: 'Copy successfully!',
toast11: 'Please enter remarks',
placeholder1: 'Please enter the name of the remittance', placeholder1: 'Please enter the name of the remittance',
placeholder2: 'Please enter the card number', placeholder2: 'Please enter the card number',
placeholder3: 'Please enter the bank where the account is opened', placeholder3: 'Please enter the bank where the account is opened',
placeholder4: 'Please enter the withdrawal amount', placeholder4: 'Please enter the withdrawal amount',
placeholder5: 'Please enter remarks',
}, },
mail: { mail: {
title: 'Message announcement', title: 'Message announcement',
......
...@@ -365,6 +365,8 @@ deposit: { ...@@ -365,6 +365,8 @@ deposit: {
label53: '안내', label53: '안내',
label54: '아직 지갑과 은행 계좌번호가 등록되지 않았습니다. 추가후 시도하시길 바랍니다!', label54: '아직 지갑과 은행 계좌번호가 등록되지 않았습니다. 추가후 시도하시길 바랍니다!',
label55: '등록하러 가기', label55: '등록하러 가기',
label56: '메모',
label57: '은행 계좌번호',
toast1: '이체자명을 정확히 입력해 주시길 바랍니다.', toast1: '이체자명을 정확히 입력해 주시길 바랍니다.',
toast2: '정확한 은행을 선택해주시길 바랍니다.', toast2: '정확한 은행을 선택해주시길 바랍니다.',
toast3: '은행 계좌번호를 입력해주세요.', toast3: '은행 계좌번호를 입력해주세요.',
...@@ -375,10 +377,12 @@ deposit: { ...@@ -375,10 +377,12 @@ deposit: {
toast8: '항목을 선택해주세요.', toast8: '항목을 선택해주세요.',
toast9: '페이지 이동 중...', toast9: '페이지 이동 중...',
toast10: '복사 완료!', toast10: '복사 완료!',
toast11: '메모를 입력하세요',
placeholder1: '이체자명을 정확히 입력해 주시길 바랍니다.', placeholder1: '이체자명을 정확히 입력해 주시길 바랍니다.',
placeholder2: '계좌번호를 입력해주세요.', placeholder2: '계좌번호를 입력해주세요.',
placeholder3: '계좌 개설 은행을 입력해주세요.', placeholder3: '계좌 개설 은행을 입력해주세요.',
placeholder4: '원 이상부터 가능.', placeholder4: '원 이상부터 가능.',
placeholder5: '메모를 입력하세요',
}, },
mail: { mail: {
title: '공지 사항', title: '공지 사항',
......
...@@ -3015,7 +3015,7 @@ display:none ...@@ -3015,7 +3015,7 @@ display:none
._1diFGtIp { text-align: center; margin: 20px 0 32px } ._1diFGtIp { text-align: center; margin: 20px 0 32px }
._1diFGtIp ._143o083o { width: 160px; height: 38px; line-height: 38px; background: #5b6ef2; border: 1px solid #5b6ef2; box-shadow: 0 5px 12px 5px rgba(195,209,234,.16); border-radius: 19px; color: #fff; display: inline-block } ._1diFGtIp ._143o083o { width: 160px; height: 38px; line-height: 38px; background: #5b6ef2; border: 1px solid #5b6ef2; box-shadow: 0 5px 12px 5px rgba(195,209,234,.16); border-radius: 19px; color: #fff; display: inline-block }
._2PSsJSST .ant-spin-dot-item { background-color: #d7967f!important } ._2PSsJSST .ant-spin-dot-item { background-color: #d7967f!important }
._3ON7kyGT { -webkit-transition: all .3s; transition: all .3s; color: #d7967f; border: 1px solid transparent; background: #f9fafc!important; box-shadow: inset 0 2px 4px 0 #d8e1f0!important; border-radius: 6px; height: 36px; padding: 0 9px; color: #3f5075; width: 284px; height: 40px } ._3ON7kyGT { -webkit-transition: all .3s; transition: all .3s; color: #d7967f; border: 1px solid transparent; background: #f9fafc!important; box-shadow: inset 0 2px 4px 0 #d8e1f0!important; border-radius: 6px; height: 36px; padding: 0 9px; color: #3f5075; width: 364px; height: 40px }
._3ON7kyGT:focus, ._3ON7kyGT:hover { border-color: #d7967f; border: 1px solid #d7967f } ._3ON7kyGT:focus, ._3ON7kyGT:hover { border-color: #d7967f; border: 1px solid #d7967f }
._3ON7kyGT::-webkit-input-placeholder { ._3ON7kyGT::-webkit-input-placeholder {
color:#b1bccc color:#b1bccc
......
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