feat: fix

This commit is contained in:
2025-11-30 22:59:30 +08:00
parent 15d5b05587
commit 8396b5b02a
13 changed files with 157 additions and 106 deletions

View File

@@ -18,6 +18,7 @@ import {
getCurrentLocation,
getOrderStatus,
generateOrderActions,
isPhoneNumber,
} from "@/utils";
import { getStorage, setStorage } from "@/store/storage";
import { useGlobalStore } from "@/store/global";
@@ -298,7 +299,7 @@ function GameInfo(props) {
<View className={styles.locationMessageIcon}>
<Image
className={styles.locationMessageIconImage}
src="https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/images/43aab7e9-061e-4e3b-88c6-61c19b660b22.png"
src="https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/images/3ee5c89c-fe58-4a56-9471-1295da09c743.png"
/>
</View>
{/* location message */}
@@ -426,23 +427,24 @@ function OrderMsg(props) {
{
title: "组织人电话",
// content: wechat_contact,
content: wechat_contact ? (
<Text
selectable={true} // 支持长按复制
style={{
color: "#007AFF",
// textDecoration: "underline",
cursor: "pointer",
}}
onClick={() => {
Taro.makePhoneCall({ phoneNumber: wechat_contact });
}}
>
{wechat_contact}
</Text>
) : (
"-"
),
content:
wechat_contact && isPhoneNumber(wechat_contact) ? (
<Text
selectable={true} // 支持长按复制
style={{
color: "#007AFF",
// textDecoration: "underline",
cursor: "pointer",
}}
onClick={() => {
Taro.makePhoneCall({ phoneNumber: wechat_contact });
}}
>
{wechat_contact}
</Text>
) : (
"-"
),
},
{
title: "费用",