设备分享

This commit is contained in:
czz
2025-07-22 14:02:52 +08:00
parent 210617c6ff
commit 7ef7f89507
3 changed files with 276 additions and 477 deletions

View File

@@ -318,6 +318,7 @@ class _DeviceSharePageState extends State<DeviceSharePage> {
text: apiResponse.msg!,
textColor: themeController.currentColor.sc9);
}
},
colors: [
// 渐变色
@@ -350,56 +351,6 @@ class _DeviceSharePageState extends State<DeviceSharePage> {
),
),
),
// Padding(
// padding:
// EdgeInsetsDirectional.fromSTEB(0, 379.rpx, 0, 0),
// child: CustomCard(
// borderRadius:
// AppConstants().button_container_radius, // 圆角半径
// onTap: () async {
// // TopSlideNotification.show(context,
// // text: "待开发功能".tr);
// LoginController loginController = Get.find();
// // loginController.fluwx.share(WeChatShareTextModel(
// // "太和e护分享链接",
// // scene: WeChatScene.session));
// final Uint8List data = await rootBundle.load('assets/img/camera.png').then((bd) => bd.buffer.asUint8List());
// loginController.fluwx.share(WeChatShareWebPageModel("taihecare://goods?id=123",title: "标题",description: "描述",thumbData: data));
// },
// colors: [
// // 渐变色
// themeController.currentColor.sc1,
// themeController.currentColor.sc2,
// ],
// child: Container(
// width: MediaQuery.sizeOf(context).width * 0.66,
// height: MediaQuery.sizeOf(context).height * 0.055,
// constraints: BoxConstraints(
// minWidth: 500.rpx,
// minHeight: 90.rpx,
// ),
// child: Row(
// mainAxisSize: MainAxisSize.max,
// mainAxisAlignment: MainAxisAlignment.center,
// children: [
// Text(
// '微信好友一键分享'.tr,
// style: FlutterFlowTheme.of(context)
// .bodyMedium
// .override(
// color: themeController.currentColor.sc3,
// fontFamily: 'Inter',
// fontSize: AppConstants()
// .normal_text_fontSize, // 自定义字体大小
// letterSpacing: 0.0,
// ),
// ),
// ].divide(SizedBox(width: 17.rpx)),
// ),
// ),
// ),
// ),
],
),
),