mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 11:49:19 +08:00
style: 收紧 ColPage 左右栏中缝间距
This commit is contained in:
@@ -154,7 +154,7 @@ const formatAmount = (amount: number) => `¥${Number(amount || 0).toFixed(2)}`;
|
|||||||
@select="onShopSelect"
|
@select="onShopSelect"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ onMounted(async () => {
|
|||||||
<template>
|
<template>
|
||||||
<PddShopColPage :selected-shop-id="selectedShopId" @select="onShopSelect">
|
<PddShopColPage :selected-shop-id="selectedShopId" @select="onShopSelect">
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -485,7 +485,7 @@ onUnmounted(() => stopJobPoll());
|
|||||||
@select-unassigned="selectUnassigned"
|
@select-unassigned="selectUnassigned"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="publish-desk-card ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden sm:ml-2"
|
class="publish-desk-card flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ function openDetail(row: PddOrderVO.Info) {
|
|||||||
@select="onShopSelect"
|
@select="onShopSelect"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ async function handleSave() {
|
|||||||
@select="onCompanySelect"
|
@select="onCompanySelect"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ onMounted(() => {
|
|||||||
@select="onCompanySelect"
|
@select="onCompanySelect"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -671,7 +671,7 @@ onMounted(async () => {
|
|||||||
@add-for-shop="handleAddForShop"
|
@add-for-shop="handleAddForShop"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ const formatAmount = (amount: number) => `¥${amount.toFixed(2)}`;
|
|||||||
@add-for-shop="handleAddForShop"
|
@add-for-shop="handleAddForShop"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ const formatAmount = (amount: number) => `¥${amount.toFixed(2)}`;
|
|||||||
@add-for-shop="handleAddForShop"
|
@add-for-shop="handleAddForShop"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ const formatAmount = (amount: number) => `¥${amount.toFixed(2)}`;
|
|||||||
@add-for-shop="handleAddForShop"
|
@add-for-shop="handleAddForShop"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ watch(currentCompany, () => {
|
|||||||
@add-for-company="handleAddForCompany"
|
@add-for-company="handleAddForCompany"
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
class="ml-1 flex h-full min-h-0 min-w-0 flex-1 flex-col sm:ml-2"
|
class="flex h-full min-h-0 min-w-0 flex-1 flex-col"
|
||||||
:body-style="{
|
:body-style="{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
|||||||
@@ -241,18 +241,22 @@ defineExpose({
|
|||||||
resize,
|
resize,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<slot
|
<div class="box-border h-full min-h-0 min-w-0">
|
||||||
name="left"
|
<slot
|
||||||
:is-collapsed="!!toValue(panelCollapsed)"
|
name="left"
|
||||||
:is-expanded="!!toValue(panelExpanded)"
|
:is-collapsed="!!toValue(panelCollapsed)"
|
||||||
:expand="expandLeft"
|
:is-expanded="!!toValue(panelExpanded)"
|
||||||
:collapse="collapseLeft"
|
:expand="expandLeft"
|
||||||
:resize="resize"
|
:collapse="collapseLeft"
|
||||||
></slot>
|
:resize="resize"
|
||||||
|
></slot>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
|
<!-- 拖拽热区兼中缝,略留空隙即可 -->
|
||||||
<ResizableHandle
|
<ResizableHandle
|
||||||
v-if="resizable"
|
v-if="resizable"
|
||||||
|
class="w-1.5 !bg-transparent after:w-1.5"
|
||||||
:style="{ backgroundColor: splitLine ? undefined : 'transparent' }"
|
:style="{ backgroundColor: splitLine ? undefined : 'transparent' }"
|
||||||
:with-handle="splitHandle"
|
:with-handle="splitHandle"
|
||||||
/>
|
/>
|
||||||
@@ -264,7 +268,9 @@ defineExpose({
|
|||||||
:min-size="rightMinWidth"
|
:min-size="rightMinWidth"
|
||||||
>
|
>
|
||||||
<template #default>
|
<template #default>
|
||||||
<slot></slot>
|
<div class="box-border h-full min-h-0 min-w-0 pl-1 sm:pl-1.5">
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
</ResizablePanelGroup>
|
</ResizablePanelGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user