From a61831cae4b9f6d1b20ac16a44a28d995bf9f057 Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期一, 12 十二月 2022 21:52:08 +0800
Subject: [PATCH] #

---
 pages/login/login.vue |    2 +-
 pages/user/user.vue   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletions(-)

diff --git a/pages/login/login.vue b/pages/login/login.vue
index adf4557..722e0a9 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -65,7 +65,7 @@
 			onLogin() {
 				let that = this
 				uni.request({
-					url: 'http://localhost:9528/login.action',
+					url: 'http://192.168.50.101:9528/login.action',
 					fail(result) {
 						uni.showToast({title: '璇锋眰澶辫触'})
 					},
diff --git a/pages/user/user.vue b/pages/user/user.vue
index 02409e3..05c238d 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -1,8 +1,52 @@
 <template>
+	<view>
+		<view class="user">
+			<!-- 澶村儚 -->
+			<view class="user-avatar">
+				<img src="../../static/image/澶村儚.jpg" alt="">
+				<!-- <image src="" mode="aspectFit"></image> -->
+			</view>
+			<!-- 淇℃伅 -->
+			<view class="user-info">
+				<view class="user-name">闄堥箯
+				</view>
+				
+			</view>
+			<!-- 鏇村 -->
+			<view></view>
+		</view>
+	</view>
 </template>
 
 <script>
 </script>
 
 <style>
+	.user {
+		width: 100%;
+		height: 200rpx;
+		background-color: #f8f8f8;
+		display: grid;
+		grid-template-columns: 1fr 4fr 1fr;
+	}
+	.user-avatar {
+		height: 200rpx;
+		width: 200rpx;
+		/* background-color: aquamarine; */
+		display: flex;
+		justify-content: center;
+		align-items: center;
+	}
+	.user-avatar img {
+		height: 100rpx;
+		border-radius: 20rpx;
+	}
+	.user-info {
+		height: 200rpx;
+		display: grid;
+		grid-template-rows: 2fr 2fr;
+		align-items: end;
+		
+		/* background-color: aqua; */
+	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.1