Procházet zdrojové kódy

fix:v1.3版本的UI

Primroses před 3 roky
rodič
revize
6370b69691

+ 2 - 2
lib/pages/my/achievement_page.dart

@@ -216,10 +216,10 @@ class _PageState extends State<AchievementPage> {
                         shrinkWrap: true,
                         physics: NeverScrollableScrollPhysics(),
                         crossAxisCount: 3,
-                        itemCount: widget.data.getAchievementList.length * 2,
+                        itemCount: widget.data.getAchievementList.length,
                         itemBuilder: (BuildContext context, int index) =>
                             achievementWidget(context,
-                                widget.data.getAchievementList[index % 2],
+                                widget.data.getAchievementList[index],
                                 isRadius: false, w: 84, showCount: true),
                         mainAxisSpacing: 20.0,
                         crossAxisSpacing: 12.0,

+ 5 - 0
lib/pages/social/new_social_index_page.dart

@@ -300,6 +300,11 @@ class _PageState extends ViewStateLifecycle<NewSocialIndexPage, SocialDetailMode
       onTap: () {
         type == "one" ? model.setForumIdAndOrigin(_tabController.index, "", isOfficial) : model.setForumIdAndOrigin(_tabController.index, forumId, "");
         index.value = 0;
+        if (drawOneIndex.value == 0 && drawTwoIndex.value == 0) {
+          isShowSelect.value = false;
+        } else {
+          isShowSelect.value = true;
+        }
       },
     );
   }

+ 1 - 3
lib/pages/social/user_friend_page.dart

@@ -456,9 +456,7 @@ class _PageDetailState
                                 text: '通过线上',
                                 style: Theme.of(context)
                                     .textTheme
-                                    .bodyText1
-                                    .copyWith(
-                                        color: Theme.of(context).accentColor),
+                                    .bodyText1,
                               )
                             : TextSpan(
                                 text: '通过扫码',