|
|
@@ -459,53 +459,22 @@ class KeyBoardView extends BaseView<KeyBoardController> {
|
|
|
GestureDetector(
|
|
|
onTap: controller.clickEasyReply,
|
|
|
child: Container(
|
|
|
- width: 166.w,
|
|
|
- height: 155.11.w,
|
|
|
- decoration: BoxDecoration(
|
|
|
- boxShadow: [
|
|
|
- BoxShadow(
|
|
|
- color: Colors.black.withValues(alpha: 0.10),
|
|
|
- offset: Offset(0, 6),
|
|
|
- blurRadius: 20,
|
|
|
- spreadRadius: 0,
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
+ width: 170.w,
|
|
|
+ height: 155.85.w,
|
|
|
child: Assets.images.bgKeyboardEasyReply.image(
|
|
|
fit: BoxFit.contain,
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
- SizedBox(width: 11.w),
|
|
|
+
|
|
|
Column(
|
|
|
children: [
|
|
|
_buildFeatureCard(
|
|
|
- bg: Assets.images.bgKeyboardIntimacyAnalyze.image(),
|
|
|
- title: Assets.images.iconKeyboardInitmacyTitle.image(
|
|
|
- width: 80.w,
|
|
|
- height: 19.h,
|
|
|
- ),
|
|
|
- subtitle: StringName.keyboardIntimacySubtitle,
|
|
|
- logo: Assets.images.iconKeyboardIntimacyLogo.image(
|
|
|
- width: 69.w,
|
|
|
- height: 68.w,
|
|
|
- fit: BoxFit.cover,
|
|
|
- ),
|
|
|
+ bg: Assets.images.bgKeyboardIntimacyAnalyze.image(width: 162.w,height: 77.5.w,fit: BoxFit.contain,),
|
|
|
onTap: controller.clickIntimacyAnalyze,
|
|
|
),
|
|
|
- SizedBox(height: 10.h),
|
|
|
_buildFeatureCard(
|
|
|
- bg: Assets.images.bgKeyboardScreenshotReply.image(),
|
|
|
- title: Assets.images.iconKeyboardScreenshotTitle.image(
|
|
|
- width: 72.w,
|
|
|
- height: 22.h,
|
|
|
- ),
|
|
|
- subtitle: StringName.keyboardScreenshotSubtitle,
|
|
|
- logo: Assets.images.iconKeyboardScreenshotLogo.image(
|
|
|
- width: 67.w,
|
|
|
- height: 59.w,
|
|
|
- fit: BoxFit.cover,
|
|
|
- ),
|
|
|
+ bg: Assets.images.bgKeyboardScreenshotReply.image(width: 162.w,height: 77.5.w,fit: BoxFit.contain,),
|
|
|
onTap: controller.clickScreenshotReply,
|
|
|
),
|
|
|
],
|
|
|
@@ -520,62 +489,12 @@ class KeyBoardView extends BaseView<KeyBoardController> {
|
|
|
// 功能卡片
|
|
|
Widget _buildFeatureCard({
|
|
|
required Widget bg,
|
|
|
- required Widget title,
|
|
|
- required String subtitle,
|
|
|
- required Widget logo,
|
|
|
required VoidCallback onTap,
|
|
|
}) {
|
|
|
return GestureDetector(
|
|
|
onTap: onTap,
|
|
|
- child: SizedBox(
|
|
|
- height: 73.h,
|
|
|
- width: 159.w,
|
|
|
- child: Stack(
|
|
|
- clipBehavior: Clip.none,
|
|
|
- children: [
|
|
|
- Positioned(
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- boxShadow: [
|
|
|
- BoxShadow(
|
|
|
- color: Colors.black.withValues(alpha: 0.10),
|
|
|
- offset: Offset(0, 6),
|
|
|
- blurRadius: 20,
|
|
|
- spreadRadius: 0,
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- child: bg,
|
|
|
- ),
|
|
|
- ),
|
|
|
- Row(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
- children: [
|
|
|
- Container(
|
|
|
- padding: EdgeInsets.only(top: 12.h, left: 8.w),
|
|
|
- child: Column(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
- children: [
|
|
|
- title,
|
|
|
- Padding(
|
|
|
- padding: EdgeInsets.only(left: 2.w),
|
|
|
- child: Text(
|
|
|
- subtitle,
|
|
|
- style: TextStyle(
|
|
|
- color: Colors.black.withAlpha(128),
|
|
|
- fontSize: 10.sp,
|
|
|
- fontWeight: FontWeight.w400,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- Positioned(top: -5.h, right: 5.w, child: logo),
|
|
|
- ],
|
|
|
- ),
|
|
|
+ child: Container(
|
|
|
+ child: bg,
|
|
|
),
|
|
|
);
|
|
|
}
|