|
|
@@ -577,8 +577,8 @@ class IntimacyAnalyseUploadPage
|
|
|
|
|
|
/// 底部操作按钮
|
|
|
Widget _buildBottomActionBtn() {
|
|
|
+ // 上传页,显示Ai模型切换按钮和下一步按钮
|
|
|
if (controller.isUploadPage.value) {
|
|
|
- // 上传页
|
|
|
return Container(
|
|
|
width: double.maxFinite,
|
|
|
margin: EdgeInsets.only(
|
|
|
@@ -594,17 +594,22 @@ class IntimacyAnalyseUploadPage
|
|
|
),
|
|
|
);
|
|
|
} else {
|
|
|
- // 结果页
|
|
|
- return Container(
|
|
|
- width: double.maxFinite,
|
|
|
- margin: EdgeInsets.only(
|
|
|
- left: 13.w,
|
|
|
- top: 8.h,
|
|
|
- right: 13.w,
|
|
|
- bottom: 20.h,
|
|
|
- ),
|
|
|
- child: _buildAnalyseBtn(),
|
|
|
- );
|
|
|
+ // 结果页,显示立即分析按钮
|
|
|
+ if (controller.intimacyAnalyzeResult.value == null) {
|
|
|
+ return Container(
|
|
|
+ width: double.maxFinite,
|
|
|
+ margin: EdgeInsets.only(
|
|
|
+ left: 13.w,
|
|
|
+ top: 8.h,
|
|
|
+ right: 13.w,
|
|
|
+ bottom: 20.h,
|
|
|
+ ),
|
|
|
+ child: _buildAnalyseBtn(),
|
|
|
+ );
|
|
|
+ } else {
|
|
|
+ // 生成定制人设按钮
|
|
|
+ return SizedBox();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -754,7 +759,7 @@ class IntimacyAnalyseUploadPage
|
|
|
Widget _buildCardList() {
|
|
|
return Obx(() {
|
|
|
// 上传页
|
|
|
- if (controller.intimacyAnalyzeResult.value == null) {
|
|
|
+ if (controller.isUploadPage.value) {
|
|
|
return Column(
|
|
|
children: [
|
|
|
// 上传卡片
|