0b6f8d31 by yyx

1

1 parent f3a29a76
......@@ -70,6 +70,16 @@ const payment = reactive({
"Please enter the contact phone number."
),
});
if (/^[1][3,4,5,7,8][0-9]{9}$/.test(payment.form.phone)) {
return ElMessage({
type: "warning",
message: languageFormat(
language.value,
"联系电话格式不正确",
"The format of the contact phone is incorrect."
),
});
}
if (language.value == 0) {
payOrder({
contactPhone: payment.form.phone,
......@@ -98,6 +108,9 @@ const payment = reactive({
payment.qrCodeData = "";
clearInterval(timer);
timer = null;
router.replace({
path: "/seat/order",
});
},
});
......
......@@ -285,6 +285,13 @@ detail.fetchData();
<div class="tr">
<div style="width: 30.33%" class="td flex-col">
<div>{{ detail.data?.dateStr }}</div>
<div>
{{
detail.data?.openType == 0
? languageFormat(language, "日场", "Day session")
: languageFormat(language, "夜场", "Night session")
}}
</div>
<div v-for="(it, index) in detail.data?.seatList" :key="index">
<span v-if="it.venueId == 1"
>{{ it.area
......
......@@ -254,7 +254,7 @@ onMounted(() => {
class="tag"
>
{{
language == 0 ? status[it.state].txt : status[it.state].txt_en
language == 0 ? status[it.state].txt : status[it.state].text_en
}}
</div>
<div v-if="it.state == 0" class="tip">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!