发现及检测报告产品推荐
This commit is contained in:
@@ -35,7 +35,8 @@ Page({
|
||||
progress: 100, // 进度条的宽度,这里的单位是px,所以在wxml文件中要改为rpx
|
||||
precent: 50, // 这个是百分比
|
||||
|
||||
refertoStatus: false
|
||||
refertoStatus: false,
|
||||
suggest : {} // 推荐方案
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
@@ -72,7 +73,9 @@ Page({
|
||||
zoneArea : (res.data.skin_analyze.result.result.oily_intensity.t_zone.area * 100).toFixed(1),
|
||||
leftcheekArea : (res.data.skin_analyze.result.result.oily_intensity.left_cheek.area * 100).toFixed(1),
|
||||
rightcheekArea : (res.data.skin_analyze.result.result.oily_intensity.right_cheek.area * 100).toFixed(1),
|
||||
suggest:res.data.suggest
|
||||
})
|
||||
console.log(res)
|
||||
}).catch(err => { })
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user