|
@@ -38,6 +38,10 @@ export default (props) => {
|
38
|
38
|
Taro.navigateTo({ url: '/pages/MoreCars/index' })
|
39
|
39
|
}
|
40
|
40
|
|
|
41
|
+ const startReserve = () => {
|
|
42
|
+ Taro.navigateTo({ url: `/pages/OrderInfo/index?id${1}` })
|
|
43
|
+
|
|
44
|
+ }
|
41
|
45
|
const goCarsInfo = (res) => {
|
42
|
46
|
Taro.navigateTo({ url: `/pages/CheckDetails/index?id=${res}` })
|
43
|
47
|
|
|
@@ -86,14 +90,14 @@ export default (props) => {
|
86
|
90
|
carsList.map((item, index) => {
|
87
|
91
|
return (
|
88
|
92
|
<View key={index} className='carsListImga-bottom-box'>
|
89
|
|
- <Image src={item.carsUrl} />
|
|
93
|
+ <Image src={item.carsUrl} onClick={() => goCarsInfo(item.id)} />
|
90
|
94
|
<View className='carsListImga-bottom-box-flaxBox'>
|
91
|
95
|
<View className='carsListImga-bottom-box-flaxBox-liftText'>
|
92
|
96
|
<View className='carsListImga-bottom-box-flaxBox-liftText-Titles'>{item.carsName}</View>
|
93
|
97
|
<View className='carsListImga-bottom-box-flaxBox-liftText-price'>{item.jiage}/<Text>公顷</Text></View>
|
94
|
98
|
</View>
|
95
|
99
|
<View className='carsListImga-bottom-box-flaxBox-rightBut'>
|
96
|
|
- <ButtontWX onClick={() => goCarsInfo(item.id)} butText='预约' butWidth={80} butHeight={34} butFontSize={19} butBorderRadius={0} />
|
|
100
|
+ <ButtontWX onClick={startReserve} butText='预约' butWidth={80} butHeight={34} butFontSize={19} butBorderRadius={0} />
|
97
|
101
|
</View>
|
98
|
102
|
</View>
|
99
|
103
|
<View className='content-header-box-map' onClick={() => goMapInfo(item.mapId)}>
|