update 搜索用户筛选修改
This commit is contained in:
parent
f4a16320a8
commit
c96b2d8f12
@ -24,7 +24,7 @@
|
|||||||
<view class="~cu-modal ~bottom-modal" :class="{'~show': chooseShow}" @tap="hideModal">
|
<view class="~cu-modal ~bottom-modal" :class="{'~show': chooseShow}" @tap="hideModal">
|
||||||
<view class="~cu-dialog dialog">
|
<view class="~cu-dialog dialog">
|
||||||
<!--管理员才有的操作功能 && 父组件来自首页动态列表时才有-->
|
<!--管理员才有的操作功能 && 父组件来自首页动态列表时才有-->
|
||||||
<block v-if="admin == 1 && from == 'dynamic'">
|
<block v-if="admin && from == 'dynamic'">
|
||||||
<view @tap.stop="deleteDynamic">删除</view>
|
<view @tap.stop="deleteDynamic">删除</view>
|
||||||
<view @tap.stop="conceal">隐藏动态</view>
|
<view @tap.stop="conceal">隐藏动态</view>
|
||||||
<view v-if="selectData.is_hot == 0" @tap.stop="hotDynamic(1)">设置为推荐动态</view>
|
<view v-if="selectData.is_hot == 0" @tap.stop="hotDynamic(1)">设置为推荐动态</view>
|
||||||
@ -63,8 +63,8 @@
|
|||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
admin: {
|
admin: {
|
||||||
type: String,
|
type: Boolean,
|
||||||
default: ''
|
default: false
|
||||||
},
|
},
|
||||||
from: {
|
from: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -222,7 +222,6 @@
|
|||||||
vm.$emit('hideModal')
|
vm.$emit('hideModal')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {}
|
||||||
}
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -115,8 +115,8 @@ page {
|
|||||||
<view class="vertical-box"></view>
|
<view class="vertical-box"></view>
|
||||||
<view class="certification">VIP会员</view>
|
<view class="certification">VIP会员</view>
|
||||||
<view class="select-big-box">
|
<view class="select-big-box">
|
||||||
<view class="select-box {{vipIndex == '0' ? 'true-select-box' : ''}}" @tap="changeSelect('1','0','超级VIP')">超级VIP</view>
|
<view class="select-box {{vipIndex == '0' ? 'true-select-box' : ''}}" @tap="changeSelect('1','0','普通VIP')">普通VIP</view>
|
||||||
<view class="select-box {{vipIndex == '1' ? 'true-select-box' : ''}}" @tap="changeSelect('1','1','普通VIP')">普通VIP</view>
|
<view class="select-box {{vipIndex == '1' ? 'true-select-box' : ''}}" @tap="changeSelect('1','1','超级VIP')">超级VIP</view>
|
||||||
<view class="select-box {{vipIndex == '2' ? 'true-select-box' : ''}}" @tap="changeSelect('1','2','')">不限</view>
|
<view class="select-box {{vipIndex == '2' ? 'true-select-box' : ''}}" @tap="changeSelect('1','2','')">不限</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="vertical-box"></view>
|
<view class="vertical-box"></view>
|
||||||
@ -194,7 +194,7 @@ wepy.page({
|
|||||||
is_approved: '', // 实名认证
|
is_approved: '', // 实名认证
|
||||||
vipIndex: '2', // vip判断
|
vipIndex: '2', // vip判断
|
||||||
is_rank: '', // vip
|
is_rank: '', // vip
|
||||||
is_rank_list: ['超级VIP', '普通VIP', '不限'], // vip
|
is_rank_list: ['普通VIP', '超级VIP', '不限'], // vip
|
||||||
educateIndex: '3', // 学历判断
|
educateIndex: '3', // 学历判断
|
||||||
degree: '', // 学历
|
degree: '', // 学历
|
||||||
degreeList: ['硕士以上', '本科以上', '专科以上', '不限'], // 学历
|
degreeList: ['硕士以上', '本科以上', '专科以上', '不限'], // 学历
|
||||||
@ -284,9 +284,9 @@ wepy.page({
|
|||||||
let vm = this
|
let vm = this
|
||||||
let data = {
|
let data = {
|
||||||
inputVal: vm.inputVal, // 上个页面搜索框内容
|
inputVal: vm.inputVal, // 上个页面搜索框内容
|
||||||
is_approved: vm.realNameList[parseInt(vm.realNameIndex)] == '不限' ? '' : vm.realNameList[parseInt(vm.realNameIndex)], // 实名认证
|
is_approved: vm.realNameList[parseInt(vm.realNameIndex)] == '不限' ? '' : vm.realNameIndex, // 实名认证
|
||||||
realNameIndex: vm.realNameIndex, // 实名认证
|
realNameIndex: vm.realNameIndex, // 实名认证
|
||||||
is_rank: vm.is_rank_list[parseInt(vm.vipIndex)] == '不限' ? '' : vm.is_rank_list[parseInt(vm.vipIndex)], // vip会员
|
is_rank: vm.is_rank_list[parseInt(vm.vipIndex)] == '不限' ? '' : vm.vipIndex, // vip会员
|
||||||
vipIndex: vm.vipIndex, // vip会员下标
|
vipIndex: vm.vipIndex, // vip会员下标
|
||||||
degree: vm.degreeList[parseInt(vm.educateIndex)] == '不限' ? '' : vm.degreeList[parseInt(vm.educateIndex)], // 学历
|
degree: vm.degreeList[parseInt(vm.educateIndex)] == '不限' ? '' : vm.degreeList[parseInt(vm.educateIndex)], // 学历
|
||||||
educateIndex: vm.educateIndex, // 学历下标
|
educateIndex: vm.educateIndex, // 学历下标
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user