From c96b2d8f127673e67bf7282a2e5765a145d45394 Mon Sep 17 00:00:00 2001 From: zengBin Date: Tue, 29 Oct 2024 11:07:29 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=90=9C=E7=B4=A2=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dynamicOperation.wpy | 9 ++++----- src/pages/home/searchCondition.wpy | 10 +++++----- 2 files changed, 9 insertions(+), 10 deletions(-) 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, // 学历下标