help.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <template>
  2. <view class="container">
  3. <view class="navigation-bar">有氧运动心率</view>
  4. <view class="back" @click="onBack(0, $event)">
  5. <image src="/static/backArrow.png" mode="aspectFit" style="width:100%"></image>
  6. </view>
  7. <view class="content">
  8. <view class="" style="position: relative; margin-top: 100rpx;">
  9. <view class="title">
  10. 有氧运动心率
  11. </view>
  12. <view class="explain">
  13. <view class="block">
  14. 基础代谢率是指你一天躺在床上不动,但不睡觉身体维持生命所需消耗的热量
  15. </view>
  16. <view class="block">
  17. 最低有氧心率 = 220-年龄-静态心率x0.55+静态心率
  18. </view>
  19. <view class="block">
  20. 最高有氧心率 = 220-年龄-静态心率x0.75+静态心率
  21. </view>
  22. <view class="">
  23. 有氧简直运动注意事项:
  24. </view>
  25. <view class="">
  26. 1,在运动时心率要控制在最高和最低之间。
  27. </view>
  28. <view class="">
  29. 2,持续25分钟以上才开始脂肪供能,前5分钟是糖原供能
  30. </view>
  31. <view class="">
  32. 3,整个过程无间歇
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. data() {
  42. return {
  43. }
  44. },
  45. onLoad() {
  46. },
  47. methods: {
  48. onBack: function(id,e) {
  49. uni.navigateBack({
  50. delta:1,
  51. })
  52. }
  53. }
  54. }
  55. </script>
  56. <style lang="scss">
  57. .container {
  58. display: flex;
  59. flex-direction: column;
  60. align-items: center;
  61. justify-content: center;
  62. width:100%;
  63. height: 100vh;
  64. }
  65. .navigation-bar
  66. {
  67. display: flex;
  68. align-items: center;
  69. justify-content: center;
  70. width: 100%;
  71. height: 6%;
  72. font-weight: 700;
  73. color: white;
  74. font-size: 44rpx;
  75. background-color: rgb(115,164,164);
  76. }
  77. .back{
  78. position: absolute;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. width: 2%;
  83. height: 2%;
  84. top: 2%;
  85. left: 1%;
  86. //testing
  87. // border: 1px solid rgb(255,0,0);
  88. }
  89. .content{
  90. // display: flex;
  91. width:100%;
  92. height:100%;
  93. // justify-content: center;
  94. color: #A66640;
  95. font-weight: bold;
  96. font-size: 30rpx;
  97. }
  98. .title{
  99. text-align: center;
  100. background-image: url("../../static/home/title5.png");
  101. background-repeat: no-repeat;
  102. height: 177rpx;
  103. line-height: 177rpx;
  104. background-position: center;
  105. position: absolute;
  106. width: 100%;
  107. top: -100rpx;
  108. background-size: 70%;
  109. font-size: 30rpx;
  110. }
  111. .explain{
  112. width: 85%;
  113. border: 10rpx solid #D2A58C;
  114. border-radius: 5rpx;
  115. margin: auto;
  116. background: #FBF0EA;
  117. padding: 50rpx 20rpx;
  118. color: #AA6C48;
  119. view{
  120. line-height: 50rpx;
  121. }
  122. }
  123. </style>