<!--packageE/healthy/component/healthy_Res/healthy_Res.wxml-->
<view class="header">
	<view class="item item1">
		<view class="desc">
			<text class="name" style="color:#03d59d;">BMI</text>
			<text class="text">体重/身高</text>
		</view>
		<view class="num">{{resultData.bmi}}</view>
	</view>
	<view class="item item2">
		<view class="desc">
			<text class="name" style="color:#6075f4;">WHR</text>
			<text class="text">腰围/臀围</text>
		</view>
		<view class="num">{{resultData.whr}}</view>
	</view>
</view>



<view class="listText bmiText">
	<text class="title">BMI</text>
	<view class="text {{bmiText.curOpt=='close' ? 'close' : '' }}">
		<view class="content"><rich-text nodes="{{resultData.bmi_agreement}}"></rich-text></view>
		<text class="opt" bindtap="setBmiTextStatus" wx:if="{{bmiText.optFlag && bmiText.curOpt=='close'}}">展开</text>
		<text style="margin-left:5rpx;" class="opt" bindtap="setBmiTextStatus" wx:if="{{bmiText.optFlag && bmiText.curOpt=='open'}}">收起</text>
	</view>
</view>

<view class="listText whiText">
	<text class="title">WHR</text>
	<view class="text {{whiText.curOpt=='close' ? 'close' : '' }}">
		<view class="content"><rich-text nodes="{{resultData.whr_agreement}}"></rich-text></view>
		<text class="opt" bindtap="setWhiTextStatus" wx:if="{{whiText.optFlag && whiText.curOpt=='close'}}">展开</text>
		<text style="margin-left:5rpx;" class="opt" bindtap="setWhiTextStatus" wx:if="{{whiText.optFlag && whiText.curOpt=='open'}}">收起</text>
	</view>
</view>

<view class="img">
	<image src="{{resultData.recommend_img}}"></image>
</view>

<view class="guessLike">
	<view class="title">推荐商品</view>

	<view class="goods">
		<view class="goodsItem" wx:for="{{resultData.goods}}" wx:key="goods_id" data-item="{{item}}" bindtap="gotoDetail">
			<image src="{{item.thumb}}"></image>
			<view class="name">{{item.title}}</view>
			<view class="price">
				<text class="text1">￥{{item.price}}</text>
				<text class="text2">￥{{item.market_price}}</text>
			</view>
		</view>

	</view>

	<view class="title">温馨提示</view>

	<view class="produto"><rich-text nodes="{{resultData.recommend_product}}"></rich-text></view>

	<view class="title">食谱推荐</view>

	<view class="recipes"><rich-text nodes="{{resultData.recipes}}"></rich-text></view>

	<view class="title">参考依据</view>

	<view class="produto"><rich-text nodes="{{resultData.reference_basis}}"></rich-text></view>

</view>


<text class="mouseText">{{mouseText}}</text>