File tree Expand file tree Collapse file tree
packages/design-core/src/login Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 </tiny-tooltip >
5353 </tiny-form-item >
5454 <tiny-form-item >
55- <tiny-button :class = " { successBg: isReady } " type =" primary" @click =" handleForgot" > 提交</tiny-button >
55+ <tiny-button :disabled = " ! isReady" type =" primary" @click =" handleForgot" > 提交</tiny-button >
5656 </tiny-form-item >
5757 </tiny-form >
5858 <div class =" forgot-bottom" >
@@ -200,10 +200,6 @@ export default {
200200 }
201201}
202202
203- .successBg {
204- background : #191919 !important ;
205- }
206-
207203:deep(.tiny-form-item__content ) {
208204 margin-left : 0 !important ;
209205}
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export default {
9898 }
9999 :deep(.tiny-button.tiny-button.tiny-button.tiny-button ) {
100100 width : 100% ;
101- background : #595959 ;
101+ background : #191919 ;
102102 height : 32px ;
103103 margin-top : 20px ;
104104 font-size : 14px ;
Original file line number Diff line number Diff line change 1414 ></tiny-input >
1515 </tiny-form-item >
1616 <tiny-form-item >
17- <tiny-button :class = " { successBg: isReady } " type =" primary" @click =" handleLogin" > 登录 </tiny-button >
17+ <tiny-button :disabled = " ! isReady" type =" primary" @click =" handleLogin" > 登录 </tiny-button >
1818 </tiny-form-item >
1919 </tiny-form >
2020 <div class =" login-bottom" >
@@ -117,9 +117,6 @@ export default {
117117 padding-left : 40% ;
118118 margin-bottom : 24px ;
119119}
120- .successBg {
121- background : #191919 !important ;
122- }
123120
124121.login-other ::before ,
125122.login-other ::after {
Original file line number Diff line number Diff line change 4949 </tiny-tooltip >
5050 </tiny-form-item >
5151 <tiny-form-item >
52- <tiny-button :class = " { successBg: isReady } " type =" primary" @click =" handleRegister" > 注册</tiny-button >
52+ <tiny-button :disabled = " ! isReady" type =" primary" @click =" handleRegister" > 注册</tiny-button >
5353 </tiny-form-item >
5454 </tiny-form >
5555 <div class =" register-bottom" >
@@ -199,10 +199,6 @@ export default {
199199 }
200200}
201201
202- .successBg {
203- background : #191919 !important ;
204- }
205-
206202:deep(.tiny-form-item__content ) {
207203 margin-left : 0 !important ;
208204}
You can’t perform that action at this time.
0 commit comments