更新天气获取方式;更新关于我们和操作说明地址配置
This commit is contained in:
@@ -6,8 +6,9 @@ import 'package:vbvs_app/common/util/MyUtils.dart';
|
||||
import 'package:vbvs_app/component/tool/WebViewWidget.dart';
|
||||
|
||||
class HelpPage extends StatefulWidget {
|
||||
String url;
|
||||
late MyWebView webView;
|
||||
HelpPage({super.key});
|
||||
HelpPage({super.key, required this.url});
|
||||
|
||||
@override
|
||||
State<HelpPage> createState() => _HelpPageState();
|
||||
@@ -21,9 +22,10 @@ class _HelpPageState extends State<HelpPage> {
|
||||
super.initState();
|
||||
// pdfController.loadPdf();
|
||||
widget.webView = MyWebView(
|
||||
url: AppConstants().ent_type == 1
|
||||
? "https://mp.weixin.qq.com/s/hBo0FMYrpe04I2WV6wbcxQ"
|
||||
: "https://mp.weixin.qq.com/s/tOnQjYa7foFLgic-RMAb7Q",
|
||||
// url: AppConstants().ent_type == 1
|
||||
// ? "https://mp.weixin.qq.com/s/hBo0FMYrpe04I2WV6wbcxQ"
|
||||
// : "https://mp.weixin.qq.com/s/tOnQjYa7foFLgic-RMAb7Q",
|
||||
url: widget.url,
|
||||
onLoad: () {
|
||||
print('网页载入完毕');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user