pull/1/head
张萌 3 years ago
commit 8748a649a1

@ -263,11 +263,19 @@ class _Pay {
///app ///app
String get jcookOrderCheckAlipay => '/app/user/alipay/jcookOrderCheckAlipay'; String get jcookOrderCheckAlipay => '/app/user/alipay/jcookOrderCheckAlipay';
/// ///
String get createPrepaymentOrder => '/app/user/alipay/createPrepaymentOrder'; String get createPrepaymentOrder => '/app/user/alipay/createPrepaymentOrder';
///app ///
String get prepaymentOrderCheckAlipay => '/app/user/alipay/prepaymentOrderCheckAlipay'; String get prepaymentOrderCheckAlipay => '/app/user/alipay/prepaymentOrderCheckAlipay';
///
String get createLivingExpensesOrder => '/app/user/alipay/createLivingExpensesOrder';
///
String get livingExpensesOrderCheckAlipay => '/app/user/alipay/livingExpensesOrderCheckAlipay';
} }
@ -282,5 +290,4 @@ class _LifePay{
String get findEstateBalance => '/app/user/livingExpenses/findEstateBalance'; String get findEstateBalance => '/app/user/livingExpenses/findEstateBalance';
} }

@ -308,21 +308,24 @@ class _LifePayPageNewState extends State<LifePayPageNew> {
color: kPrimaryColor, color: kPrimaryColor,
padding: EdgeInsets.symmetric(horizontal: 50.w, vertical: 15.w), padding: EdgeInsets.symmetric(horizontal: 50.w, vertical: 15.w),
onPressed: () async { onPressed: () async {
// Function cancel = BotToast.showLoading(); Function cancel = BotToast.showLoading();
// BaseModel baseModel = BaseModel baseModel =
// await NetUtil().post('/user/alipay/dailyPaymentAlipay', params: { await NetUtil().post(SAASAPI.pay.createLivingExpensesOrder, params: {
// "ids": total.ids, "chargesBillId": total.ids,
// "payType": 1, // "paymentAmount": total.payTotal
// "payPrice": total.payTotal.toDoubleStringAsFixed() });
// }); if (baseModel.success) {
// if (baseModel.success) { bool result = await PayUtil().callAliPay(
// bool result = await PayUtil() (baseModel.data as String),
// .callAliPay(baseModel.msg, API.pay.dailPayMentCheck); SAASAPI.pay.livingExpensesOrderCheckAlipay);
// if (result) { if (result) {
// Get.off(() => PayFinishPage()); Get.off(() => PayFinishPage());
// } } else {
// } ///
// cancel(); BotToast.showText(text: '缴费失败');
}
}
cancel();
}, },
child: '去缴费'.text.black.size(32.sp).bold.make(), child: '去缴费'.text.black.size(32.sp).bold.make(),
); );

@ -201,14 +201,19 @@ class _ChatCardDetailState extends State<ChatCardDetail> {
Column( Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
32.hb, Column(
if (!widget.model.content!.isEmptyOrNull) crossAxisAlignment: CrossAxisAlignment.start,
widget.model.content!.text children: [
.size(28.sp) 32.hb,
.color(ktextSubColor) if (!widget.model.content!.isEmptyOrNull)
.make(), widget.model.content!.text
32.hb, .size(28.sp)
_renderImage(), .color(ktextSubColor)
.make(),
32.hb,
_renderImage(),
],
).paddingOnly(left: 115.w),
20.hb, 20.hb,
TopicWidgets( TopicWidgets(
topicTags: widget.model.topicTags, topicTags: widget.model.topicTags,

Loading…
Cancel
Save