Files
sykl-new/pages/record/detail/detail.wxml
2023-12-15 17:53:08 +08:00

199 lines
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<image class="detailBack" src="https://api.siyuankunlun.com/storage/images/2023/11/14/cb73932e17282c5b0bf88ae404fb106b.png" mode="widthFix"></image>
<view class="detailCont">
<view class="top">
<view class="top-title">舌诊评估报告</view>
<image class="top-img" src="https://api.siyuankunlun.com/storage/images/2023/11/14/420c97db1d51c883e943a2b89dbf1648.png" mode="widthFix"></image>
</view>
<!-- 舌诊评估报告 -->
<view class="assay">
<view class="assayUser">
<view class="assayUser-top">
<image class="assayUser-top-head" src="{{userData.avatar ? userData.avatar : '/static/imgs/default_myHead.png'}}" mode="aspectFill"></image>
<view class="assayUser-top-name">Hi~{{userData.nickname}}</view>
</view>
<view class="assayUser-odds">
您有{{aiSeeData.ext.probability}}%的概率为:<text>{{aiSeeData.tizhi_name}}</text>
</view>
</view>
<view class="assayInfo" wx:if="{{baseData.height != '' && baseData.weight != '' && baseData.birthday != ''}}">
<view class="assayInfo-label">
<view class="assayInfo-label-name">身高(CM)</view>
<view class="assayInfo-label-text">{{baseData.height}}</view>
</view>
<view class="assayInfo-label">
<view class="assayInfo-label-name">体重(KG)</view>
<view class="assayInfo-label-text">{{baseData.weight}}</view>
</view>
<view class="assayInfo-label">
<view class="assayInfo-label-name">年龄(岁)</view>
<view class="assayInfo-label-text">{{baseData.age}}</view>
</view>
</view>
<view class="assayReport">
<image class="assayReport-back" src="https://api.siyuankunlun.com/storage/images/2023/11/20/567421eb85729d6cbdd8f5c1cab7e0b1.png"></image>
<view class="locateOne" bindtap="assayTap" data-type="taise">
<view class="locateOne-name">{{typesData.taise.name}}<image src="https://api.siyuankunlun.com/storage/images/2023/11/15/ea663baf0b9f8175250c9cd5fab8f8be.png" mode="widthFix"></image>
</view>
<view wx:if="{{ typesData.taise.match.length > 0}}">
<block wx:if="{{ typesData.taise.match.length == 1}}">
<view class="locateOne-tips" wx:for="{{ typesData.taise.match}}" wx:key="match">{{item.name}}</view>
</block>
<view class="locateOne-tips" wx:else>{{'有' + typesData.taise.count + '个结果'}}</view>
</view>
<view class="locateOne-tips" wx:else>正常</view>
</view>
<view class="locateTwo" bindtap="assayTap" data-type="taizhi">
<view class="locateOne-name">{{typesData.taizhi.name}}<image src="https://api.siyuankunlun.com/storage/images/2023/11/15/ea663baf0b9f8175250c9cd5fab8f8be.png" mode="widthFix"></image>
</view>
<view wx:if="{{ typesData.taizhi.match.length > 0}}">
<block wx:if="{{ typesData.taizhi.match.length == 1}}">
<view class="locateOne-tips" wx:for="{{ typesData.taizhi.match}}" wx:key="match">{{item.name}}</view>
</block>
<view class="locateOne-tips" wx:else>{{'有' + typesData.taizhi.count + '个结果'}}</view>
</view>
<view class="locateOne-tips" wx:else>正常</view>
</view>
<view class="locateThree" bindtap="assayTap" data-type="shese">
<view class="locateOne-name">{{typesData.shese.name}}<image src="https://api.siyuankunlun.com/storage/images/2023/11/15/ea663baf0b9f8175250c9cd5fab8f8be.png" mode="widthFix"></image>
</view>
<view wx:if="{{ typesData.shese.match.length > 0}}">
<block wx:if="{{ typesData.shese.match.length == 1}}">
<view class="locateOne-tips" wx:for="{{ typesData.shese.match}}" wx:key="match">{{item.name}}</view>
</block>
<view class="locateOne-tips" wx:else>{{'有' + typesData.shese.count + '个结果'}}</view>
</view>
<view class="locateOne-tips" wx:else>正常</view>
</view>
<view class="locateFour" bindtap="assayTap" data-type="shexing">
<view class="locateOne-name">{{typesData.shexing.name}}<image src="https://api.siyuankunlun.com/storage/images/2023/11/15/ea663baf0b9f8175250c9cd5fab8f8be.png" mode="widthFix"></image>
</view>
<view wx:if="{{ typesData.shexing.match.length > 0}}">
<block wx:if="{{ typesData.shexing.match.length == 1}}">
<view class="locateOne-tips" wx:for="{{ typesData.shexing.match}}" wx:key="match">{{item.name}}</view>
</block>
<view class="locateOne-tips" wx:else>{{'有' + typesData.shexing.count + '个结果'}}</view>
</view>
<view class="locateOne-tips" wx:else>正常</view>
</view>
</view>
<view class="assayMaster">
<view class="assayMaster-cont" bindtap="previewImg" data-imgs="{{aiSeeData.cut_image}}">查看检测原图</view>
</view>
<view class="assayResult">
<view class="assayResult-name">常见表现:</view>
<view class="assayResult-text">{{aiSeeData.changjianbiaoxian}}</view>
</view>
<view class="assayResult">
<view class="assayResult-name">微量元素匮乏:</view>
<view class="assayResult-text">{{aiSeeData.drink_water.ext.elements}}</view>
</view>
</view>
<!-- 对比 -->
<view class="assay">
<view class="ratioTop">
<view class="ratioTop-see">
<image class="ratioTop-img" src="https://api.siyuankunlun.com/storage/images/2023/11/14/85aa4d04fc050b44dfedeb839a60b965.png" mode="widthFix"></image>
<image class="ratioTop-img" src="https://api.siyuankunlun.com/storage/images/2023/11/14/8b96a34c64646c22a1a4b48cc8b12442.png" mode="widthFix"></image>
</view>
<view class="ratioTop-vs">VS</view>
</view>
<view class="ratioData">
<view class="ratioData-label">
<view class="ratioData-label-name" wx:for="{{aiSeeData.drink_water.pt}}" wx:key="pt">{{item}}</view>
</view>
<view class="ratioData-label">
<view class="ratioData-label-name" wx:for="{{aiSeeData.drink_water.sy}}" wx:key="sy">{{item}}</view>
</view>
</view>
<view class="ratioSuggest">
<view class="ratioSuggest-title">日常饮水建议</view>
<view class="ratioSuggest-text" wx:for="{{aiSeeData.drink_water.jy}}" wx:key="jy"><text>{{item.name}}</text>{{item.value}}</view>
</view>
</view>
<!-- 方案 -->
<view class="assay">
<view class="planTitle">
<view class="planTitle-name">饮用锶源昆仑最佳方案</view>
</view>
<view class="planCont">
<image src="https://api.siyuankunlun.com/storage/images/2023/11/14/031abe2163684a131eb11c7713efbdcc.png" class="planCont-img" mode="widthFix"></image>
<view class="planCont-brief">
<view class="planCont-brief-name">温水饮用锶源昆仑更好哦~</view>
<view class="planCont-brief-text">40~45℃水温饮用最佳从中医角度来说我们饮 用水的温度最好比自己体温要高,经常喝冷饮会损 耗体内的阳气,导致阴阳不平衡。</view>
</view>
</view>
</view>
<!-- 其他建议 -->
<view class="assay">
<view class="otherTitle">其他建议:</view>
<block wx:if="{{aiSeeData.shiliao.yc != '' && aiSeeData.shiliao.sc != ''}}">
<view class="otherLabel">
<view class="otherLabel-name">宜吃</view>
<view class="otherLabel-text">{{aiSeeData.shiliao.yc}}</view>
</view>
<view class="otherLabel red">
<view class="otherLabel-name">慎吃</view>
<view class="otherLabel-text">{{aiSeeData.shiliao.sc}}</view>
</view>
</block>
<view class="otherLabel" wx:else>
<view class="otherLabel-text">{{aiSeeData.shiliao.qt}}</view>
</view>
</view>
<!-- 产品 -->
<view class="assay">
<navigator class="goods" hover-class="none" url="/pages/mall/buy/index?id={{goodsData.goods_id}}">
<image class="goodsImg" src="{{goodsData.cover}}" mode="aspectFill"></image>
<view class="goodsCont">
<view class="goodsCont-name">{{goodsData.name}}</view>
<view class="goodsCont-specs">规格 500ml</view>
<view class="goodsCont-price">¥<text>{{goodsData.price.show}}</text></view>
<view class="goodsCont-btn">buy</view>
</view>
</navigator>
</view>
<!-- 温馨提示 -->
<view class="tips">*建议遵循为您定制的健康建议,逐步改善饮食和生活习惯。</view>
<!-- 机器人提示 -->
<view class="robot">
<image class="robotImg" src="https://api.siyuankunlun.com/storage/images/2023/11/14/2378a3c781d23ab4a104bf6a709b53ba.png" mode="widthFix"></image>
<view class="robotCont">
<view class="robotCont-name">建议您1个月后<text>(已明显改善生活习惯或有新的 体检结果后)</text></view>
<view class="robotCont-text">再次测试获得新的营养补充方案</view>
</view>
</view>
</view>
<!-- 按钮 -->
<view class="footer">
<view class="footer-flex">
<navigator hover-class="none" open-type="navigateBack" delta="1" class="footer-flex-btn">返回</navigator>
<navigator hover-class="none" url="/pages/record/share/share" class="footer-flex-btn footer-flex-share">邀请好友测试</navigator>
</view>
</view>
<!-- 舌象类型结果弹出 -->
<view class="refertoEject {{typesState ? 'active' : ''}}" catchtouchmove='true'></view>
<view class="refertoCont {{typesState ? 'active' : ''}}">
<view class="refertoCont-text">
<view class="refertoCont-title">{{resultData.name}}</view>
<view class="refertoCont-tips">
<block wx:if="{{resultData.match.length > 0}}">
<view class="refertoCont-tips-label" wx:for="{{resultData.match}}" wx:key="match">
<view class="refertoCont-tips-item">{{item.alias_name}}</view>{{item.description}}
</view>
</block>
<block wx:else>{{resultData.name + '正常'}}</block>
</view>
<view class="publicPop-btn">
<view class="publicPop-btn-go" bindtap="perfect">确定</view>
</view>
</view>
</view>