|
...
|
...
|
@@ -303,27 +303,27 @@ class _SmsTemplateSettingPageState extends State<SmsTemplateSettingPage> { |
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
text: '预览效果',
|
|
|
|
width: w(100),
|
|
|
|
height: ScreenUtil().setWidth(80),
|
|
|
|
radius: ScreenUtil().setWidth(14),
|
|
|
|
gradientStart: MyColours.color_ffffff,
|
|
|
|
gradientEnd: MyColours.color_ffffff,
|
|
|
|
borderColor: MyColours.color_438E93,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
isBold: true,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
DialogUtil.cupertinoAlertDialog(context,
|
|
|
|
textAlign: TextAlign.left,
|
|
|
|
showlTitle: false,
|
|
|
|
content: canChange
|
|
|
|
? contentChangeStart + controller.text
|
|
|
|
: controller.text);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
HEmptyView(30),
|
|
|
|
// RoundButton(
|
|
|
|
// text: '预览效果',
|
|
|
|
// width: w(100),
|
|
|
|
// height: ScreenUtil().setWidth(80),
|
|
|
|
// radius: ScreenUtil().setWidth(14),
|
|
|
|
// gradientStart: MyColours.color_ffffff,
|
|
|
|
// gradientEnd: MyColours.color_ffffff,
|
|
|
|
// borderColor: MyColours.color_438E93,
|
|
|
|
// textColor: MyColours.color_438E93,
|
|
|
|
// isBold: true,
|
|
|
|
// fontSize: 32,
|
|
|
|
// onPressed: () {
|
|
|
|
// DialogUtil.cupertinoAlertDialog(context,
|
|
|
|
// textAlign: TextAlign.left,
|
|
|
|
// showlTitle: false,
|
|
|
|
// content: canChange
|
|
|
|
// ? contentChangeStart + controller.text
|
|
|
|
// : controller.text);
|
|
|
|
// },
|
|
|
|
// ),
|
|
|
|
// HEmptyView(30),
|
|
|
|
Expanded(
|
|
|
|
child: RoundButton(
|
|
|
|
text: '保存',
|
...
|
...
|
|