修改首页图片

This commit is contained in:
唐明明
2023-07-01 17:41:19 +08:00
parent b3b4d4dae7
commit 7309679527
3 changed files with 15 additions and 11 deletions

View File

@@ -128,15 +128,19 @@ Page({
camera : 'front',
success : path => {
// 获取皮肤检测接口
wx.cropImage({
src: path.tempFiles[0].tempFilePath, // 图片路径
cropScale: '3:4', // 裁剪比例
success: res=> {
// 获取皮肤检测接口
this.checkEnter(res.tempFilePath);
},
complete: err => {}
})
if(wx.cropImage){
wx.cropImage({
src: path.tempFiles[0].tempFilePath, // 图片路径
cropScale: '3:4', // 裁剪比例
success: res=> {
// 获取皮肤检测接口
this.checkEnter(res.tempFilePath);
},
complete: err => {}
})
return
}
this.checkEnter(path.tempFiles[0].tempFilePath);
}
})
},

View File

@@ -20,7 +20,7 @@
<view class="indexSingle">
<image class="indexSingle-img" mode="widthFix" src="https://cdn.shuiganying.com/images/2023/05/18/ac3182087d2607104409f3fc988514c6.gif"></image>
<image class="indexSingle-img" style="margin-top: -280rpx;" mode="widthFix" src="https://cdn.shuiganying.com/images/2023/05/18/a6dee6dbb61b03ffe0ca55896a77a4d4.png"></image>
<image class="indexSingle-img" mode="widthFix" src="https://cdn.shuiganying.com/images/2023/05/17/d6068c61ae3d4d3ec4eb6e598a746d3c.png"></image>
<image class="indexSingle-img" mode="widthFix" src="https://cdn.shuiganying.com/images/2023/07/01/142307c731c974a66f7d802087b361f8.png"></image>
<image class="indexSingle-img" mode="widthFix" src="https://cdn.shuiganying.com/images/2023/05/17/88be57f403db19a0413b93045bd406d8.png"></image>
</view>

View File

@@ -74,5 +74,5 @@
]
}
},
"libVersion": "2.26.2"
"libVersion": "2.32.3"
}