diff --git a/src/components/CommonPopup/index.module.scss b/src/components/CommonPopup/index.module.scss index 0d0d84a..f9dfc02 100644 --- a/src/components/CommonPopup/index.module.scss +++ b/src/components/CommonPopup/index.module.scss @@ -3,7 +3,9 @@ .common-popup { position: fixed; z-index: 9999 !important; - + &:global(.nut-popup-bottom.nut-popup-round) { + border-radius: 20px 20px 0 0!important; + } .common-popup__drag-handle-container { position: position; } diff --git a/src/components/UploadCover/index.tsx b/src/components/UploadCover/index.tsx index d8e6b31..2de36e0 100644 --- a/src/components/UploadCover/index.tsx +++ b/src/components/UploadCover/index.tsx @@ -29,6 +29,7 @@ export interface UploadCoverProps { maxCount?: number; align?: "center" | "left"; tag?: "cover" | "screenshot"; + uploadText?: string } const mergeCoverImages = ( @@ -74,6 +75,7 @@ export default function UploadCover(props: UploadCoverProps) { align = "center", tag = "cover", changePicker, + uploadText = '添加活动封面' } = props; const [visible, setVisible] = useState(false); @@ -121,6 +123,44 @@ export default function UploadCover(props: UploadCoverProps) { return ( <> +
+ {value.length < maxCount && ( +
openPicker(true)}> + +
{uploadText}
+
+ )} +
+
+ {value.map((item) => { + return ( + + + onDelete(item)} + /> + + ); + })} +
+
+
openPicker(false)} @@ -160,44 +200,6 @@ export default function UploadCover(props: UploadCoverProps) { -
- {value.length < maxCount && ( -
openPicker(true)}> - -
添加活动封面
-
- )} -
-
- {value.map((item) => { - return ( - - - onDelete(item)} - /> - - ); - })} -
-
-
); } diff --git a/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.tsx b/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.tsx index 88935fb..491920e 100644 --- a/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.tsx +++ b/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.tsx @@ -234,6 +234,7 @@ const StadiumDetail = forwardRef(({ { if (value instanceof Function) { const newValue = value(formData[item.prop])