提交
This commit is contained in:
parent
46509dd860
commit
2eb0c5696d
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
@eaDir/
|
||||
/.git
|
||||
*.log
|
||||
project.private.config.json
|
@ -482,11 +482,19 @@ Page({
|
||||
|
||||
// 获取关于发布
|
||||
getAbout() {
|
||||
if (!app.globalData['aboutRulesList']) {
|
||||
this.setData({
|
||||
aboutRulesList: app.globalData['aboutRulesList']
|
||||
})
|
||||
return
|
||||
}
|
||||
miucms.request(`${app.globalData.baseURL}/tenement/v2.Publish/about`).then(res => {
|
||||
app.globalData['aboutRulesList'] = res.data
|
||||
this.setData({
|
||||
aboutRulesList: res.data
|
||||
})
|
||||
})
|
||||
console.log("aboutRulesList", this.data.aboutRulesList);
|
||||
},
|
||||
|
||||
// 新的获取发布数据
|
||||
|
@ -545,7 +545,13 @@ Page({
|
||||
|
||||
// 获取关于发布
|
||||
getAbout() {
|
||||
if (!app.globalData['aboutRulesList']) {
|
||||
this.setData({
|
||||
aboutRulesList: app.globalData['aboutRulesList']
|
||||
})
|
||||
}
|
||||
miucms.request(`${app.globalData.baseURL}/tenement/v2.Publish/about`).then(res => {
|
||||
app.globalData['aboutRulesList'] = res.data
|
||||
this.setData({
|
||||
aboutRulesList: res.data
|
||||
})
|
||||
@ -823,6 +829,7 @@ Page({
|
||||
pitchyear: this.data.pitchyear,
|
||||
pitchmonth: this.data.pitchmonth,
|
||||
pitchday: this.data.pitchday,
|
||||
allowpublishednum: data.allowpublishednum,
|
||||
|
||||
})
|
||||
|
||||
@ -1721,7 +1728,7 @@ Page({
|
||||
} else field = e
|
||||
|
||||
if (field == "intermediary" && value == "求房源") {
|
||||
|
||||
|
||||
wx.navigateTo({
|
||||
url: `/pages/askHousing/askHousing?uniqid=${this.data.uniqid}`,
|
||||
})
|
||||
|
@ -75,7 +75,7 @@
|
||||
</view>
|
||||
|
||||
<view class="edit-head-surplus flexacenter" bindtap="setValue" data-key="popUpIs" data-value="about">
|
||||
<view class="edit-head-surplus-text">您还可以发布 <text>3</text> 条普通房源</view>
|
||||
<view class="edit-head-surplus-text">您还可以发布 <text>{{ allowpublishednum }}</text> 条普通房源</view>
|
||||
<view class="flexacenter">
|
||||
了解更多<image class="edit-head-surplus-icon" src="/img/blue-arrow.svg"></image>
|
||||
</view>
|
||||
|
@ -359,12 +359,6 @@
|
||||
"query": "",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"pathName": "pages/show/show",
|
||||
"query": "tid=&uniqid=nLDv5qiWyPLH",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"pathName": "pages/show/show",
|
||||
|
Loading…
x
Reference in New Issue
Block a user