|
...
|
...
|
@@ -186,6 +186,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
|
|
|
|
_goBaseInfoPage() async {
|
|
|
|
bool needRefresh = await NavigatorUtil.goBaseInfoPage(context);
|
|
|
|
Utils.changeStatusColor(color: Colors.transparent);
|
|
|
|
if (needRefresh != null && needRefresh) {
|
|
|
|
//刷新页面数据
|
|
|
|
_getCustomerActivityBaseinfo();
|
|
...
|
...
|
@@ -221,11 +222,22 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
);
|
|
|
|
return child;
|
|
|
|
});
|
|
|
|
Utils.setBarStatus(true, color: Colors.white);
|
|
|
|
// Utils.setBarStatus(true, color: Colors.white);
|
|
|
|
}
|
|
|
|
|
|
|
|
///浏览照片
|
|
|
|
///
|
|
|
|
void onTapDown(BuildContext context, TapDownDetails details) {
|
|
|
|
final RenderBox box = context.findRenderObject();
|
|
|
|
final Offset localOffset = box.globalToLocal(details.globalPosition);
|
|
|
|
final RenderBox containerBox = key.currentContext.findRenderObject();
|
|
|
|
final Offset containerOffset = containerBox.localToGlobal(localOffset);
|
|
|
|
final onTap = containerBox.paintBounds.contains(containerOffset);
|
|
|
|
if (onTap) {
|
|
|
|
_seePhoto();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
_seePhoto() {
|
|
|
|
List<String> temp = [];
|
|
|
|
if (_baseIndoProvider.photoList.length > 0) {
|
|
...
|
...
|
@@ -240,6 +252,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
// Utils.changeStatusColor(color: Colors.transparent);
|
|
|
|
// TODO: implement build
|
|
|
|
_baseIndoProvider = Provider.of<BaseIndoProvider>(context, listen: true);
|
|
|
|
couponProvider = Provider.of<CouponProvider>(context, listen: true);
|
|
...
|
...
|
@@ -533,9 +546,9 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
),
|
|
|
|
VEmptyView(28),
|
|
|
|
GestureDetector(
|
|
|
|
onTap: () {
|
|
|
|
_seePhoto();
|
|
|
|
},
|
|
|
|
onTapDown:
|
|
|
|
(TapDownDetails details) =>
|
|
|
|
onTapDown(context, details),
|
|
|
|
child: Container(
|
|
|
|
child: Stack(
|
|
|
|
alignment: Alignment.bottomCenter,
|
...
|
...
|
|