<!--pages/charging/charging.wxml-->
<view class="map_text" hover-class='active'>
  <view class='charging_text_title'>
    <view class='charging_text_title1'>
      <text class="bold">{{chargPile.chargPileName}}</text>
      <text class='h1'>终端编号：{{chargPileId}}</text>
    </view>
  </view>
  <view class="adress_df">地址：{{chargPile.address}}</view>
  <view class="desc_text">充电过程中禁止拔枪，如发生火灾请拨打119报警！</view>
  <view class="desc_text">如发生异常情况请联系客服</view>
  <view class="desc_text" style="color:#8F8E94" bindtap="phoneCall">客服电话：4009608068</view>

  <view class='chargeover'>
    <image class='over' src='/images/chargeover_1.png'></image>
    <ec-canvas force-use-old-canvas="true" class="progress_canvas" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  </view>

  <view class='text_context' >
    <text class="text1">已充时长</text>
    <text class="text3">{{chargingTime}}</text>
  </view>
  <view class="context">
    <view class='context_view' bindtap="goPurse" hover-class='active'>
      <image class='electric' src='/images/electric.png'></image>
      <text>电流</text>
      <text class='text2'>{{cdscdl}}A</text>
    </view>
    <view class='context_view1' bindtap="goCharginglog" hover-class='active'>
      <image class='voltage' src='/images/voltage.png'></image>
      <text>电压</text>
      <text class='text2'>{{cdscdy}}V</text>
    </view>
    <view class='context_view' hover-class='active'>
      <image class='money' src='/images/money.png'></image>
      <text>费用</text>
      <text class='text2'>{{totalMoney}}元</text>
    </view>
  </view>
  


<view class="e_warn" bindtap="exceptionWarn"><image src="/images/warn.png"/><text>异常订单申诉</text></view>
<button class='{{chargingOrder.chargPileStatus==2?"charg_button":"charg_button_disable"}}' bindtap='{{chargingOrder.chargPileStatus==2?"stopCharging":""}}'>停止充电</button>
</view>