修改首页图片
This commit is contained in:
@@ -128,6 +128,7 @@ Page({
|
|||||||
camera : 'front',
|
camera : 'front',
|
||||||
success : path => {
|
success : path => {
|
||||||
// 获取皮肤检测接口
|
// 获取皮肤检测接口
|
||||||
|
if(wx.cropImage){
|
||||||
wx.cropImage({
|
wx.cropImage({
|
||||||
src: path.tempFiles[0].tempFilePath, // 图片路径
|
src: path.tempFiles[0].tempFilePath, // 图片路径
|
||||||
cropScale: '3:4', // 裁剪比例
|
cropScale: '3:4', // 裁剪比例
|
||||||
@@ -137,6 +138,9 @@ Page({
|
|||||||
},
|
},
|
||||||
complete: err => {}
|
complete: err => {}
|
||||||
})
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.checkEnter(path.tempFiles[0].tempFilePath);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<view class="indexSingle">
|
<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" 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" 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>
|
<image class="indexSingle-img" mode="widthFix" src="https://cdn.shuiganying.com/images/2023/05/17/88be57f403db19a0413b93045bd406d8.png"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -74,5 +74,5 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libVersion": "2.26.2"
|
"libVersion": "2.32.3"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user