hyzp_ybqx-Commit032:解决点击显示‘黑烟初审’记录时闪退问题,但没有违章图片
This commit is contained in:
@@ -8,7 +8,6 @@ import 'package:flutter/services.dart';
|
|||||||
import 'package:flutter_drag_scale/flutter_drag_scale.dart';
|
import 'package:flutter_drag_scale/flutter_drag_scale.dart';
|
||||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||||
import 'package:fluttertoast/fluttertoast.dart';
|
import 'package:fluttertoast/fluttertoast.dart';
|
||||||
import 'package:hyzp_ybqx511528_xingwen/widget/JdButton.dart';
|
|
||||||
import 'package:hyzp_ybqx511528_xingwen/widget/my_superplayer.dart';
|
import 'package:hyzp_ybqx511528_xingwen/widget/my_superplayer.dart';
|
||||||
import 'package:keyboard_avoider/keyboard_avoider.dart';
|
import 'package:keyboard_avoider/keyboard_avoider.dart';
|
||||||
import 'package:photo_view/photo_view.dart';
|
import 'package:photo_view/photo_view.dart';
|
||||||
@@ -564,8 +563,9 @@ class _HyshPageState extends State<HyshContentNew> with SingleTickerProviderStat
|
|||||||
Container(
|
Container(
|
||||||
width: ScreenUtil().setWidth(1022),
|
width: ScreenUtil().setWidth(1022),
|
||||||
//height: ScreenUtil().setHeight(639),
|
//height: ScreenUtil().setHeight(639),
|
||||||
height: ScreenUtil()
|
height: ScreenUtil().setHeight(22 + 1022 * (9 / 16)), // 兴文县的违章图片无法获取,暂时调整
|
||||||
.setHeight(22 + 1022 * (ratioList.isNotEmpty ? ratioList[index] : 9 / 16)),
|
// height: ScreenUtil()
|
||||||
|
// .setHeight(22 + 1022 * (ratioList.isNotEmpty ? ratioList[index] : 9 / 16)),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
//color: Colors.white,
|
//color: Colors.white,
|
||||||
borderRadius: BorderRadius.all(
|
borderRadius: BorderRadius.all(
|
||||||
@@ -578,8 +578,10 @@ class _HyshPageState extends State<HyshContentNew> with SingleTickerProviderStat
|
|||||||
top: ScreenUtil().setHeight(11),
|
top: ScreenUtil().setHeight(11),
|
||||||
child: Container(
|
child: Container(
|
||||||
width: ScreenUtil().setWidth(1022),
|
width: ScreenUtil().setWidth(1022),
|
||||||
height:
|
// height:
|
||||||
ScreenUtil().setHeight(1022 * (ratioList.isNotEmpty ? ratioList[index] : 9 / 16)),
|
// ScreenUtil().setHeight(1022 * (ratioList.isNotEmpty ? ratioList[index] : 9 / 16)),
|
||||||
|
height: ScreenUtil().setHeight(1022 * (9 / 16)),
|
||||||
|
// 兴文县的违章图片无法获取,暂时调整
|
||||||
child: getNetworkImage(getMediaUrl(listGetZpjl[index]['pic_url'])),
|
child: getNetworkImage(getMediaUrl(listGetZpjl[index]['pic_url'])),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user