Compare commits

..

No commits in common. "4840ed65f9bb79c4fb8e1791be1e2998a7cd9413" and "5517eca5f6d6e2fb721e2b7b7fca53921070b3fb" have entirely different histories.

10 changed files with 125 additions and 107 deletions

View File

@ -65,8 +65,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21 minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion targetSdkVersion flutter.targetSdkVersion
versionCode 6 versionCode 110
versionName "1.0.5" versionName "1.1.0"
manifestPlaceholders = [ manifestPlaceholders = [
vivo_APPID: "105669716", vivo_APPID: "105669716",
vivo_APPKEY:"84f750207787376b310ca5b0d5969122", vivo_APPKEY:"84f750207787376b310ca5b0d5969122",

View File

@ -79,13 +79,6 @@
the Android process has started. This theme is visible to the user the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. --> to determine the Window background behind the Flutter UI. -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data <meta-data
android:name="io.flutter.embedding.android.NormalTheme" android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" android:resource="@style/NormalTheme"
@ -96,6 +89,12 @@
<meta-data <meta-data
android:name="com.vivo.push.app_id" android:name="com.vivo.push.app_id"
android:value="105669716" /> android:value="105669716" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below. <!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data <meta-data

View File

@ -90,6 +90,27 @@ PODS:
- Mantle (2.2.0): - Mantle (2.2.0):
- Mantle/extobjc (= 2.2.0) - Mantle/extobjc (= 2.2.0)
- Mantle/extobjc (2.2.0) - Mantle/extobjc (2.2.0)
- mob_sharesdk (4.4.15):
- mob_sharesdk/ShareSDK (= 4.4.15)
- MOBFoundation (>= 3.2.9)
- mob_sharesdk/ShareSDK (4.4.15):
- MOBFoundation (>= 3.2.9)
- mob_sharesdk/ShareSDKExtension (4.4.15):
- mob_sharesdk/ShareSDK
- MOBFoundation (>= 3.2.9)
- mob_sharesdk/ShareSDKPlatforms/QQ (4.4.15):
- mob_sharesdk/ShareSDK
- MOBFoundation (>= 3.2.9)
- mob_sharesdk/ShareSDKPlatforms/SinaWeibo (4.4.15):
- mob_sharesdk/ShareSDK
- MOBFoundation (>= 3.2.9)
- mob_sharesdk/ShareSDKPlatforms/WeChat (4.4.15):
- mob_sharesdk/ShareSDK
- MOBFoundation (>= 3.2.9)
- mob_sharesdk/ShareSDKUI (4.4.15):
- mob_sharesdk/ShareSDK
- MOBFoundation (>= 3.2.9)
- MOBFoundation (3.2.49)
- package_info_plus (0.4.5): - package_info_plus (0.4.5):
- Flutter - Flutter
- pasteboard (0.0.1): - pasteboard (0.0.1):
@ -115,6 +136,14 @@ PODS:
- shared_preferences_foundation (0.0.1): - shared_preferences_foundation (0.0.1):
- Flutter - Flutter
- FlutterMacOS - FlutterMacOS
- sharesdk_plugin (1.1.7):
- Flutter
- mob_sharesdk
- mob_sharesdk/ShareSDKExtension
- mob_sharesdk/ShareSDKPlatforms/QQ
- mob_sharesdk/ShareSDKPlatforms/SinaWeibo
- mob_sharesdk/ShareSDKPlatforms/WeChat
- mob_sharesdk/ShareSDKUI
- sqflite (0.0.3): - sqflite (0.0.3):
- Flutter - Flutter
- FMDB (>= 2.7.5) - FMDB (>= 2.7.5)
@ -185,6 +214,7 @@ DEPENDENCIES:
- photo_manager (from `.symlinks/plugins/photo_manager/ios`) - photo_manager (from `.symlinks/plugins/photo_manager/ios`)
- plain_notification_token_for_us (from `.symlinks/plugins/plain_notification_token_for_us/ios`) - plain_notification_token_for_us (from `.symlinks/plugins/plain_notification_token_for_us/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`)
- sharesdk_plugin (from `.symlinks/plugins/sharesdk_plugin/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`) - sqflite (from `.symlinks/plugins/sqflite/ios`)
- tencent_chat_push_for_china (from `.symlinks/plugins/tencent_chat_push_for_china/ios`) - tencent_chat_push_for_china (from `.symlinks/plugins/tencent_chat_push_for_china/ios`)
- tencent_cloud_chat_sdk (from `.symlinks/plugins/tencent_cloud_chat_sdk/ios`) - tencent_cloud_chat_sdk (from `.symlinks/plugins/tencent_cloud_chat_sdk/ios`)
@ -205,6 +235,8 @@ SPEC REPOS:
- HydraAsync - HydraAsync
- libwebp - libwebp
- Mantle - Mantle
- mob_sharesdk
- MOBFoundation
- Reachability - Reachability
- ReactiveObjC - ReactiveObjC
- SDWebImage - SDWebImage
@ -267,6 +299,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/plain_notification_token_for_us/ios" :path: ".symlinks/plugins/plain_notification_token_for_us/ios"
shared_preferences_foundation: shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/ios" :path: ".symlinks/plugins/shared_preferences_foundation/ios"
sharesdk_plugin:
:path: ".symlinks/plugins/sharesdk_plugin/ios"
sqflite: sqflite:
:path: ".symlinks/plugins/sqflite/ios" :path: ".symlinks/plugins/sqflite/ios"
tencent_chat_push_for_china: tencent_chat_push_for_china:
@ -316,6 +350,8 @@ SPEC CHECKSUMS:
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
local_notifications_for_us: d4bb63b93eb429c4697edd0ee66bbe8bade29633 local_notifications_for_us: d4bb63b93eb429c4697edd0ee66bbe8bade29633
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
mob_sharesdk: 0698d60b3c1549a5b0bcfdec6f407439dd2960c0
MOBFoundation: 6df2684b4db4f0f5bd71b0623f82e11271bf7ac8
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
pasteboard: 982969ebaa7c78af3e6cc7761e8f5e77565d9ce0 pasteboard: 982969ebaa7c78af3e6cc7761e8f5e77565d9ce0
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
@ -327,6 +363,7 @@ SPEC CHECKSUMS:
SDWebImage: 2aea163b50bfcb569a2726b6a754c54a4506fcf6 SDWebImage: 2aea163b50bfcb569a2726b6a754c54a4506fcf6
SDWebImageWebPCoder: f0f287cee4cd96a59937fbf3c77a8cfda9ba67b0 SDWebImageWebPCoder: f0f287cee4cd96a59937fbf3c77a8cfda9ba67b0
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126 shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sharesdk_plugin: 70d952ac2e1b6290170370c6b493a57e19fe5db4
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
tencent_chat_push_for_china: aa983a4716949ae4062c106204e2dc07d34d9f3b tencent_chat_push_for_china: aa983a4716949ae4062c106204e2dc07d34d9f3b

View File

@ -3,8 +3,6 @@ import 'dart:math';
import 'package:cached_network_image/cached_network_image.dart'; import 'package:cached_network_image/cached_network_image.dart';
import 'package:circle_app/app/circle/widgets/info_list_view.dart'; import 'package:circle_app/app/circle/widgets/info_list_view.dart';
import 'package:circle_app/app/dialog/ScreenBottomSheetDialog.dart'; import 'package:circle_app/app/dialog/ScreenBottomSheetDialog.dart';
import 'package:circle_app/app/msg/view.dart';
import 'package:circle_app/common/Widgets/open_vip_tip/view.dart';
import 'package:circle_app/router/app_routers.dart'; import 'package:circle_app/router/app_routers.dart';
import 'package:circle_app/util/util.dart'; import 'package:circle_app/util/util.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -73,8 +71,7 @@ class _CirclePageState extends State<CirclePage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
getContext = context; getContext = context;
return GetBuilder<CircleLogic>(builder: (logic) return GetBuilder<CircleLogic>(builder: (logic) {
{
return Scaffold( return Scaffold(
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: SafeArea( body: SafeArea(
@ -103,21 +100,15 @@ class _CirclePageState extends State<CirclePage>
), ),
), ),
logic.isShowCircle logic.isShowCircle
? ? Positioned(
Positioned(
bottom: 36.sp, bottom: 36.sp,
right: 10.sp, right: 10.sp,
child: GestureDetector( child: GestureDetector(
onTap: () async { onTap: () async {
List<MyConfigData> numbers = []; List<MyConfigData> numbers = [];
numbers.add(MyConfigData( numbers.add(MyConfigData(
logic logic.getCircleIndex().id.toString(),
.getCircleIndex() logic.getCircleIndex().title!,
.id
.toString(),
logic
.getCircleIndex()
.title!,
false)); false));
var data = await Get.toNamed( var data = await Get.toNamed(
AppRoutes.Call_out, AppRoutes.Call_out,
@ -560,12 +551,8 @@ class _CirclePageState extends State<CirclePage>
infoList = statistics.lastVisitUsers; infoList = statistics.lastVisitUsers;
if (infoList.isNotEmpty) { if (infoList.isNotEmpty) {
for (var element in infoList) { for (var element in infoList) {
if(element["avatar"]!=null&&element["avatar"].contains("http")){
urlList.add(element["avatar"]); urlList.add(element["avatar"]);
} }
// urlList.add(element["avatar"]);
}
} }
} }

View File

@ -2,7 +2,7 @@ import 'dart:io';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// import 'package:flutter_install_app/flutter_install_app.dart'; import 'package:flutter_install_app/flutter_install_app.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
@ -260,7 +260,7 @@ class _CustomDialogState extends State<UpdateDialog> {
// SmartDialog.dismiss(); // SmartDialog.dismiss();
print(error); print(error);
}); });
// await AppInstaller.installApk(filePath, actionRequired: false); await AppInstaller.installApk(filePath, actionRequired: false);
} }
} }

View File

@ -15,15 +15,14 @@ class HomePage extends StatefulWidget {
State<HomePage> createState() => _HomePageState(); State<HomePage> createState() => _HomePageState();
} }
class _HomePageState extends State<HomePage> class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
with AutomaticKeepAliveClientMixin {
@override @override
bool get wantKeepAlive => true; bool get wantKeepAlive => true;
final logic = Get.lazyPut(() => HomeLogic()); final logic = Get.lazyPut(() => HomeLogic());
final state = Get.find<HomeLogic>().state; final state = Get.find<HomeLogic>().state;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context); super.build(context);
@ -59,7 +58,15 @@ class _HomePageState extends State<HomePage>
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
height: Get.height - 49.sp + MediaQuery.of(context).padding.bottom, height: Get.height - 49.sp + MediaQuery.of(context).padding.bottom,
decoration: const BoxDecoration( decoration: const BoxDecoration(
image: bgWidget),), image: bgWidget),
),
// Image.asset(
// getBaseImage('bg'),
// width: Get.width,
// height: Get.height - 49.sp + MediaQuery.of(context).padding.bottom,
// fit: BoxFit.fill,
// gaplessPlayback: true,
// ),
PageView( PageView(
physics: const NeverScrollableScrollPhysics(), physics: const NeverScrollableScrollPhysics(),
controller: controller.pageController, controller: controller.pageController,
@ -67,7 +74,6 @@ class _HomePageState extends State<HomePage>
// controller.updateIndex(index); // controller.updateIndex(index);
}, },
children: controller.tabs, children: controller.tabs,
) )
], ],
), ),
@ -102,37 +108,38 @@ class _HomePageState extends State<HomePage>
height: 34.sp, height: 34.sp,
excludeFromSemantics: true, excludeFromSemantics: true,
gaplessPlayback: true, gaplessPlayback: true,
))), ),
),
),
// Obx(() => null) // Obx(() => null)
Obx(() => Visibility( Obx(() => Visibility(
visible: index == 0 && controller.unreadSIze != "0", visible: index == 0 &&controller.unreadSIze!="0",
child: Positioned( child: Positioned(
// right: 4.sp, // right: 4.sp,
top: 4.sp, top: 4.sp,
child: Container( child:
margin: EdgeInsets.only( Container(
left: int.parse(controller.unreadSIze.value) > 99 margin: EdgeInsets.only(left: int.parse(controller.unreadSIze.value) > 99 ? 30.sp : 20.sp),
? 30.sp
: 20.sp),
height: 18.sp, height: 18.sp,
padding: EdgeInsets.only(left: 5.sp, right: 5.sp), padding: EdgeInsets.only(left: 5.sp,right: 5.sp),
alignment: Alignment.center, alignment: Alignment.center,
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.red, color: Colors.red,
borderRadius: BorderRadius.circular(11.sp)), borderRadius: BorderRadius.circular(11.sp)
),
child: Text( child: Text(
int.parse(controller.unreadSIze.value) > 99 int.parse(controller.unreadSIze.value) > 99 ? '99+' : controller.unreadSIze.value, // The number in the red dot
? '99+'
: controller.unreadSIze.value,
// The number in the red dot
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 12.0.sp, // Font size of the text fontSize: 12.0.sp, // Font size of the text
), ),
), ),
), ),
))) )))
]),
]
),
), ),
); );
} }

View File

@ -2,10 +2,7 @@
import 'dart:io'; import 'dart:io';
import 'package:cached_network_image/cached_network_image.dart'; import 'package:cached_network_image/cached_network_image.dart';
import 'package:circle_app/app/circle/view.dart'; import 'package:circle_app/app/circle/view.dart';
import 'package:circle_app/app/msg/view.dart';
import 'package:circle_app/router/app_routers.dart'; import 'package:circle_app/router/app_routers.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_cache_manager/flutter_cache_manager.dart'; import 'package:flutter_cache_manager/flutter_cache_manager.dart';
@ -43,13 +40,13 @@ class MinefragmentPage extends StatelessWidget {
return GetBuilder<MinefragmentLogic>( return GetBuilder<MinefragmentLogic>(
builder: (logic) { builder: (logic) {
return Scaffold( return Scaffold(
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: Padding( body: Padding(
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 20.0 + statusBarHeight.sp, top: 20.0 + statusBarHeight.sp,
left: 11.sp, left: 11.sp,
right: 11.sp,), right: 11.sp,
),
child: SingleChildScrollView( child: SingleChildScrollView(
child: Column( child: Column(
children: [ children: [

View File

@ -18,9 +18,7 @@ import 'package:tencent_cloud_chat_uikit/ui/controller/tim_uikit_conversation_co
import '../../util/eventBus.dart'; import '../../util/eventBus.dart';
import 'TIMUIKitConversation/tim_uikit_conversation.dart'; import 'TIMUIKitConversation/tim_uikit_conversation.dart';
import 'logic.dart'; import 'logic.dart';
const bgWidget = DecorationImage(
fit: BoxFit.fill,
image: AssetImage('assets/images/base/home_back.png'));
class MsgPage extends StatelessWidget { class MsgPage extends StatelessWidget {
MsgPage({Key? key}) : super(key: key); MsgPage({Key? key}) : super(key: key);
@ -63,6 +61,7 @@ class MsgPage extends StatelessWidget {
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: Stack( body: Stack(
children: [ children: [
SafeArea( SafeArea(
child: GetBuilder(builder: (MsgLogic controller) { child: GetBuilder(builder: (MsgLogic controller) {
return Column( return Column(

View File

@ -267,7 +267,7 @@ class DioManager {
return {'code': 500, 'msg': ''}; return {'code': 500, 'msg': ''};
} }
// //
return {'code': 500, 'msg': '加载中...'}; return {'code': 500, 'msg': '请求异常'};
} }
} }
// //

View File

@ -873,7 +873,7 @@ packages:
source: hosted source: hosted
version: "3.3.0" version: "3.3.0"
image_gallery_saver: image_gallery_saver:
dependency: "direct main" dependency: transitive
description: description:
name: image_gallery_saver name: image_gallery_saver
sha256: be812580c7a320d3bf583af89cac6b376f170d48000aca75215a73285a3223a0 sha256: be812580c7a320d3bf583af89cac6b376f170d48000aca75215a73285a3223a0
@ -1201,7 +1201,7 @@ packages:
source: hosted source: hosted
version: "1.0.1" version: "1.0.1"
path_provider: path_provider:
dependency: "direct main" dependency: transitive
description: description:
name: path_provider name: path_provider
sha256: "909b84830485dbcd0308edf6f7368bc8fd76afa26a270420f34cabea2a6467a0" sha256: "909b84830485dbcd0308edf6f7368bc8fd76afa26a270420f34cabea2a6467a0"
@ -1384,22 +1384,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.5.0" version: "0.5.0"
qr:
dependency: transitive
description:
name: qr
sha256: "64957a3930367bf97cc211a5af99551d630f2f4625e38af10edd6b19131b64b3"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
qr_flutter:
dependency: "direct main"
description:
name: qr_flutter
sha256: "5095f0fc6e3f71d08adef8feccc8cea4f12eec18a2e31c2e8d82cb6019f4b097"
url: "https://pub.dev"
source: hosted
version: "4.1.0"
quiver: quiver:
dependency: transitive dependency: transitive
description: description:
@ -1488,6 +1472,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.3.0" version: "2.3.0"
sharesdk_plugin:
dependency: "direct main"
description:
name: sharesdk_plugin
sha256: a1a18d01f362c119df1931082e3694591a24b3b00eef2576522e00ef8da3b25e
url: "https://pub.dev"
source: hosted
version: "1.3.10"
shell: shell:
dependency: transitive dependency: transitive
description: description: