From 2cfb253a168727fcec26d0c1cdc76baabf2b84be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 19 Apr 2023 15:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Personal/Personal.vue | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index a744c1f..654734c 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -44,8 +44,7 @@ 性别.年龄: {{item.orderStatus=='PAY'?'已付款':''}} {{item.studentSex=='MALE'?'男':''}} - {{item.studentSex=='FEMALE'?'女':''}} - {{item.studentAge}}岁 + {{item.studentSex=='FEMALE'?'女':''}} {{item.studentAge}} 所在班级: {{item.className}} @@ -179,7 +178,6 @@ const value2 = uni.getStorageSync('studentId'); if (value && value2) { uni.removeStorageSync('phone'); - uni.removeStorageSync('this.DATAList'); uni.removeStorageSync('openid'); uni.removeStorageSync('studentId'); this.mask = false @@ -206,18 +204,6 @@ .studentitem { padding: 3%; - .picitem { - position: absolute; - top: 35%; - left: 40%; - - image { - width: 164rpx; - height: 150rpx; - margin: 0 auto; - } - } - image { width: 34rpx; height: 34rpx; @@ -426,8 +412,8 @@ .school { width: 95%; - margin: 0 auto; - height: 390rpx; + margin: 5rpx auto; + // height: 390rpx; // background-color: red; box-shadow: 0rpx 3rpx 18rpx 0rpx rgba(161, 220, 211, 0.43); border-radius: 10rpx; @@ -446,7 +432,7 @@ .schoolitem { width: 90%; margin: 0 auto; - height: 263rpx; + // height: 263rpx; background: #F9F9FA; border-radius: 10rpx; position: relative; @@ -456,6 +442,12 @@ top: 25%; left: 40%; + image { + width: 164rpx; + height: 150rpx; + margin: 0 auto; + } + } } } @@ -476,8 +468,11 @@ background: #F9F9FA; border-radius: 10rpx; position: relative; - top: 3%; + .picitem { + position: absolute; + top: 25%; + left: 40%; image { width: 164rpx;