daily_riding.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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:46%" controls="{{controls}}" polygons="{{polygons}}" bindregionchange="bindregionchange">
  4. <!-- 四个图标 -->
  5. <cover-view bindtap="help" class="{{screenHeight == 'xSeries' ? 'circlee1' :'circle1 '}} circle">
  6. <cover-image src="/img/icon1.png" class="iconImg"></cover-image>
  7. </cover-view>
  8. <cover-view class="{{screenHeight == 'xSeries' ? 'circlee2' :'circle2 '}} circle">
  9. <cover-image src="{{img}}weapp/stoptrue.png" class="iconImg"></cover-image>
  10. </cover-view>
  11. <cover-view class="{{screenHeight == 'xSeries' ? 'circlee3' :'circle3 '}} circle" bindtap="posi">
  12. <cover-image src="{{img}}weapp/icon3.png" class="iconImg"></cover-image>
  13. </cover-view>
  14. <cover-view class="{{screenHeight == 'xSeries' ? 'circlee4' :'circle4'}} circle" bindtap="refresh">
  15. <cover-image src="{{img}}weapp/icon4.png" class="iconImg"></cover-image>
  16. </cover-view>
  17. <view class="circle5 circle" bindtap="search">
  18. <image src="{{img}}weapp/search.png" class="iconImg" style="width:48rpx;height:48rpx;"></image>
  19. </view>
  20. </map>
  21. <view class="content" style="height:54%;">
  22. <view class="timeout">
  23. <image src="{{img}}weapp/duigou.png" style="width:42rpx;height:42rpx;" wx:if="{{huanche_timeout>0}}"></image>
  24. <view style="padding-left:16rpx;" wx:if="{{huanche_timeout>0}}">
  25. 车辆如有故障,请在<text style="color:#FE7725;">{{huanche_timeout}}s</text>内免费还车
  26. </view>
  27. <image src="/img/weixiao.png" style="width:42rpx;height:42rpx;" wx:if="{{huanche_timeout<0}}"></image>
  28. <view style="padding-left:16rpx;" wx:if="{{huanche_timeout<0}}">学子创客,祝您用车愉快!</view>
  29. </view>
  30. <image src="https://resource.bike.hanyiyun.com/bike_user.png" style="width:196rpx;height:216rpx;"></image>
  31. <view class="posi" bindtap="seek">
  32. <image src="{{img}}weapp/xunche.png" style="width:144rpx;height:60rpx;"></image>
  33. </view>
  34. <view class="code">
  35. <text>车辆编号:{{data.bike_no}}</text>
  36. </view>
  37. <view class="message">
  38. <view>
  39. <text>{{battery_power}}%</text>
  40. <text>剩余电量</text>
  41. </view>
  42. <view>
  43. <text>{{times}}</text>
  44. <text>骑行计时</text>
  45. </view>
  46. <view>
  47. <text>¥{{estimate_money}}</text>
  48. <text>租用金额</text>
  49. </view>
  50. </view>
  51. <view class="btn">
  52. <view class="btn-left">
  53. <view bindtap="open_bike">
  54. <text>开车</text>
  55. </view>
  56. <view bindtap="close_bike">
  57. <text>锁车</text>
  58. </view>
  59. </view>
  60. <view class="btn-right" bindtap="end">
  61. <text>结束租车</text>
  62. </view>
  63. </view>
  64. </view>
  65. <cover-view class="container1" wx:if="{{isShow}}">
  66. <dialog id='dialog' content='运动中不能锁车,请{{timing}}秒后重试~' cancelText='取消' confirm='确定' bind:cancelEvent="_cancelEvent" bind:confirmEvent="_confirmEvent">
  67. </dialog>
  68. </cover-view>
  69. </view>