修复:对齐用户端店铺页面
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<LeftOutlined :style="{ fontSize: '19px' }" />
|
||||
</a-button>
|
||||
<div class="order-header__copy">
|
||||
<span>YumiNail</span>
|
||||
<span>指尖设计师</span>
|
||||
<h1 class="order-header__title">订单中心</h1>
|
||||
</div>
|
||||
<div class="order-header__spacer" />
|
||||
@@ -1048,6 +1048,7 @@ onMounted(async () => {
|
||||
|
||||
<style scoped>
|
||||
.order-page {
|
||||
--order-shell-width: var(--frontend-page-max-width);
|
||||
min-height: 100vh;
|
||||
min-height: 100svh;
|
||||
padding-top: 64px;
|
||||
@@ -1065,19 +1066,20 @@ onMounted(async () => {
|
||||
.order-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
left: 50%;
|
||||
z-index: 20;
|
||||
display: grid;
|
||||
grid-template-columns: 42px minmax(0, 1fr) 42px;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: min(100%, var(--order-shell-width));
|
||||
height: 64px;
|
||||
padding: 8px 18px;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--theme-border) 72%, transparent);
|
||||
background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
backdrop-filter: blur(18px);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.order-header__back,
|
||||
@@ -1121,8 +1123,8 @@ onMounted(async () => {
|
||||
}
|
||||
|
||||
.order-content {
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
width: min(100%, var(--order-shell-width));
|
||||
max-width: var(--order-shell-width);
|
||||
margin: 0 auto;
|
||||
padding: 14px 16px 30px;
|
||||
}
|
||||
@@ -1707,28 +1709,20 @@ onMounted(async () => {
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.order-content {
|
||||
max-width: 720px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.status-tabs {
|
||||
margin-right: -24px;
|
||||
margin-left: -24px;
|
||||
padding-right: 24px;
|
||||
padding-left: 24px;
|
||||
padding: 14px 16px 30px;
|
||||
}
|
||||
|
||||
.order-card {
|
||||
padding: 20px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.order-item {
|
||||
grid-template-columns: 120px minmax(0, 1fr);
|
||||
grid-template-columns: 94px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.thumb {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
width: 94px;
|
||||
height: 94px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user