WinUser01 4 years ago
parent 5858241cfa
commit 15b37526b5

@ -46,9 +46,15 @@ import 'UserInfo.dart';
// String yibin_QuXian = '宜宾'; // String yibin_QuXian = '宜宾';
// String copyright_info = '© ' + yibin_QuXian + '市生态环境局 四川省踏石科技有限公司 版权所有' + service_tel; // String copyright_info = '© ' + yibin_QuXian + '市生态环境局 四川省踏石科技有限公司 版权所有' + service_tel;
// String copyright_info_PinYin = 'YIBIN BLACK SMOKE CAR CAPTURE SYSTEM'; // String copyright_info_PinYin = 'YIBIN BLACK SMOKE CAR CAPTURE SYSTEM';
// const serviceUrl_ybqx = 'http://125.64.218.67:9904';
// const serviceUrl_ybqx = 'http://125.64.218.67:9904'; //
// const serviceUrl_ybqx_media = 'http://125.64.218.67:9908/'; //
//
const serviceUrl_ybqx = 'http://125.64.218.67:9909'; const serviceUrl_ybqx = 'http://125.64.218.67:9909';
// http://125.64.218.67:9912/
const serviceUrl_ybqx_media = 'http://125.64.218.67:9912/';
// 511502 // 511502
// int qxdm = 511502; // int qxdm = 511502;
// String service_tel = ''; // String service_tel = '';

@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import '../config/service_url.dart'; import '../config/service_url.dart';
import 'commonFun.dart';
double my_fontSize = 16; double my_fontSize = 16;
double my_listTileHeight = 30; double my_listTileHeight = 30;
@ -1477,7 +1478,7 @@ String getMediaUrl(String mediaUrl) {
while ('/' == mediaUrl[0]) { while ('/' == mediaUrl[0]) {
mediaUrl = mediaUrl.substring(1); mediaUrl = mediaUrl.substring(1);
} }
return ServiceMediaUrl + mediaUrl; return serviceUrl_ybqx_media + mediaUrl;
} }
//ip //ip

@ -14,7 +14,7 @@
//http://125.64.218.67:9908 //http://125.64.218.67:9908
import 'package:hyzp_ybqx511528_xingwen/components/commonFun.dart'; import 'package:hyzp_ybqx511528_xingwen/components/commonFun.dart';
const ServiceMediaUrl = 'http://125.64.218.67:9908/'; //const serviceUrl_ybqx_media = 'http://125.64.218.67:9908/';
//20201222 //20201222
//http://125.64.218.67:9901/docs.php //http://125.64.218.67:9901/docs.php

@ -563,9 +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().setHeight(22 + 1022 * (9 / 16)), // // height: ScreenUtil().setHeight(22 + 1022 * (9 / 16)), //
// 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(
@ -578,10 +578,9 @@ 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 * (9 / 16)), //
//
child: getNetworkImage(getMediaUrl(listGetZpjl[index]['pic_url'])), child: getNetworkImage(getMediaUrl(listGetZpjl[index]['pic_url'])),
), ),
) )

Loading…
Cancel
Save