From 8d29b7024f57226228bf5e327a861c24736d6a5e Mon Sep 17 00:00:00 2001
From: sunlizhou <296190577@qq.com>
Date: Tue, 22 Aug 2023 17:56:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F=E5=86=8D=E6=AC=A1=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/preview/brand/article/article.module.scss | 4 +++-
src/pages/preview/brand/article/article.tsx | 2 +-
src/pages/preview/illness/article/article.module.scss | 3 ++-
src/pages/preview/illness/article/article.tsx | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/pages/preview/brand/article/article.module.scss b/src/pages/preview/brand/article/article.module.scss
index da98846..e28c2e9 100644
--- a/src/pages/preview/brand/article/article.module.scss
+++ b/src/pages/preview/brand/article/article.module.scss
@@ -1,5 +1,7 @@
.fixedBox{
- position: absolute;
+ position: fixed;
+ z-index: 1000;
+ top:0;
width: 100vw;
height: 100vh;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
diff --git a/src/pages/preview/brand/article/article.tsx b/src/pages/preview/brand/article/article.tsx
index 1d8a1b0..b0c348e 100644
--- a/src/pages/preview/brand/article/article.tsx
+++ b/src/pages/preview/brand/article/article.tsx
@@ -27,7 +27,7 @@ const article:FC = () => {
const html = articleInfo?.content;
return (
<>
-
+
{
!token &&
diff --git a/src/pages/preview/illness/article/article.module.scss b/src/pages/preview/illness/article/article.module.scss
index da98846..e9d84a6 100644
--- a/src/pages/preview/illness/article/article.module.scss
+++ b/src/pages/preview/illness/article/article.module.scss
@@ -1,5 +1,6 @@
.fixedBox{
- position: absolute;
+ position: fixed;
+ top:0;
width: 100vw;
height: 100vh;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
diff --git a/src/pages/preview/illness/article/article.tsx b/src/pages/preview/illness/article/article.tsx
index b1d5468..882c6ed 100644
--- a/src/pages/preview/illness/article/article.tsx
+++ b/src/pages/preview/illness/article/article.tsx
@@ -28,7 +28,7 @@ const article:FC = () => {
const html = articleInfo?.content;
return (
<>
-
+
{
!token &&