From b8975f5015e26b1db5becceb0d5f659a2abd6f82 Mon Sep 17 00:00:00 2001 From: tangxinyue <524779910@qq.com> Date: Mon, 9 Mar 2026 16:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=8E=BB=E5=93=AA=E5=84=BF?= =?UTF-8?q?=E7=81=AB=E8=BD=A6=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 113 +- pages.json | 35 +- pages/index/index.nvue | 12 +- .../ctrip-train-tickets.vue | 3 +- pages/other/train-tickets/edit/edit.vue | 5 + .../fliggy-air-tickets/fliggy-air-tickets.vue | 993 ++++++++++++++++++ .../qunar-train-tickets.vue | 4 +- 7 files changed, 1089 insertions(+), 76 deletions(-) create mode 100644 pages/other/train-tickets/fliggy-air-tickets/fliggy-air-tickets.vue diff --git a/manifest.json b/manifest.json index d1f17fd..cb3184a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,38 +1,37 @@ { - "name" : "alipay-emulator", - "appid" : "__UNI__D535736", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : 100, - "transformPx" : false, + "name": "alipay-emulator", + "appid": "__UNI__D535736", + "description": "", + "versionName": "1.0.0", + "versionCode": 100, + "transformPx": false, /* 5+App特有相关 */ - "app-plus" : { - "darkmode" : false, - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 + "app-plus": { + "darkmode": false, + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": false, + "delay": 0 }, - "optimization" : { - "subPackages" : true + "optimization": { + "subPackages": true }, - "runmode" : "liberate", // 开启分包优化后,必须配置资源释放模式 - + "runmode": "liberate", // 开启分包优化后,必须配置资源释放模式 /* 模块配置 */ - "modules" : { - "Camera" : {}, - "Payment" : {}, - "LivePusher" : {} + "modules": { + "Camera": {}, + "Payment": {}, + "LivePusher": {} }, /* 应用发布信息 */ - "distribute" : { + "distribute": { /* android打包配置 */ - "android" : { - "permissions" : [ + "android": { + "permissions": [ "", "", "", @@ -51,46 +50,52 @@ ] }, /* ios打包配置 */ - "ios" : { - "dSYMs" : false + "ios": { + "dSYMs": false }, /* SDK配置 */ - "sdkConfigs" : { - "payment" : { - "weixin" : { - "__platform__" : [ "ios", "android" ], - "appid" : "123456", - "UniversalLinks" : "https://hhhhh.com/apple-app-site-association/" + "sdkConfigs": { + "payment": { + "weixin": { + "__platform__": [ + "ios", + "android" + ], + "appid": "123456", + "UniversalLinks": "https://hhhhh.com/apple-app-site-association/" }, - "alipay" : { - "__platform__" : [ "ios", "android" ] + "alipay": { + "__platform__": [ + "ios", + "android" + ] } } } }, - "nvueLaunchMode" : "" + "nvueLaunchMode": "" }, /* 快应用特有相关 */ - "quickapp" : {}, + "quickapp": {}, /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false }, - "usingComponents" : true + "usingComponents": true }, - "mp-alipay" : { - "usingComponents" : true + "mp-alipay": { + "usingComponents": true }, - "mp-baidu" : { - "usingComponents" : true + "mp-baidu": { + "usingComponents": true }, - "mp-toutiao" : { - "usingComponents" : true + "mp-toutiao": { + "usingComponents": true }, - "uniStatistics" : { - "enable" : false + "uniStatistics": { + "enable": false }, - "vueVersion" : "3" -} + "vueVersion": "3" +} \ No newline at end of file diff --git a/pages.json b/pages.json index 27c76c0..71d7580 100644 --- a/pages.json +++ b/pages.json @@ -9,11 +9,9 @@ } } ], - "subPackages": [ - { + "subPackages": [{ "root": "pages/balance", - "pages": [ - { + "pages": [{ "path": "index", "style": { "navigationBarTitleText": "余额页面", @@ -32,8 +30,7 @@ }, { "root": "pages/bill", - "pages": [ - { + "pages": [{ "path": "bill-list/bill-list", "style": { "navigationBarTitleText": "账单列表页面", @@ -58,8 +55,7 @@ }, { "root": "pages/ant-credit-pay", - "pages": [ - { + "pages": [{ "path": "index", "style": { "navigationBarTitleText": "花呗首页", @@ -77,8 +73,7 @@ }, { "root": "pages/finance-management", - "pages": [ - { + "pages": [{ "path": "index", "style": { "navigationBarTitleText": "理财首页", @@ -103,8 +98,7 @@ }, { "root": "pages/other", - "pages": [ - { + "pages": [{ "path": "/video-group-chat/video-group-chat", "style": { "navigationBarTitleText": "视频群聊", @@ -186,10 +180,16 @@ } }, { - "path" : "train-tickets/qunar-train-tickets/qunar-train-tickets", - "style" : - { - "navigationBarTitleText" : "去哪儿", + "path": "train-tickets/qunar-train-tickets/qunar-train-tickets", + "style": { + "navigationBarTitleText": "去哪儿火车票", + "navigationStyle": "custom" + } + }, + { + "path": "train-tickets/fliggy-air-tickets/fliggy-air-tickets", + "style": { + "navigationBarTitleText": "飞猪火车票", "navigationStyle": "custom" } } @@ -197,8 +197,7 @@ }, { "root": "pages/common", - "pages": [ - { + "pages": [{ "path": "hot-icon/hot-icon", "style": { "navigationBarTitleText": "热门图标", diff --git a/pages/index/index.nvue b/pages/index/index.nvue index a152565..3b2ed7f 100644 --- a/pages/index/index.nvue +++ b/pages/index/index.nvue @@ -157,9 +157,19 @@ import { onLoad, onShow, onHide, - onUnload + onUnload, + onReady } from '@dcloudio/uni-app'; +onReady(() => { + // NVUE 挂载极快,但给它 100~200ms 的喘息让原生视图确认渲染 + setTimeout(() => { + // #ifdef APP-PLUS + plus.navigator.closeSplashscreen(); + // #endif + }, 150); +}); + // 内部埋点方法 const apiUserEvent = async (type, adminData) => { let uni_version = uni.getStorageSync("version") 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 02fb2de..3e20284 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 @@ -122,7 +122,8 @@ {{ ticketsInfo.ticketInfo.trainNo }} - + {{ ticketsInfo.ticketInfo.trainName }} diff --git a/pages/other/train-tickets/edit/edit.vue b/pages/other/train-tickets/edit/edit.vue index 21a0420..9024f34 100644 --- a/pages/other/train-tickets/edit/edit.vue +++ b/pages/other/train-tickets/edit/edit.vue @@ -134,6 +134,10 @@ 证件类型 + + 证件号 + + 是否本人 @@ -212,6 +216,7 @@ const defaultData = { "carriage": "01", "seatNo": "03C", "idType": "外国护照(KR)", + "idNumber": "123456789012345678", "price": "2110", "status": "已支付", "isMe": true, diff --git a/pages/other/train-tickets/fliggy-air-tickets/fliggy-air-tickets.vue b/pages/other/train-tickets/fliggy-air-tickets/fliggy-air-tickets.vue new file mode 100644 index 0000000..3fcf2f6 --- /dev/null +++ b/pages/other/train-tickets/fliggy-air-tickets/fliggy-air-tickets.vue @@ -0,0 +1,993 @@ + + + + + diff --git a/pages/other/train-tickets/qunar-train-tickets/qunar-train-tickets.vue b/pages/other/train-tickets/qunar-train-tickets/qunar-train-tickets.vue index a8efb3a..7ec38fe 100644 --- a/pages/other/train-tickets/qunar-train-tickets/qunar-train-tickets.vue +++ b/pages/other/train-tickets/qunar-train-tickets/qunar-train-tickets.vue @@ -617,7 +617,7 @@ page { .font_11 { font-size: 26rpx; line-height: 21.14rpx; - font-weight: 700; + font-weight: 500; color: #999999; } @@ -636,7 +636,7 @@ page { .font_13 { font-size: 26rpx; line-height: 19rpx; - font-weight: 700; + font-weight: 500; color: #999999; }