|
@@ -15,6 +15,7 @@ import 'package:bbyyy/paegs/mine_page/coupon_page/coupon_view.dart';
|
|
|
import 'package:bbyyy/pay/pay_tools.dart';
|
|
import 'package:bbyyy/pay/pay_tools.dart';
|
|
|
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
+import 'package:flutter/services.dart';
|
|
|
import 'package:flutter_svg/svg.dart';
|
|
import 'package:flutter_svg/svg.dart';
|
|
|
import 'package:fluwx/fluwx.dart';
|
|
import 'package:fluwx/fluwx.dart';
|
|
|
|
|
|
|
@@ -234,36 +235,42 @@ class _BindAlipayPageState extends State<BindAlipayPage> {
|
|
|
.myText('当前绑定微信账号', MyColors.c333333, 13),
|
|
.myText('当前绑定微信账号', MyColors.c333333, 13),
|
|
|
margin: EdgeInsets.only(top: 11, bottom: 11),
|
|
margin: EdgeInsets.only(top: 11, bottom: 11),
|
|
|
),
|
|
),
|
|
|
- Container(
|
|
|
|
|
- decoration: BoxDecoration(
|
|
|
|
|
- borderRadius: BorderRadius.circular(22.5),
|
|
|
|
|
- color: MyColors.cFF4233),
|
|
|
|
|
- height: 45,
|
|
|
|
|
- margin: EdgeInsets.symmetric(horizontal: 22),
|
|
|
|
|
- child: MyCookie().userBean.wxOpenid.isEmpty
|
|
|
|
|
- ? MyViews().myText('暂未绑定', Colors.white, 20)
|
|
|
|
|
- : Row(
|
|
|
|
|
- children: [
|
|
|
|
|
- Container(
|
|
|
|
|
- margin: EdgeInsets.only(right: 10),
|
|
|
|
|
- child: ClipRRect(
|
|
|
|
|
- borderRadius:
|
|
|
|
|
- BorderRadius.circular(14),
|
|
|
|
|
- child: MyViews().netImg(
|
|
|
|
|
- MyCookie().userBean.wxPicture,
|
|
|
|
|
- 28,
|
|
|
|
|
- 28),
|
|
|
|
|
|
|
+ GestureDetector(
|
|
|
|
|
+ onTap: (){
|
|
|
|
|
+ Clipboard.setData(ClipboardData(text: '${MyCookie().userBean.wxOpenid}'));
|
|
|
|
|
+ },
|
|
|
|
|
+ behavior: HitTestBehavior.translucent,
|
|
|
|
|
+ child: Container(
|
|
|
|
|
+ decoration: BoxDecoration(
|
|
|
|
|
+ borderRadius: BorderRadius.circular(22.5),
|
|
|
|
|
+ color: MyColors.cFF4233),
|
|
|
|
|
+ height: 45,
|
|
|
|
|
+ margin: EdgeInsets.symmetric(horizontal: 22),
|
|
|
|
|
+ child: MyCookie().userBean.wxOpenid.isEmpty
|
|
|
|
|
+ ? MyViews().myText('暂未绑定', Colors.white, 20)
|
|
|
|
|
+ : Row(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ Container(
|
|
|
|
|
+ margin: EdgeInsets.only(right: 10),
|
|
|
|
|
+ child: ClipRRect(
|
|
|
|
|
+ borderRadius:
|
|
|
|
|
+ BorderRadius.circular(14),
|
|
|
|
|
+ child: MyViews().netImg(
|
|
|
|
|
+ MyCookie().userBean.wxPicture,
|
|
|
|
|
+ 28,
|
|
|
|
|
+ 28),
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- MyViews().myText(
|
|
|
|
|
- MyCookie().userBean.wxName,
|
|
|
|
|
- Colors.white,
|
|
|
|
|
- 20)
|
|
|
|
|
- ],
|
|
|
|
|
- mainAxisAlignment:
|
|
|
|
|
- MainAxisAlignment.center,
|
|
|
|
|
- ),
|
|
|
|
|
- alignment: Alignment.center,
|
|
|
|
|
|
|
+ MyViews().myText(
|
|
|
|
|
+ MyCookie().userBean.wxName,
|
|
|
|
|
+ Colors.white,
|
|
|
|
|
+ 20)
|
|
|
|
|
+ ],
|
|
|
|
|
+ mainAxisAlignment:
|
|
|
|
|
+ MainAxisAlignment.center,
|
|
|
|
|
+ ),
|
|
|
|
|
+ alignment: Alignment.center,
|
|
|
|
|
+ ),
|
|
|
)
|
|
)
|
|
|
],
|
|
],
|
|
|
),
|
|
),
|