Commit 63017bcf authored by Mac's avatar Mac

1

parent 66ca6b05
...@@ -193,7 +193,8 @@ ...@@ -193,7 +193,8 @@
未认证 未认证
</view> </view>
</view> </view>
<view class="guanzhu" :style="{background:mainColor}" v-if="dataList.IsFollow==0" @click="dianjiguanzhu(dataList.IsFollow)"> <view @click="dianjiguanzhu(dataList)" v-if="dataList.IsFollow!=-1">
<view class="guanzhu" :style="{background:mainColor}" v-if="dataList.IsFollow==0" >
关注 关注
</view> </view>
<view class="guanzhu" :style="{background:mainColor}" v-if="dataList.IsFollow==1"> <view class="guanzhu" :style="{background:mainColor}" v-if="dataList.IsFollow==1">
...@@ -206,6 +207,8 @@ ...@@ -206,6 +207,8 @@
互关 互关
</view> </view>
</view> </view>
</view>
</view> </view>
</view> </view>
<view v-if="dataList.IsAttestation==0 && mall_UserInfo.UserId != dataList.Id" style="width: 100%;margin-top: 50px;text-align: center;color: #999999;"> <view v-if="dataList.IsAttestation==0 && mall_UserInfo.UserId != dataList.Id" style="width: 100%;margin-top: 50px;text-align: center;color: #999999;">
...@@ -391,20 +394,26 @@ ...@@ -391,20 +394,26 @@
url: '/pages/blindDate/personal/editmaterial?UserId='+this.UserId url: '/pages/blindDate/personal/editmaterial?UserId='+this.UserId
}); });
}, },
dianjiguanzhu(ID){//关注操作 dianjiguanzhu(x){//关注操作
this.request2( let ID=0;
{ if(x.IsFollow!=0){
ID = x.MyFollowId
}
this.request2({
url: '/api/AppletMiai/GetFollowMember', url: '/api/AppletMiai/GetFollowMember',
data: {ID:ID,UserId:this.UserId} data: {
ID:ID,
UserId:x.Id,
}
}, },
res => { res => {
if(res.resultCode==1){
uni.showToast({ uni.showToast({
title:res.message, title:res.message,
icon:'none' icon:'none'
}) })
this.init() this.init()
}
} }
); );
}, },
......
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