diff --git a/main.js b/main.js index 34b979d..264e37d 100644 --- a/main.js +++ b/main.js @@ -27,7 +27,7 @@ export function createApp() { const systemInfo = uni.getStorageSync('systemInfo') || {} app.config.globalProperties.$system = systemInfo.platform == 'ios' ? 'iOS' : 'Android' app.config.globalProperties.$systemInfo = systemInfo - uni.setStorageSync('version', '1.0.2.sp9') + uni.setStorageSync('version', '1.0.3') app.config.globalProperties.$version = uni.getStorageSync('version') app.use(globalMethods); diff --git a/pages/index/index.nvue b/pages/index/index.nvue index 04befa7..a152565 100644 --- a/pages/index/index.nvue +++ b/pages/index/index.nvue @@ -21,7 +21,7 @@ @scroll="handleScroll"> - 乘机人 {{ item.name }} - {{ item.idType }}:{{ item.idType === '身份证' ? - showFristAndLastNumber(item.idNumber) : (item.idType === '护照' ? + {{ item.idType }}:{{ item.idType.includes('身份证') ? + showFristAndLastNumber(item.idNumber) : (item.idType.includes('护照') ? stringUtil.maskPassport(item.idNumber) : item.idNumber) }} 票号:{{ item.ticketNo }} diff --git a/pages/other/air-tickets/qunar-air-tickets/qunar-air-tickets.vue b/pages/other/air-tickets/qunar-air-tickets/qunar-air-tickets.vue index e1cb0a7..4c56544 100644 --- a/pages/other/air-tickets/qunar-air-tickets/qunar-air-tickets.vue +++ b/pages/other/air-tickets/qunar-air-tickets/qunar-air-tickets.vue @@ -198,8 +198,8 @@ {{ p.name }} - {{ p.idType }}: {{ p.idType === '身份证' ? - stringUtil.maskIdCard(p.idNumber) : (p.idType === '护照' ? + {{ p.idType }}: {{ p.idType.includes('身份证') ? + stringUtil.maskIdCard(p.idNumber) : (p.idType.includes('护照') ? stringUtil.maskPassport(p.idNumber) : p.idNumber) }} 票号:{{ p.ticketNo }} diff --git a/pages/other/tickets-app/index.vue b/pages/other/tickets-app/index.vue index 395dda1..e13f9cc 100644 --- a/pages/other/tickets-app/index.vue +++ b/pages/other/tickets-app/index.vue @@ -72,7 +72,7 @@ const appList = [ logo: '/static/image/other/tickets-app/qvnar-logo.png', bgImage: '/static/image/other/tickets-app/qvnar-bg.png', airPath: '/pages/other/air-tickets/qunar-air-tickets/qunar-air-tickets', - trainPath: "开发中", + trainPath: "/pages/other/train-tickets/qunar-train-tickets/qunar-train-tickets", isHot: false }, { diff --git a/pages/other/train-tickets/edit/edit.vue b/pages/other/train-tickets/edit/edit.vue index 2c72e70..21a0420 100644 --- a/pages/other/train-tickets/edit/edit.vue +++ b/pages/other/train-tickets/edit/edit.vue @@ -21,7 +21,7 @@ {{ ticketsInfo.orderInfo.orderTime }} - + 订单总价 @@ -126,7 +126,7 @@ 票价 - + 积分 @@ -134,7 +134,7 @@ 证件类型 - + 是否本人 diff --git a/pages/other/train-tickets/qunar-train-tickets/components/box.vue b/pages/other/train-tickets/qunar-train-tickets/components/box.vue new file mode 100644 index 0000000..01b6544 --- /dev/null +++ b/pages/other/train-tickets/qunar-train-tickets/components/box.vue @@ -0,0 +1,278 @@ + + + + + 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 ffe6199..a8efb3a 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 @@ -1,27 +1,31 @@ \ No newline at end of file diff --git a/static/image/other/train-tickets/qunar/child.png b/static/image/other/train-tickets/qunar/child.png new file mode 100644 index 0000000..c1b8a97 Binary files /dev/null and b/static/image/other/train-tickets/qunar/child.png differ diff --git a/static/image/other/train-tickets/qunar/info.png b/static/image/other/train-tickets/qunar/info.png new file mode 100644 index 0000000..a1ace26 Binary files /dev/null and b/static/image/other/train-tickets/qunar/info.png differ diff --git a/static/image/other/train-tickets/qunar/jingtingzhan.png b/static/image/other/train-tickets/qunar/jingtingzhan.png new file mode 100644 index 0000000..9d20376 Binary files /dev/null and b/static/image/other/train-tickets/qunar/jingtingzhan.png differ diff --git a/static/image/other/train-tickets/qunar/kefu.png b/static/image/other/train-tickets/qunar/kefu.png new file mode 100644 index 0000000..3884154 Binary files /dev/null and b/static/image/other/train-tickets/qunar/kefu.png differ diff --git a/static/image/other/train-tickets/qunar/location.png b/static/image/other/train-tickets/qunar/location.png new file mode 100644 index 0000000..21dbc1d Binary files /dev/null and b/static/image/other/train-tickets/qunar/location.png differ diff --git a/static/image/other/train-tickets/qunar/plan.png b/static/image/other/train-tickets/qunar/plan.png new file mode 100644 index 0000000..bc9f29f Binary files /dev/null and b/static/image/other/train-tickets/qunar/plan.png differ diff --git a/static/image/other/train-tickets/qunar/right.png b/static/image/other/train-tickets/qunar/right.png new file mode 100644 index 0000000..207e263 Binary files /dev/null and b/static/image/other/train-tickets/qunar/right.png differ diff --git a/static/image/other/train-tickets/qunar/success.png b/static/image/other/train-tickets/qunar/success.png new file mode 100644 index 0000000..70e12eb Binary files /dev/null and b/static/image/other/train-tickets/qunar/success.png differ diff --git a/static/image/other/train-tickets/qunar/tuigaishuoming.png b/static/image/other/train-tickets/qunar/tuigaishuoming.png new file mode 100644 index 0000000..57dbe39 Binary files /dev/null and b/static/image/other/train-tickets/qunar/tuigaishuoming.png differ