huxiaoqiang 4 年之前
父节点
当前提交
7e0664619e

+ 3 - 2
lib/my_tools/my_views.dart

@@ -1482,8 +1482,9 @@ class MyViews {
                   ],
                 ),
                 Visibility(
-                  visible: data.role != shopUserOwner &&
-                      data.userUid != MyCookie().getUID(),
+                  // visible: data.role != shopUserOwner &&
+                  //     data.userUid != MyCookie().getUID(),
+                  visible: false,
                   child: GestureDetector(
                     child: Container(
                       margin: EdgeInsets.only(right: 10),

+ 4 - 3
lib/paegs/gang_page/gang_in_page/gang_in_page.dart

@@ -1087,9 +1087,10 @@ class _GangInPageState extends State<GangInPage> {
                                 ],
                               ),
                               Visibility(
-                                visible: member[index].role != shopUserOwner &&
-                                    member[index].userUid !=
-                                        MyCookie().getUID(),
+                                // visible: member[index].role != shopUserOwner &&
+                                //     member[index].userUid !=
+                                //         MyCookie().getUID(),
+                                visible: false,
                                 child: GestureDetector(
                                   child: Container(
                                     margin: EdgeInsets.only(right: 10),

+ 2 - 1
lib/paegs/gang_page/gang_in_page/gang_information_page/gang_information_page.dart

@@ -1187,7 +1187,8 @@ class _GangInformationPageState extends State<GangInformationPage> {
                       ),
                     ),
                     Visibility(
-                      visible: widget.data.ownerUid==MyCookie().getUID(),
+                      // visible: widget.data.ownerUid==MyCookie().getUID(),
+                      visible: false,
                       child: GestureDetector(
                         onTap: () {},
                         behavior: HitTestBehavior.translucent,

+ 36 - 29
lib/paegs/mine_page/bind_alipay_page/bind_alipay_page.dart

@@ -15,6 +15,7 @@ import 'package:bbyyy/paegs/mine_page/coupon_page/coupon_view.dart';
 import 'package:bbyyy/pay/pay_tools.dart';
 import 'package:flutter/cupertino.dart';
 import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
 import 'package:flutter_svg/svg.dart';
 import 'package:fluwx/fluwx.dart';
 
@@ -234,36 +235,42 @@ class _BindAlipayPageState extends State<BindAlipayPage> {
                                   .myText('当前绑定微信账号', MyColors.c333333, 13),
                               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,
+                              ),
                             )
                           ],
                         ),

+ 8 - 8
lib/paegs/mine_page/wallet_page/withdraw_page/withdraw_page.dart

@@ -152,15 +152,15 @@ class _WithdrawPageState extends State<WithdrawPage> {
                           ),
                         ),
                       ),
-                    if (showWeChat)
+                    if (true)
                       GestureDetector(
                         onTap: () {
-                          if (!payWays[payWays
-                                  .indexWhere((element) => element.way == 2)]
-                              .withdraw) {
-                            showToast('微信提现暂时维护中');
-                            return;
-                          }
+                          // if (!payWays[payWays
+                          //         .indexWhere((element) => element.way == 2)]
+                          //     .withdraw) {
+                          //   showToast('微信提现暂时维护中');
+                          //   return;
+                          // }
                           if (MyCookie().userBean.wxOpenid.isEmpty) {
                             showToast('未绑定微信');
                           } else {
@@ -299,7 +299,7 @@ class _WithdrawPageState extends State<WithdrawPage> {
                                     color: MyColors.c999999, fontSize: 15),
                                 children: [
                                   TextSpan(
-                                    text: '${MyCookie().userBean.balance}',
+                                    text: '${MyCookie().userBean.balance.toStringAsFixed(2)}',
                                     style: TextStyle(
                                         color: MyColors.cFF4233, fontSize: 15),
                                   ),