diff --git a/src/components/dynamicOperation.wpy b/src/components/dynamicOperation.wpy index b633bcc..e66898a 100644 --- a/src/components/dynamicOperation.wpy +++ b/src/components/dynamicOperation.wpy @@ -24,7 +24,7 @@ - + 删除 隐藏动态 设置为推荐动态 @@ -63,8 +63,8 @@ default: false }, admin: { - type: String, - default: '' + type: Boolean, + default: false }, from: { type: String, @@ -222,7 +222,6 @@ vm.$emit('hideModal') } }, - created() { - } + created() {} }) diff --git a/src/pages/home/searchCondition.wpy b/src/pages/home/searchCondition.wpy index f834334..1705707 100644 --- a/src/pages/home/searchCondition.wpy +++ b/src/pages/home/searchCondition.wpy @@ -115,8 +115,8 @@ page { VIP会员 - 超级VIP - 普通VIP + 普通VIP + 超级VIP 不限 @@ -194,7 +194,7 @@ wepy.page({ is_approved: '', // 实名认证 vipIndex: '2', // vip判断 is_rank: '', // vip - is_rank_list: ['超级VIP', '普通VIP', '不限'], // vip + is_rank_list: ['普通VIP', '超级VIP', '不限'], // vip educateIndex: '3', // 学历判断 degree: '', // 学历 degreeList: ['硕士以上', '本科以上', '专科以上', '不限'], // 学历 @@ -284,9 +284,9 @@ wepy.page({ let vm = this let data = { 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, // 实名认证 - 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会员下标 degree: vm.degreeList[parseInt(vm.educateIndex)] == '不限' ? '' : vm.degreeList[parseInt(vm.educateIndex)], // 学历 educateIndex: vm.educateIndex, // 学历下标