Commit dad5c835 by 姜雷

修改费率展示

parent 0a1f5d7f
......@@ -852,25 +852,27 @@ class Pay extends Component {
<Text>设备位置</Text>
<Text className='Pay-info-position'>{device.position}</Text>
</View>
<View className='Pay-info-item'>
<Text>适用费率</Text>
<View className='Pay-info-rate'>
{device.rates.map(item => (
<View key={item.name} className='Pay-info-rate-item'>
<Text className='Pay-info-rate-name'>{item.name}</Text>
<Text className='Pay-info-rate-mark'>{item.mark}</Text>
</View>
))}
{/* <View className='Pay-info-rate-item'>
{device.rates.length && (
<View className='Pay-info-item'>
<Text>适用费率</Text>
<View className='Pay-info-rate'>
{device.rates.map(item => (
<View key={item.name} className='Pay-info-rate-item'>
<Text className='Pay-info-rate-name'>{item.name}</Text>
<Text className='Pay-info-rate-mark'>{item.mark}</Text>
</View>
))}
{/* <View className='Pay-info-rate-item'>
<Text className='Pay-info-rate-name'>冷水</Text>
<Text className='Pay-info-rate-mark'>0.02元/100ml</Text>
</View>
<View className='Pay-info-rate-item'>
</View>
<View className='Pay-info-rate-item'>
<Text className='Pay-info-rate-name'>热水</Text>
<Text className='Pay-info-rate-mark'>0.02元/100ml</Text>
</View> */}
</View>
</View>
</View>
)}
</View>
<View className='Pay-tip'>
{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