多语言后端数据
This commit is contained in:
@@ -138,7 +138,6 @@ class _HomePageState extends State<MainPageBBottomChange>
|
||||
DateTime? _lastBackPressedTime; // 记录上一次返回的时间
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
return Obx(() {
|
||||
final currentLanguage =
|
||||
languageController.selectLanguage.value; // 监听此变量变化
|
||||
|
||||
@@ -82,42 +82,7 @@ class _MinePageState extends State<MinePage> {
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
// ClickableContainer(
|
||||
// backgroundColor:
|
||||
// Colors.transparent, // 容器背景色
|
||||
// highlightColor: themeController
|
||||
// .currentColor.sc21, // 点击时的背景色
|
||||
// padding: EdgeInsets
|
||||
// .zero, // 这里去掉外部的 padding,避免影响点击范围
|
||||
// onTap: () async {
|
||||
// if (userInfoController.model.login ==
|
||||
// LoginStatus.LOGIN.code) {
|
||||
// // TopSlideNotification.show(
|
||||
// // context,
|
||||
// // text: "待开发功能".tr,
|
||||
// // );
|
||||
// await loginController.openWeChatCustomerService(context);
|
||||
// } else {
|
||||
// TopSlideNotification.show(
|
||||
// context,
|
||||
// text: "必须登录提示".tr,
|
||||
// textColor:
|
||||
// themeController.currentColor.sc9,
|
||||
// );
|
||||
// Get.toNamed("/loginPage");
|
||||
// }
|
||||
// },
|
||||
// child: Padding(
|
||||
// padding: EdgeInsetsDirectional.fromSTEB(
|
||||
// 0.rpx, 0.rpx, 0.rpx, 0.rpx),
|
||||
// child: SvgPicture.asset(
|
||||
// 'assets/img/icon/earphone.svg',
|
||||
// width: 29.rpx,
|
||||
// height: 29.rpx, // 如果 SVG 中没有固定颜色,可以这样设置
|
||||
// color: themeController.currentColor.sc3,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
|
||||
|
||||
ClickableContainer(
|
||||
backgroundColor:
|
||||
|
||||
Reference in New Issue
Block a user