提交 cfa2695d authored 作者: maodou's avatar maodou

1:订单内的简介修改为书籍名

上级 663471f9
...@@ -157,7 +157,7 @@ class BuiltAwaiting extends StatelessWidget { ...@@ -157,7 +157,7 @@ class BuiltAwaiting extends StatelessWidget {
text: TextSpan( text: TextSpan(
children: [ children: [
TextSpan( TextSpan(
text: model.cartList![0].introduction ?? '', text: model.cartList![0].name ?? '',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.medium, fontWeight: Fonts.medium,
......
...@@ -118,7 +118,7 @@ class BuiltCanceled extends StatelessWidget { ...@@ -118,7 +118,7 @@ class BuiltCanceled extends StatelessWidget {
text: TextSpan( text: TextSpan(
children: [ children: [
TextSpan( TextSpan(
text: model.cartList![0].introduction ?? '', text: model.cartList![0].name ?? '',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.medium, fontWeight: Fonts.medium,
......
...@@ -111,7 +111,7 @@ class BuiltCompleted extends StatelessWidget { ...@@ -111,7 +111,7 @@ class BuiltCompleted extends StatelessWidget {
text: TextSpan( text: TextSpan(
children: [ children: [
TextSpan( TextSpan(
text: model.cartList![0].introduction ?? '', text: model.cartList![0].name ?? '',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.medium, fontWeight: Fonts.medium,
......
...@@ -106,7 +106,7 @@ class BuiltRefunded extends StatelessWidget { ...@@ -106,7 +106,7 @@ class BuiltRefunded extends StatelessWidget {
text: TextSpan( text: TextSpan(
children: [ children: [
TextSpan( TextSpan(
text: model.cartList![0].introduction ?? '', text: model.cartList![0].name ?? '',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.medium, fontWeight: Fonts.medium,
......
...@@ -30,7 +30,6 @@ class UserSearchController extends GetxController ...@@ -30,7 +30,6 @@ class UserSearchController extends GetxController
/// 获取订单列表 /// 获取订单列表
Future<void> _getOrders({bool isRefresh = false, String keys ='',}) async { Future<void> _getOrders({bool isRefresh = false, String keys ='',}) async {
// 网路请求
final result = await MineAPI.orderList( final result = await MineAPI.orderList(
page: _page, limit: _limit, status: 0, keys: keys); page: _page, limit: _limit, status: 0, keys: keys);
orderList.clear(); orderList.clear();
......
...@@ -90,7 +90,7 @@ class _UserOrderAwaitingState extends State<UserOrderAwaitingPage> { ...@@ -90,7 +90,7 @@ class _UserOrderAwaitingState extends State<UserOrderAwaitingPage> {
CrossAxisAlignment.end, // 下面的Text靠左 CrossAxisAlignment.end, // 下面的Text靠左
children: [ children: [
Text( Text(
controller.model.bookList?[0].introduction??'', controller.model.bookList?[0].name??'',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.bold, fontWeight: Fonts.bold,
......
...@@ -82,7 +82,7 @@ class _UserOrderCompletedState extends State<UserOrderCompletedPage> { ...@@ -82,7 +82,7 @@ class _UserOrderCompletedState extends State<UserOrderCompletedPage> {
height: 47.5.w, height: 47.5.w,
child: Text( child: Text(
controller.model.bookList==null?'': controller.model.bookList==null?'':
controller.model.bookList![0].introduction??'', controller.model.bookList![0].name??'',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.bold, fontWeight: Fonts.bold,
......
...@@ -213,7 +213,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> { ...@@ -213,7 +213,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> {
Gaps.hGaps10, Gaps.hGaps10,
Expanded( Expanded(
child: Text( child: Text(
bookListModel.introduction.toString(), bookListModel.name.toString(),
style: TextStyle( style: TextStyle(
fontSize: 13.w, fontSize: 13.w,
height: 1.5, height: 1.5,
......
...@@ -75,7 +75,7 @@ class _UserOrderRefundedState extends State<UserOrderRefundedPage> { ...@@ -75,7 +75,7 @@ class _UserOrderRefundedState extends State<UserOrderRefundedPage> {
Container( Container(
height: 62.5.w, height: 62.5.w,
child: Text( child: Text(
controller.model?.bookList?[0].introduction??'', controller.model?.bookList?[0].name??'',
style: TextStyle( style: TextStyle(
color: Colours.c3, color: Colours.c3,
fontWeight: Fonts.bold, fontWeight: Fonts.bold,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论