|
|
@@ -18,7 +18,6 @@ import 'package:get/get.dart';
|
|
|
|
|
|
import '../../data/bean/agenda.dart';
|
|
|
import '../../router/app_pages.dart';
|
|
|
-import '../../utils/toast_util.dart';
|
|
|
import '../talk/view.dart';
|
|
|
import '../task/task_item_view.dart';
|
|
|
import 'controller.dart';
|
|
|
@@ -264,35 +263,30 @@ class HomePage extends BasePage<HomePageController> {
|
|
|
}
|
|
|
|
|
|
Row buildOperationBar() {
|
|
|
- return Row(children: [
|
|
|
- buildGoLogin(), const Spacer()
|
|
|
- // , buildGoStore()
|
|
|
- ]);
|
|
|
+ return Row(children: [buildGoLogin(), const Spacer(), buildGoStore()]);
|
|
|
}
|
|
|
|
|
|
GestureDetector buildGoStore() {
|
|
|
return GestureDetector(
|
|
|
child: DecoratedBox(
|
|
|
decoration: BoxDecoration(
|
|
|
- color: Colors.white,
|
|
|
+ color: "#F6F5F8".toColor(),
|
|
|
borderRadius: BorderRadius.circular(16),
|
|
|
),
|
|
|
child: Padding(
|
|
|
- padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 2).w,
|
|
|
+ padding:
|
|
|
+ const EdgeInsets.symmetric(horizontal: 10, vertical: 5).w,
|
|
|
child: Row(
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
children: [
|
|
|
SizedBox(
|
|
|
- width: 28.w,
|
|
|
- height: 28.w,
|
|
|
- child: Assets.images.iconCharge.image()),
|
|
|
- SizedBox(width: 4.w),
|
|
|
- SizedBox(
|
|
|
- width: 28.w, child: Assets.images.iconChargeTxt.image()),
|
|
|
- SizedBox(
|
|
|
- width: 12.w,
|
|
|
- height: 12.w,
|
|
|
- child: Assets.images.iconChargeArrow.image()),
|
|
|
+ width: 20.w,
|
|
|
+ height: 20.w,
|
|
|
+ child: Assets.images.iconHomeCharge.image()),
|
|
|
+ SizedBox(width: 2.w),
|
|
|
+ Text(StringName.homeChargeTxt.tr,
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 15.sp, color: ColorName.primaryTextColor)),
|
|
|
],
|
|
|
),
|
|
|
)),
|
|
|
@@ -338,21 +332,6 @@ class HomePage extends BasePage<HomePageController> {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- // Container buildTopGradient() {
|
|
|
- // return Container(
|
|
|
- // width: 1.sw,
|
|
|
- // height: 112.h,
|
|
|
- // decoration: BoxDecoration(
|
|
|
- // gradient: LinearGradient(
|
|
|
- // colors: ['#E8EBFF'.toColor(), '#00E8EBFF'.toColor()],
|
|
|
- // begin: Alignment.topCenter,
|
|
|
- // end: Alignment.bottomCenter,
|
|
|
- // stops: const [0.3, 1.0],
|
|
|
- // ),
|
|
|
- // )
|
|
|
- // );
|
|
|
- // }
|
|
|
-
|
|
|
DecoratedBox buildBgBox() {
|
|
|
return DecoratedBox(
|
|
|
decoration: const BoxDecoration(color: ColorName.white),
|