<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">
						基础代谢率是指你一天躺在床上不动，但不睡觉身体维持生命所需消耗的热量
					</view>
					<view class="block">
						最低有氧心率 = 220-年龄-静态心率x0.55+静态心率
					</view>
					<view class="block">
						最高有氧心率 = 220-年龄-静态心率x0.75+静态心率
					</view>
					<view class="">
						有氧简直运动注意事项：
					</view>
					<view class="">
						1，在运动时心率要控制在最高和最低之间。
					</view>
					<view class="">
						2，持续25分钟以上才开始脂肪供能，前5分钟是糖原供能
					</view>
					<view class="">
						3，整个过程无间歇
					</view>
				</view>
			</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/title5.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 #D2A58C;
		border-radius: 5rpx;
		margin: auto;
		background: #FBF0EA;
		padding: 50rpx 20rpx;
		color: #AA6C48;
		view{
			line-height: 50rpx;
		}
	}
</style>