base_ui/components/dashboard/default/MainSectionDashboard.vue
2025-02-01 13:04:55 +03:30

68 lines
1.7 KiB
Vue
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-4 mt-3">
<div class="my-card">
<h2 class="title">آخرین فعالیتهای شما</h2>
<div class="content">
<span class="value">14</span><span class="subtitle">فهرست</span>
</div>
</div>
</div>
<div class="col-sm-12 col-md-4 mt-3">
<div class="my-card">
<h2 class="title">آمار دادههای سامانه</h2>
<div class="content">
<span class="value">14</span><span class="subtitle">داده ها</span>
</div>
</div>
</div>
<div class="col-sm-12 col-md-4 mt-3">
<div class="my-card">
<h2 class="title">موضوعات پیشنهادی</h2>
<div class="content">
<span class="value">28</span
><span class="subtitle">فهرست موضوعات</span>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
// import HttpService from "~/services/httpService";
export default {
beforeMount() {
// this.httpService = new HttpService(import.meta.env.VITE_REPO_BASE_URL);
},
};
</script>
<style lang="scss" scoped>
.my-card {
height: 25em;
display: flex;
flex-direction: column;
background-color: #fff;
border-radius: 1em;
overflow: hidden;
box-shadow: 0 0.4688rem 2.1875rem rgba(4, 9, 20, 0.03),
0 0.9375rem 1.4063rem rgba(4, 9, 20, 0.03),
0 0.25rem 0.5313rem rgba(4, 9, 20, 0.03),
0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
.title {
font-size: 1.2em;
text-align: left;
margin: 1em;
}
.content {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
}
</style>