合并更新
This commit is contained in:
@@ -18,11 +18,22 @@ class _MhAboutUsPageState extends State<MhAboutUsPage> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
// pdfController.loadPdf();
|
||||
|
||||
String url;
|
||||
switch (AppConstants().ent_type) {
|
||||
case 1:
|
||||
url = "https://mp.weixin.qq.com/s/BrD3fTT2J2R-DxZrUuM4rw";
|
||||
break;
|
||||
case 2:
|
||||
url = "https://mp.weixin.qq.com/s/7BvvprVDqX1eOzM3Lms8dg";
|
||||
break;
|
||||
case 3:
|
||||
url = "https://mp.weixin.qq.com/s/BrD3fTT2J2R-DxZrUuM4rw";
|
||||
break;
|
||||
default:
|
||||
url = "https://mp.weixin.qq.com/s/BrD3fTT2J2R-DxZrUuM4rw";
|
||||
}
|
||||
widget.webView = MyWebView(
|
||||
url: AppConstants().ent_type == 1
|
||||
? "https://mp.weixin.qq.com/s/BrD3fTT2J2R-DxZrUuM4rw"
|
||||
: "https://mp.weixin.qq.com/s/7BvvprVDqX1eOzM3Lms8dg",
|
||||
url: url,
|
||||
onLoad: () {
|
||||
print('网页载入完毕');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user