优化页面
This commit is contained in:
@@ -68,6 +68,21 @@ const _sfc_main = {
|
||||
this.userlist();
|
||||
},
|
||||
invite() {
|
||||
if (this.InvitingPartyEventindex === null) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请选择您要参与的PK信息",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.$refs.popups.open("center");
|
||||
},
|
||||
closeHint() {
|
||||
this.$refs.popups.close();
|
||||
},
|
||||
inviteHint() {
|
||||
this.$refs.popups.close();
|
||||
const conversationID = `C2C${this.item.senderId}`;
|
||||
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
|
||||
const youritem = JSON.stringify(this.item);
|
||||
@@ -75,6 +90,7 @@ const _sfc_main = {
|
||||
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}&myitem=${myitem}&youritem=${youritem}`
|
||||
});
|
||||
},
|
||||
// 打开邀请弹窗
|
||||
close() {
|
||||
this.$refs.popup.close();
|
||||
},
|
||||
@@ -184,7 +200,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
w: common_vendor.sr("createModule", "9639f721-2")
|
||||
w: common_vendor.sr("createModule", "9639f721-2"),
|
||||
x: common_vendor.o$1(($event) => $options.inviteHint()),
|
||||
y: common_vendor.o$1(($event) => $options.closeHint()),
|
||||
z: common_vendor.sr("popups", "9639f721-3"),
|
||||
A: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
|
||||
|
||||
Reference in New Issue
Block a user