[baozhangchao] пре 3 година
родитељ
комит
510d843f61

+ 1
- 1
src/components/CarsListContent/index.jsx Прегледај датотеку

@@ -75,7 +75,7 @@ export default withLayout((props) => {
75 75
               </View>
76 76
             </View>
77 77
           )
78
-        }) : <ListPlaceholder title='暂无农机信息' />
78
+        }) : <ListPlaceholder title='暂无农机信息' />
79 79
       }
80 80
 
81 81
     </>

+ 3
- 2
src/pages/CheckMap/index.jsx Прегледај датотеку

@@ -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公里&gt;&gt;</View>
97
+                  <View>距离当前位置{setMorKm(carsInfo.distance)}&gt;&gt;</View>
97 98
                 </View>
98 99
               </View>
99 100
               <View className='content-header-box-map-Info-carsName'>{carsInfo.orgName}</View>

+ 1
- 1
src/pages/OrderInfo/index.jsx Прегледај датотеку

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