Commit 1927b2c7 authored by liwei's avatar liwei

Merge remote-tracking branch 'origin/master'

parents b4ff2163 3074d00d
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<view class="te">{{ userData.memCollege ? userData.memCollege : '' }}</view> <view class="te">{{ userData.memCollege ? userData.memCollege : '' }}</view>
<view class="xian"></view> <view class="xian"></view>
<view class="te"> <view class="te">
{{ userData.memMaxEducation }} {{ userData.memMaxEducation ? userData.memMaxEducation : '' }}
</view> </view>
</view> </view>
</view> </view>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<view class="hint"> <view class="hint">
<image :src="baseUrl+'/user/auth.png'" mode="aspectFill"></image> <image :src="baseUrl+'/user/auth.png'" mode="aspectFill"></image>
<view class="t"> <view class="t">
{{ userData.memRealAuthen }} {{ userData.memRealAuthen ? userData.memRealAuthen : '' }}
</view> </view>
</view> </view>
</view> </view>
...@@ -226,7 +226,9 @@ ...@@ -226,7 +226,9 @@
//是否关注 0:未关注 1:已关注 //是否关注 0:未关注 1:已关注
isFollowed: '0', isFollowed: '0',
//用户信息 //用户信息
userData: {}, userData: {
},
//点赞字典数据 //点赞字典数据
userLikeOptions:[], userLikeOptions:[],
//点赞花费金币数 //点赞花费金币数
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</view> </view>
</template> </template>
</z-paging> </z-paging>
<u-popup :show="show" mode="center" @close="close" @open="open" customStyle="min-height: 15vh; width: 700rpx; background: linear-gradient(135deg, #E3D4FC 0%, #ffdbd1 50%, #FFFFFF 100%); border-radius: 10rpx;"> <u-popup :show="show" mode="center" @close="close" @open="open" customStyle="min-height: 15vh; width: 700rpx; border-radius: 10rpx;">
<view class="popup-content"> <view class="popup-content">
<text style="font-weight: bold">互换微信成功</text> <text style="font-weight: bold">互换微信成功</text>
</view> </view>
...@@ -371,10 +371,16 @@ export default { ...@@ -371,10 +371,16 @@ export default {
if (res.data.code == 200){ if (res.data.code == 200){
this.$refs.paging.reload(); this.$refs.paging.reload();
this.inputTemp = '' this.inputTemp = ''
} else { } else if (res.data.code == 1003) {
this.showApply = false
this.isMessageConfirm = true; this.isMessageConfirm = true;
this.tipMsg = res.data.message; this.tipMsg = res.data.message;
this.$refs.elmMessage.showDialog(); this.$refs.elmMessage.showDialog();
} else {
uni.showToast({
title: res.data.message,
icon: 'none'
})
} }
}) })
}, },
...@@ -446,11 +452,16 @@ export default { ...@@ -446,11 +452,16 @@ export default {
icon: 'none' icon: 'none'
}) })
this.showApply = false this.showApply = false
} else { } else if (res.data.code == 1003) {
this.showApply = false this.showApply = false
this.isMessageConfirm = true; this.isMessageConfirm = true;
this.tipMsg = res.data.message; this.tipMsg = res.data.message;
this.$refs.elmMessage.showDialog(); this.$refs.elmMessage.showDialog();
} else {
uni.showToast({
title: res.data.message,
icon: 'none'
})
} }
}) })
}, },
......
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