File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,8 @@ export default {
255255
256256 if (! res) return true
257257
258+ if (verifiableCode .length < 4 || verifiableCode .length > 6 ) return true
259+
258260 return this .verifiable_type === ' sms'
259261 ? phone .length !== 11
260262 : email .length <= 4
@@ -398,12 +400,9 @@ export default {
398400 }
399401
400402 footer {
401- position : fixed ;
402- left : 0 ;
403- right : 0 ;
404- bottom : 0 ;
405- text-align : center ;
403+ margin-top : 40px ;
406404 padding : 0.2rem ;
405+ text-align : center ;
407406
408407 .register-protocol {
409408 font-size : 0.3rem ;
Original file line number Diff line number Diff line change 2121
2222 <div v-if =" loading" class =" m-pos-f m-spinner" />
2323
24- <main >
24+ <main class = " main-container " >
2525 <form class =" form" onsubmit =" return false" >
2626 <div
2727 v-if =" !src"
@@ -189,6 +189,12 @@ export default {
189189 background-color : #fff ;
190190 height : 100% ;
191191
192+ .main-container {
193+ display : flex ;
194+ flex-direction : column ;
195+ justify-content : space-between ;
196+ }
197+
192198 .primary {
193199 color : @primary ;
194200 }
@@ -251,10 +257,8 @@ export default {
251257 }
252258
253259 .tips {
254- position : fixed ;
255- bottom : 30px ;
256- left : 30px ;
257- right : 30px ;
260+ flex : none ;
261+ padding : 30px ;
258262 color : #999 ;
259263 font-size : 26px ;
260264
You can’t perform that action at this time.
0 commit comments