修改样式
This commit is contained in:
parent
bce0f3e7e0
commit
5fbe4f2719
|
@ -23,9 +23,10 @@ import DefaultMask from "@/components/DefaultMask";
|
||||||
import { getSpaceData, getStreamerInfo } from "@/api/space";
|
import { getSpaceData, getStreamerInfo } from "@/api/space";
|
||||||
import baseRequest from "@/utils/baseRequest";
|
import baseRequest from "@/utils/baseRequest";
|
||||||
const anchors = [
|
const anchors = [
|
||||||
window.innerHeight - 280,
|
typeof window !== "undefined" ? window.innerHeight - 280 : "100vh",
|
||||||
window.innerHeight - 280,
|
typeof window !== "undefined" ? window.innerHeight - 180 : "100vh",
|
||||||
window.innerHeight - 60,
|
typeof window !== "undefined" ? window.innerHeight - 60 : "100vh",
|
||||||
|
// 200, 300, 400,
|
||||||
];
|
];
|
||||||
|
|
||||||
export default function PersonSpace() {
|
export default function PersonSpace() {
|
||||||
|
@ -390,7 +391,12 @@ export default function PersonSpace() {
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FloatingPanel anchors={anchors} ref={scrollRef} className="bg-deepBg">
|
<FloatingPanel
|
||||||
|
anchors={anchors}
|
||||||
|
ref={scrollRef}
|
||||||
|
className="bg-deepBg"
|
||||||
|
style={{ height: "calc(100vh - 60px)" }}
|
||||||
|
>
|
||||||
<JumboTabs
|
<JumboTabs
|
||||||
onChange={(key) => setCurrentKey(key)}
|
onChange={(key) => setCurrentKey(key)}
|
||||||
activeKey={currentKey}
|
activeKey={currentKey}
|
||||||
|
|
Loading…
Reference in New Issue