2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-12-19 11:57:07 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Vue Card Component</Title>
|
|
|
|
<Meta name="description" content="Card is a flexible container component." />
|
|
|
|
</Head>
|
|
|
|
|
2022-09-09 20:41:18 +00:00
|
|
|
<div class="content-section introduction">
|
|
|
|
<div class="feature-intro">
|
|
|
|
<h1>Card</h1>
|
|
|
|
<p>Card is a flexible container component.</p>
|
|
|
|
</div>
|
|
|
|
<AppDemoActions />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content-section implementation">
|
|
|
|
<Card style="width: 25rem; margin-bottom: 2em">
|
|
|
|
<template #title> Simple Card </template>
|
|
|
|
<template #content>
|
|
|
|
<p>
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
|
|
|
|
quas!
|
|
|
|
</p>
|
|
|
|
</template>
|
|
|
|
</Card>
|
|
|
|
|
|
|
|
<Card style="width: 25em">
|
|
|
|
<template #header>
|
2023-02-06 14:59:12 +00:00
|
|
|
<img alt="user header" src="https://primefaces.org/cdn/primevue/images/usercard.png" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
<template #title> Advanced Card </template>
|
|
|
|
<template #subtitle> Card subtitle </template>
|
|
|
|
<template #content>
|
|
|
|
<p>
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
|
|
|
|
quas!
|
|
|
|
</p>
|
|
|
|
</template>
|
|
|
|
<template #footer>
|
|
|
|
<Button icon="pi pi-check" label="Save" />
|
|
|
|
<Button icon="pi pi-times" label="Cancel" class="p-button-secondary" style="margin-left: 0.5em" />
|
|
|
|
</template>
|
|
|
|
</Card>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<CardDoc />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import CardDoc from './CardDoc';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
CardDoc: CardDoc
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
p {
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
</style>
|