fix: 🐛 删除我的顶部背景栏配置项
parent
7c71375b6c
commit
815118d496
|
@ -22,6 +22,5 @@ export default {
|
||||||
mainColor: "#ff3c2a", // 主题色
|
mainColor: "#ff3c2a", // 主题色
|
||||||
lightColor: "#ff6b35", // 高亮主题色
|
lightColor: "#ff6b35", // 高亮主题色
|
||||||
aiderLightColor: "#ff9f28", // 辅助高亮颜色
|
aiderLightColor: "#ff9f28", // 辅助高亮颜色
|
||||||
defaultUserTopBackground:"/static/img/main-bg.png", // 我的页面用户背景 渲染的大小: 750 × 443 px 渲染时的宽高比: 750∶443
|
|
||||||
defaultUserPhoto:"/static/missing-face.png" // 默认用户头像
|
defaultUserPhoto:"/static/missing-face.png" // 默认用户头像
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<view class="status_bar">
|
<view class="status_bar">
|
||||||
<!-- 这里是状态栏 -->
|
<!-- 这里是状态栏 -->
|
||||||
</view>
|
</view>
|
||||||
<view class="header" :style="{'background-image':`url(${backGroundImage})`}" @click="userDetail">
|
<view class="header" @click="userDetail">
|
||||||
<view class="head-1">
|
<view class="head-1">
|
||||||
<image :src="userInfo.face || userImage"></image>
|
<image :src="userInfo.face || userImage"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -86,7 +86,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
configs,
|
configs,
|
||||||
backGroundImage:configs.defaultUserTopBackground,
|
|
||||||
userImage:configs.defaultUserPhoto,
|
userImage:configs.defaultUserPhoto,
|
||||||
coverTransform: "translateY(0px)",
|
coverTransform: "translateY(0px)",
|
||||||
coverTransition: "0s",
|
coverTransition: "0s",
|
||||||
|
@ -173,7 +172,7 @@ body {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border-bottom-left-radius: 30rpx;
|
border-bottom-left-radius: 30rpx;
|
||||||
border-bottom-right-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-position: bottom;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
Loading…
Reference in New Issue