|
|
|
@ -261,7 +261,7 @@ class _HyshPageState extends State<HyshContentNew> with SingleTickerProviderStat
|
|
|
|
imageUrl: url,
|
|
|
|
imageUrl: url,
|
|
|
|
alignment: Alignment.topCenter,
|
|
|
|
alignment: Alignment.topCenter,
|
|
|
|
imageBuilder: (context, imageProvider) => DragScaleContainer(
|
|
|
|
imageBuilder: (context, imageProvider) => DragScaleContainer(
|
|
|
|
doubleTapStillScale: true, child: Image(image: imageProvider)
|
|
|
|
doubleTapStillScale: true, child: Image(image: imageProvider, fit: BoxFit.fill)
|
|
|
|
// child: Image(
|
|
|
|
// child: Image(
|
|
|
|
// image: NetworkImage(
|
|
|
|
// image: NetworkImage(
|
|
|
|
// 'http://h.hiphotos.baidu.com/zhidao/wh%3D450%2C600/sign=0d023672312ac65c67506e77cec29e27/9f2f070828381f30dea167bbad014c086e06f06c.jpg'),
|
|
|
|
// 'http://h.hiphotos.baidu.com/zhidao/wh%3D450%2C600/sign=0d023672312ac65c67506e77cec29e27/9f2f070828381f30dea167bbad014c086e06f06c.jpg'),
|
|
|
|
@ -550,9 +550,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().setHeight(22 + 1022 * (9 / 16)), // 兴文县的违章图片无法获取,暂时调整
|
|
|
|
height: ScreenUtil().setHeight(22 + 1022 * g_radioImage), // 兴文县的违章图片无法获取,暂时调整
|
|
|
|
height: ScreenUtil()
|
|
|
|
// height: ScreenUtil()
|
|
|
|
.setHeight(22 + 1022 * (ratioList.isNotEmpty ? ratioList[index] : 9 / 16)),
|
|
|
|
// .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(
|
|
|
|
@ -565,9 +565,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)), // 兴文县的违章图片无法获取,暂时调整
|
|
|
|
height: ScreenUtil().setHeight(1022 * g_radioImage),
|
|
|
|
|
|
|
|
// 兴文县的违章图片无法获取,暂时调整
|
|
|
|
child: getNetworkImage(getMediaUrl(listGetZpjl[index]['pic_url'])),
|
|
|
|
child: getNetworkImage(getMediaUrl(listGetZpjl[index]['pic_url'])),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|