完善用户信息

Signed-off-by: YangWork <yang@xixingwl.cn>
This commit is contained in:
YangWork
2023-02-11 18:05:07 +08:00
parent a68042fc67
commit 1d507ee53a
4 changed files with 120 additions and 148 deletions

View File

@@ -1,7 +1,6 @@
<template>
<view>
<page-head title="view"></page-head>
<view class="warp" style="margin: 10rpx 15rpx;">
<view>
<view class="warp warp1" style="">
<view class="user" style="">
<image class="user-avatar" mode="aspectFit" :src="userInfo.avatar"
style="background-image: ../../../static/avatar.png;"></image>
@@ -113,6 +112,7 @@
</script>
<style lang="scss">
.warp1{ }
.user {
box-sizing: border-box;
display: flex;
@@ -125,7 +125,9 @@
/* #endif */
padding-left: 15rpx;
padding-bottom: 25rpx;
// background-image: url(/static/user/back.jpg);
// background-size: 100% 100%;
// background: linear-gradient(pink,#a900ff7a, pink);
.user-avatar {
width: 138rpx;
height: 138rpx;
@@ -140,47 +142,4 @@
padding-left: 45rpx;
}
}
.Grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-content: space-between;
background: #f7f7f7;
.Grid-Item {
width: 25%;
.Grid-Item-1 {
margin-left: 10rpx;
margin-right: 10rpx;
text-align: center;
border: 1rpx solid #efeded;
border-radius: 25rpx;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
flex-direction: column;
align-items: center;
padding-top: 20rpx;
padding-bottom: 5rpx;
background-color: #fff;
}
.GSimg {
width: 81rpx;
height: 81rpx;
}
.GStitle {
width: 100%;
height: 34rpx;
line-height: 34rpx;
color: #06121e;
font-size: 24rpx;
margin-top: 10rpx;
}
}
}
</style>