update style

This commit is contained in:
Timi
2026-09-13 00:07:29 +08:00
parent 2080a88eb8
commit f191729b58
2 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<t-tag :content="getSalesOrderStatusText(order.status)" variant="light-outline" :theme="getStatusTheme(order.status)" /> <t-tag :content="getSalesOrderStatusText(order.status)" variant="light-outline" :theme="getStatusTheme(order.status)" />
</div> </div>
</div> </div>
<h1 class="no" v-text="order.orderNo" /> <h1 class="no selectable" v-text="order.orderNo" />
<div class="meta"> <div class="meta">
<pass-time-label class="time" :timestamp="order.purchasedAt" underline /> <pass-time-label class="time" :timestamp="order.purchasedAt" underline />
<div class="amount red text-bold"> <div class="amount red text-bold">
+12 -4
View File
@@ -12,6 +12,7 @@
v-for="(item, index) in group.entryList" v-for="(item, index) in group.entryList"
:key="item.path" :key="item.path"
class="item" class="item"
:class="{ quick: item.path === '/customer/quick-sign-in' }"
@click="go(item.path)" @click="go(item.path)"
> >
<div class="body"> <div class="body">
@@ -173,12 +174,15 @@ onUnmounted(() => {
grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-columns: repeat(3, minmax(0, 1fr));
.item { .item {
color: #0f766e; --entry-color: #0f766e;
--entry-background: rgba(255, 255, 255, .92);
color: var(--entry-color);
padding: 1rem; padding: 1rem;
display: flex; display: flex;
position: relative; position: relative;
text-align: center; text-align: center;
background: rgba(255, 255, 255, .92); background: var(--entry-background);
box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .08); box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .08);
align-items: center; align-items: center;
aspect-ratio: 1; aspect-ratio: 1;
@@ -186,6 +190,11 @@ onUnmounted(() => {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
&.quick {
color: var(--entry-background);
background: var(--entry-color);
}
.body { .body {
inset: 1rem; inset: 1rem;
display: flex; display: flex;
@@ -219,11 +228,10 @@ onUnmounted(() => {
} }
.item { .item {
background: rgba(15, 23, 42, .88); --entry-background: rgba(15, 23, 42, .88);
box-shadow: 0 .75rem 2rem rgba(2, 6, 23, .32); box-shadow: 0 .75rem 2rem rgba(2, 6, 23, .32);
} }
} }
} }
</style> </style>