update
This commit is contained in:
@@ -9,7 +9,6 @@ import Haibao from "@/libs/haibao";
|
||||
import mask from "../assets/images/haibao-mask.png";
|
||||
import haibaoCoverBorder from "../assets/images/haibao-cover.png";
|
||||
import bg from "../assets/images/haibao-bg.png"
|
||||
import userPicture from "../assets/images/home-bg.png"; //TODO: globalStore.result_url 这里得图片后面要换成用户参榜的图片
|
||||
|
||||
defineProps({
|
||||
show: true
|
||||
@@ -101,14 +100,14 @@ const handleHaibao = async () => {
|
||||
})
|
||||
})
|
||||
}
|
||||
let userPictureVal = userPicture;
|
||||
const getBackgroundImage = () => {
|
||||
if (globalStore.result_url) {
|
||||
return userPictureVal = globalStore.result_url;
|
||||
} else {
|
||||
return userPictureVal;
|
||||
}
|
||||
};
|
||||
// let userPictureVal = userPicture;
|
||||
// const getBackgroundImage = () => {
|
||||
// if (globalStore.result_url) {
|
||||
// return userPictureVal = globalStore.result_url;
|
||||
// } else {
|
||||
// return userPictureVal;
|
||||
// }
|
||||
// };
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -173,7 +172,7 @@ const getBackgroundImage = () => {
|
||||
|
||||
.fullsection {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
top: 25vw;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -185,6 +184,7 @@ const getBackgroundImage = () => {
|
||||
|
||||
.haibao {
|
||||
position: relative;
|
||||
top: -25vw;
|
||||
width: 70vw;
|
||||
height: 119.444444vw;
|
||||
background-image: url("../assets/images/haibao-cover.webp");
|
||||
|
||||
Reference in New Issue
Block a user