- Fix silent redirect-to-home for unauthenticated users on protected routes; now redirects to login with a return path - Restyle OrderCard, SearchInput, Filters, DropDown, and product card image sizing/centering to match the app's LESS-token design language - Fix ant-design Slider handle placement/drag under RTL and seed a valid default range so handles actually render - Fix chip-row edge padding and top spacing across Orders/Cart/Search lists - Add pull-to-refresh to the dashboard and fix its header/padding to match the fixed PageBar pattern - Remove the floating WhatsApp button from index.html
52 lines
1.1 KiB
Vue
52 lines
1.1 KiB
Vue
<!--
|
|
New nav destination (bottom nav redesign) — no legacy equivalent and no
|
|
notifications backend exists in apps/api. Renders the same dashed
|
|
empty-state pattern used elsewhere (see FavoritesView) rather than
|
|
fabricating fake notification data.
|
|
-->
|
|
<template>
|
|
<div class="notif">
|
|
<PageBar title="اعلانها" back-to="home" />
|
|
|
|
<container class="notif__body">
|
|
<section class="notif__empty">
|
|
<Icon icon="vuesax-linear:notification" size="26" />
|
|
<p>اعلانی برای نمایش وجود ندارد.</p>
|
|
</section>
|
|
</container>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import Icon from '../../components/icon/Icon.vue'
|
|
import PageBar from '../../components/ui/PageBar.vue'
|
|
</script>
|
|
|
|
<style scoped lang="less">
|
|
.notif {
|
|
background: @canvas;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.notif__body {
|
|
padding-top: 76px;
|
|
padding-bottom: 90px;
|
|
}
|
|
|
|
.notif__empty {
|
|
margin-top: 8px;
|
|
padding: 38px 20px;
|
|
border: 1px dashed @hairline;
|
|
border-radius: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: @inkFaint;
|
|
}
|
|
.notif__empty p {
|
|
margin: 0;
|
|
font-size: 12.5px;
|
|
}
|
|
</style>
|