This commit is contained in:
2026-01-29 19:26:59 +08:00
parent 1177be821a
commit d09faac1d2
7 changed files with 56 additions and 29 deletions

View File

@@ -4,6 +4,7 @@ import 'package:ln_jq_app/common/login_util.dart';
import 'package:ln_jq_app/common/styles/theme.dart';
import 'package:ln_jq_app/pages/b_page/history/view.dart';
import 'package:ln_jq_app/pages/c_page/message/view.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'controller.dart';
@@ -19,7 +20,12 @@ class SitePage extends GetView<SiteController> {
builder: (_) {
return Scaffold(
backgroundColor: Color.fromRGBO(247, 249, 251, 1),
body: SingleChildScrollView(child: _buildView(context)),
body: SmartRefresher(
controller: controller.refreshController,
enablePullUp: false,
onRefresh: controller.onRefresh,
child: SingleChildScrollView(child: _buildView(context)),
),
);
},
);
@@ -127,10 +133,10 @@ class SitePage extends GetView<SiteController> {
],
),
),
SizedBox(height: 35.h),
],
),
),
SizedBox(height: 75.h),
],
);
}
@@ -180,12 +186,11 @@ class SitePage extends GetView<SiteController> {
),
),
IconButton(
onPressed: () async{
onPressed: () async {
var scanResult = await Get.to(() => const MessagePage());
if (scanResult == null) {
controller.msgNotice();
}
},
style: IconButton.styleFrom(
backgroundColor: Colors.grey[100],
@@ -495,7 +500,7 @@ class SitePage extends GetView<SiteController> {
"预约量:${item.amount}",
style: TextStyle(
color: Color(0xFF00A870),
fontSize: 12.sp,
fontSize: 13.sp,
fontWeight: FontWeight.bold,
),
),
@@ -510,7 +515,7 @@ class SitePage extends GetView<SiteController> {
"${item.contactPerson} | ${item.contactPhone}",
style: TextStyle(
color: Color(0xFF999999),
fontSize: 12.sp,
fontSize: 13.sp,
fontWeight: FontWeight.w400,
),
),