修改不同意协议退出方式
This commit is contained in:
parent
9860ad3ce1
commit
a2b8a959fa
@ -65,8 +65,8 @@ android {
|
||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||
minSdkVersion 21
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode 7
|
||||
versionName "1.0.6"
|
||||
versionCode 8
|
||||
versionName "1.0.7"
|
||||
manifestPlaceholders = [
|
||||
vivo_APPID: "105669716",
|
||||
vivo_APPKEY:"84f750207787376b310ca5b0d5969122",
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<item>
|
||||
<bitmap
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/launch_image" />
|
||||
android:src="@mipmap/launch_back" />
|
||||
</item>
|
||||
<item>
|
||||
<bitmap
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
BIN
circle_app/assets/images/base/launch_back.webp
Normal file
BIN
circle_app/assets/images/base/launch_back.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB |
@ -3,8 +3,8 @@ import 'dart:io';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:tencent_chat_push_for_china/tencent_chat_push_for_china.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/tencent_cloud_chat_uikit.dart';
|
||||
|
||||
@ -86,7 +86,7 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
||||
children: [
|
||||
TextSpan(
|
||||
text: "《用户协议》",
|
||||
style: TextStyle(
|
||||
style: const TextStyle(
|
||||
color: Color(0xFF21BEAB),
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
@ -94,7 +94,7 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
||||
navigateToUserAgreement();
|
||||
},
|
||||
),
|
||||
TextSpan(
|
||||
const TextSpan(
|
||||
text: "和",
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
@ -102,7 +102,7 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
||||
),
|
||||
TextSpan(
|
||||
text: "《隐私政策》",
|
||||
style: TextStyle(
|
||||
style: const TextStyle(
|
||||
color: Color(0xFF21BEAB),
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
@ -133,12 +133,12 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
||||
},
|
||||
child: Container(
|
||||
width: 240.sp,
|
||||
padding: EdgeInsets.symmetric(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 10,
|
||||
horizontal: 44,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
gradient: const LinearGradient(
|
||||
colors: [Color(0xFFDD3DF4), Color(0xFF30FFD9)],
|
||||
begin: Alignment.centerLeft,
|
||||
end: Alignment.centerRight,
|
||||
@ -159,7 +159,8 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
// 点击不同意按钮的操作
|
||||
exit(1);
|
||||
// exit(1);
|
||||
SystemNavigator.pop();
|
||||
},
|
||||
child: Text(
|
||||
"不同意并退出应用",
|
||||
|
||||
@ -15,7 +15,7 @@ class SplashPage extends StatelessWidget {
|
||||
return Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage('assets/images/base/launch_image.webp'),
|
||||
image: AssetImage('assets/images/base/launch_back.webp'),
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
|
||||
|
||||
class Api {
|
||||
static const baseUrl = 'https://leyuan666.com/zuul-service/';
|
||||
static const baseUrl = 'https://leyuan666.com/zuul-service/';
|
||||
|
||||
// static const baseUrl = 'http://192.168.3.55:2000/' ;
|
||||
// static const baseUrl = 'http://192.168.3.55:2000/' ;
|
||||
|
||||
|
||||
// 获取验证码
|
||||
|
||||
Loading…
Reference in New Issue
Block a user