From afc7c8bdcd84357c6af2d0e36217a40e4fe229bf Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 13 十二月 2022 09:38:51 +0800 Subject: [PATCH] # --- pages/user/user.vue | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index 05c238d..97f4c69 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -3,17 +3,18 @@ <view class="user"> <!-- 澶村儚 --> <view class="user-avatar"> - <img src="../../static/image/澶村儚.jpg" alt=""> + <img src="" alt=""> <!-- <image src="" mode="aspectFit"></image> --> </view> <!-- 淇℃伅 --> <view class="user-info"> - <view class="user-name">闄堥箯 - </view> - + <view class="user-name">闄堥箯</view> + <view class="user-company">涓壃绔嬪簱鎶�鏈湁闄愬叕鍙�</view> </view> <!-- 鏇村 --> - <view></view> + <view class="user-icons"> + <uni-icons type="right"></uni-icons> + </view> </view> </view> </template> @@ -45,8 +46,22 @@ height: 200rpx; display: grid; grid-template-rows: 2fr 2fr; - align-items: end; - /* background-color: aqua; */ } + .user-name { + height: 100rpx; + width: 100%; + display: flex; + align-items: flex-end; + font-size: 30rpx; + font-weight: 700; + } + .user-company { + height: 100rpx; + } + .user-icons { + display: flex; + align-items: center; + justify-content: center; + } </style> \ No newline at end of file -- Gitblit v1.9.1