2.2.3代码提交

This commit is contained in:
CYH 2024-11-27 10:16:00 +08:00
parent 8833c7f215
commit e7d880bf6b
5 changed files with 18 additions and 24 deletions

View File

@ -71,8 +71,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode 72
versionName "2.2.2"
versionCode 73
versionName "2.2.3"
manifestPlaceholders = [
vivo_APPID: "105669716",
vivo_APPKEY:"84f750207787376b310ca5b0d5969122",

View File

@ -438,15 +438,19 @@ class _ChatPageState extends State<ChatPage>
) : GestureDetector(
onTap: () {
HomeLogic homelogic = Get.find<HomeLogic>();
Get.bottomSheet(InitmacyDialog(avatar: otherUserBean!.avatar,myAvatar: homelogic.model!.avatar,info: logic.intimacyInfo,accId:logic.selectedConversation!.userID!),isScrollControlled:true);
// if (logic.hotInfo['canReceiveReward'] == 1 && logic.hotInfo['receivedReward'] == 0) {
// showHotRewardTipDialog();
// } else if (logic.hotInfo['receivedReward'] == 0){
// showHotTipDialog();
// } else {
// showOKToast('和TA互动的奖励已领取可以再和其他人聊继续领取奖励哦~');
// }
if (logic.hotInfo['canReceiveReward'] == 1 && logic.hotInfo['receivedReward'] == 0) {
showHotRewardTipDialog();
} else if (logic.hotInfo['receivedReward'] == 0){
showHotTipDialog();
} else {
if (homelogic.model != null && otherUserBean != null) {
Get.bottomSheet(InitmacyDialog(avatar: otherUserBean!.avatar,myAvatar: homelogic.model!.avatar,info: logic.intimacyInfo,accId:logic.selectedConversation!.userID!),isScrollControlled:true);
}
// showOKToast('和TA互动的奖励已领取可以再和其他人聊继续领取奖励哦~');
}
},
child: Row(
children: [

View File

@ -124,6 +124,8 @@ class _HomePageState extends State<HomePage>
sub1.cancel();
giftAnimationNotifySub.cancel();
callOutActionNotifySub.cancel();
permissionNotifySub.canel();
permissionCloseNotifySub.canel();
routeObserver.unsubscribe(this);
}

View File

@ -6,7 +6,6 @@ import 'package:get/get.dart';
import 'package:gradient_borders/box_borders/gradient_box_border.dart';
import 'package:keframe/keframe.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:visibility_detector/visibility_detector.dart';
import '../../commons/Widgets/my_app_bar.dart';
import '../../commons/Widgets/tag_widget.dart';
@ -415,18 +414,11 @@ class New_peoplePage extends StatelessWidget {
data: logic.cityMap,
columeNum: 2, onConfirm: (List res, List<int> position) {
print(res);
// print(logic.cityMap[res[0]][res[1]][0]);
// controller.state.city = controller.cityMap[res[0]][res[1]][0];
// logic.state.city = res[1];
if (res[0].contains("台湾")) {
logic.city = "台湾省";
} else {
logic.city = res[1];
}
// EventBusManager.fire(NearScrollTap());
_onRefresh();
}
);
@ -444,11 +436,5 @@ class New_peoplePage extends StatelessWidget {
void _onLoading() async {
logic.loadData();
// if (widget.logic.vicinityPage == 2 &&
// maxOff == 0 &&
// widget.logic.lists.isNotEmpty) {
// maxOff = _scrollController.offset - 170.sp;
// }
// widget.logic.getNearByList();
}
}

View File

@ -55,6 +55,7 @@ class QuickLogic extends GetxController {
initGerder();
getLocationData();
initList(1);
// initList(2);
}
@ -122,6 +123,7 @@ class QuickLogic extends GetxController {
if (hasLocationPermission) {
//
} else {
initList(2);
return;
}