|
|
@ -611,29 +611,29 @@ class _GoodDetailPageState extends State<GoodDetailPage> {
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
40.wb,
|
|
|
|
40.wb,
|
|
|
|
GestureDetector(
|
|
|
|
// GestureDetector(
|
|
|
|
onTap: () async {
|
|
|
|
// onTap: () async {
|
|
|
|
await CollectionFunc.collection(_goodDetail!.id);
|
|
|
|
// await CollectionFunc.collection(_goodDetail!.id);
|
|
|
|
_refreshController.callRefresh();
|
|
|
|
// _refreshController.callRefresh();
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
child: Column(
|
|
|
|
// child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
// children: [
|
|
|
|
Image.asset(
|
|
|
|
// Image.asset(
|
|
|
|
_goodDetail!.isCollection == 0
|
|
|
|
// _goodDetail!.isCollection == 0
|
|
|
|
? R.ASSETS_ICONS_ICON_GOOD_FAVOR_PNG
|
|
|
|
// ? R.ASSETS_ICONS_ICON_GOOD_FAVOR_PNG
|
|
|
|
: R.ASSETS_ICONS_SHOP_FAVORFILL_PNG,
|
|
|
|
// : R.ASSETS_ICONS_SHOP_FAVORFILL_PNG,
|
|
|
|
width: 48.w,
|
|
|
|
// width: 48.w,
|
|
|
|
height: 48.w,
|
|
|
|
// height: 48.w,
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
Text(
|
|
|
|
// Text(
|
|
|
|
'加入收藏',
|
|
|
|
// '加入收藏',
|
|
|
|
style: TextStyle(fontSize: 20.sp, color: ktextPrimary),
|
|
|
|
// style: TextStyle(fontSize: 20.sp, color: ktextPrimary),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
],
|
|
|
|
// ],
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
40.wb,
|
|
|
|
40.wb,
|
|
|
|
GestureDetector(
|
|
|
|
GestureDetector(
|
|
|
|
onTap: () async {
|
|
|
|
onTap: () async {
|
|
|
@ -656,7 +656,7 @@ class _GoodDetailPageState extends State<GoodDetailPage> {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
40.wb,
|
|
|
|
80.wb,
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
GestureDetector(
|
|
|
|
GestureDetector(
|
|
|
|