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

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

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