|
|
|
@ -69,16 +69,14 @@ class _MineVipLevelPage extends State<MineVipLevelPage> {
|
|
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
|
child: Column( |
|
|
|
|
children: [ |
|
|
|
|
AspectRatio( |
|
|
|
|
aspectRatio: 1.6, |
|
|
|
|
Container( |
|
|
|
|
height: 224.h , |
|
|
|
|
child: Swiper( |
|
|
|
|
viewportFraction: 0.95, |
|
|
|
|
loop: false, |
|
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
|
// index: (ranks != null && ranks.isNotEmpty) ? widget.arguments["rankLevel"] - 1 : 0, |
|
|
|
|
controller: controller, |
|
|
|
|
itemBuilder: (context, position) { |
|
|
|
|
// if(ranks == null || ranks.isEmpty) return Container(width: 10, height: 10,); |
|
|
|
|
return MineVipView( |
|
|
|
|
position + 1, |
|
|
|
|
curLevel: widget.arguments["rankLevel"], |
|
|
|
|