211 lines
8.7 KiB
Dart
211 lines
8.7 KiB
Dart
import 'package:cathaypay_mobile/PinCode.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
|
|
class PointConditionPage extends StatefulWidget {
|
|
const PointConditionPage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<PointConditionPage> createState() => _PointConditionPageState();
|
|
}
|
|
|
|
class _PointConditionPageState extends State<PointConditionPage> {
|
|
bool ok = false;
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SingleChildScrollView(
|
|
child: Padding(
|
|
padding: EdgeInsets.all(20),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
children: [
|
|
Row(children: [
|
|
IconButton(
|
|
onPressed: () {
|
|
Navigator.of(context).pop();
|
|
},
|
|
icon: Icon(
|
|
Icons.arrow_back_ios,
|
|
color: Colors.black,
|
|
)),
|
|
Text(
|
|
"เงื่อนไขการโอนคะแนน",
|
|
style: TextStyle(
|
|
color: Color(0xff050505),
|
|
fontSize: 20,
|
|
),
|
|
),
|
|
Spacer(),
|
|
IconButton(
|
|
onPressed: () {
|
|
Navigator.of(context).pop();
|
|
},
|
|
icon: Icon(
|
|
Icons.close,
|
|
color: Colors.black,
|
|
)),
|
|
],),
|
|
SizedBox(width: 10,),
|
|
Padding(
|
|
padding: const EdgeInsets.all(10),
|
|
child: Row(crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
Image(
|
|
width: 60,height: 60,
|
|
image: AssetImage('images/transferpoint/mis.png'),
|
|
fit: BoxFit.cover,
|
|
),SizedBox(width: 20,),
|
|
Text(
|
|
"MISTINE",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 18,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
)
|
|
],
|
|
),
|
|
),
|
|
SizedBox(width: 10,),
|
|
Text(
|
|
"PT Max Point 1000 คะแนน = Better Way Point Rewards 500 คะแนน (2:1)",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
),
|
|
),
|
|
SizedBox(height: 10,),
|
|
Text(
|
|
"* หมายเหตุ : ลูกค้าสามารถโอนคะแนนขั้นต่ำที่ 1,000 คะแนน สูงสุด 12,000 คะแนน ต่อระยะเวลากิจกรรม",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
|
|
fontWeight: FontWeight.w300,
|
|
),
|
|
),
|
|
Divider(thickness: 1,color: Color(0xffa2c622),),
|
|
SizedBox(height: 10,),
|
|
Text(
|
|
"ระยะเวลาแคมเปญ : 1 เม.ษ. 64 - 30 มิ.ย. 64",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
),
|
|
),
|
|
SizedBox(height: 10,),
|
|
Text(
|
|
"ช่องทางการแลกคะแนน : ",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
),
|
|
),
|
|
SizedBox(height: 10,),
|
|
Text(
|
|
"• การโอนคะแนน PT Max Point เป็น Better Way Point \n ทำรายการผ่าน PT Max Rewards Application และ \n www.ptmaxcard.com\n• การโอนคะแนน Better Way Point เป็น PT Max Point \n ทำรายการผ่าน Yupin Application",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
),
|
|
),
|
|
SizedBox(height: 10,),
|
|
Text(
|
|
"เงื่อนไขการโอนคะแนน :",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
),
|
|
),
|
|
SizedBox(height: 10,),
|
|
Text(
|
|
"1. ขอสงวนสิทธิ์การเข้าร่วมรายการเฉพาะสมาชิก PT Max \n Card ที่เปิดใช้งาน และลงทะเบียนบัตรแล้ว และมีสถานะ\n การใช้งานปกติเท่านั้น\n2. คะแนนที่แลกแล้วไม่สามารถยกเลิก / เปลี่ยนแปลง \n หรือคืนเป็นเงินสดได้ ไม่ว่ากรณีใดๆ ทั้งสิ้น\n3. หลังการทำรายการเสร็จสมบูรณ์แล้ว คะแนน PT Max \n จะปรากฏในระบบและสามารถใช้ได้ทันที\n4. คะแนนสะสม PT Max มีอายุ 3 ปีนับจากวันที่โอนคะแนน \n โดยคะแนนสะสมที่ไม่นำมาแลกของรางวัลจะหมดอายุใน\n วันที่ 31 ธันวาคม ของปีปฏิทินที่ 3 และจะถูกหักออก\n จากคะแนนสะสมรวม ของสมาชิกโดยอัตโนมัติ\n5. บริษัทฯ ขอสงวนสิทธิ์ในการเปลี่ยนแปลงเงื่อนไข \n โดยไม่ต้องแจ้งให้ทราบล่วงหน้า\n6. กรณีมีข้อพิพาท คำตัดสินของบริษัทฯ ถือเป็นที่สิ้นสุด\n7. รายละเอียดเพิ่มเติมที่ PT Call Center : 1614 หรือ \n Mistine Call Center : 02-118-5111",
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 16,
|
|
),
|
|
),
|
|
SizedBox(height: 10,),
|
|
|
|
Row(
|
|
children: [
|
|
Padding(
|
|
padding: const EdgeInsets.only(top: 20,bottom: 20,right: 10),
|
|
child: SizedBox(
|
|
height: 24.0,
|
|
width: 24.0,
|
|
child: Checkbox(
|
|
checkColor: Colors.white,
|
|
activeColor: Color(0xff9d001b),
|
|
value: ok,
|
|
onChanged: (value) {
|
|
setState(() {
|
|
ok = value!;
|
|
});
|
|
},
|
|
)),
|
|
),
|
|
Text(
|
|
"ยอมรับข้อกำหนดและเงื่อนไข",
|
|
style: GoogleFonts.kanit(
|
|
color: Color(0xff65676b),
|
|
fontSize: 16,
|
|
|
|
fontWeight: FontWeight.w300,
|
|
),
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
InkWell(
|
|
onTap: ok
|
|
? null
|
|
//() {
|
|
// print(ok);
|
|
// Navigator.push(
|
|
// context,
|
|
// MaterialPageRoute(
|
|
// builder: (context) => PinCodePage(login: null,),
|
|
// ),
|
|
// );
|
|
// }
|
|
: null,
|
|
child: Container(
|
|
width: 374,
|
|
height: 48,
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.circular(100),
|
|
color: ok?Color(0xff9d001b):Colors.grey,
|
|
),
|
|
padding: const EdgeInsets.only(
|
|
left: 136,
|
|
right: 135,
|
|
),
|
|
child: Row(
|
|
mainAxisSize: MainAxisSize.min,
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
Text(
|
|
"ยอมรับ",
|
|
textAlign: TextAlign.center,
|
|
style: GoogleFonts.kanit(
|
|
color: Colors.white,
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
)
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|