好物分享禁止滚动

This commit is contained in:
THK3121 2023-09-13 16:59:17 +08:00
parent 81f60ba8a1
commit ae3c054e5a
2 changed files with 19 additions and 4 deletions

View File

@ -365,6 +365,12 @@
if (res.data.list[0].product_id == this.goodsList[0].product_id) {
this.status = "nomore"
this.flag = false
} else {
if (res.data.list.length == 0) {
this.status = "nomore"
return
}
this.goodsList = this.goodsList.concat(res.data.list)
}
})
// this.getList().then(res => {

View File

@ -3,8 +3,8 @@
<view v-if="followDetail != null && followDetail" class="main" @click.stop="showManage = false"
style="padding-top: var(--status-bar-height);;">
<view v-if="followDetail != null && followDetail" class="main" :class="{off_scoll:flag}"
@click.stop="showManage = false" style="padding-top: var(--status-bar-height);;">
<view v-if="followDetail.status != 1" class="approval_status">
<view class="status_count" :class="followDetail.status == 0 ? 'status1' : 'status0'">
<view class="status_title">
@ -267,8 +267,8 @@
</view>
</view>
<!-- 他提到的宝贝弹窗 -->
<mentioned ref="mentioned" v-if="followDetail" @close="close" :list="followDetail.relevance"
:uid="followDetail.uid"></mentioned>
<mentioned ref="mentioned" v-if="followDetail" @close="close" @closes="flag=false"
:list="followDetail.relevance" :uid="followDetail.uid"></mentioned>
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
<!-- 绑定手机号 -->
<uni-popup ref="bindmobile" type="bottom">
@ -343,6 +343,7 @@
},
data() {
return {
flag: false,
open_grass: openPlantGrass,
followDetail: null,
commList: [], //
@ -719,10 +720,12 @@
/*查看提到的宝贝*/
openMore(item) {
this.$refs.mentioned.showPopup()
this.flag = true
},
close() {
this.$refs.mentioned.closePopup()
this.$refs.bindmobile.close()
this.flag = false
}
},
onReachBottom() {
@ -1426,4 +1429,10 @@
// height: ;
}
//
.off_scoll {
height: 100vh;
overflow: hidden;
}
</style>