部分问题修复
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<text style="max-width: 286rpx" class="u-line-1 u-font-32">
|
||||
{{ groupInfo.name }}
|
||||
</text>
|
||||
<text class="u-m-l-22">(22人)</text>
|
||||
<text class="u-m-l-22">({{membersRes.user_list.length}}人)</text>
|
||||
</view>
|
||||
<view class="" @click="toMore()">
|
||||
<view class="u-flex u-row-center">
|
||||
@@ -298,6 +298,7 @@ function sendImg() {
|
||||
} else {
|
||||
}
|
||||
}
|
||||
uni.hideLoading();
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -389,12 +390,19 @@ async function getMsgList() {
|
||||
}
|
||||
|
||||
const options = reactive({});
|
||||
const membersRes=reactive({
|
||||
user_list:[]
|
||||
})
|
||||
onLoad((opt) => {
|
||||
Object.assign(options, opt);
|
||||
init();
|
||||
chatApi.messageMarkReadAll({
|
||||
session_ids: options.session_id,
|
||||
});
|
||||
chatApi.groupMembers({ group_id: options.group_id }).then((res) => {
|
||||
console.log(res);
|
||||
membersRes.user_list=res.user_list||[]
|
||||
})
|
||||
// #ifdef H5
|
||||
scrollView.safeAreaHeight = uni.getSystemInfoSync().safeArea.height;
|
||||
// #endif
|
||||
@@ -468,7 +476,8 @@ function confirmCoupon() {
|
||||
modalData.show = false;
|
||||
const couponJson = JSON.parse(res.couponJson);
|
||||
sendMsg({
|
||||
coupon: { ...couponJson, title: modalData.form.title },
|
||||
coupon: { ...couponJson, title: modalData.form.title,activity_id:res.id },
|
||||
chat_coupon_id:res.id,
|
||||
msg_type: 4,
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user