样式优化

This commit is contained in:
xixi 2024-09-11 14:20:23 +08:00
parent 23d4ddb7c5
commit 9b7c2429cf
3 changed files with 7 additions and 5 deletions

View File

@ -124,14 +124,13 @@
.content-button { .content-button {
width: 94px; width: 94px;
height: 32px; height: 32px;
background: #d3d3d3; background: #1677FF;
border-radius: 10px; border-radius: 10px;
font-size: 16px; font-size: 16px;
color: #FFFFFF; color: #FFFFFF;
text-align: center; text-align: center;
line-height: 32px; line-height: 32px;
cursor: pointer; cursor: pointer;
} }
.content-projName { .content-projName {
@ -147,7 +146,6 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.noDatebox { .noDatebox {

View File

@ -23,7 +23,7 @@ export default function HeadCouponModal(props: any) {
const [page, setPage] = useState(1) const [page, setPage] = useState(1)
const [total, setTotal] = useState(0) const [total, setTotal] = useState(0)
// 是否有效 // 是否有效
const [isEffective, setisEffective] = useState<any>(null) const [isEffective, setisEffective] = useState<any>(1)
const [isUsed, setisUsed] = useState(0) const [isUsed, setisUsed] = useState(0)
// 展示的优惠券数组 // 展示的优惠券数组
const [couponArray, setCouponArray] = useState<any[]>([]) const [couponArray, setCouponArray] = useState<any[]>([])

View File

@ -1593,6 +1593,7 @@ export default function Index() {
}} }}
okButtonProps={{ style: { background: 'red', color: 'white' } }} okButtonProps={{ style: { background: 'red', color: 'white' } }}
width={592} width={592}
maskClosable={false} // 禁止通过点击蒙层关闭
> >
<RefunModal closeModal={() => { setRefunModal(false) }}></RefunModal> <RefunModal closeModal={() => { setRefunModal(false) }}></RefunModal>
</Modal> </Modal>
@ -1601,6 +1602,7 @@ export default function Index() {
destroyOnClose={true} destroyOnClose={true}
open={correctionModal} open={correctionModal}
footer={null} footer={null}
maskClosable={false} // 禁止通过点击蒙层关闭
onCancel={() => { onCancel={() => {
setCorrectionModal(false) setCorrectionModal(false)
}} }}
@ -1679,7 +1681,9 @@ export default function Index() {
:{item.useGmtStart} {item.useGmtEnd} :{item.useGmtStart} {item.useGmtEnd}
</div> </div>
<div className='content-button' onClick={() => { <div className='content-button' style={{
background:'#1677FF'
}} onClick={() => {
// props.closeModal() // props.closeModal()
receiveCoupons(item.couponId) receiveCoupons(item.couponId)