Browse Source

safety

master
fmk 4 years ago
parent
commit
c7917c6155
  1. 7
      lib/order/order_detail_page.dart
  2. 4
      lib/order/order_history_page.dart
  3. 2
      lib/union/union_details_page.dart

7
lib/order/order_detail_page.dart

@ -883,8 +883,7 @@ class _OrderDetailPage extends State<OrderDetailPage> {
if (orderInfo == null) return [];
List<Widget> widgets = [];
if (orderInfo.productList != null) {
widgets
.addAll(orderInfo.productList.map((e) => commodityItem(e)).toList());
widgets.addAll(orderInfo.productList.map((e) => commodityItem(e)).toList());
}
widgets.add(SizedBox(height: 20.h));
@ -904,7 +903,7 @@ class _OrderDetailPage extends State<OrderDetailPage> {
//
widgets.add(discountItem(
Color(0xFF32A060),
"优惠券",
S.of(context).youhuiquan,
orderInfo.orderDetail.couponDTO.name,
orderInfo.orderDetail.couponDTO.money));
}
@ -1110,7 +1109,7 @@ class _OrderDetailPage extends State<OrderDetailPage> {
children: [
MImage(
productList.skuImg,
width: 44,
width: 44.w,
height: 44,
fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png",

4
lib/order/order_history_page.dart

@ -503,8 +503,8 @@ class _OrderHistoryList extends State<OrderHistoryList>
children: [
MImage(
e.skuImg,
width: 75,
height: 75,
width: 75.w,
height: 75.w,
fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png",
fadeSrc: "assets/image/default_1.png",

2
lib/union/union_details_page.dart

@ -582,7 +582,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
.bizType ==
5)
? S.of(context).duihuanquan
: "${storeInfo.couponVOList[position].discountPercent / 10}",
: "${storeInfo.couponVOList[position].discountPercent ~/ 10}",
style: TextStyle(
fontSize: 36.sp,
color: Color(0xFFFF7A1A),

Loading…
Cancel
Save