Commit 00f70d15 authored by 林生雨's avatar 林生雨

W

parent 0a333dc3
......@@ -10,6 +10,7 @@ import 'package:gm_flutter/ClueModel/page/mechanismBox/MechanismModel.dart';
import 'package:gm_flutter/commonModel/bean/Pair.dart';
import 'package:gm_flutter/commonModel/util/DartUtil.dart';
import 'package:gm_flutter/commonModel/util/NativeToast.dart';
import 'package:gm_flutter/commonModel/view/ImagesAnimation.dart';
import 'package:gm_flutter/main.mark.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
......@@ -75,7 +76,14 @@ class MechanismBox implements IBottomPicker {
});
}
if (data.data == LOADING) {
return loadingItem();
// return loadingItem();
return Center(
child: ImagesAnimation(
h: 100,
durationSeconds: 1500,
entry: ImagesAnimationEntry(
1, 16, "assets/ptr_header_loading")),
);
}
return setupHome(mq, keyHeight, context);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment