|
|
@ -29,25 +29,25 @@ class PhonePage extends StatelessWidget { |
|
|
const SizedBox(height: 12), |
|
|
const SizedBox(height: 12), |
|
|
Text(_encryptPhone(controller.phone.value), style: TextStyle(fontSize: 40, fontWeight: FontWeight.bold)), |
|
|
Text(_encryptPhone(controller.phone.value), style: TextStyle(fontSize: 40, fontWeight: FontWeight.bold)), |
|
|
SizedBox(height: 64), |
|
|
SizedBox(height: 64), |
|
|
TDButton( |
|
|
|
|
|
text: '更换手机号码', |
|
|
|
|
|
width: MediaQuery.of(context).size.width - 50, |
|
|
|
|
|
size: TDButtonSize.large, |
|
|
|
|
|
type: TDButtonType.fill, |
|
|
|
|
|
shape: TDButtonShape.round, |
|
|
|
|
|
style: TDButtonStyle( |
|
|
|
|
|
textColor: Colors.white, |
|
|
|
|
|
backgroundColor: Color(0xFF7562F9), |
|
|
|
|
|
), |
|
|
|
|
|
activeStyle: TDButtonStyle( |
|
|
|
|
|
textColor: Colors.white, |
|
|
|
|
|
backgroundColor: Color(0xC37562F9), |
|
|
|
|
|
), |
|
|
|
|
|
onTap: (){ |
|
|
|
|
|
controller.tabIndex.value = 1; |
|
|
|
|
|
}, |
|
|
|
|
|
), |
|
|
|
|
|
SizedBox(height: 200), |
|
|
|
|
|
|
|
|
// TDButton( |
|
|
|
|
|
// text: '更换手机号码', |
|
|
|
|
|
// width: MediaQuery.of(context).size.width - 50, |
|
|
|
|
|
// size: TDButtonSize.large, |
|
|
|
|
|
// type: TDButtonType.fill, |
|
|
|
|
|
// shape: TDButtonShape.round, |
|
|
|
|
|
// style: TDButtonStyle( |
|
|
|
|
|
// textColor: Colors.white, |
|
|
|
|
|
// backgroundColor: Color(0xFF7562F9), |
|
|
|
|
|
// ), |
|
|
|
|
|
// activeStyle: TDButtonStyle( |
|
|
|
|
|
// textColor: Colors.white, |
|
|
|
|
|
// backgroundColor: Color(0xC37562F9), |
|
|
|
|
|
// ), |
|
|
|
|
|
// onTap: (){ |
|
|
|
|
|
// controller.tabIndex.value = 1; |
|
|
|
|
|
// }, |
|
|
|
|
|
// ), |
|
|
|
|
|
// SizedBox(height: 200), |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
|