|
@@ -45,7 +45,13 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 筛选 -->
|
|
|
- <van-popup :show="showFilter" position="bottom" :safe-area-inset-bottom="false" round @close="showFilter=false">
|
|
|
+ <van-popup
|
|
|
+ :show="showFilter"
|
|
|
+ position="bottom"
|
|
|
+ :safe-area-inset-bottom="true"
|
|
|
+ round
|
|
|
+ @close="showFilter=false"
|
|
|
+ >
|
|
|
<view class="filter-wrap">
|
|
|
<view class="flex top">
|
|
|
<text style="color:#000">全部筛选</text>
|
|
@@ -120,6 +126,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onPullDownRefresh(){
|
|
|
+ this.videoId=0
|
|
|
+ this.selectPerId=0
|
|
|
this.page=1
|
|
|
this.list=[]
|
|
|
this.finished=false
|
|
@@ -140,8 +148,13 @@ export default {
|
|
|
|
|
|
//点击分类某项
|
|
|
handleSelectPerItem(item){
|
|
|
- this.selectPerId=item.PermissionId
|
|
|
- this.videoId=0
|
|
|
+ if(this.selectPerId==item.PermissionId){
|
|
|
+ this.selectPerId=0
|
|
|
+ }else{
|
|
|
+ this.selectPerId=item.PermissionId
|
|
|
+ }
|
|
|
+
|
|
|
+ this.videoId=0//重置掉分享进入的状态
|
|
|
this.page=1
|
|
|
this.list=[]
|
|
|
this.finished=false
|
|
@@ -278,6 +291,7 @@ export default {
|
|
|
.filter-wrap{
|
|
|
background-color: #fff;
|
|
|
padding-top: 53rpx;
|
|
|
+ padding-bottom: 100rpx;
|
|
|
.top{
|
|
|
font-size: 32rpx;
|
|
|
justify-content: space-between;
|