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">
点击定制 点击定制
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<text class="count">{{item.count}}</text> <text class="count">{{item.count}}</text>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
<template v-slot:right="{rightList}"> <template v-slot:right="{rightList}">
<view class="demo-water" v-for="(item, index) in rightList" :key="index" @click="jumpToClick(item.title)"> <view class="demo-water" v-for="(item, index) in rightList" :key="index" @click="jumpToClick(item.title)">
...@@ -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