增加分享优惠券功能
This commit is contained in:
@@ -80,7 +80,10 @@
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
<up-loadmore v-if="isEnd" :status="isEnd?'nomore':'loading'"></up-loadmore>
|
||||
<up-loadmore
|
||||
v-if="isEnd"
|
||||
:status="isEnd ? 'nomore' : 'loading'"
|
||||
></up-loadmore>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
@@ -377,7 +380,7 @@ async function getMsgList() {
|
||||
// 加载失败回退页码,避免页码错乱
|
||||
if (query.page > 1) query.page--;
|
||||
} finally {
|
||||
console.log('scrollView',scrollView)
|
||||
console.log("scrollView", scrollView);
|
||||
setTimeout(() => {
|
||||
scrollView.refresherTriggered = false;
|
||||
isLoading.value = false;
|
||||
@@ -389,7 +392,9 @@ const options = reactive({});
|
||||
onLoad((opt) => {
|
||||
Object.assign(options, opt);
|
||||
init();
|
||||
|
||||
chatApi.messageMarkReadAll({
|
||||
session_ids: options.session_id,
|
||||
});
|
||||
// #ifdef H5
|
||||
scrollView.safeAreaHeight = uni.getSystemInfoSync().safeArea.height;
|
||||
// #endif
|
||||
@@ -398,6 +403,7 @@ onLoad((opt) => {
|
||||
function toMore() {
|
||||
go.to("PAGES_CHAT_GROUP_INFO", {
|
||||
group_id: groupInfo.value.id,
|
||||
session_id: options.session_id,
|
||||
});
|
||||
}
|
||||
function sendText() {
|
||||
|
||||
Reference in New Issue
Block a user