|
|
@@ -10,12 +10,14 @@ import 'package:keyboard/module/store/store_controller.dart';
|
|
|
import 'package:keyboard/module/store/store_user_reviews_bean.dart';
|
|
|
import 'package:keyboard/resource/string.gen.dart';
|
|
|
|
|
|
+import '../../data/consts/constants.dart';
|
|
|
import '../../resource/assets.gen.dart';
|
|
|
import '../../router/app_pages.dart';
|
|
|
import '../../utils/date_util.dart';
|
|
|
import '../../widget/horizontal_dashed_line.dart';
|
|
|
import '../../utils/styles.dart';
|
|
|
import '../../widget/click_text_span.dart';
|
|
|
+import '../browser/browser_page.dart';
|
|
|
|
|
|
class StorePage extends BasePage<StoreController> {
|
|
|
const StorePage({super.key});
|
|
|
@@ -475,9 +477,8 @@ class StorePage extends BasePage<StoreController> {
|
|
|
return Container(
|
|
|
alignment: Alignment.centerLeft,
|
|
|
margin: EdgeInsets.symmetric(horizontal: 16.w),
|
|
|
- padding: EdgeInsets.symmetric(horizontal: 16.w),
|
|
|
+ padding: EdgeInsets.symmetric(horizontal: 16.w,vertical: 8.w),
|
|
|
width: double.infinity,
|
|
|
- height: 36.h,
|
|
|
decoration: ShapeDecoration(
|
|
|
gradient: LinearGradient(
|
|
|
begin: Alignment(0.00, 0.50),
|
|
|
@@ -499,13 +500,34 @@ class StorePage extends BasePage<StoreController> {
|
|
|
),
|
|
|
],
|
|
|
),
|
|
|
+ child: Column(
|
|
|
|
|
|
- child: Obx(() {
|
|
|
- return Text(
|
|
|
- controller.selectedGoodsInfoItem?.selectDesc ?? "",
|
|
|
- style: Styles.getTextStyle99673300W400(12.sp),
|
|
|
- );
|
|
|
- }),
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
+ children: [
|
|
|
+ Obx(() {
|
|
|
+ return Text(
|
|
|
+ controller.selectedGoodsInfoItem?.selectDesc ?? "",
|
|
|
+ style: Styles.getTextStyle99673300W400(12.sp),
|
|
|
+ );
|
|
|
+ }),
|
|
|
+ Visibility(visible:!isNotHWChannel(),child: Container(
|
|
|
+ alignment: Alignment.centerLeft,
|
|
|
+ child: GestureDetector(
|
|
|
+ onTap: () {
|
|
|
+ BrowserPage.start(WebUrl.memberServiceAgreement);
|
|
|
+ },
|
|
|
+ child:Text(
|
|
|
+ StringName.textSpanMembershipAgreement,
|
|
|
+ style: TextStyle(
|
|
|
+ color: const Color(0xFF459FFF),
|
|
|
+ fontSize: 10.sp,
|
|
|
+ fontWeight: FontWeight.w400,
|
|
|
+ ),
|
|
|
+ ),),
|
|
|
+ ), )
|
|
|
+
|
|
|
+ ],
|
|
|
+ ),
|
|
|
);
|
|
|
}
|
|
|
|