From 815118d496b72526ee2852c907bf0a93fa7bfab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 13 Jan 2023 11:04:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E5=88=A0=E9=99=A4=E6=88=91?= =?UTF-8?q?=E7=9A=84=E9=A1=B6=E9=83=A8=E8=83=8C=E6=99=AF=E6=A0=8F=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.js | 1 - pages/tabbar/user/my.vue | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/config.js b/config/config.js index b5bdeab..31f7045 100644 --- a/config/config.js +++ b/config/config.js @@ -22,6 +22,5 @@ export default { mainColor: "#ff3c2a", // 主题色 lightColor: "#ff6b35", // 高亮主题色 aiderLightColor: "#ff9f28", // 辅助高亮颜色 - defaultUserTopBackground:"/static/img/main-bg.png", // 我的页面用户背景 渲染的大小: 750 × 443 px 渲染时的宽高比: 750∶443 defaultUserPhoto:"/static/missing-face.png" // 默认用户头像 }; diff --git a/pages/tabbar/user/my.vue b/pages/tabbar/user/my.vue index dcc24fd..04a6852 100644 --- a/pages/tabbar/user/my.vue +++ b/pages/tabbar/user/my.vue @@ -4,7 +4,7 @@ - + @@ -86,7 +86,6 @@ export default { data() { return { configs, - backGroundImage:configs.defaultUserTopBackground, userImage:configs.defaultUserPhoto, coverTransform: "translateY(0px)", coverTransition: "0s", @@ -173,7 +172,7 @@ body { background-size: cover; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; - // background-image: url("/static/img/main-bg.png"); + background-image: url("/static/img/main-bg.png"); background-position: bottom; background-repeat: no-repeat; color: #ffffff;