|
@@ -95,7 +95,7 @@ class Index extends Component {
|
|
|
const that = this
|
|
|
const dictData = Taro.getStorageSync('dictData')
|
|
|
const hxIcon = require('@img/icon_hx.png')
|
|
|
- const vrIcon = require('@img/icon_vr.png')
|
|
|
+ const vrIcon = require('@img/icon_vr3.png')
|
|
|
const { curObj} = this.state
|
|
|
const ptObj = arrToObj(dictData.product_type)
|
|
|
const htObj = arrToObj(dictData.house_type)
|
|
@@ -131,15 +131,15 @@ class Index extends Component {
|
|
|
return (
|
|
|
<View className="sht-ops" key={three}>
|
|
|
<View className="sht-area">
|
|
|
- <View className="sa-left" onClick={this.previewImageHandle.bind(this, three.img_url, two.area_list)} >
|
|
|
- <Image className="img" src={three.img_url + '_xs'}/>
|
|
|
- <View className="tips">
|
|
|
+ <View className="sa-left" >
|
|
|
+ <Image onClick={this.previewImageHandle.bind(this, three.img_url, two.area_list)} className="img" src={three.img_url + '_xs'}/>
|
|
|
+ <View onClick={this.previewImageHandle.bind(this, three.img_url, two.area_list)} className="tips">
|
|
|
<View className="bg"></View>
|
|
|
<View className="t">查看大图</View>
|
|
|
</View>
|
|
|
{
|
|
|
three.vr_key
|
|
|
- ? <Image className="vr-icon" src={vrIcon}/>
|
|
|
+ ? <Image onClick={this.linkVrHandle.bind(this, three)} className="vr-icon" src={vrIcon}/>
|
|
|
: ''
|
|
|
}
|
|
|
</View>
|
|
@@ -152,18 +152,21 @@ class Index extends Component {
|
|
|
<View className="k">建面</View>
|
|
|
<View className="v">{three.area}㎡</View>
|
|
|
</View>
|
|
|
- <View className="op">
|
|
|
- <View className="k">户型VR</View>
|
|
|
- <View className="v">
|
|
|
- {
|
|
|
- three.vr_key
|
|
|
- ?
|
|
|
- <View className="scoped-vr-btn">点击查看</View>
|
|
|
- :
|
|
|
- '待收集'
|
|
|
- }
|
|
|
+ {
|
|
|
+ three.vr_key
|
|
|
+ ?
|
|
|
+ <View className="op">
|
|
|
+ <View className="k2">户型VR</View>
|
|
|
+ <View className="v">
|
|
|
+ <View className="scoped-vr-btn">VR看房</View>
|
|
|
+ </View>
|
|
|
</View>
|
|
|
- </View>
|
|
|
+ :
|
|
|
+ <View className="op">
|
|
|
+ <View className="k">户型VR</View>
|
|
|
+ <View className="v">待收集</View>
|
|
|
+ </View>
|
|
|
+ }
|
|
|
</View>
|
|
|
</View>
|
|
|
{
|