Commit 6a696f53 authored by renjie's avatar renjie

相册首页跳转修改

parent 775ba504
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<!-- <u-lazy-load threshold="-450" border-radius="10" :image="item.image" :index="index"></u-lazy-load> --> <!-- <u-lazy-load threshold="-450" border-radius="10" :image="item.image" :index="index"></u-lazy-load> -->
<view class="info-box" :style="{'background-color': item.color}"> <view class="info-box" :style="{'background-color': item.color}">
<view class="item-title">{{item.title}}</view> <view class="item-title">{{item.title}}</view>
<view class="slogan">一句宣传语</view> <view class="slogan">快来定制吧</view>
<view class="bottom"> <view class="bottom">
<view class="img-btn"> <view class="img-btn">
点击定制 点击定制
...@@ -157,15 +157,14 @@ export default { ...@@ -157,15 +157,14 @@ export default {
this.$request('wechatUser/pdFace/checkScanFace',{openid}).then(res => { this.$request('wechatUser/pdFace/checkScanFace',{openid}).then(res => {
if (res.code === '00') { if (res.code === '00') {
console.log(res.data)
if(res.data.isScanFace === 0) {//未扫脸 if(res.data.isScanFace === 0) {//未扫脸
uni.navigateTo({ uni.navigateTo({
url: './getPortrait' url: './getPortrait'
}) })
}else if(res.data.isScanFace === 1) {//已扫脸 }else if(res.data.isScanFace === 1) {//已扫脸
uni.navigateTo({ uni.navigateTo({
url: `./myPhotoAlbum/myPhotoAlbum? url: `./myPhotoAlbum/myPhotoAlbum?faceIds=${JSON.stringify(res.data.faceIds)}&companyId=${this.options.companyId}`
companyId=${this.options.companyId}&
faceIds=${JSON.stringify(res.data.faceIds)}`
}) })
} }
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment