elpackage.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!-- pages/index.wxml -->
  2. <!-- <import src="/components/circle-progress/circle-progress.wxml"/> -->
  3. <!-- <view style="width:400rpx;height:400rpx;background-color: green;">
  4. <circle-progress name="circle-progress" progress="{{progressPercentage}}" disabled="{{false}}"/>
  5. </view> -->
  6. <!--pages/scan_result/scan_result.wxml-->
  7. <view wx:if="{{chargPile}}" class="map_text" hover-class='active' >
  8. <view class='charging_text_title'>
  9. <view class='charging'>
  10. <image src='/images/charging2_1.png'></image>
  11. </view>
  12. <view class='charging_text_title1'>
  13. <text class='bold'>{{chargPile.chargStationName}}</text> <!-- xxxxx场站 -->
  14. <!-- <text class="h1">{{chargPile.chargStationId}}号车位</text> -->
  15. <text class="h1">{{parkObj.pointShowName}}</text> <!-- xxx号车位 -->
  16. </view>
  17. </view>
  18. <!-- <text style='margin-bottom:10rpx;'>地址:{{chargPile.address}}</text> -->
  19. <text style='line-height:24rpx;height:24rpx;font-size:24rpx;margin-top: 16rpx;' >地址:{{chargPile.address}}</text>
  20. <text style="line-height:24rpx;height:24rpx;font-size:24rpx;margin: 20rpx 0;">请选择电池包</text>
  21. <view class="cardHub {{!hid?'hid':''}}" >
  22. <block wx:for="{{eleList}}" wx:key="*this" >
  23. <view class="card {{item.active?'':'dis'}}" bindtap="selectEle" data-idx="{{index}}">
  24. <view class="circleOut">{{index + 1}}</view>
  25. <view class="main">
  26. <view style="width:60rpx;height:60rpx;margin: 0 auto;margin-top: 30rpx;">
  27. <circle-progress name="circle-progress" progress="{{item.currentSoc}}" disabled="{{!item.active}}"/>
  28. </view>
  29. <view class="no">编号:{{item.chargPileId}}</view>
  30. </view>
  31. <view class="foot">电池包可用
  32. </view>
  33. </view>
  34. </block>
  35. <!--
  36. <view class="card dis">
  37. <view class="circleOut"><view class="circleIn">1</view></view>
  38. <view class="main">
  39. <view style="width:60rpx;height:60rpx;margin: 0 auto;margin-top: 40rpx;">
  40. <circle-progress name="circle-progress" progress="100" disabled="{{true}}" width="{{15}}" r="{{14}}" lw="{{1}}"/>
  41. </view>
  42. <view class="no">编号:123456789</view>
  43. </view>
  44. <view class="foot">电池包不可用
  45. </view>
  46. </view>
  47. -->
  48. </view>
  49. </view>
  50. <button wx:if="{{chargPile}}" class="{{car_active?'login_button':'login_button_disable'}}" bindtap="callCar" >呼叫充电车</button>