|
@@ -9,6 +9,7 @@ import locationImage from "@/assets/icons/comm/locationImage.png"
|
9
|
9
|
import addresss from '@/assets/mineImgaes/addresss.png'//地址
|
10
|
10
|
import { getMachineryInfo } from "@/services/homes"
|
11
|
11
|
import { useModel } from "@/store"
|
|
12
|
+import { setMorKm } from "@/utils/codeSegment"
|
12
|
13
|
import './style.less'
|
13
|
14
|
|
14
|
15
|
|
|
@@ -88,12 +89,12 @@ export default withLayout((props) => {
|
88
|
89
|
<View className='CarsContent-TextBox'>
|
89
|
90
|
<View className='CheckDetails-bottom-box-flaxBox-liftText'>
|
90
|
91
|
<View className='CheckDetails-bottom-box-flaxBox-liftText-Titles'>{carsInfo.name}</View>
|
91
|
|
- <View className='CheckDetails-bottom-box-flaxBox-liftText-price'>{carsInfo.price}/<Text>公顷</Text></View>
|
|
92
|
+ <View className='CheckDetails-bottom-box-flaxBox-liftText-price'>{(carsInfo.price / 100).toFixed(2)}/<Text>公顷</Text></View>
|
92
|
93
|
</View>
|
93
|
94
|
<View className='content-header-box-map-Info'>
|
94
|
95
|
<View className='content-header-box-map-Info-liftCentent'>
|
95
|
96
|
<Image src={addresss} />
|
96
|
|
- <View>距离当前位置8.8公里>></View>
|
|
97
|
+ <View>距离当前位置{setMorKm(carsInfo.distance)}>></View>
|
97
|
98
|
</View>
|
98
|
99
|
</View>
|
99
|
100
|
<View className='content-header-box-map-Info-carsName'>{carsInfo.orgName}</View>
|