riding.wxml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <view class="index" style="height:{{windowHeight}}rpx">
  2. <!-- 地图 -->
  3. <map id="map" longitude='{{longitude}}' latitude='{{latitude}}' scale='16' markers="{{markers}}" show-location="true" style="height:48%" controls="{{controls}}" polygons="{{polygons}}" bindregionchange="bindregionchange">
  4. <!-- 广告位轮播 -->
  5. <view class='notice-wrap'>
  6.   <view class='tongzhitext'>
  7.     <text class="tongzhi-text">注意:车辆静止30分钟将自动还车!!</text>
  8.   </view>
  9. </view>
  10. <!-- 四个图标 -->
  11. <cover-view bindtap="help" class="{{screenHeight == 'xSeries' ? 'circlee1' :'circle1 '}} circle">
  12. <cover-image src="/img/icon1.png" class="iconImg"></cover-image>
  13. </cover-view>
  14. <cover-view class="{{screenHeight == 'xSeries' ? 'circlee2' :'circle2 '}} circle">
  15. <cover-image src="{{img}}weapp/stoptrue.png" class="iconImg"></cover-image>
  16. </cover-view>
  17. <cover-view class="{{screenHeight == 'xSeries' ? 'circlee3' :'circle3 '}} circle" bindtap="posi">
  18. <cover-image src="{{img}}weapp/icon3.png" class="iconImg"></cover-image>
  19. </cover-view>
  20. <cover-view class="{{screenHeight == 'xSeries' ? 'circlee4' :'circle4'}} circle" bindtap="refresh">
  21. <cover-image src="{{img}}weapp/icon4.png" class="iconImg"></cover-image>
  22. </cover-view>
  23. <view class="{{screenHeight == 'xSeries' ? 'circle5' :'circle5'}} circle" bindtap="search">
  24. <image src="{{img}}weapp/search.png" class="iconImg" style="width:48rpx;height:48rpx;"></image>
  25. </view>
  26. </map>
  27. <view class="content" style="height:52%;">
  28. <view class="timeout">
  29. <image src="{{img}}weapp/duigou.png" style="width:42rpx;height:42rpx;" wx:if="{{huanche_timeout>0}}"></image>
  30. <view style="padding-left:16rpx;" wx:if="{{huanche_timeout>0}}">
  31. 车辆如有故障,请在<text style="color:#FE7725;">{{huanche_timeout}}s</text>内免费还车
  32. </view>
  33. <image src="/img/weixiao.png" style="width:42rpx;height:42rpx;" wx:if="{{huanche_timeout<0}}"></image>
  34. <view style="padding-left:16rpx;" wx:if="{{huanche_timeout<0}}">{{title}},祝您用车愉快!</view>
  35. </view>
  36. <image src="https://resource.bike.hanyiyun.com/bike_user.png" style="width:196rpx;height:216rpx;"></image>
  37. <view class="posi" bindtap="seek">
  38. <image src="{{img}}weapp/xunche.png" style="width:144rpx;height:60rpx;"></image>
  39. </view>
  40. <view class="code">
  41. <text>车辆编号:{{data.bike_no}}</text>
  42. <!-- <text bindtap="repair">车辆报修</text> -->
  43. </view>
  44. <view class="message">
  45. <view>
  46. <text>{{battery_power}}%</text>
  47. <text>剩余电量</text>
  48. </view>
  49. <view>
  50. <text>{{times}}<text class="min" wx:if="{{isHour==false}}">分</text></text>
  51. <!-- <view class="step3-item-num">{{times}}<text class="min" wx:if="{{isHour==false}}">分</text></view> -->
  52. <text>骑行计时</text>
  53. </view>
  54. <view>
  55. <text>¥{{estimate_money}}</text>
  56. <text>预计金额</text>
  57. </view>
  58. </view>
  59. <view class="btn">
  60. <view class="btn-left" bindtap="end">
  61. <text>结束骑行</text>
  62. </view>
  63. <view class="btn-right" bindtap="openBike" wx:if="{{retry}}" style="font-size:26rpx;">
  64. <text>重试开锁({{timeout}}s)</text>
  65. </view>
  66. <view class="btn-right" wx:else>
  67. <text wx:if="{{parke == true}}" bindtap="parking">{{bolear==1?'临时停车':'临时开车'}}</text>
  68. <view wx:else style="font-size:24rpx;">
  69. <text wx:if="{{bolear==1}}" bindtap="retry1">重试临时开车({{timeout}}s)</text>
  70. <text wx:if="{{bolear==0}}" bindtap="retry2">重试临时停车({{timeout}}s)</text>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <cover-view class="container1" wx:if="{{isSshow}}">
  76. <dialog id='dialog' content='运动中不能锁车,请{{timing}}秒后重试~' cancelText='取消' confirm='确定' bind:cancelEvent="_cancelEvent" bind:confirmEvent="_confirmEvent">
  77. </dialog>
  78. </cover-view>
  79. </view>