|
|
|
@ -18,7 +18,7 @@
|
|
|
|
<!-- <div style="height: 'auto';position: fixed;left: 0;bottom: 0;width: 100vw;"> -->
|
|
|
|
<!-- <div style="height: 'auto';position: fixed;left: 0;bottom: 0;width: 100vw;"> -->
|
|
|
|
<MessageInput
|
|
|
|
<MessageInput
|
|
|
|
:reply-msgs-map="replyMsgsMap"
|
|
|
|
:reply-msgs-map="replyMsgsMap"
|
|
|
|
:jobListShow.sync="jobListShow"
|
|
|
|
:jobListShow="jobListShow"
|
|
|
|
@jobListShow="
|
|
|
|
@jobListShow="
|
|
|
|
(e) => {
|
|
|
|
(e) => {
|
|
|
|
jobListShow = e;
|
|
|
|
jobListShow = e;
|
|
|
|
@ -30,12 +30,15 @@
|
|
|
|
<!-- </div> -->
|
|
|
|
<!-- </div> -->
|
|
|
|
|
|
|
|
|
|
|
|
<u-popup v-model="jobListShow" mode="bottom" z-index="999999" border-radius="12" :closeable="false" :mask-close-able="true" :mask="true" @close="jobListShow = false">
|
|
|
|
<u-popup v-model="jobListShow" mode="bottom" z-index="999999" border-radius="12" :closeable="false" :mask-close-able="true" :mask="true" @close="jobListShow = false">
|
|
|
|
<view class="g_bg_ed" style="min-height: 70vh">
|
|
|
|
<div class="" @click="sendMsg">123123</div>
|
|
|
|
<div class="m-search g_p_10 g_pt_8 g_position_rela g_flex_1 bg_shawdoc" style id="searchInputBox">
|
|
|
|
<scroll-view :scroll-y="true" @scrolltolower="reachBottom" class="g_bg_ed" style="height: 90vh">
|
|
|
|
|
|
|
|
<div class="">
|
|
|
|
|
|
|
|
<div class="m-search g_p_10 g_pt_8 g_position_rela g_flex_1 g_bg_ed sticky" style id="searchInputBox">
|
|
|
|
<u-search height="80" v-model="keyword" @input="checkLength" @clear="searchJob" @search="searchJob" class="" placeholder="搜索职位名称" bg-color="#fff" :show-action="false" placeholder-class="g_c_c" search-icon-color="#999999" :maxlength="20"></u-search>
|
|
|
|
<u-search height="80" v-model="keyword" @input="checkLength" @clear="searchJob" @search="searchJob" class="" placeholder="搜索职位名称" bg-color="#fff" :show-action="false" placeholder-class="g_c_c" search-icon-color="#999999" :maxlength="20"></u-search>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<g-list-job from="chat" @uploadList="getList" @sendJob="sendJob" bg="#ededed" class="" :query="query" :list="query.list" :loading="loading" :speed="speed" :isShowLoginBtn="false" emptyText="嘿,这里还没有数据呢" />
|
|
|
|
<g-list-job from="chat" @uploadList="getList" @sendJob="sendJob" bg="#ededed" class="" :query="query" :list="query.list" :loading="loading" :speed="speed" :isShowLoginBtn="false" emptyText="嘿,这里还没有数据呢" />
|
|
|
|
</view>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</scroll-view>
|
|
|
|
</u-popup>
|
|
|
|
</u-popup>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
@ -524,6 +527,23 @@ const getList = ($type = "init") => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
const sendMsg = () => {
|
|
|
|
|
|
|
|
const customMsg = uni.$UIKitNIM.V2NIMMessageCreator.createCustomMessage(
|
|
|
|
|
|
|
|
"",
|
|
|
|
|
|
|
|
JSON.stringify({
|
|
|
|
|
|
|
|
type: "0",
|
|
|
|
|
|
|
|
content: "测试自定义消息",
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
uni.$UIKitStore.msgStore.sendMessageActive({
|
|
|
|
|
|
|
|
message: customMsg,
|
|
|
|
|
|
|
|
conversationId,
|
|
|
|
|
|
|
|
sendBefore: () => {
|
|
|
|
|
|
|
|
jobListShow.value = false;
|
|
|
|
|
|
|
|
uni.$emit(events.ON_SCROLL_BOTTOM);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|
|
|
|
const sendJob = (_item) => {
|
|
|
|
const sendJob = (_item) => {
|
|
|
|
console.log("_item", _item);
|
|
|
|
console.log("_item", _item);
|
|
|
|
let listInner = ["district", "gender", "age"];
|
|
|
|
let listInner = ["district", "gender", "age"];
|
|
|
|
@ -558,6 +578,12 @@ const sendJob = (_item) => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
const reachBottom = () => {
|
|
|
|
|
|
|
|
if (query.value.isFinish == -1 || query.value.isFinish == query.value.size) {
|
|
|
|
|
|
|
|
query.value.page++;
|
|
|
|
|
|
|
|
getList("concat");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
onUnload(() => {
|
|
|
|
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);
|
|
|
|
@ -566,6 +592,7 @@ onUnload(() => {
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
<style lang="scss">
|
|
|
|
@import "../../base.scss";
|
|
|
|
@import "../../base.scss";
|
|
|
|
|
|
|
|
@import "../../../../static/css/iconfont.css";
|
|
|
|
page {
|
|
|
|
page {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
@ -623,4 +650,10 @@ page {
|
|
|
|
.msg-wrapper > message-list {
|
|
|
|
.msg-wrapper > message-list {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticky {
|
|
|
|
|
|
|
|
position: sticky;
|
|
|
|
|
|
|
|
top: 0px;
|
|
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|