Browse Source

更改

master
w-R 3 years ago
parent
commit
96df9bb426
  1. 6
      lib/home/home_view/quick_order.dart
  2. 3
      lib/retrofit/data/store.dart

6
lib/home/home_view/quick_order.dart

@ -212,11 +212,13 @@ class _QuickOrder extends State<QuickOrder> {
left: 0,
right: 0,
child: ClipRRect(
child: Image.asset(
"assets/image/share_image_bg.png",
child: MImage(
store.facade,
width: double.infinity,
height: 95,
fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png",
fadeSrc: "assets/image/default_1.png",
),
borderRadius: BorderRadius.vertical(
top: Radius.circular(4),

3
lib/retrofit/data/store.dart

@ -19,6 +19,7 @@ class Store {
String storeName;
double distance;
String logo;
String facade;
String shipAddress;
dynamic remark;
String mobile;
@ -53,6 +54,7 @@ class Store {
..storeName = json['storeName'] as String
..distance = (json['distance'] as num)?.toDouble()
..logo = json['logo'] as String
..facade = json['facade'] as String
..shipAddress = json['shipAddress'] as String
..remark = json['remark']
..mobile = json['mobile'] as String
@ -89,6 +91,7 @@ class Store {
'storeName': this.storeName,
'distance': this.distance,
'logo': this.logo,
'facade': this.facade,
'shipAddress': this.shipAddress,
'remark': this.remark,
'mobile': this.mobile,

Loading…
Cancel
Save