<scroll-view> 
 | 
    <view class="content_box" wx:if="{{isActive==1}}"> 
 | 
        <view class="img_box"> 
 | 
  
 | 
            <image class="main_img" src="{{record.ext1}}"></image> 
 | 
            <text class="text"> 
 | 
    姓名:{{vipInfo.vipName}}   性别:{{vipInfo.sex}} 
 | 
    </text> 
 | 
            <text  class="text gray"> 
 | 
     生成日期 :{{record.createTime}} 
 | 
    </text> 
 | 
        </view> 
 | 
  
 | 
  
 | 
        <view class="content_item"> 
 | 
            <text class="title" >AI 诊断结果(平均概率)</text> 
 | 
  
 | 
            <text class="percentage" wx:for="{{record.analysisDetail}}" wx:key="ids" > 
 | 
      <text  class="percentage_doc" ></text> {{item.symptom}}:{{item.percentage}}% 
 | 
            </text> 
 | 
  
 | 
  
 | 
        </view> 
 | 
  
 | 
        <view class="content_item"> 
 | 
            <text class="title" >问题分析</text> 
 | 
  
 | 
  
 | 
            <view wx:for="{{record.analysisDetail}}" class="qustion_box"> 
 | 
                <image mode="aspectFit" src="{{item.img}}"></image> 
 | 
                <view class="qustion_content_box"> 
 | 
                    <text class="littel-title" >{{item.symptom}}</text> 
 | 
                    <view class="item_box"> 
 | 
                        <text class="bold"  >症状描述:</text> 
 | 
                        <text>{{item.analysis}}</text> 
 | 
                    </view> 
 | 
                </view> 
 | 
            </view> 
 | 
        </view> 
 | 
    </view> 
 | 
  
 | 
    <view class="content_box" wx:if="{{isActive==2}}"> 
 | 
        <view wx:for="{{record.skinDetails}}" class="qustion_annasy"> 
 | 
            <view class="title2"> {{item.symptom}} </view> 
 | 
  
 | 
            <text class="title" >症状描述:</text> 
 | 
            <view class="item_box2"> 
 | 
                <text>{{item.analysis}}</text> 
 | 
            </view> 
 | 
  
 | 
            <text class="title" >护理建议:</text> 
 | 
            <view class="item_box2"> 
 | 
                <text>{{item.solution}}</text> 
 | 
            </view> 
 | 
  
 | 
            <text class="title" >建议使用产品:</text> 
 | 
            <view class="item_box2"> 
 | 
                <view class="itemBox" wx:for="{{item.shopProducts}}" wx:for-index="idx" wx:for-item="product" 
 | 
          bindtap="goProduct"  
 | 
          data-id='{{product.id}}' 
 | 
           data-service="{{product.isService}}"  
 | 
           data-idx="{{idx}}" 
 | 
            data-index="{{index}}"> 
 | 
                    <text class="iconfont icongouwudaidaizishangcheng" ></text> 
 | 
                    <text class="product" >{{product.title}}</text> 
 | 
                </view> 
 | 
  
 | 
            </view> 
 | 
  
 | 
  
 | 
        </view> 
 | 
  
 | 
  
 | 
  
 | 
    </view> 
 | 
  
 | 
    <view class="content_item"> 
 | 
        <view class="btn_box"> 
 | 
            <view bindtap="changeTab" data-index="1" class="left_btn btn {{isActive==1?'active':''}} ">问题分析</view> 
 | 
            <view bindtap="changeTab" data-index="2" class="right_btn btn {{isActive==2?'active':''}} ">解决方案</view> 
 | 
        </view> 
 | 
    </view> 
 | 
  
 | 
</scroll-view> 
 |