| | |
| | | topLeft: Radius.circular(13), |
| | | topRight: Radius.circular(13)), |
| | | )), |
| | | Padding( |
| | | padding: EdgeInsets.only( |
| | | bottom: DimenUtil.getOnePixel(context)), |
| | | child: Row( |
| | | children: [ |
| | | Expanded(flex: 1, child: getNavItem("金币记录", 0)), |
| | | Expanded(flex: 1, child: getNavItem("折算记录", 1)), |
| | | ], |
| | | )) |
| | | Padding(padding:const EdgeInsets.only(bottom:0), child: |
| | | Row( |
| | | children: [ |
| | | Expanded(flex: 1, child: getNavItem("金币记录", 0)), |
| | | Expanded(flex: 1, child: getNavItem("折算记录", 1)), |
| | | ], |
| | | )) |
| | | ]), |
| | | Expanded( |
| | | child: Container( |
| | |
| | | topRight: Radius.circular(13)), |
| | | boxShadow: [ |
| | | BoxShadow( |
| | | color: Color(0xFF989898), |
| | | color: const Color(0x80989898), |
| | | offset: Offset((index == 0 ? 2 : -2), 0)) |
| | | ]) |
| | | : null, |
| | |
| | | |
| | | _refreshController.refreshCompleted(); |
| | | _refreshController.loadComplete(); |
| | | |
| | | if (result == null && _page == 1&&_recordList.isEmpty) { |
| | | _refreshController.apiError!(); |
| | | } |
| | | |
| | | if (result == null || result["code"] != 0) { |
| | | //页码回滚 |
| | | if (_page > 1) { |
| | |
| | | onTap(); |
| | | }, |
| | | child: Padding( |
| | | padding: const EdgeInsets.only(top: 20, left: 16, right: 16, bottom: 5), |
| | | padding: |
| | | const EdgeInsets.only(top: 20, left: 16, right: 16, bottom: 5), |
| | | child: Row( |
| | | mainAxisAlignment: MainAxisAlignment.spaceBetween, |
| | | crossAxisAlignment: CrossAxisAlignment.center, |