feat: 球局状态操作done
This commit is contained in:
@@ -3,6 +3,7 @@ import { View, Text, Button, Image, ScrollView } from "@tarojs/components";
|
||||
import Taro, { useDidShow } from "@tarojs/taro";
|
||||
import { Avatar, Dialog } from "@nutui/nutui-react-taro";
|
||||
import dayjs from "dayjs";
|
||||
import "dayjs/locale/zh-cn";
|
||||
import classnames from "classnames";
|
||||
import orderService, { OrderStatus, CancelType } from "@/services/orderService";
|
||||
import { withAuth, RefundPopup } from "@/components";
|
||||
@@ -150,7 +151,11 @@ const OrderList = () => {
|
||||
};
|
||||
Dialog.open("cancelOrder", {
|
||||
title: "确定删除订单吗?",
|
||||
content: "删除订单后,您将无法恢复订单。请确认是否继续取消?",
|
||||
content: (
|
||||
<View className={styles.cancelTip}>
|
||||
<Text>删除订单后,您将无法恢复订单。请确认是否继续取消?</Text>
|
||||
</View>
|
||||
),
|
||||
footer: (
|
||||
<View className={styles.dialogFooter}>
|
||||
<Button className={styles.cancel} onClick={onCancel}>
|
||||
@@ -196,7 +201,11 @@ const OrderList = () => {
|
||||
};
|
||||
Dialog.open("cancelOrder", {
|
||||
title: "确定取消订单吗?",
|
||||
content: "取消订单后,您将无法恢复订单。请确认是否继续取消?",
|
||||
content: (
|
||||
<View className={styles.cancelTip}>
|
||||
<Text>取消订单后,您将无法恢复订单。请确认是否继续取消?</Text>
|
||||
</View>
|
||||
),
|
||||
footer: (
|
||||
<View className={styles.dialogFooter}>
|
||||
<Button className={styles.cancel} onClick={onCancel}>
|
||||
|
||||
Reference in New Issue
Block a user