This commit is contained in:
pengxiaolong
2025-06-23 22:00:46 +08:00
parent acc81963e9
commit 36a240f854
79 changed files with 426 additions and 154 deletions

View File

@@ -20,11 +20,19 @@ const _sfc_main = {
}
});
this.customData = JSON.parse(options.customData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:189", "customData", this.customData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:190", "customData", this.customData);
this.getPkyourInfo();
this.getPkmineInfo();
this.getPkIDInfo();
},
onShareAppMessage(res) {
if (res.from === "menu") {
return {
title: "分享",
path: `${getCurrentPages()[getCurrentPages().length - 1].route}?customData=${JSON.stringify(this.customData)}`
};
}
},
methods: {
//根据当前消息ID查询pk信息
async getPkIDInfo() {
@@ -47,9 +55,9 @@ const _sfc_main = {
data: {
id: this.customData.pkIdA
},
userInfo: true
userInfo: false
}).then((res) => {
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:218", res.data);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:227", res.data);
this.SenderData = res.data;
});
},
@@ -61,9 +69,9 @@ const _sfc_main = {
data: {
id: this.customData.pkIdB
},
userInfo: true
userInfo: false
}).then((res) => {
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:232", res.data);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:241", res.data);
this.ReceiverData = res.data;
});
},
@@ -186,5 +194,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cadadfe7"]]);
_sfc_main.__runtimeHooks = 2;
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.js.map