修复店铺文字显示尺寸,启动动画缩小到2s

master
laiiihz 5 years ago
parent 9c7371753b
commit 229b96027b

@ -255,8 +255,11 @@ class ShopPageLineProgressWidgetState
// : "assets/camel_pop_right.png"),
Center(
child: Container(
width: rSize(80),
padding: EdgeInsets.symmetric(horizontal: rSize(8)),
width: rSize(100),
padding: EdgeInsets.symmetric(
horizontal: rSize(8),
vertical: rSize(4),
),
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.2),
borderRadius: BorderRadius.circular(rSize(6)),
@ -264,6 +267,7 @@ class ShopPageLineProgressWidgetState
// padding: EdgeInsets.symmetric(horizontal: 20),
child: Text(widget.camelTitle,
maxLines: 2,
overflow: TextOverflow.visible,
style: TextStyle(
color: Colors.white, fontSize: 10)),
)),

@ -43,7 +43,7 @@ class _LaunchWidgetState extends BaseStoreState<LaunchWidget>
}
WidgetsBinding.instance.addPostFrameCallback((callback) {
// _gifController.repeat(min: 0, max:59, period: Duration(milliseconds: 1500));
Future.delayed(Duration(milliseconds: 2355), () {
Future.delayed(Duration(milliseconds: 2000), () {
AppRouter.fadeAndReplaced(globalContext, RouteName.WELCOME_PAGE);
});
});
@ -60,8 +60,8 @@ class _LaunchWidgetState extends BaseStoreState<LaunchWidget>
child: ImagesAnimation(
w: width,
h: height,
milliseconds: 2355,
entry: ImagesAnimationEntry(0,70,
milliseconds: 2000,
entry: ImagesAnimationEntry(0, 70,
"assets/recook_launch_image/recook_launch_image_%s.png")),
),
);

@ -2,7 +2,7 @@ name: recook
description: Recook Market App.
publish_to: "none"
version: 1.1.17+159
version: 1.1.18+160
environment:
sdk: ">=2.1.0 <3.0.0"

Loading…
Cancel
Save