diff --git a/pages/balance/pay-successful/pay-successful.vue b/pages/balance/pay-successful/pay-successful.vue
index f0ea3a8..7196259 100644
--- a/pages/balance/pay-successful/pay-successful.vue
+++ b/pages/balance/pay-successful/pay-successful.vue
@@ -226,537 +226,541 @@
\ No newline at end of file
diff --git a/pages/balance/transfer/transfer.vue b/pages/balance/transfer/transfer.vue
index a24f17f..592513c 100644
--- a/pages/balance/transfer/transfer.vue
+++ b/pages/balance/transfer/transfer.vue
@@ -83,7 +83,7 @@
mode="aspectFill">
-
+
{{ transferData.promoTitle }}
{{ transferData.promoTag }}
@@ -677,6 +677,10 @@ const goBack = () => {
::v-deep .tipLayer {
position: absolute;
}
+
+ ::v-deep .uni-navbar__header-btns {
+ width: 100px !important;
+ }
}
.status-bar {
diff --git a/pages/other/game/hepingjingying.vue b/pages/other/game/hepingjingying.vue
index c988d34..9e34856 100644
--- a/pages/other/game/hepingjingying.vue
+++ b/pages/other/game/hepingjingying.vue
@@ -15,8 +15,7 @@
-
+
×
-
+
+
@@ -121,6 +120,7 @@
import { ref, reactive, computed, watch, onMounted, getCurrentInstance } from 'vue'
import { onLoad, onReady, onUnload } from '@dcloudio/uni-app'
import { imgLocal } from '@/utils/common.js';
+import NavBar from '@/components/nav-bar/nav-bar.vue';
const instance = getCurrentInstance();
const { proxy } = getCurrentInstance();
@@ -177,7 +177,13 @@ onLoad(async () => {
uni.setStorageSync('hePingData', hePingData);
}
}
- bgImage.value = await imgLocal.getLocalImage(`other/game/heping/bg-${hePingData.type}.jpg`)
+ try {
+ bgImage.value = await imgLocal.getLocalImage(`other/game/heping/bg-${hePingData.type}.jpg`);
+ } catch (e) {
+ console.error('获取背景图失败:', e);
+ uni.showToast({ title: '背景图加载失败', icon: 'none' });
+ }
+
uni.$on('editFormPhoto', (info) => {
if (currentEditImgField.value) {
tempData[currentEditImgField.value] = info;
@@ -190,12 +196,14 @@ onLoad(async () => {
});
// 进入页面埋点
- proxy.$apiUserEvent('all', {
- type: 'click',
- key: 'heping',
- prefix: '.uni.other.',
- value: "和平精英"
- })
+ if (proxy && proxy.$apiUserEvent) {
+ proxy.$apiUserEvent('all', {
+ type: 'click',
+ key: 'heping',
+ prefix: '.uni.other.',
+ value: "和平精英"
+ });
+ }
})
onUnload(() => {
@@ -297,7 +305,12 @@ async function handleChangeTheme(typeIndex) {
bgImage.value = ''; // 强制卸载旧画板,确保能重新渲染和生成新海报
hePingData.type = typeIndex;
uni.setStorageSync('hePingData', hePingData);
- bgImage.value = await imgLocal.getLocalImage(`other/game/heping/bg-${typeIndex}.jpg`);
+ try {
+ bgImage.value = await imgLocal.getLocalImage(`other/game/heping/bg-${typeIndex}.jpg`);
+ } catch (e) {
+ console.error('切换主题加载背景图失败:', e);
+ uni.showToast({ title: '背景加载失败', icon: 'none' });
+ }
}
// 点击画布触发横向预览
diff --git a/pages/other/game/wuweiqiyue.vue b/pages/other/game/wuweiqiyue.vue
index 873a3f7..976d939 100644
--- a/pages/other/game/wuweiqiyue.vue
+++ b/pages/other/game/wuweiqiyue.vue
@@ -15,8 +15,7 @@
-
+
@@ -99,7 +98,7 @@
×
-
+
+
@@ -174,6 +173,7 @@
import { ref, reactive, computed, watch, onMounted, getCurrentInstance } from 'vue'
import { onLoad, onReady, onUnload } from '@dcloudio/uni-app'
import { imgLocal } from '@/utils/common.js';
+import NavBar from '@/components/nav-bar/nav-bar.vue';
const instance = getCurrentInstance();
const { proxy } = getCurrentInstance();
@@ -270,7 +270,13 @@ onLoad(async () => {
uni.setStorageSync('wuweiData', wuweiData);
}
}
- bgImage.value = await imgLocal.getLocalImage(`other/game/wuwei/bg-${wuweiData.type}.jpg`)
+ try {
+ bgImage.value = await imgLocal.getLocalImage(`other/game/wuwei/bg-${wuweiData.type}.jpg`);
+ } catch (e) {
+ console.error('获取背景图失败:', e);
+ uni.showToast({ title: '背景图加载失败', icon: 'none' });
+ }
+
uni.$on('editFormPhoto', (info) => {
if (currentEditImgField.value) {
tempData[currentEditImgField.value] = info;
@@ -283,12 +289,14 @@ onLoad(async () => {
});
// 进入页面埋点
- proxy.$apiUserEvent('all', {
- type: 'click',
- key: 'wuwei',
- prefix: '.uni.other.',
- value: "无畏契约"
- })
+ if (proxy && proxy.$apiUserEvent) {
+ proxy.$apiUserEvent('all', {
+ type: 'click',
+ key: 'wuwei',
+ prefix: '.uni.other.',
+ value: "无畏契约"
+ });
+ }
})
onUnload(() => {
@@ -391,7 +399,12 @@ async function handleChangeTheme(typeIndex) {
bgImage.value = ''; // 强制卸载旧画板,确保能重新渲染和生成新海报
wuweiData.type = typeIndex;
uni.setStorageSync('wuweiData', wuweiData);
- bgImage.value = await imgLocal.getLocalImage(`other/game/wuwei/bg-${typeIndex}.jpg`);
+ try {
+ bgImage.value = await imgLocal.getLocalImage(`other/game/wuwei/bg-${typeIndex}.jpg`);
+ } catch (e) {
+ console.error('切换主题加载背景图失败:', e);
+ uni.showToast({ title: '背景加载失败', icon: 'none' });
+ }
}
// 点击画布触发横向预览
diff --git a/pages/other/train-tickets/ctrip-train-tickets/ctrip-train-tickets.vue b/pages/other/train-tickets/ctrip-train-tickets/ctrip-train-tickets.vue
index 804a29e..bd6ef3f 100644
--- a/pages/other/train-tickets/ctrip-train-tickets/ctrip-train-tickets.vue
+++ b/pages/other/train-tickets/ctrip-train-tickets/ctrip-train-tickets.vue
@@ -20,22 +20,26 @@
订单
- 行程服务
+ {{ ticketsInfo.status == '已出行' ? '推荐' : '行程服务' }}
-
+
客服
-
+
退改说明
+
+
+ 分享
+
@@ -47,8 +51,10 @@
- 抢票成功
- 携程祝您出行愉快
+ {{ ticketsInfo.status || '抢票成功' }}
+ {{ ticketsInfo.status == '已出行' ? '携程已为您完成本次预定' :
+ '携程祝您出行愉快'
+ }}
@@ -66,9 +72,13 @@
- 注意确认行程信息
+ 注意确认行程信息
+
+ 行程已结束
+ 感谢您使用携程火车票
+
-
+
在线换座
@@ -84,6 +94,18 @@
分享行程
+
+
+
+ 接送站
+
+
+
+ 发票报销
+
+
@@ -92,7 +114,8 @@
取票号:{{ ticketsInfo.orderInfo.orderNo }}
- {{ ticketsInfo.ticketInfo.gate }}
+
+ {{ ticketsInfo.ticketInfo.gate }}
@@ -122,7 +145,7 @@
{{ ticketsInfo.ticketInfo.trainNo }}
-
{{ ticketsInfo.ticketInfo.trainName }}
@@ -162,15 +185,16 @@
-
-
+
铁路会员积分+{{ item.points }}(价值
¥{{ (item.points *
0.01).toFixed(2) }}
)
-
@@ -182,8 +206,10 @@
- 购票成功
-
+ 购票成功
+
改签
@@ -192,7 +218,7 @@
class="codefun-flex-col codefun-justify-start codefun-items-center text-wrapper_3 ml-7">
退票
-
扫码检票
@@ -278,27 +304,64 @@
-
+
+
+
+