diff --git a/src/components/report/blocks/VehicleBlockQCXGYTS2.vue b/src/components/report/blocks/VehicleBlockQCXGYTS2.vue index 26cd18e..989c20e 100644 --- a/src/components/report/blocks/VehicleBlockQCXGYTS2.vue +++ b/src/components/report/blocks/VehicleBlockQCXGYTS2.vue @@ -18,8 +18,10 @@ const maskedName = computed(() => { return name.length > 1 ? `${name[0]}${'*'.repeat(name.length - 1)}` : '*' }) +/** 上游天远返回 { result: { status } },少数场景为顶层 status */ const status = computed(() => { - const s = Number(p.value.status) + const raw = p.value + const s = Number(raw?.status ?? raw?.result?.status) if ([0, -1, -2, -4].includes(s)) return s return null diff --git a/src/config/vehicleReportRegistry.js b/src/config/vehicleReportRegistry.js index 97da9d9..224f79d 100644 --- a/src/config/vehicleReportRegistry.js +++ b/src/config/vehicleReportRegistry.js @@ -19,7 +19,7 @@ export const VEHICLE_API_TITLES = { QCXG4I1Z: '车辆过户详版查询', QCXGGB2Q: '车辆二要素核验 V1', QCXGP00W: '车辆出险详版查询', - QCXGYTS2: '车辆二要素核验 V2', + QCXGYTS2: '人车核验(详版)', QCXGGJ3A: '车辆 VIN 码查询号牌简版', QCXGJJ2A: '车辆 VIN 码查车辆信息详版', QCXG5F3A: '名下车辆车牌查询 B', diff --git a/src/pages.json b/src/pages.json index 2172194..5fdbe45 100644 --- a/src/pages.json +++ b/src/pages.json @@ -59,9 +59,7 @@ "navigationBarTitleText": "我的", "navigationStyle": "default", "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "enableShareAppMessage": true, - "enableShareTimeline": true + "navigationBarTextStyle": "black" } }, { diff --git a/src/pages/mine.vue b/src/pages/mine.vue index 6c6bf81..f2a93c0 100644 --- a/src/pages/mine.vue +++ b/src/pages/mine.vue @@ -11,9 +11,6 @@ definePage({ navigationStyle: 'default', navigationBarBackgroundColor: '#ffffff', navigationBarTextStyle: 'black', - // 微信小程序:允许使用 open-type="share" 与右上角转发 - enableShareAppMessage: true, - enableShareTimeline: true, }, }) diff --git a/src/pages/report/detail.vue b/src/pages/report/detail.vue index 3033884..d1484d6 100644 --- a/src/pages/report/detail.vue +++ b/src/pages/report/detail.vue @@ -1,5 +1,5 @@