Primroses преди 3 години
родител
ревизия
6370b69691
променени са 3 файла, в които са добавени 8 реда и са изтрити 5 реда
  1. 2 2
      lib/pages/my/achievement_page.dart
  2. 5 0
      lib/pages/social/new_social_index_page.dart
  3. 1 3
      lib/pages/social/user_friend_page.dart

+ 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: '通过扫码',