ソースを参照

去掉了首页房产和最近新闻的入口
切换正式环境
Android 102 版本上线

liukai 1 日 前
コミット
cbb686f32d

+ 2 - 2
app/android/app/build.gradle

@@ -54,8 +54,8 @@ android {
         applicationId "com.hongyegroup.app24ifm"
         minSdkVersion 21
         targetSdkVersion 35
-        versionCode 101
-        versionName "1.0.1"
+        versionCode 102
+        versionName "1.0.2"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 
         multiDexEnabled true

+ 2 - 2
packages/cpt_main/lib/modules/home/home_page.dart

@@ -174,7 +174,7 @@ class HomePage extends HookConsumerWidget {
                         _buildBannerImage(ref, bannerIndex),
 
                       //最新的新闻(动态)
-                      _buildLastNews(context, ref),
+                      // _buildLastNews(context, ref),
 
                       //最新的交易
                       SliverToBoxAdapter(
@@ -360,7 +360,7 @@ class HomePage extends HookConsumerWidget {
     return SliverToBoxAdapter(
       child: Container(
         width: double.infinity,
-        margin: const EdgeInsets.only(top: 30, left: 15, right: 15),
+        margin: const EdgeInsets.only(top: 15, left: 15, right: 15),
         child: state.homeIndex != null && state.homeIndex!.banners.isNotEmpty
             ? Stack(
                 alignment: Alignment.bottomCenter, // 设置 Stack 的对齐方式为底部中心

+ 4 - 4
packages/cpt_main/lib/modules/home/home_state.dart

@@ -25,10 +25,10 @@ class HomeState {
                 'category_name': S.current.notice_board,
                 'category_icon': Assets.mainHomeBoticeBoardIcon,
               },
-              {
-                'category_name': S.current.property,
-                'category_icon': Assets.mainHomePropertyIcon,
-              },
+              // {
+              //   'category_name': S.current.property,
+              //   'category_icon': Assets.mainHomePropertyIcon,
+              // },
               // {
               //   'category_name': S.current.service,
               //   'category_icon': Assets.mainHomeServiceIcon,

+ 1 - 1
packages/cs_domain/lib/constants/api_constants.dart

@@ -2,7 +2,7 @@
 
 class ApiConstants {
   //当前服务器环境
-  static const isServerRelease = false;
+  static const isServerRelease = true;
 
   //域名
   static const baseUrl = isServerRelease ? 'https://portal.24ifm.com' : 'http://dev-yyhome.guadoutech.com';