[baozhangchao] 3 år sedan
förälder
incheckning
510d843f61

+ 1
- 1
src/components/CarsListContent/index.jsx Visa fil

75
               </View>
75
               </View>
76
             </View>
76
             </View>
77
           )
77
           )
78
-        }) : <ListPlaceholder title='暂无农机信息' />
78
+        }) : <ListPlaceholder title='暂无农机信息' />
79
       }
79
       }
80
 
80
 
81
     </>
81
     </>

+ 3
- 2
src/pages/CheckMap/index.jsx Visa fil

9
 import addresss from '@/assets/mineImgaes/addresss.png'//地址
9
 import addresss from '@/assets/mineImgaes/addresss.png'//地址
10
 import { getMachineryInfo } from "@/services/homes"
10
 import { getMachineryInfo } from "@/services/homes"
11
 import { useModel } from "@/store"
11
 import { useModel } from "@/store"
12
+import { setMorKm } from "@/utils/codeSegment"
12
 import './style.less'
13
 import './style.less'
13
 
14
 
14
 
15
 
88
             <View className='CarsContent-TextBox'>
89
             <View className='CarsContent-TextBox'>
89
               <View className='CheckDetails-bottom-box-flaxBox-liftText'>
90
               <View className='CheckDetails-bottom-box-flaxBox-liftText'>
90
                 <View className='CheckDetails-bottom-box-flaxBox-liftText-Titles'>{carsInfo.name}</View>
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
               </View>
93
               </View>
93
               <View className='content-header-box-map-Info'>
94
               <View className='content-header-box-map-Info'>
94
                 <View className='content-header-box-map-Info-liftCentent'>
95
                 <View className='content-header-box-map-Info-liftCentent'>
95
                   <Image src={addresss} />
96
                   <Image src={addresss} />
96
-                  <View>距离当前位置8.8公里&gt;&gt;</View>
97
+                  <View>距离当前位置{setMorKm(carsInfo.distance)}&gt;&gt;</View>
97
                 </View>
98
                 </View>
98
               </View>
99
               </View>
99
               <View className='content-header-box-map-Info-carsName'>{carsInfo.orgName}</View>
100
               <View className='content-header-box-map-Info-carsName'>{carsInfo.orgName}</View>

+ 1
- 1
src/pages/OrderInfo/index.jsx Visa fil

99
         }).then(() => {
99
         }).then(() => {
100
           setTimeout(() => {
100
           setTimeout(() => {
101
             Taro.reLaunch({
101
             Taro.reLaunch({
102
-              url: `/pages/index/index?tab=1`
102
+              url: `/pages/index/index?tab=2`
103
             })
103
             })
104
           }, 400)
104
           }, 400)
105
         })
105
         })