|
|
@@ -350,11 +350,7 @@ class TalkPage extends BasePage<TalkController> {
|
|
|
return Obx(() {
|
|
|
if (controller.talkBean.value?.status.value == TalkStatus.notAnalysis &&
|
|
|
controller.isUploading.value != true) {
|
|
|
- if (controller.isShowElectricLow.value) {
|
|
|
- return buildElectricLowView();
|
|
|
- } else {
|
|
|
- return buildNotAnalysisView();
|
|
|
- }
|
|
|
+ return buildNotAnalysisView();
|
|
|
} else {
|
|
|
return buildTabContentView();
|
|
|
}
|
|
|
@@ -414,53 +410,6 @@ class TalkPage extends BasePage<TalkController> {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- Widget buildElectricLowView() {
|
|
|
- return GestureDetector(
|
|
|
- onTap: () {
|
|
|
- controller.onGoElectricStore();
|
|
|
- },
|
|
|
- child: Container(
|
|
|
- color: const Color(0xFFDFE4FC),
|
|
|
- padding:
|
|
|
- EdgeInsets.only(left: 16.w, right: 12.w, top: 8.h, bottom: 8.h),
|
|
|
- child: Row(
|
|
|
- children: [
|
|
|
- SizedBox(
|
|
|
- width: 46.w,
|
|
|
- height: 56.w,
|
|
|
- child: Assets.images.iconTalkElectricLow.image()),
|
|
|
- SizedBox(width: 10.w),
|
|
|
- IntrinsicHeight(
|
|
|
- child: Column(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
- children: [
|
|
|
- SizedBox(
|
|
|
- width: 90.w,
|
|
|
- height: 21.w,
|
|
|
- child: Assets.images.iconTalkElectricLowTxt.image()),
|
|
|
- SizedBox(width: 1.w),
|
|
|
- Text(StringName.talkElectricLow.tr,
|
|
|
- style: TextStyle(
|
|
|
- fontSize: 12.sp,
|
|
|
- color: ColorName.secondaryTextColor)),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- const Spacer(),
|
|
|
- Container(
|
|
|
- decoration: getPrimaryBtnDecoration(8),
|
|
|
- width: 100.w,
|
|
|
- height: 36.w,
|
|
|
- child: Center(
|
|
|
- child: Text(StringName.talkGoStore.tr,
|
|
|
- style:
|
|
|
- TextStyle(fontSize: 16.sp, color: ColorName.white)),
|
|
|
- ))
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
|
|
|
Widget buildBottomView() {
|
|
|
return Obx(() {
|