修复问题

This commit is contained in:
al 2024-12-24 18:39:36 +08:00
parent 840ef29428
commit dd2de79a3f
5 changed files with 24 additions and 31 deletions

View File

@ -910,11 +910,8 @@ export default function CompleteStreamerInformation() {
</Radio.Group>
</Form.Item>
{showWechatInput === 0 && (
<Form.Item
// required
style={{
display: showWechatInput === 0 ? "block" : "none",
}}
label={<span className="text-sm text-white">微信帐号</span>}
layout="vertical"
name="wechat"
@ -931,6 +928,7 @@ export default function CompleteStreamerInformation() {
inputClassName="mt-2 px-4 h-12 py-3 rounded-[0.8rem] bg-[#FFFFFF1a] flex justify-between items-center"
/>
</Form.Item>
)}
<Form.Item
required
name="fans"
@ -956,7 +954,6 @@ export default function CompleteStreamerInformation() {
<Form.Item
layout="vertical"
name="wechatPrice"
required
rules={[
{
required: true,
@ -964,12 +961,7 @@ export default function CompleteStreamerInformation() {
pattern: /^[1-9]\d*$/,
},
]}
label={
<div className="flex">
<span className="text-sm text-white">加微信价格</span>
<span className="text-[#F53030]">*</span>
</div>
}
label={<span className="text-sm text-white">加微信价格</span>}
>
<div className="mt-2 px-4 py-3 h-12 rounded-[0.8rem] bg-[#FFFFFF1a] flex justify-between items-center">
<div className="flex items-center">

View File

@ -38,7 +38,7 @@ function BottomNav({ changeNoticeCount, changeInviter, noticeCount }) {
if (_data.ret === -1) {
return;
}
if (!noticeCount) changeNoticeCount(_data.data.total);
changeNoticeCount(_data.data.total);
} catch (error) {}
};
getDtata();

View File

@ -259,20 +259,21 @@ export default function UploadImgs({
>
<OwnImage
src={item.url}
outClassName="w-full h-full"
className="w-full h-full"
rounded="rounded"
fit="cover"
/>
</div>
<div
className="h-6 w-6 bg-[#33333380] absolute top-0 right-0 flex justify-center items-center rounded-bl"
className="h-6 w-6 bg-[#33333380] absolute top-0 right-0 flex justify-center items-center rounded-bl z-50"
onClick={() => handleRemoveItem(index * 4 + ind)}
>
<FontAwesomeIcon icon={faClose} size="xl" />
</div>
{type == 2 && (
<div
className="absolute top-1/2 left-1/2 flex justify-center items-center -mt-2 -ml-1"
className="absolute top-1/2 left-1/2 flex justify-center items-center -mt-2 -ml-1 z-50"
onClick={() => showPhotos(filesUrls)}
>
<FontAwesomeIcon icon={faPlay} size="xl" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB