From 738f058281ff5437944ea94f736be7ceb8b9af87 Mon Sep 17 00:00:00 2001
From: tangxinyue <524779910@qq.com>
Date: Thu, 16 Jul 2026 16:30:19 +0800
Subject: [PATCH] =?UTF-8?q?1.=E6=90=BA=E7=A8=8B=E7=81=AB=E8=BD=A6=E7=A5=A8?=
=?UTF-8?q?=E5=B7=B2=E5=87=BA=E8=A1=8C=E7=8A=B6=E6=80=81=202.=E8=A7=A3?=
=?UTF-8?q?=E5=86=B3=E5=92=8C=E5=B9=B3=E7=B2=BE=E8=8B=B1=EF=BC=8C=E6=97=A0?=
=?UTF-8?q?=E7=95=8F=E9=94=B2=E7=BA=A6=E9=80=89=E6=8B=A9=E5=9B=BE=E7=89=87?=
=?UTF-8?q?=E5=90=8E=E4=B8=BA=E5=85=B3=E9=97=AD=E9=80=89=E9=A1=B9=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=203.=E8=BD=AC=E8=B4=A6=EF=BC=8C=E6=94=AF=E4=BB=98?=
=?UTF-8?q?=E6=88=90=E5=8A=9F=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96=E5=AF=BC?=
=?UTF-8?q?=E8=88=AA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../balance/pay-successful/pay-successful.vue | 938 +++++++++---------
pages/balance/transfer/transfer.vue | 6 +-
pages/other/game/hepingjingying.vue | 35 +-
pages/other/game/wuweiqiyue.vue | 35 +-
.../ctrip-train-tickets.vue | 183 +++-
.../ctrip/fapiaobaoxiao-yichuxing.png | Bin 0 -> 1502 bytes
.../other/train-tickets/ctrip/fenxiang.png | Bin 0 -> 1036 bytes
.../other/train-tickets/ctrip/jiesongzhan.png | Bin 0 -> 1897 bytes
8 files changed, 684 insertions(+), 513 deletions(-)
create mode 100644 static/image/other/train-tickets/ctrip/fapiaobaoxiao-yichuxing.png
create mode 100644 static/image/other/train-tickets/ctrip/fenxiang.png
create mode 100644 static/image/other/train-tickets/ctrip/jiesongzhan.png
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 @@
-
+
+
+
+