|
@@ -281,7 +281,7 @@ class IntimacyAnalyseUploadPage
|
|
|
IntimacyAnalyseReportWidget(
|
|
IntimacyAnalyseReportWidget(
|
|
|
// 分析结果
|
|
// 分析结果
|
|
|
intimacyAnalyzeResult: controller.intimacyAnalyzeResult.value,
|
|
intimacyAnalyzeResult: controller.intimacyAnalyzeResult.value,
|
|
|
- unlock: controller.isReportUnlock.value,
|
|
|
|
|
|
|
+ unlock: controller.userInfo.value?.isMember ?? false,
|
|
|
isReportCreating: controller.isReportCreating.value,
|
|
isReportCreating: controller.isReportCreating.value,
|
|
|
),
|
|
),
|
|
|
],
|
|
],
|
|
@@ -684,32 +684,37 @@ class IntimacyAnalyseUploadPage
|
|
|
|
|
|
|
|
/// 下一步按钮
|
|
/// 下一步按钮
|
|
|
Widget _buildNextBtn() {
|
|
Widget _buildNextBtn() {
|
|
|
- return Container(
|
|
|
|
|
- padding: EdgeInsets.only(top: 13.h, bottom: 13.h),
|
|
|
|
|
- child: GradientTextBtn(
|
|
|
|
|
- StringName.nextStep,
|
|
|
|
|
- leftIcon: Assets.images.iconLock.image(width: 22.w, height: 22.h),
|
|
|
|
|
- color: ColorName.colorBrand,
|
|
|
|
|
- onPressed: () {
|
|
|
|
|
- controller.clickNextBtn();
|
|
|
|
|
- },
|
|
|
|
|
- ),
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ return Obx(() {
|
|
|
|
|
+ return Container(
|
|
|
|
|
+ padding: EdgeInsets.only(top: 13.h, bottom: 13.h),
|
|
|
|
|
+ child: GradientTextBtn.withUnlock(
|
|
|
|
|
+ controller.userInfo.value?.isMember ?? false,
|
|
|
|
|
+ text: StringName.nextStep,
|
|
|
|
|
+ color: ColorName.colorBrand,
|
|
|
|
|
+ onPressed: () {
|
|
|
|
|
+ controller.clickNextBtn();
|
|
|
|
|
+ },
|
|
|
|
|
+ ),
|
|
|
|
|
+ );
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// 分析按钮
|
|
/// 分析按钮
|
|
|
Widget _buildAnalyseBtn() {
|
|
Widget _buildAnalyseBtn() {
|
|
|
- return Container(
|
|
|
|
|
- padding: EdgeInsets.only(top: 7.h, bottom: 6.h),
|
|
|
|
|
- child: GradientTextBtn.withUnlock(
|
|
|
|
|
- text: StringName.intimacyAnalyseAnalysisNow,
|
|
|
|
|
- color: ColorName.colorBrand,
|
|
|
|
|
- desc: StringName.intimacyAnalyseAnalysisUseAiTip,
|
|
|
|
|
- radius: 30.r,
|
|
|
|
|
- padding: EdgeInsets.symmetric(vertical: 7.h),
|
|
|
|
|
- onPressed: () {},
|
|
|
|
|
- ),
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ return Obx(() {
|
|
|
|
|
+ return Container(
|
|
|
|
|
+ padding: EdgeInsets.only(top: 7.h, bottom: 6.h),
|
|
|
|
|
+ child: GradientTextBtn.withUnlock(
|
|
|
|
|
+ controller.userInfo.value?.isMember ?? false,
|
|
|
|
|
+ text: StringName.intimacyAnalyseAnalysisNow,
|
|
|
|
|
+ color: ColorName.colorBrand,
|
|
|
|
|
+ desc: StringName.intimacyAnalyseAnalysisUseAiTip,
|
|
|
|
|
+ radius: 30.r,
|
|
|
|
|
+ padding: EdgeInsets.symmetric(vertical: 7.h),
|
|
|
|
|
+ onPressed: () {},
|
|
|
|
|
+ ),
|
|
|
|
|
+ );
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// 构建卡片列表
|
|
/// 构建卡片列表
|