logo和名称替换
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:hgmj/hj_utils/api_service/mine_service.dart';
|
||||
import 'package:hgmj/tools_base/global_store/store.dart';
|
||||
import 'package:wydj/hj_utils/api_service/mine_service.dart';
|
||||
import 'package:wydj/tools_base/global_store/store.dart';
|
||||
|
||||
import '../../../hj_model/user/user_info_model.dart';
|
||||
|
||||
|
||||
@@ -3,13 +3,13 @@ import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:hgmj/assets_tool/app_colors.dart';
|
||||
import 'package:hgmj/assets_tool/images.dart';
|
||||
import 'package:hgmj/config/address.dart';
|
||||
import 'package:hgmj/config/config.dart';
|
||||
import 'package:hgmj/hj_utils/image_util.dart';
|
||||
import 'package:hgmj/hj_utils/screen.dart';
|
||||
import 'package:hgmj/tools_base/toast.dart';
|
||||
import 'package:wydj/assets_tool/app_colors.dart';
|
||||
import 'package:wydj/assets_tool/images.dart';
|
||||
import 'package:wydj/config/address.dart';
|
||||
import 'package:wydj/config/config.dart';
|
||||
import 'package:wydj/hj_utils/image_util.dart';
|
||||
import 'package:wydj/hj_utils/screen.dart';
|
||||
import 'package:wydj/tools_base/toast.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:qr_flutter/qr_flutter.dart';
|
||||
|
||||
@@ -49,7 +49,8 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
Positioned.fill(
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(9),
|
||||
child: Image.asset('share_bg.webp'.mineImgPath, fit: BoxFit.fill),
|
||||
child: Image.asset('share_bg.webp'.mineImgPath,
|
||||
fit: BoxFit.fill),
|
||||
),
|
||||
),
|
||||
Column(
|
||||
@@ -62,10 +63,12 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(50),
|
||||
border: Border.all(color: Color(0x4DF68804), width: 3),
|
||||
border: Border.all(
|
||||
color: Color(0x4DF68804), width: 3),
|
||||
),
|
||||
child: NetworkImageLoader(
|
||||
imageUrl: provider.meInfo?.portrait ?? '',
|
||||
imageUrl:
|
||||
provider.meInfo?.portrait ?? '',
|
||||
width: 82,
|
||||
height: 82,
|
||||
borderRadius: 50,
|
||||
@@ -92,14 +95,18 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
30.sizeBoxH,
|
||||
Text("提示*可通过官方客服找回账号", style: TextStyle(fontSize: 12, color: Color(0xffFFC000))),
|
||||
Text("提示*可通过官方客服找回账号",
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: Color(0xffFFC000))),
|
||||
10.sizeBoxH,
|
||||
Center(
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(11.w),
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("code_bg.webp".mineImgPath),
|
||||
image: AssetImage(
|
||||
"code_bg.webp".mineImgPath),
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
),
|
||||
@@ -117,7 +124,8 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
width: 100,
|
||||
height: 100,
|
||||
child: Center(
|
||||
child: CupertinoActivityIndicator(
|
||||
child:
|
||||
CupertinoActivityIndicator(
|
||||
color: AppColors.actionRed,
|
||||
),
|
||||
),
|
||||
@@ -129,7 +137,11 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
"APP更新可能会导致会员账号掉线\n请勿删除此凭证,此凭证是您永久有\n效的登陆途径。",
|
||||
textAlign: TextAlign.center,
|
||||
defaultStyle: TextStyle(
|
||||
color: Colors.white.withValues(alpha: .55), fontSize: 12, fontWeight: FontWeight.w400, height: 1.5),
|
||||
color:
|
||||
Colors.white.withValues(alpha: .55),
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w400,
|
||||
height: 1.5),
|
||||
patternList: [
|
||||
EasyRichTextPattern(
|
||||
targetString: '请勿删除此凭证',
|
||||
@@ -143,11 +155,13 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
),
|
||||
Container(
|
||||
height: 30,
|
||||
padding: EdgeInsets.symmetric(horizontal: 18, vertical: 3),
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 18, vertical: 3),
|
||||
child: Text(
|
||||
'${Config.appName} 官网地址 ${Address.groundUrl}',
|
||||
style: TextStyle(
|
||||
color: Colors.white.withValues(alpha: .55),
|
||||
color:
|
||||
Colors.white.withValues(alpha: .55),
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w400,
|
||||
),
|
||||
@@ -165,7 +179,8 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
children: [
|
||||
GestureDetector(
|
||||
onTap: () async {
|
||||
var success = await ImageUtil.saveWidgetToAlbum(controller.boundaryKey);
|
||||
var success = await ImageUtil.saveWidgetToAlbum(
|
||||
controller.boundaryKey);
|
||||
if (success) {
|
||||
showToast("保存成功");
|
||||
Get.back();
|
||||
@@ -193,9 +208,11 @@ class MineAccountIdentityPage extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
20.sizeBoxH,
|
||||
InkWell(enableFeedback: false,
|
||||
InkWell(
|
||||
enableFeedback: false,
|
||||
onTap: () => Get.back(result: false),
|
||||
child: Image.asset("close_button.png".commonImgPath, width: 32),
|
||||
child: Image.asset("close_button.png".commonImgPath,
|
||||
width: 32),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user