success_result.wxml
7.11 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<wxs module="s_filter" src="s_filter.wxs"></wxs>
<view style="height: 100rpx;">
<scroll-view enable-flex scroll-into-view="{{tab_id}}" scroll-with-animation scroll-x class="tab_scroll">
<view class="flex" style="height: 100%;">
<view wx:for="{{tab}}" wx:key="id" id="{{item.id}}" bindtap="clickTab" data-tab_id="{{item.id}}" data-index="{{index}}" class="tab_scroll_item {{currentIndex==index?'active':''}}">
{{item.name}}
</view>
</view>
</scroll-view>
</view>
<scroll-view enable-flex scroll-into-view="{{tab_id}}" scroll-with-animation scroll-y style="height: 100%;">
<view bindtap="lo" class="analyse_by_people" id="zong_he" >
<view class="analyse">
<view class="analyse_left">
<view class="mark">毛孔 {{pore_num}}</view>
<view class="mark" style="margin: 40rpx 0;">色斑 {{speckle_num}}</view>
<view class="mark">黑眼圈 {{s_filter.get_dark_type(dark_type)}}</view>
</view>
<view class="analyse_center">
<image src="{{iurl}}/miniapp/images/skinimg/man.png"></image>
</view>
<view class="analyse_right">
<view class="mark">黑头 {{blackhead_num}}</view>
<view class="mark" style="margin: 40rpx 0;">皱纹 {{wrinkle_num}}</view>
<view class="mark">痤疮 {{acne_num}}</view>
</view>
</view>
<view class="score">
<view>
<view class="fs28">综合得分</view>
<view class="t-c mt10">
<text style="font-weight: 600;">待确定</text>
<text class="iconfont icon-zuojiantou"></text>
</view>
</view>
<view class="shuxian"></view>
<view>
<view class="t-c fs28">肤况</view>
<view class="t-c mt10 bold">待确定</view>
</view>
</view>
<view class="content" style="padding-bottom: 0;">
<view class="mb_b5" style="display: none">
<image src="/packageB/images/1.png" style="height: 200rpx;width: 100%;"></image>
</view>
<view class="analyse_result mt_b5">
<!-- <view> -->
<view class="img">
<image src="{{iurl}}/miniapp/images/skinimg/mao18.jpeg" style="width: 100%;height: 100%;"></image>
</view>
<view class="f1 ml20">
<view class="bold">待确定</view>
<view class="fs24 mt10">
<text class="gan" style="margin-right: 30rpx;">干性区</text>
<text class="you">油性区</text>
</view>
<view class="mt20 fs26">
<text>你的油性的身份骨科大夫地方官梵蒂冈反对烦得很东方红风格和的发挥</text>
</view>
</view>
<!-- </view> -->
</view>
</view>
</view>
<view class="content">
<!-- 毛孔 -->
<block wx:if="{{pore_num}}">
<include src="pore/pore.wxml" />
</block>
<!-- 黑头 -->
<block wx:if="{{blackhead_num}}">
<include src="blackhead/blackhead.wxml" />
</block>
<!-- 色斑 -->
<block wx:if="{{speckle_num}}">
<include src="speckle/speckle.wxml" />
</block>
<!-- 皱纹 -->
<block wx:if="{{wrinkle_num}}">
<include src="wrinkle/wrinkle.wxml" />
</block>
<!-- 黑眼圈 -->
<block wx:if="{{dark_type>-1}}">
<include src="dark/dark.wxml" />
</block>
<!-- 痤疮 -->
<block wx:if="{{acne_num}}">
<include src="acne/acne.wxml" />
</block>
<!-- 敏感度 -->
<include src="acne/acne.wxml" />
</view>
</scroll-view>
<view class="mask" catchtap="close_mask" wx:if="{{showDialog}}"></view>
<cover-view class="share fs28">
<cover-view class="iconfont icon-zhuanfa1" style="padding: 0 10rpx;"></cover-view>
<cover-view>分享</cover-view>
</cover-view>
<view class="dialog {{img_scale?'scale':'fangda'}}" wx:if="{{showDialog}}">
<!-- 放大的 -->
<block wx:if="{{img_scale}}">
<view class="dialog_img">
<view class="img_content">
<view class="face_show_view"
style="position: relative;width:{{iwidth}}px;height:{{iheight}}px;margin-top: -{{m_top}}px;margin-left: -{{m_left}}px">
<image src="{{iurl}}{{face_img}}" bindload="face_img_load" style="width: 100%;height: 100%;"></image>
<block wx:if="{{yanjing}}">
<!-- 显示毛孔 -->
<block wx:if="{{show_type==1}}">
<block wx:for="{{pore_list}}">
<view class="abs p_circle" style="left:{{(item.x-item.r)*bili}}px; top:{{(item.y-item.r)*bili}}px; height:{{2*item.r*bili}}px;width: {{2*item.r*bili}}px"></view>
</block>
</block>
</block>
</view>
</view>
<view class="dialog_icon" catchtap="close_dialog" style="justify-content: flex-start;">
<text class="iconfont icon-guan mt20" style="z-index: 999;font-size: 20rpx;"></text>
</view>
<view class="dialog_icon">
<text catchtap="click_yanjing" class="iconfont {{yanjing?'icon-yanjing-kai':'icon-yanjing-guan'}} mgb20"></text>
<!-- <text class="iconfont icon-yanjing-guan mgb20"></text> -->
<text catchtap="click_fangda" class="iconfont icon-fangda mgb20"></text>
</view>
</view>
<view class="dialog_txt">
<view class="fs28" style="margin-right:15rpx;">毛孔较粗大</view>
<view style="margin-top:2rpx;display: flex;">
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
<view class="pp"></view>
</view>
</view>
</block>
<!-- 缩小 -->
<block wx:else>
<view style="position: relative">
<image style="width: 100%;" src="{{iurl}}{{face_img}}" mode="widthFix" ></image>
<block wx:if="{{yanjing}}">
<!-- 显示毛孔 -->
<block wx:if="{{show_type==1}}">
<block wx:for="{{pore_list}}">
<view class="abs p_circle" style="left:{{(item.x-item.r)*bili1}}px; top:{{(item.y-item.r)*bili1}}px; height:{{2*item.r*bili1}}px;width: {{2*item.r*bili1}}px"></view>
</block>
</block>
</block>
</view>
<view class="dialog_icon">
<text catchtap="click_fangda" class="iconfont icon-suoxiao mgb20"></text>
</view>
</block>
</view>