staticHeartRateHelp.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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="block">
  9. 静态心率测量方法
  10. </view>
  11. <view class="block">
  12. 早晨起床做起来第一件事,掐脉搏一分钟的心跳次数 = 你的静态心率
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. }
  22. },
  23. onLoad() {
  24. },
  25. methods: {
  26. onBack: function(id,e) {
  27. uni.navigateBack({
  28. delta:1,
  29. })
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss">
  35. .container {
  36. display: flex;
  37. flex-direction: column;
  38. align-items: center;
  39. justify-content: center;
  40. width:100%;
  41. height: 100vh;
  42. }
  43. .navigation-bar
  44. {
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. width: 100%;
  49. height: 10%;
  50. font-weight: 700;
  51. color: white;
  52. background-color: rgb(115,164,164);
  53. }
  54. .back{
  55. position: absolute;
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. width: 2%;
  60. height: 2%;
  61. top: 3%;
  62. left: 1%;
  63. //testing
  64. // border: 1px solid rgb(255,0,0);
  65. }
  66. .content{
  67. display: flex;
  68. flex-direction: column;
  69. align-items: center;
  70. justify-content: center;
  71. width:100%;
  72. height:100%;
  73. }
  74. .block
  75. {
  76. margin: 2%;
  77. }
  78. </style>