修改筛选发布时间默认值

This commit is contained in:
A1300399510 2023-07-13 12:27:21 +08:00
parent 57f59bea72
commit 6f458557ec
6 changed files with 9 additions and 8 deletions

View File

@ -67,7 +67,7 @@ Page({
data: {
gender: "0",
leaseterm: "0",
publish: "twomonth",
publish: "0",
}
},
brands: { //品牌
@ -654,7 +654,7 @@ Page({
data: {
gender: "0",
leaseterm: "0",
publish: "twomonth",
publish: "0",
}
},
brands: { //品牌

View File

@ -82,7 +82,8 @@ Page({
data: {
gender: "0",
leaseterm: "0",
publish: "twomonth",
// publish: "twomonth",
publish: "0",
}
},
lists: [],
@ -190,7 +191,7 @@ Page({
that.data.types.value = options.types || '';
that.data.moreCondition.data.gender = options.gender || '0';
that.data.moreCondition.data.leaseterm = options.leaseterm || '0';
that.data.moreCondition.data.publish = options.publish || 'twomonth';
that.data.moreCondition.data.publish = options.publish || "0";
this.setData({
q: options.q ? options.q : '',

View File

@ -49,7 +49,7 @@ Page({
data: {
gender: "0",
leaseterm: "",
publish: "twomonth",
publish: 0,
}
},
city: {

View File

@ -115,7 +115,7 @@ Component({
// 确认是中介
confirmIntermediary(e) {
let isintermediary = e.currentTarget.dataset.isintermediary
this.data.identityKey = 1
if (isintermediary == 1) this.data.identityKey = 1
this.overallJump()
miucms.request(`${app.globalData.baseURL}/tenement/v2/api/publish/submitidentity`, {
@ -123,7 +123,6 @@ Component({
}).then(res => {
if (res.code != 200) return
app.globalData.user.identity = isintermediary
// this.overallJump()
})
},

View File

@ -54,6 +54,7 @@ Component({
let identityList = data.data
let isintermediary = data.isintermediary
if (data['ispopup'] == 0) {
// if (data['ispopup'] == 1) {
let miniProgram = app.globalData.miniProgram
let url = `/pages/edit/edit?intermediary=${isintermediary}`
if (miniProgram == 'xg') {

View File

@ -551,7 +551,7 @@ Component({
this.setData({
['leaseterm.value']: 0,
['gender.value']: 0,
['publish.value']: "twomonth",
['publish.value']: 0,
moreOtherValue,
})
return