广告数据调整

This commit is contained in:
谢宇宁
2026-09-15 21:01:34 +07:00
parent a23ba685e9
commit d2a6c648e1
20 changed files with 40 additions and 312 deletions
+1 -2
View File
@@ -127,8 +127,7 @@ class AIModDetailPage extends StatelessWidget {
'''1. 选择一张人脸清晰,不得有任何遮挡的照片上传(注意:只含一个人物和脸部,图片不能过暗)
2. 选择一个心仪的视频或图片模板,点击生成,生成时间需要3-5分钟,耐心等待。(图片模板可自行上传)
3. 在右上角记录查看生成进度,生成成功后可以点击进行下载,也可以在线观看。
4. 按照上方操作,有问题随时联系在线客服进行处理。
5. 不支持多人图片,禁止未成年人图片''',
4. 不支持多人图片,禁止未成年人图片''',
style: TextStyle(
color: Color(0xff656565),
fontSize: 12,
-27
View File
@@ -1,8 +1,5 @@
import 'package:easy_rich_text/easy_rich_text.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hgdj/assets_tool/app_colors.dart';
import 'package:hgdj/hj_utils/api_service/ai_service.dart';
import 'package:hgdj/routers/jump_router.dart';
import 'package:hgdj/tools_base/debug_log.dart';
@@ -26,21 +23,12 @@ class AIGirlSheet extends StatefulWidget {
class _AIGirlSheetState extends State<AIGirlSheet> {
int selectIndex = 0;
//TapGestureRecognizer 必须自己释放,建一次复用,别在 build 里 new
final _serviceTap = TapGestureRecognizer()..onTap = pushToCustomService;
List<AIGirlFriendCurrency> get _items => widget.list ?? [];
//列表可能为空,取不到就没得选
AIGirlFriendCurrency? get _selected =>
selectIndex < _items.length ? _items[selectIndex] : null;
@override
void dispose() {
_serviceTap.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Material(
@@ -118,21 +106,6 @@ class _AIGirlSheetState extends State<AIGirlSheet> {
),
),
),
const SizedBox(height: 18),
EasyRichText(
'支付中如有问题 请联系在线客服',
textAlign: TextAlign.center,
defaultStyle: textStyle(
12, Colors.white.withValues(alpha: .6), FontWeight.w400),
patternList: [
EasyRichTextPattern(
targetString: '在线客服',
matchOption: 'first',
style: const TextStyle(color: AppColors.primaryHighColor),
recognizer: _serviceTap,
),
],
),
const SizedBox(height: 30),
],
),