no message

cyl/master-0822^2
jscyl13849007907 3 months ago
parent 9798941a9d
commit b0632e6210

@ -26,6 +26,7 @@
" "
:conversation-type="conversationType" :conversation-type="conversationType"
:to="to" :to="to"
@exportPointJob="exportPointJob"
/> />
<!-- </div> --> <!-- </div> -->
@ -65,6 +66,7 @@ import { V2NIMConst } from "nim-web-sdk-ng/dist/v2/NIM_UNIAPP_SDK";
const G = getCurrentInstance().appContext.app.config.globalProperties.G; const G = getCurrentInstance().appContext.app.config.globalProperties.G;
const F = getCurrentInstance().appContext.app.config.globalProperties.F; const F = getCurrentInstance().appContext.app.config.globalProperties.F;
const api = getCurrentInstance().appContext.app.config.globalProperties.api; const api = getCurrentInstance().appContext.app.config.globalProperties.api;
import { getList, query } from "../../components/list/job/api";
export interface YxReplyMsg { export interface YxReplyMsg {
messageClientId: string; messageClientId: string;
scene: V2NIMConst.V2NIMConversationType; scene: V2NIMConst.V2NIMConversationType;
@ -591,6 +593,10 @@ onUnload(() => {
uni.$off(events.CONFIRM_FORWARD_MSG); uni.$off(events.CONFIRM_FORWARD_MSG);
uni.$off(events.CANCEL_FORWARD_MSG); uni.$off(events.CANCEL_FORWARD_MSG);
}); });
const exportPointJob = ()=>{
F.wyyxPost(api.wyyx_sendCard,JSON.parse(uni.getStorageSync('im_sendParams')),() => {},() => {});
}
</script> </script>
<style lang="scss"> <style lang="scss">

@ -170,7 +170,7 @@
padding: 12px; padding: 12px;
border-radius: 12px; border-radius: 12px;
" "
v-if="chooseData" v-if="chooseData && chooseData.title"
> >
<div class="g_w_all g_h_all"> <div class="g_w_all g_h_all">
<div class="g_mb_12 g_flex_row_between"> <div class="g_mb_12 g_flex_row_between">
@ -190,7 +190,7 @@
</view> </view>
</div> </div>
</div> </div>
<div class="g_flex_none g_flex_column_center"> <div class="g_flex_none g_flex_column_center" @tap="sendPointJob">
<div style=" <div style="
font-size: 12px; font-size: 12px;
border-radius: 20px; border-radius: 20px;
@ -577,6 +577,9 @@ const handleSendJob = () => {
console.log("props.jobListShow", props.jobListShow); console.log("props.jobListShow", props.jobListShow);
emits("jobListShow", true); emits("jobListShow", true);
}; };
const sendPointJob = () => {
emits("exportPointJob");
};
const handleSendCustomMsg = () => { const handleSendCustomMsg = () => {
const customMsg = uni.$UIKitNIM.V2NIMMessageCreator.createCustomMessage( const customMsg = uni.$UIKitNIM.V2NIMMessageCreator.createCustomMessage(
"这是PGQ的自定义消息", "这是PGQ的自定义消息",

Loading…
Cancel
Save