charginglog.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!--pages/ucenter/charginglog/charginglog.wxml-->
  2. <view class='title'>
  3. <!--<text>您已减排</text>
  4. <text class='bold'>0KG</text>-->
  5. </view>
  6. <scroll-view class='context' scroll-y='true'>
  7. <view class='context_block'></view>
  8. <view class="text_context" wx:for="{{charginglogs}}" wx:key="id" wx:for-item="charginglog" hover-class='active'>
  9. <!-- <view class="map-1" bindtap="getRoute">
  10. <image src="/images/jt.png"></image>
  11. <view>路线</view>
  12. </view> -->
  13. <view class='charging_text_title'>
  14. <view class='charging'>
  15. <image src='/images/charging2.png'></image>
  16. </view>
  17. <view class='charging_text_title1'>
  18. <text class='bold'>{{charginglog.chargStation.chargStationName}}</text>
  19. <text class="h1">{{charginglog.chargStation.address}}</text>
  20. </view>
  21. </view>
  22. <text>{{charginglog.chargPile.chargPileName}}</text>
  23. <text class='inline' decode='true'>充电时长:{{charginglog.totalTime}}&nbsp;&nbsp;&nbsp;&nbsp;</text>
  24. <text class='inline'>充电电量:{{charginglog.chargpower}}度</text>
  25. <text class='gray'>{{charginglog.startTime}}-{{charginglog.endTime}}</text>
  26. <view style='line-height:0;'>
  27. <text class='inline'>总费用:</text>
  28. <text class='inline red'>{{charginglog.chargallmoney}}</text>
  29. <text class='inline' decode='true'>元&nbsp;&nbsp;&nbsp;&nbsp;服务费:</text>
  30. <text class='inline red'>{{charginglog.chargservice}}</text>
  31. <text class='inline' decode='true'>元&nbsp;&nbsp;&nbsp;&nbsp;电费:</text>
  32. <text class='inline red'>{{charginglog.chargmoney}}</text>
  33. <text class='inline'>元</text>
  34. </view>
  35. <text wx:if="{{charginglog.paytype==1}}" decode='true'>支付方式:余额</text>
  36. <text wx:if="{{charginglog.paytype==2}}" decode='true'>支付方式:信用欠款</text>
  37. <text wx:if="{{charginglog.paytype==3}}" decode='true'>支付方式:支付宝</text>
  38. <text wx:if="{{charginglog.paytype==4}}" decode='true'>支付方式:微信支付</text>
  39. <text wx:if="{{charginglog.paytype==5}}" decode='true'>支付方式:银联卡</text>
  40. <text wx:if="{{charginglog.paytype==6}}" decode='true'>支付方式:虚拟货币</text>
  41. </view>
  42. </scroll-view>