Commit 3cb1b005 by Sixong.Zhu

u

parent 214700eb
......@@ -13,7 +13,10 @@
>
{{ getCurrentInputingPeople }}正在输入
</div>
<messages class="flex-fill" />
<messages
class="flex-fill"
@open-pay-message="openPayMessage"
/>
<slot name="chat-right-panel"></slot>
</div>
<div
......@@ -163,6 +166,10 @@
((this.refBottom as HTMLElement).style.height =
this.chatBox.clientHeight - this.refTop.clientHeight + "px");
}
private openPayMessage(id: number) {
this.$emit("open-pay-message", id);
}
}
</script>
......
......@@ -96,7 +96,7 @@
}
private view() {
this.$emit("view-pay-message", this.payData.paymentId);
this.$emit("open-pay-message", this.payData.paymentId);
}
}
</script>
......@@ -107,6 +107,7 @@
width: 248px;
height: 106px;
color: #fff;
cursor: pointer;
&.default,
&.balance-unpay {
......
......@@ -24,6 +24,7 @@
:shape="shape"
@open="open"
@withdraw="refresh"
@open-pay-message="openPayMessage"
/>
</div>
</template>
......@@ -395,6 +396,10 @@
private refresh() {
this.fetchNewMsg();
}
private openPayMessage(id: number) {
this.$emit("open-pay-message", id);
}
}
</script>
......
......@@ -68,6 +68,7 @@
v-if="messageComponent"
v-model="data"
@open="openFile"
@open-pay-message="openPayMessage"
/>
<avatar
v-if="!isQuestionAnswerMessage && !isWithdrawMessage"
......@@ -506,6 +507,10 @@
private closeKeywordPopover() {
document.body.click();
}
private openPayMessage(id: number) {
this.$emit("open-pay-message", id);
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment