|
@@ -868,12 +868,11 @@ class Index extends Component {
|
|
|
const i2 = require('./img/yfyj/yfyj02.png')
|
|
|
const bg = require('./img/yfyj/yfyj03s.jpg')
|
|
|
const { curObj } = this.state
|
|
|
- const lotteryObj = curObj.estate_lottery || {}
|
|
|
const { userInfo } = this.state
|
|
|
const uInfo = userInfo || Taro.getStorageSync('APP_userInfo')
|
|
|
return (
|
|
|
<View className={uInfo.is_sale == 1 ? 'scoped-entry-yh' : 'scoped-entry-yh hide'}>
|
|
|
- <Navigator url={`/pagesRoom/roomPrice2?eId=${curObj.id}&name=${curObj.estate_name}&id=${lotteryObj.id}`} className="sey-wrap">
|
|
|
+ <Navigator url={`/pagesRoom/roomPrice2?eId=${curObj.id}&name=${curObj.estate_name}`} className="sey-wrap">
|
|
|
<View className="sey-img">
|
|
|
<Image className="img" src={bg}></Image>
|
|
|
</View>
|
|
@@ -887,36 +886,30 @@ class Index extends Component {
|
|
|
const i2 = require('./img/yfyj/yfyj02.png')
|
|
|
const bg = require('./img/yfyj/yfyj03s.jpg')
|
|
|
const { curObj } = this.state
|
|
|
- const lotteryObj = curObj.estate_lottery || {}
|
|
|
+ const estateBuildingObj = curObj.estate_building || {}
|
|
|
const { userInfo } = this.state
|
|
|
const uInfo = userInfo || Taro.getStorageSync('APP_userInfo')
|
|
|
return (
|
|
|
<View className="scoped-entry-yh">
|
|
|
{
|
|
|
- uInfo.is_sale == 1
|
|
|
+ uInfo.is_sale == 2
|
|
|
?
|
|
|
- <Navigator url={`/pagesRoom/roomPriceXk?eId=${curObj.id}&name=${curObj.estate_name}&id=${lotteryObj.id}`} className="sey-wrap">
|
|
|
- <View className="sey-p1">
|
|
|
- <Image className="i" src={i1}></Image>
|
|
|
- <View className="t">最新更新:{lotteryObj.building_num}</View>
|
|
|
- </View>
|
|
|
- <View className="sey-p1">
|
|
|
- <Image className="i" src={i2}></Image>
|
|
|
- <View className="t2">{lotteryObj.update_at}</View>
|
|
|
- </View>
|
|
|
- <View className="sey-img">
|
|
|
- <Image className="img" src={bg}></Image>
|
|
|
- </View>
|
|
|
- </Navigator>
|
|
|
+ <View className={'scoped-entry-yh'}>
|
|
|
+ <Navigator url={`/pagesRoom/roomPrice2?eId=${curObj.id}&name=${curObj.estate_name}`} className="sey-wrap">
|
|
|
+ <View className="sey-img">
|
|
|
+ <Image className="img" src={bg}></Image>
|
|
|
+ </View>
|
|
|
+ </Navigator>
|
|
|
+ </View>
|
|
|
:
|
|
|
- <Navigator url={`/pagesRoom/roomPrice?eId=${curObj.id}&name=${curObj.estate_name}&id=${lotteryObj.id}`} className="sey-wrap">
|
|
|
+ <Navigator url={`/pagesRoom/roomPrice?eId=${curObj.id}&name=${curObj.estate_name}`} className="sey-wrap">
|
|
|
<View className="sey-p1">
|
|
|
<Image className="i" src={i1}></Image>
|
|
|
- <View className="t">最新更新:{lotteryObj.building_num}</View>
|
|
|
+ <View className="t">最新更新:{`${estateBuildingObj.building}栋${estateBuildingObj.unit}单元`}</View>
|
|
|
</View>
|
|
|
<View className="sey-p1">
|
|
|
<Image className="i" src={i2}></Image>
|
|
|
- <View className="t2">{lotteryObj.update_at}</View>
|
|
|
+ <View className="t2">{estateBuildingObj.create_at}</View>
|
|
|
</View>
|
|
|
<View className="sey-img">
|
|
|
<Image className="img" src={bg}></Image>
|
|
@@ -1115,7 +1108,7 @@ class Index extends Component {
|
|
|
const pagesLength = pages.length
|
|
|
const schoolList = curObj.school_list || {}
|
|
|
const { YH } = this.$router.params
|
|
|
- const lotteryObj = curObj.estate_lottery || {}
|
|
|
+ const estateBuildingObj = curObj.estate_building || {}
|
|
|
const channelList = curObj.estate_channel || []
|
|
|
const { viewId } = this.state
|
|
|
return (
|
|
@@ -1142,20 +1135,11 @@ class Index extends Component {
|
|
|
: this.renderAdBanner2()
|
|
|
}
|
|
|
|
|
|
- {/* {
|
|
|
- lotteryObj.lottery_res
|
|
|
- ? this.renderYH()
|
|
|
- :
|
|
|
- lotteryObj.under_way
|
|
|
- ?
|
|
|
- this.renderEntryYH()
|
|
|
- : ''
|
|
|
- } */}
|
|
|
{
|
|
|
curObj.estate_tag === '二手'
|
|
|
? this.renderEntryYH2()
|
|
|
:
|
|
|
- lotteryObj.building_num
|
|
|
+ estateBuildingObj.id
|
|
|
?
|
|
|
this.renderEntryYH()
|
|
|
: ''
|