scan_result.wxml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <!--pages/scan_result/scan_result.wxml-->
  2. <view wx:if="{{chargPile}}" class="map_text" hover-class='active' >
  3. <!-- <view class="map-1" bindtap="getRoute">
  4. <image src="/images/jt.png"></image>
  5. <view>路线</view>
  6. </view> -->
  7. <view class='charging_text_title'>
  8. <view class='charging'>
  9. <image src='/images/charging2_1.png'></image>
  10. </view>
  11. <view class='charging_text_title1'>
  12. <text class='bold'>{{chargPile.chargPileName}}</text>
  13. <text class="h1">终端编号:{{chargPile.chargPileId}}</text>
  14. </view>
  15. <view class="soc" wx:if="{{chargPile.hasBattery == '2'}}">
  16. <image src='/images/dianliang.png'></image>
  17. <text class='h1'>电量:{{chargPile.currentSoc != null? chargPile.currentSoc :0}}%</text>
  18. </view>
  19. </view>
  20. <!-- <text style='margin-bottom:10rpx;'>地址:{{chargPile.address}}</text> -->
  21. <rich-text space='nbsp' nodes="地址:{{chargPile.address}}" style='line-height:30rpx;font-size:24rpx;margin-bottom:10rpx;word-wrap: break-word;' ></rich-text>
  22. <!-- <text class='fast' wx:if="{{chargPile.pileType=='快充'}}">快桩:2小时</text>
  23. <text class='slow' wx:if="{{chargPile.pileType=='慢充'}}">慢桩:2小时</text> -->
  24. <text class="inline">时段参考费用:</text>
  25. <view class="rtable">
  26. <view class="rtr" style="font-size: 28rpx;">
  27. <view class="rtd t1">时段</view>
  28. <view class="rtd t2">电费</view>
  29. <view class="rtd t2">服务费</view>
  30. <view class="rtd t2">总费用</view>
  31. </view>
  32. <block wx:for="{{resultTable}}" wx:key="*this">
  33. <view wx:if="{{item.currentTime}}" class="rtr active" >当前费用</view>
  34. <view class="rtr {{item.currentTime?'active':''}}" >
  35. <view class="rtd t1">{{item.startTimeStr}} - {{item.endTimeStr}}</view>
  36. <view class="rtd t2">{{item.elecPrice}}{{item.elecPrice=='暂无费用'?'':'元'}}</view>
  37. <view class="rtd t2">{{item.servicePrice}}{{item.servicePrice=='暂无费用'?'':'元'}}</view>
  38. <view class="rtd t2">{{item.sumPrice}}{{item.sumPrice=='暂无费用'?'':'元'}}</view>
  39. </view>
  40. </block>
  41. </view>
  42. <!-- <view style="height:40rpx;width:100%"> </view> -->
  43. <!--
  44. <text class="inline">实时参考费用:</text>
  45. <view style='line-height:0;'>
  46. <rich-text space='nbsp' nodes="电 费:{{chargPile.chargprice}}元 服务费:{{chargPile.serviceprice}}元 总费用:{{chargPile.totalprice}}元" style='line-height:30rpx;font-size:24rpx;margin-bottom:10rpx;word-wrap: break-word;' ></rich-text>
  47. </view>
  48. <text class="inline">参考价格:</text>
  49. <view style='line-height:0;'>
  50. <rich-text space='nbsp' nodes="服务费:尖峰{{chargPile.sharpServicePrice}}元 高峰{{chargPile.peakServicePrice}}元 平段{{chargPile.flatServicePrice}}元 低谷{{chargPile.valleyServicePrice}}元 " style='line-height:30rpx;font-size:24rpx;color:#a3a3a3;margin-bottom:10rpx;word-wrap: break-word;'></rich-text>
  51. </view>
  52. <view style='line-height:0;margin-bottom:10rpx'>
  53. <rich-text space="nbsp" nodes="电 费:尖峰{{chargPile.sharpChargPrice}}元 高峰{{chargPile.peakChargPrice}}元 平段{{chargPile.flatChargPrice}}元 低谷{{chargPile.valleyChargPrice}}元 " style='line-height:30rpx;font-size:24rpx;margin-bottom:10rpx;word-wrap: break-word;'></rich-text>
  54. </view>
  55. <view style='line-height:0;'>
  56. <rich-text space='nbsp' nodes="总费用:尖峰{{chargPile.sharpTotalPrice}}元 高峰{{chargPile.peakTotalPrice}}元 平段{{chargPile.flatTotalPrice}}元 低谷{{chargPile.valleyTotalPrice}}元 " style='line-height:30rpx;font-size:24rpx;color:red;margin-bottom:10rpx;word-wrap: break-word;'></rich-text>
  57. </view>
  58. <view style="margin-bottom:10rpx;margin-top:10rpx">
  59. <rich-text style='line-height:30rpx;word-break:break-all;color: #575757;font-size:26rpx;'><span style="font-weight:bold;color:#000">北京地区</span>峰谷时段划分如下所示(如有峰谷差异电价,详情请咨询场站现场负责人):</rich-text>
  60. </view>
  61. <view style='line-height:0;'>
  62. <text decode='true' style='font-size:24rpx;color:#a3a3a3;margin-bottom:10rpx;'>高峰:10:00-15:00&nbsp;&nbsp;18:00-21:00</text>
  63. </view>
  64. <view style='line-height:0;'>
  65. <text decode='true' style='font-size:24rpx;color:#a3a3a3;margin-bottom:10rpx;'>平段:07:00-10:00&nbsp;&nbsp;15:00-18:00&nbsp;&nbsp;21:00-23:00</text>
  66. </view>
  67. <view style='line-height:0;'>
  68. <text decode='true' style='font-size:24rpx;color:#a3a3a3;margin-bottom:10rpx;'>低谷:23:00至次日07:00</text>
  69. </view>
  70. <view style='line-height:0;'>
  71. <text decode='true' style='font-size:24rpx;color:#a3a3a3;margin-bottom:10rpx;'>尖峰:7\8月11:00-13:00&nbsp;&nbsp;16:00-17:00</text>
  72. </view>
  73. -->
  74. <!--
  75. <view wx:if="{{chargPile.showinfo}}">
  76. <rich-text style='line-height:48rpx;color:red;font-size:32rpx;word-break:break-all;'>信息展现:{{chargPile.showinfo}}</rich-text>
  77. </view> -->
  78. <view wx:if="{{chargPile.showinfo}}" style='margin-top:10rpx;'>
  79. <rich-text style='line-height:36rpx;color:#1D9BF7;font-size:30rpx;word-break:break-all;font-weight: bold;'>{{chargPile.showinfo}}</rich-text>
  80. </view>
  81. <view style='margin-top:10rpx;'>
  82. <rich-text style='line-height:36rpx;color:red;font-size:30rpx;word-break:break-all;'>您当前余额为:{{repaidbalance}}元。建议参考充电总费用(元/度电)与您爱车的电池容量(度),避免因费用不足导致充电量不足的情况发生。</rich-text><rich-text style='line-height:48rpx;color:black;font-size:32rpx;word-break:break-all;'></rich-text>
  83. </view>
  84. <!-- <text style='line-height:48rpx;color:red;font-size:32rpx;'>2</text> -->
  85. <view style='margin-top:10rpx;' wx:if="{{carParkingRate}}">
  86. <rich-text style='line-height:36rpx;color:#1D9BF7;font-size:30rpx;word-break:break-all;font-weight: bold;'>充电即减免 <text class="richHourNum">{{parkTime}}</text>小时停车费。请您确认入场车辆与启动充电时录入的车牌信息保持一致,如录入不一致将无法享受充电减免停车费优惠。</rich-text>
  87. </view>
  88. <!-- <block wx:if="{{authStatus==0}}"> -->
  89. <block wx:if="{{false}}">
  90. <image class="scan_img" src="{{url}}" data-src="{{url}}" bindtap="previewImage"></image>
  91. <view class="scan_text">认证居民请扫码填写调查问卷</view>
  92. </block>
  93. </view>
  94. <button wx:if="{{chargPile}}" class='charg_button' bindtap="beginChargeMsg" >开始充电</button>
  95. <!-- <view style="width: 100%;margin-top:50rpx">
  96. <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
  97. </view> -->