Commit dad5c835 by 姜雷

修改费率展示

parent 0a1f5d7f
...@@ -852,25 +852,27 @@ class Pay extends Component { ...@@ -852,25 +852,27 @@ class Pay extends Component {
<Text>设备位置</Text> <Text>设备位置</Text>
<Text className='Pay-info-position'>{device.position}</Text> <Text className='Pay-info-position'>{device.position}</Text>
</View> </View>
<View className='Pay-info-item'> {device.rates.length && (
<Text>适用费率</Text> <View className='Pay-info-item'>
<View className='Pay-info-rate'> <Text>适用费率</Text>
{device.rates.map(item => ( <View className='Pay-info-rate'>
<View key={item.name} className='Pay-info-rate-item'> {device.rates.map(item => (
<Text className='Pay-info-rate-name'>{item.name}</Text> <View key={item.name} className='Pay-info-rate-item'>
<Text className='Pay-info-rate-mark'>{item.mark}</Text> <Text className='Pay-info-rate-name'>{item.name}</Text>
</View> <Text className='Pay-info-rate-mark'>{item.mark}</Text>
))} </View>
{/* <View className='Pay-info-rate-item'> ))}
{/* <View className='Pay-info-rate-item'>
<Text className='Pay-info-rate-name'>冷水</Text> <Text className='Pay-info-rate-name'>冷水</Text>
<Text className='Pay-info-rate-mark'>0.02元/100ml</Text> <Text className='Pay-info-rate-mark'>0.02元/100ml</Text>
</View> </View>
<View className='Pay-info-rate-item'> <View className='Pay-info-rate-item'>
<Text className='Pay-info-rate-name'>热水</Text> <Text className='Pay-info-rate-name'>热水</Text>
<Text className='Pay-info-rate-mark'>0.02元/100ml</Text> <Text className='Pay-info-rate-mark'>0.02元/100ml</Text>
</View> */} </View> */}
</View>
</View> </View>
</View> )}
</View> </View>
<View className='Pay-tip'> <View className='Pay-tip'>
{device.refundMode === DeviceRefundMode.notRefund {device.refundMode === DeviceRefundMode.notRefund
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment