From 62632e0affa67585ec3c4ed62a2726de8a449e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E6=9D=B0?= <727475508@qq.com> Date: Thu, 4 Jun 2026 15:58:34 +0800 Subject: [PATCH] =?UTF-8?q?UI=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/components/brand-card.vue | 8 +++---- pages/home/home.vue | 13 ++++++----- pages/my/my.vue | 35 ++++++++++++++-------------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/pages/home/components/brand-card.vue b/pages/home/components/brand-card.vue index 4abd582..e16fc29 100644 --- a/pages/home/components/brand-card.vue +++ b/pages/home/components/brand-card.vue @@ -186,7 +186,7 @@ export default { } .brand-name { - font-size: 24rpx; + font-size: 26rpx; font-weight: 500; color: #333333; line-height: 34rpx; @@ -212,14 +212,14 @@ export default { } .tag-icon { - width: 24rpx; - height: 22rpx; + width: 26rpx; + height: 24rpx; margin-right: 6rpx; flex-shrink: 0; } .tag-text { - font-size: 20rpx; + font-size: 22rpx; line-height: 28rpx; white-space: nowrap; margin-top: 4rpx; diff --git a/pages/home/home.vue b/pages/home/home.vue index 9ae3a7f..ae9ab47 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -1049,7 +1049,7 @@ page { .update-time { font-family: PingFangSC, PingFang SC; font-weight: 400; - font-size: 20rpx; + font-size: 22rpx; color: #8E694D; line-height: 28rpx; text-align: left; @@ -1065,7 +1065,7 @@ page { .header-right { font-weight: 400; - font-size: 20rpx; + font-size: 22rpx; color: #666666; line-height: 28rpx; } @@ -1094,7 +1094,7 @@ page { height: 42rpx; font-family: PingFangTC, PingFangTC; font-weight: bold; - font-size: 30rpx; + font-size: 34rpx; color: #333333; line-height: 42rpx; } @@ -1103,7 +1103,7 @@ page { height: 28rpx; font-family: PingFangTC, PingFangTC; font-weight: 400; - font-size: 20rpx; + font-size: 22rpx; color: #858796; line-height: 28rpx; text-align: left; @@ -1239,7 +1239,7 @@ page { .action-text { font-weight: 400; - font-size: 24rpx; + font-size: 28rpx; color: #101010; line-height: 33rpx; text-align: left; @@ -1526,6 +1526,7 @@ page { margin-top: 10rpx; .type-icon { + border: 1rpx solid #D6CAC0; width: 26rpx; height: 26rpx; margin-right: 8rpx; @@ -1539,7 +1540,7 @@ page { font-size: 24rpx; color: #E55463; line-height: 33rpx; - padding: 2rpx 10rpx; + padding: 2rpx 10rpx 0 10rpx; } } diff --git a/pages/my/my.vue b/pages/my/my.vue index 6839704..808fe9f 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -29,7 +29,7 @@ + mode="" style="width:30rpx;height:30rpx ;"> {{ (userInfo.credentials_state === 2 || (userInfo.id_type > 0 && userInfo.credentials_state === 0)) ? '认证通过' : userInfo.credentials_state === 1 ? @@ -37,7 +37,7 @@ + style="width:8rpx ;margin-left: -6rpx;" /> @@ -843,13 +843,13 @@ export default { return; } - // if (!this.isLogin) { - // uni.showToast({ - // title: "您暂未登录,无法使用此功能!", - // icon: "none", - // }); - // return; - // } + // 未登录直接跳转登录 + if (!this.isLogin) { + uni.navigateTo({ + url: '/pages/blogPopup/blogPopup' + }); + return; + } if (item.path == "/pages/ruzhu/ruzhu") { request.post("/sj/userSjAuth/details", { @@ -1100,9 +1100,9 @@ page { align-items: center; .avatar { - width: 124rpx; - height: 124rpx; - border: 4rpx solid #fff; + width: 110rpx; + height: 110rpx; + border: 2rpx solid #fff; box-sizing: border-box; border-radius: 64rpx; margin-right: 20rpx; @@ -1110,8 +1110,8 @@ page { position: relative; .avatar-img { - width: 116rpx; - height: 116rpx; + width: 110rpx; + height: 110rpx; border-radius: 64rpx; margin-right: 20rpx; } @@ -1131,7 +1131,7 @@ page { .nickname { font-weight: 500; - font-size: 32rpx; + font-size: 34rpx; color: #333333; line-height: 45rpx; text-align: left; @@ -1688,10 +1688,9 @@ button::after { height: 28rpx; font-family: PingFangSC, PingFang SC; font-weight: 400; - font-size: 20rpx; + font-size: 24rpx; color: #6A574E; - line-height: 28rpx; - text-align: left; + line-height: 30rpx; font-style: normal; }