billyyoyo 5 lat temu
rodzic
commit
66e04340da

+ 9 - 6
app/src/main/java/com/sheep/gamegroup/module/game/activity/ActGameGroupOrGameDetail.java

@@ -326,10 +326,13 @@ public class ActGameGroupOrGameDetail extends BaseActivity {
             CommonUtil.getInstance().palyGameDetailBtnValue(false, gameEntity, gc_game_app_detail_bt2, 0);
         } else if (gameEntity.getApp().getMobile_appointment() == 2) {
             ViewUtil.setText(gc_game_app_detail_bt2, "立即预约");
-            ViewUtil.setOnClickListener(gc_game_app_detail_bt2, v -> new GameAppointHelper(this, gameEntity, t -> {
-                ViewUtil.setText(gc_game_app_detail_bt2, "已预约");
-                ViewUtil.setOnClickListener(gc_game_app_detail_bt2, null);
-            }).showAppointDialog());
+            ViewUtil.setOnClickListener(gc_game_app_detail_bt2, v -> {
+                if (gameEntity.getApp().getMobile_appointment() == 3) return;
+                new GameAppointHelper(this, gameEntity, t -> {
+                    ViewUtil.setText(gc_game_app_detail_bt2, "已预约");
+                    gameEntity.getApp().setMobile_appointment(3);
+                }).showAppointDialog();
+            });
         } else if (gameEntity.getApp().getMobile_appointment() == 3) {
             ViewUtil.setText(gc_game_app_detail_bt2, "已预约");
         } else {
@@ -347,7 +350,7 @@ public class ActGameGroupOrGameDetail extends BaseActivity {
         }
         if (gameGroup == null) {
             ViewUtil.setVisibility(gc_game_app_detail_bt4, gameEntity.getApp().getActivity_id() > 0);
-            ViewUtil.setOnClickListener(gc_game_app_detail_bt4, v->{
+            ViewUtil.setOnClickListener(gc_game_app_detail_bt4, v -> {
                 Jump2View.getInstance().goWeb(this, gameEntity.getApp().getActivity_url(), "活动");
             });
         }
@@ -740,7 +743,7 @@ public class ActGameGroupOrGameDetail extends BaseActivity {
         super.onResume();
         isPlay = true;
         if (onResumeCount > 0) {
-            if (gameEntity != null && gc_game_app_detail_bt2 != null) {
+            if (gameEntity != null && gc_game_app_detail_bt2 != null && gameEntity.getApp().getMobile_appointment() == 1) {
                 //强制更新下载按钮
                 CommonUtil.getInstance().palyGameDetailBtnValue(false, gameEntity, gc_game_app_detail_bt2, 0);
             }

+ 1 - 1
app/src/main/res/layout/x_real_name_auther_layout.xml

@@ -19,7 +19,7 @@
         <TextView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:text="请完善个人信息,第一次实名认证免费,再次提交需扣除0.5绵羊币/次!"
+            android:text="请完善个人信息,第一次实名认证免费,若提交错误,再次提交需扣除05绵羊币/次!实名信息一旦认证成功不可更改!"
             android:textColor="#666666"
             android:textSize="13sp" />
     </LinearLayout>