From 1771ea779b08f936cafa8e818388c88157fa4fc3 Mon Sep 17 00:00:00 2001
From: xixi <123@qq.com>
Date: Thu, 25 Jul 2024 16:58:56 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/card/CardProj.tsx | 42 ++++++++++++++++--------------
src/components/card/card-proj.css | 25 +++++++++++++-----
src/components/payment/Payment.tsx | 18 ++++++++++---
3 files changed, 55 insertions(+), 30 deletions(-)
diff --git a/src/components/card/CardProj.tsx b/src/components/card/CardProj.tsx
index 5745b54..8e53caa 100644
--- a/src/components/card/CardProj.tsx
+++ b/src/components/card/CardProj.tsx
@@ -155,16 +155,17 @@ export default function CardProj(props: any) {
{/* lyp */}
-
-
-
})
+
+
+
-
-
})
+
+
+
-
+
{/*
})
*/}
@@ -488,9 +489,9 @@ export default function CardProj(props: any) {
{renderOption()}
*/}
-
+
{/* 第四步 设置 */}
- {
setLoginPageOpne(false);
// window.location.reload(); // 在取消时刷新页面
- }}
+ }
+ }
footer={null}
>
{ setLoginPageOpne(false) }}>
-
+ Modal>
{/* 第四步 查看 */}
-
-
+
{/* 第五步 设置 */}
-
-
+
{/* 第五步 查看 */}
-
-
+
{/* 第六步 设置 */}
-
-
+
{/* 第六步 查看 */}
-
-
+
{messageContext}
>
)
diff --git a/src/components/card/card-proj.css b/src/components/card/card-proj.css
index 78fe89e..777b741 100644
--- a/src/components/card/card-proj.css
+++ b/src/components/card/card-proj.css
@@ -127,14 +127,27 @@
height: 143px;
background: #F5F5F5;
border-radius: 6px;
- overflow: hidden;
+
+
+}
+.cpb-left-imgX {
+ /* width: 249px; */
+ width: 290px;
+ height: 143px;
+ background: #F5F5F5;
+ border-radius: 6px;
+
+
}
.cpb-left-img img {
- width: 100%; /* 使图片宽度等于容器宽度 */
- height: 100%; /* 使图片高度等于容器高度 */
- object-fit: cover; /* 图片等比例缩放并裁剪超出部分 */
- object-position: center; /* 图片居中显示 */
- display: block; /* 去掉图片底部的空隙 */
+ width: 100%; /* 使图片宽度等于父元素宽度 */
+ height: 100%; /* 使图片高度等于父元素高度 */
+ object-fit: cover; /* 使图片等比例缩放并裁剪超出部分 */
+ object-position: center ; /* 确保图片在容器内居中显示 */
+
+ /* 去掉图片底部的空隙 */
+ display: block;
+
}
.cpbl-right {
diff --git a/src/components/payment/Payment.tsx b/src/components/payment/Payment.tsx
index 6f91184..b5fa9b1 100644
--- a/src/components/payment/Payment.tsx
+++ b/src/components/payment/Payment.tsx
@@ -187,6 +187,11 @@ export default function Payment(props: IPaymentProps) {
setIsRechargeMoneyEdit(false);
getPay()
}}>确定
+ {
+ setIsRechargeMoneyEdit(false)
+ }}
+ >取消
)
}
@@ -361,7 +366,12 @@ export default function Payment(props: IPaymentProps) {
}
return <>
-
+
+
{/* {
isCountdownTimeout ? (
@@ -382,12 +392,12 @@ export default function Payment(props: IPaymentProps) {
return (
-
-
{
+
+
{
setMask(false)
setRefreshQrCodeCount(refreshQrCodeCount + 1);
}}>
-
+
已失效,点击刷新