修复问题
This commit is contained in:
parent
840ef29428
commit
dd2de79a3f
|
@ -910,27 +910,25 @@ export default function CompleteStreamerInformation() {
|
|||
</Radio.Group>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
// required
|
||||
style={{
|
||||
display: showWechatInput === 0 ? "block" : "none",
|
||||
}}
|
||||
label={<span className="text-sm text-white">微信帐号</span>}
|
||||
layout="vertical"
|
||||
name="wechat"
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
message: messageEle("请填写正确的微信"),
|
||||
pattern: /^[a-zA-Z0-9_-]+$/,
|
||||
},
|
||||
]}
|
||||
>
|
||||
<OwnInput
|
||||
placeholder="对方付费购买后展示"
|
||||
inputClassName="mt-2 px-4 h-12 py-3 rounded-[0.8rem] bg-[#FFFFFF1a] flex justify-between items-center"
|
||||
/>
|
||||
</Form.Item>
|
||||
{showWechatInput === 0 && (
|
||||
<Form.Item
|
||||
label={<span className="text-sm text-white">微信帐号</span>}
|
||||
layout="vertical"
|
||||
name="wechat"
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
message: messageEle("请填写正确的微信"),
|
||||
pattern: /^[a-zA-Z0-9_-]+$/,
|
||||
},
|
||||
]}
|
||||
>
|
||||
<OwnInput
|
||||
placeholder="对方付费购买后展示"
|
||||
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">
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue