Commit e8652e23 authored by Mac's avatar Mac

资料编辑

parent 544efc71
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
color: $u-content-color; color: $u-content-color;
line-height: 1.8; line-height: 1.8;
text-align: left; text-align: left;
text-indent: 2em; text-indent: 0em;
overflow: hidden; overflow: hidden;
} }
......
This diff is collapsed.
This diff is collapsed.
...@@ -12,17 +12,21 @@ ...@@ -12,17 +12,21 @@
<view <view
class="imgbg" style="background:linear-gradient( #9EE3E1,5%, #f3f4f6);height: 217px;"> class="imgbg" style="background:linear-gradient( #9EE3E1,5%, #f3f4f6);height: 217px;">
<view class="titlenav" :style="{paddingTop:nav,color:'#000'}">{{pageTitle}}</view> <view class="titlenav" :style="{paddingTop:nav,color:'#000'}">{{pageTitle}}</view>
<view class='topheard' style="margin-top: 30px;" <view class='topheard' style="margin-top: 30px;justify-content: space-between;"
v-if="meueData.user_center.top_style == 1"> v-if="meueData.user_center.top_style == 1" @click="goperson()">
<u-avatar :src="user_info.avatar" size="140" style="margin-left: 50rpx;"></u-avatar> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="display: flex;flex-direction: column;justify-content: center;height: 50px;margin-left: 20rpx"> <u-avatar :src="user_info.avatar" size="140" style="margin-left: 50rpx;"></u-avatar>
<Text style="color: #000000;font-size: 40rpx;max-width: 200px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;" <view style="display: flex;flex-direction: column;justify-content: center;height: 50px;margin-left: 20rpx">
@click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text> <Text style="color: #000000;font-size: 40rpx;max-width: 200px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;"
<view class="member" v-if="is_icon_members_grade == 1&& user_info.nickname"> @click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text>
<image :src="user_info.identity.level_icon" mode="aspectFill" style="width: 22px;height: 22px;border-radius: 11px;"></image> <view class="member" v-if="is_icon_members_grade == 1&& user_info.nickname">
<Text style="margin-right: 10px;">{{ user_info.identity.level_name != null ? user_info.identity.level_name : '普通用户' }}</Text> <image :src="user_info.identity.level_icon" mode="aspectFill" style="width: 22px;height: 22px;border-radius: 11px;"></image>
</view> <Text style="margin-right: 10px;">{{ user_info.identity.level_name != null ? user_info.identity.level_name : '普通用户' }}</Text>
</view> </view>
</view>
</view>
<u-icon name="arrow" color="#A5A4AC" size="40" style='margin-right: 10px;'></u-icon>
</view> </view>
<view style="display: flex;flex-direction: column;align-items: center;margin-top: 23px;margin-bottom: 5px;" v-if="meueData.user_center.top_style == 2"> <view style="display: flex;flex-direction: column;align-items: center;margin-top: 23px;margin-bottom: 5px;" v-if="meueData.user_center.top_style == 2">
<u-avatar :src="user_info.avatar" size="120"></u-avatar> <u-avatar :src="user_info.avatar" size="120"></u-avatar>
...@@ -106,6 +110,14 @@ ...@@ -106,6 +110,14 @@
}); });
} }
}, },
goperson(){
let mall_UserInfo = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo"):null;
if(mall_UserInfo!=null){
uni.navigateTo({
url: '/pages/blindDate/persondetails?UserId='+ mall_UserInfo.UserId
});
}
}
} }
} }
</script> </script>
......
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