| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <template>
- <view class="container">
- <view class="navigation-bar">每日消耗热量</view>
- <view class="back" @click="onBack(0, $event)">
- <image src="/static/backArrow.png" mode="aspectFit" style="width:100%"></image>
- </view>
- <view class="content">
- <view class="" style="position: relative; margin-top: 100rpx;">
- <view class="title">
- 每日消耗热量计算方法
- </view>
- <view class="explain">
<view class="block">
- 基础代谢简称(BMR)
</view>
<view class="block">
- BMRx运动表现=消耗热量/天
</view>
- </view>
- </view>
- <view class="">
- <table border="1">
- <tr>
- <td>运动量/天</td>
- <td>运动表现描述</td>
- <td>预估消耗/天</td>
- </tr>
- <tr>
- <td>久坐</td>
- <td>办公室久坐没有什么运动</td>
- <td>BMR x 1.2 = 消耗热量/天</td>
- </tr>
- <tr>
- <td>轻度运动</td>
- <td>每周轻松1-3次运动</td>
- <td>BMR x 1.375= 消耗热量/天</td>
- </tr>
- <tr>
- <td>中度运动</td>
- <td>每周中等强度3-5次</td>
- <td>BMR x 1.5 = 消耗热量/天</td>
- </tr>
- <tr>
- <td>大强度运动</td>
- <td>每周大强度运动5-7次以上</td>
- <td>BMR x 1.725 = 消耗热量/天</td>
- </tr>
- <tr>
- <td>专业运动员强度</td>
- <td>大强度训练每周8次以上</td>
- <td>BMR x 1.9 = 消耗热量/天</td>
- </tr>
- </table>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- }
- },
- onLoad() {
- },
- methods: {
- onBack: function(id,e) {
- uni.navigateBack({
- delta:1,
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .container {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width:100%;
- height: 100vh;
- }
-
- .navigation-bar
- {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 6%;
- font-weight: 700;
- color: white;
- font-size: 44rpx;
- background-color: rgb(115,164,164);
- }
-
- .back{
- position: absolute;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 2%;
- height: 2%;
- top: 2%;
- left: 1%;
- //testing
- // border: 1px solid rgb(255,0,0);
- }
-
-
- .content{
- // display: flex;
- width:100%;
- height:100%;
- // justify-content: center;
- color: #A66640;
- font-weight: bold;
- font-size: 30rpx;
- }
- .title{
- text-align: center;
- background-image: url("../../static/home/title.png");
- background-repeat: no-repeat;
- height: 177rpx;
- line-height: 177rpx;
- background-position: center;
- position: absolute;
- width: 100%;
- top: -100rpx;
- background-size: 70%;
- font-size: 30rpx;
- }
- .explain{
- width: 85%;
- border: 10rpx solid #DB9C9A;
- border-radius: 5rpx;
- margin: auto;
- background: #FEF0F0;
- padding: 50rpx 20rpx;
- color: #C65E5C;
- line-height: 30rpx;
- }
- table{
- width: 92%;
- margin: 20rpx auto;
- border-collapse: collapse;
- font-size: 24rpx;
- text-align: center;
- background: #FEF0F0;
- color: #C65E5C;
- border-color: #DB9C9A;
- border: 10rpx solid #DB9C9A;
- tr td{
- padding: 10rpx 0rpx;
- border: 10rpx solid #DB9C9A;
- }
- }
- </style>
|