diff --git a/src/assets/index.scss b/src/assets/index.scss index b7b010d..4fad8d0 100644 --- a/src/assets/index.scss +++ b/src/assets/index.scss @@ -71,6 +71,13 @@ body { padding-right: 0; padding-left: 0; } + .news-detail{ + video{ + width: 100%; + max-width: 100%; + max-height: 400px; + } + } } .news-detail-content-container{ margin-right: -30px; diff --git a/src/components/icons/index.tsx b/src/components/icons/index.tsx index 4c80765..79de615 100644 --- a/src/components/icons/index.tsx +++ b/src/components/icons/index.tsx @@ -90,6 +90,12 @@ export const IconAddText = ({style, className}: IconProps) => ( ) +export const IconVideo = ({style, className}: IconProps) => ( + + + +) export const IconAddImage = ({style, className}: IconProps) => ( setActiveNews(undefined)} >
-
+
{activeNews?.title}
{activeNews?.media_name} @@ -104,7 +104,7 @@ export default function NewsIndex() {
-
+
setActiveNews(undefined)}/> @@ -113,7 +113,7 @@ export default function NewsIndex() { handleCheckChange(activeNews!.id)} - >选择 + >选择
@@ -134,7 +134,7 @@ export default function NewsIndex() {