index.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--nova-werun/components/home/index.wxml-->
  2. <nav type="title" background-color="{{'#87ceeb'}}" front-color="{{'#ffffff'}}"></nav>
  3. <view class="all" style="height: {{contentHeight}}rpx;">
  4. <!-- 顶部 -->
  5. <view class="clockinbox">
  6. <view class="addressbox">
  7. <van-icon name="location-o" size='20px' />
  8. <view class="addressbox-text">{{address}}</view>
  9. </view>
  10. <view class="runbox">
  11. <view class="run">
  12. <view class="tody-steps">今日步数</view>
  13. <view class="step-num">{{sharList[0].steps||0}}</view>
  14. <view class="objective">
  15. <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241102/q12pc1114226514.png?imageView2/1/w/200/h/200" alt="" />
  16. <view class="ob-num">目标:{{target}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="inspire">我坚持运动77天,今天跑赢50%人</view>
  21. <view class="today-check" bindtap="gourl" data-url="../../pages/home/sport/sport-home/index">今日打卡</view>
  22. </view>
  23. <!-- 底部 -->
  24. <view class="selectbox">
  25. <van-notice-bar color="#1989fa" color='#000' background="#ecf9ff" background="#fff" left-icon="volume-o" custom-class='a' text="在微信开发者工具中进行测试,确保定位和轨迹绘制的准确性。完成测试后,提交审核并发布小程序。通过以上步骤,您就可以在微信小程序中使用高德地图实现实时运动轨迹的功能。" />
  26. <view class="typebox">
  27. <view class="container">
  28. <view class="column" wx:for="{{rows}}" wx:key="index" data-url="{{item.url}}" bindtap="gourl" data-active="{{item.active}}">
  29. <image src="{{item.image}}"></image>
  30. <text class="item-text">{{item.text}}</text>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <!-- 活动 -->
  36. <view class="activitybox">
  37. </view>
  38. </view>