仿京东电商的网站开发报价小程序登录异常
2026/3/18 5:14:02 网站建设 项目流程
仿京东电商的网站开发报价,小程序登录异常,昆山建设局网站首页,天翼云服务器问题描述 在手机APP中#xff0c;登录窗口的LOGO图片没有彩色。问题分析 原始资源图片是彩色的#xff0c;这肯定是代码中做了处理。已知该图片文件名为thingsboard_big_logo.svg。 //\flutter_thingsboard_app\lib\constants\assets_path.dart abstract class ThingsboardIm…问题描述在手机APP中登录窗口的LOGO图片没有彩色。问题分析原始资源图片是彩色的这肯定是代码中做了处理。已知该图片文件名为thingsboard_big_logo.svg。//\flutter_thingsboard_app\lib\constants\assets_path.dartabstractclassThingsboardImage{staticconstthingsBoardWithTitleassets/images/thingsboard_with_title.svg;staticconstthingsboardassets/images/thingsboard.svg;staticconstthingsboardOuterassets/images/thingsboard_outer.svg;staticconstthingsboardCenterassets/images/thingsboard_center.svg;staticconstdashboardPlaceholderassets/images/dashboard-placeholder.svg;staticconstdeviceProfilePlaceholderassets/images/device-placeholder.svg;staticconstnoDataImageassets/images/no-data.svg;staticconstthingsboardBigLogoassets/images/thingsboard_big_logo.svg;...\flutter_thingsboard_app\lib\core\auth\login\select_region\select_region_screen.dartimportpackage:flutter/material.dart;importpackage:flutter_svg/flutter_svg.dart;importpackage:thingsboard_app/config/routes/router.dart;importpackage:thingsboard_app/constants/assets_path.dart;importpackage:thingsboard_app/core/auth/login/select_region/model/region.dart;importpackage:thingsboard_app/core/context/tb_context_widget.dart;importpackage:thingsboard_app/generated/l10n.dart;importpackage:thingsboard_app/locator.dart;importpackage:thingsboard_app/utils/services/endpoint/i_endpoint_service.dart;importpackage:thingsboard_app/utils/ui/tb_text_styles.dart;classSelectRegionScreenextendsTbContextStatelessWidget{SelectRegionScreen(super.tbContext,{super.key});overrideWidgetbuild(BuildContextcontext){returnScaffold(body:SafeArea(child:Column(children:[SvgPicture.asset(ThingsboardImage.thingsboardBigLogo),constSizedBox(height:166),Expanded(child:Padding(padding:constEdgeInsets.symmetric(horizontal:24),child:Column(children:[Text(S.of(context).selectRegion,style:TbTextStyles.titleMedium.copyWith(color:Colors.black.withValues(alpha:.76),),),constSizedBox(height:16),SizedBox(width:double.infinity,child:ElevatedButton(onPressed:(){getItIEndpointService().setRegion(Region.northAmerica,);getItThingsboardAppRouter().navigateTo(/);},style:ElevatedButton.styleFrom(padding:constEdgeInsets.symmetric(horizontal:16,vertical:8,),textStyle:TbTextStyles.labelMedium,),child:Text(S.of(context).northAmerica),),),constSizedBox(height:10),SizedBox(width:double.infinity,child:ElevatedButton(onPressed:(){getItIEndpointService().setRegion(Region.europe);getItThingsboardAppRouter().navigateTo(/);},style:ElevatedButton.styleFrom(padding:constEdgeInsets.symmetric(horizontal:16,vertical:8,),textStyle:TbTextStyles.labelMedium,),child:Text(S.of(context).europe),),),],),),),],),),);}}问题解决该问题尚未解决。

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询