🎈 perf(提货订单): 优化UI

This commit is contained in:
xuan 2022-12-08 21:59:00 +08:00
parent 435d71400a
commit b9dd27ebb7
3 changed files with 172 additions and 171 deletions

View File

@ -1,12 +1,12 @@
.flexBox { .flexBox {
display: flex; display: flex;
width: 200px;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
margin-left: 20px;
} }
.icon_shaixuan { .icon_shaixuan {
color: #0D7CFF; color: #0d7cff;
font-size: 35px !important; font-size: 35px !important;
margin-right: 10px; margin-right: 10px;
} }
@ -26,7 +26,7 @@
} }
.activeshai { .activeshai {
color: #0D7CFF; color: #0d7cff;
margin-right: 32px; margin-right: 32px;
font-size: 28px; font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
@ -58,8 +58,6 @@
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
width: 100%; width: 100%;
.thirdBox { .thirdBox {
margin-top: 20px; margin-top: 20px;
padding-left: 48px; padding-left: 48px;
@ -75,7 +73,7 @@
margin-top: 24px; margin-top: 24px;
background-color: #f6f6f6; background-color: #f6f6f6;
height: 68px; height: 68px;
background: #E9E9E9; background: #e9e9e9;
border-radius: 8px; border-radius: 8px;
margin-right: 48px; margin-right: 48px;
text-align: center; text-align: center;
@ -109,10 +107,10 @@
font-size: 28px; font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #337FFF; color: #337fff;
text-align: center; text-align: center;
// line-height: 68px; // line-height: 68px;
border: 1px solid #337FFF; border: 1px solid #337fff;
box-sizing: border-box; box-sizing: border-box;
} }
@ -141,7 +139,7 @@
width: 100%; width: 100%;
// width: 750px; // width: 750px;
height: 160px; height: 160px;
background: #FFFFFF; background: #ffffff;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
z-index: 99; z-index: 99;
@ -155,11 +153,11 @@
width: 311px; width: 311px;
height: 80px; height: 80px;
border-radius: 44px; border-radius: 44px;
border: 1px solid #087EFF; border: 1px solid #087eff;
font-size: 28px; font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #337FFF; color: #337fff;
text-align: center; text-align: center;
line-height: 80px; line-height: 80px;
background-color: #fff; background-color: #fff;
@ -174,7 +172,7 @@
font-size: 32px; font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #ffffff;
text-align: center; text-align: center;
line-height: 80px; line-height: 80px;
} }
@ -183,7 +181,7 @@
margin-right: 32px; margin-right: 32px;
width: 311px; width: 311px;
height: 80px; height: 80px;
background: #337FFF; background: #337fff;
border-radius: 44px; border-radius: 44px;
font-size: 32px; font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;

View File

@ -39,8 +39,11 @@
padding-bottom: constant(safe-area-inset-bottom); padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
btn:hover{ .btn {
filter: blur(.7); width: 40%;
&:hover {
filter: blur(0.7);
}
} }
.rest_btn { .rest_btn {

View File

@ -80,7 +80,7 @@ const Delivery: FC = () => {
setRefresherTriggeredStatus(() => false) setRefresherTriggeredStatus(() => false)
} }
const [currentStatus, setCurrentStatus] = useState('提货') const [currentStatus, setCurrentStatus] = useState('提货')
const handleChangeStatus = ({ id: statusId, name: statusName }) => { const handleChangeStatus = ({ id: statusId, name: statusName }) => {
setCurrentStatus(statusName) setCurrentStatus(statusName)