ui(admin-panel): responsive users, offers, reports, finance, sms, config, notify and branch menus
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
<!-- route-based fallback for direct links to /major/promotion/(tak/)add and .../edit/:id -->
|
||||
<a-spin v-else :spinning="loading">
|
||||
<a-form layout="vertical" @submit.prevent="handleSubmit">
|
||||
<a-card :title="title" class="mb-base">
|
||||
<a-card :title="title" class="mb-base page-card">
|
||||
<div class="grid-4 grid-4--tight">
|
||||
<a-form-item label="نوع تخفیف">
|
||||
<!-- legacy disables the type selector while editing -->
|
||||
@@ -242,7 +242,7 @@
|
||||
<a-textarea v-model:value="form.description" :auto-size="{ minRows: 3, maxRows: 6 }" />
|
||||
</a-form-item>
|
||||
|
||||
<a-button type="primary" @click="handleSubmit">ثبت اطلاعات</a-button>
|
||||
<a-button type="primary" class="form-submit" @click="handleSubmit">ثبت اطلاعات</a-button>
|
||||
</a-card>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Ported from legacy henza_admin/src/views/promotion/autopromotion.vue —
|
||||
the one-shot welcome discount for new customers. State toggle + percentage.
|
||||
-->
|
||||
<a-form layout="vertical" @submit.prevent="handleSubmit">
|
||||
<a-form layout="vertical" class="page-card" @submit.prevent="handleSubmit">
|
||||
<a-spin :spinning="loading">
|
||||
<a-card title="تخفیف اتوماتیک یکبار مصرف ویژه مشتریان جدید" class="mb-base">
|
||||
<div class="grid-3">
|
||||
@@ -30,7 +30,7 @@
|
||||
</a-card>
|
||||
</a-spin>
|
||||
|
||||
<a-button type="primary" class="mr-4" @click="handleSubmit">ثبت اطلاعات</a-button>
|
||||
<a-button type="primary" class="mr-4 form-submit" @click="handleSubmit">ثبت اطلاعات</a-button>
|
||||
</a-form>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
commented-out `sts` and `confirmed` slots which stay absent.
|
||||
-->
|
||||
<div id="page-user-list">
|
||||
<a-card title="لیست تخفیف ها">
|
||||
<XTable ref="tbl" :model="model">
|
||||
<a-card title="لیست تخفیف ها" class="page-card">
|
||||
<XTable ref="tbl" :model="model" mobile-cards>
|
||||
<template #add>
|
||||
<div class="list-page-header-row">
|
||||
<ListPageHeader rid="offers.create" add-label="افزودن تخفیف عمده" @add="openAdd('omde')" />
|
||||
@@ -140,5 +140,12 @@ async function deletePromotion(record: Record<string, any>) {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.list-page-header-row {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user