关闭按钮

This commit is contained in:
fay 2026-03-25 11:45:09 +08:00
parent 383934ef69
commit 8af1682f58
2 changed files with 22 additions and 5 deletions

View File

@ -103,6 +103,7 @@
<view class="popupBox popupBoxW710"> <view class="popupBox popupBoxW710">
<view class="orderList"> <view class="orderList">
<view class="orderInfo"> <view class="orderInfo">
<image class="close-icon" src="/static/home/close.svg" @click="closeDetailPopup"></image>
<!-- <uv-button shape="circle">复制</uv-button> --> <!-- <uv-button shape="circle">复制</uv-button> -->
<view class="orderOn">订单号{{ state.orderData.orderNo }} </view> <view class="orderOn">订单号{{ state.orderData.orderNo }} </view>
<view class="box1"> <view class="box1">
@ -1322,11 +1323,18 @@ onShow(() => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.close-icon {
position: absolute;
right: 0.9rem;
width: 0.75rem;
height: 0.75rem;
}
.box2_border { .box2_border {
margin-bottom: 20rpx; margin-bottom: 20rpx;
padding-top: 20rpx; padding-top: 20rpx;
border-bottom: 1px solid #a8aaac69; border-bottom: 1px solid rgba(120, 123, 126, 0.1);
border-top: 1px solid #a8aaac69; border-top: 1px solid rgba(120, 123, 126, 0.1);
} }
.box2 { .box2 {
@ -1356,7 +1364,6 @@ onShow(() => {
color: #6f6f6f; color: #6f6f6f;
font-weight: bold; font-weight: bold;
height: 30rpx; height: 30rpx;
width: 70rpx;
} }
} }
@ -1364,7 +1371,7 @@ onShow(() => {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-bottom: 1px solid #a8aaac69; border-bottom: 1px solid rgba(120, 123, 126, 0.1);
margin-bottom: 20rpx; margin-bottom: 20rpx;
:deep(.uv-button) { :deep(.uv-button) {
@ -1517,7 +1524,7 @@ onShow(() => {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-bottom: 1px solid #a8aaac69; border-bottom: 1px solid rgba(120, 123, 126, 0.1);
margin-bottom: 20rpx; margin-bottom: 20rpx;
:deep(.uv-button) { :deep(.uv-button) {

10
static/home/close.svg Normal file
View File

@ -0,0 +1,10 @@
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_59_2)">
<path d="M20.8934 2.94989C20.9617 3.0184 21 3.11116 21 3.20786C21 3.30456 20.9617 3.39732 20.8934 3.46583L13.8416 10.5175L20.8588 17.5346C20.9272 17.6033 20.9655 17.6963 20.9655 17.7933C20.9655 17.8902 20.9272 17.9832 20.8588 18.052L18.0159 20.8934C17.9473 20.9617 17.8546 21 17.7579 21C17.6612 21 17.5684 20.9617 17.4999 20.8934L10.4827 13.8764L3.5001 20.8588C3.43159 20.9271 3.33883 20.9654 3.24212 20.9654C3.14542 20.9654 3.05266 20.9271 2.98415 20.8588L0.142671 18.0174C0.108696 17.9836 0.0817376 17.9434 0.0633424 17.8991C0.0449472 17.8548 0.0354779 17.8074 0.0354779 17.7594C0.0354779 17.7115 0.0449472 17.664 0.0633424 17.6198C0.0817376 17.5755 0.108696 17.5353 0.142671 17.5015L7.12678 10.5175L0.106569 3.50042C0.0383201 3.43192 0 3.33916 0 3.24245C0 3.14575 0.0383201 3.05299 0.106569 2.98449L2.94805 0.143061C3.01656 0.074813 3.10932 0.0364935 3.20602 0.0364935C3.30272 0.0364935 3.39549 0.074813 3.46399 0.143061L10.4827 7.16013L17.536 0.108464C17.5696 0.0741258 17.6098 0.0468442 17.6541 0.028219C17.6984 0.00959384 17.7459 0 17.794 0C17.842 0 17.8896 0.00959384 17.9339 0.028219C17.9782 0.0468442 18.0183 0.0741258 18.052 0.108464L20.8934 2.94989Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_59_2">
<rect width="21" height="21" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB