样式优化

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

View File

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

View File

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