|
|
|
@ -35,22 +35,6 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
child: Column( |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
// InkWell( |
|
|
|
|
// onTap: () { |
|
|
|
|
// SharedPreferences.getInstance().then((value) { |
|
|
|
|
// if (value.getString("token") == null || |
|
|
|
|
// value.getString("token") == "") { |
|
|
|
|
// LoginTipsDialog().show(context); |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
// Navigator.of(context).pushNamed('/router/mine_wallet'); |
|
|
|
|
// }); |
|
|
|
|
// }, |
|
|
|
|
// child: mineItem( |
|
|
|
|
// S.of(context).wodeqianbao, |
|
|
|
|
// "assets/image/icon_mine_wallet.webp", |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
Container( |
|
|
|
|
padding: EdgeInsets.only(left: 16,top:16,bottom:4), |
|
|
|
|
child: Text( |
|
|
|
@ -85,6 +69,8 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
|
|
|
|
|
///兑换历史 |
|
|
|
|
Expanded(child: InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
SharedPreferences.getInstance().then((value) { |
|
|
|
@ -102,6 +88,7 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
"assets/image/icon_mine_records_of_consumption.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
///我的卡券 |
|
|
|
|
Expanded(child: InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
SharedPreferences.getInstance().then((value) { |
|
|
|
@ -118,6 +105,7 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
"assets/image/icon_mine_card.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
///管理地址 |
|
|
|
|
Expanded(child: InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
SharedPreferences.getInstance().then((value) { |
|
|
|
@ -134,46 +122,64 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
"assets/image/icon_location_address.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
///联系客服 |
|
|
|
|
Expanded(child: InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
Navigator.of(context).pushNamed('/router/qr_share', arguments: {}); |
|
|
|
|
showCallMobile(); |
|
|
|
|
}, |
|
|
|
|
child: mineItem( |
|
|
|
|
S.of(context).tuiguangma, |
|
|
|
|
"assets/image/icon_mine_promotion_code.webp", |
|
|
|
|
"联系客服", |
|
|
|
|
"assets/image/icon_mine_online_service.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 10.h,), |
|
|
|
|
Row( |
|
|
|
|
children: [ |
|
|
|
|
Expanded(child: |
|
|
|
|
InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
Navigator.of(context) |
|
|
|
|
.pushNamed('/router/bargain_group_order', |
|
|
|
|
arguments: {"type":3}); |
|
|
|
|
}, |
|
|
|
|
child: mineItem( |
|
|
|
|
S.of(context).wodekanjia, |
|
|
|
|
"assets/image/icon_mine_records_of_consumption.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
Expanded(child: InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
Navigator.of(context).pushNamed('/router/invitation_record', arguments: {}); |
|
|
|
|
Navigator.of(context).pushNamed('/router/bargain_group_order', |
|
|
|
|
arguments: {"type":1}); |
|
|
|
|
}, |
|
|
|
|
child: mineItem( |
|
|
|
|
"邀请记录", |
|
|
|
|
"assets/image/yao_q.webp", |
|
|
|
|
S.of(context).wodepintuan, |
|
|
|
|
"assets/image/kan_jia.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
///联系客服 |
|
|
|
|
Expanded(child: InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
showCallMobile(); |
|
|
|
|
Navigator.of(context).pushNamed('/router/qr_share', arguments: {}); |
|
|
|
|
}, |
|
|
|
|
child: mineItem( |
|
|
|
|
"联系客服", |
|
|
|
|
"assets/image/icon_mine_online_service.webp", |
|
|
|
|
S.of(context).tuiguangma, |
|
|
|
|
"assets/image/pin_tuan.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
Expanded(child:InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
Navigator.of(context).pushNamed('/router/invitation_record', arguments: {}); |
|
|
|
|
}, |
|
|
|
|
child: mineItem( |
|
|
|
|
"邀请记录", |
|
|
|
|
"assets/image/yao_q.webp", |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
Expanded(child:Container()), |
|
|
|
|
Expanded(child:Container()) |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
// mineItem( |
|
|
|
|
// S.of(context).bangzhuyufankui, |
|
|
|
|
// "assets/image/icon_mine_feedback.webp", |
|
|
|
|
// ), |
|
|
|
|
SizedBox(height: 10.h,), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
@ -204,11 +210,6 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
// Icon( |
|
|
|
|
// Icons.keyboard_arrow_right, |
|
|
|
|
// size: 20, |
|
|
|
|
// color: Colors.black, |
|
|
|
|
// ) |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|