xiaoyong931011
2021-04-12 a13a93a493e7e94e28b2225c26e7e13b52d3288c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<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>