-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
491 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<template> | ||
<div | ||
class="h-auto p-4 bg-white rounded-lg shadow flex-col justify-start items-start gap-2 inline-flex" | ||
> | ||
<div class="self-stretch justify-between items-center gap-2 inline-flex"> | ||
<div class="justify-start items-center gap-2 flex"> | ||
<div | ||
class="px-2 py-1 bg-opacity-10 rounded-2xl border justify-center items-center flex" | ||
:class="{ | ||
'bg-lime-700 border-lime-700 text-lime-700': status === 'open', | ||
'bg-blue-700 border-blue-700 text-blue-700': | ||
status === 'dispatched', | ||
}" | ||
> | ||
<div class="text-[10px] font-normal">{{ status }}</div> | ||
</div> | ||
<div class="text-zinc-800 text-base font-bold"> | ||
{{ lastName }}, {{ firstName }} | ||
</div> | ||
</div> | ||
<div | ||
class="px-2 py-1 bg-red-600 bg-opacity-10 rounded-2xl border border-red-600 justify-center items-center flex" | ||
> | ||
<div class="text-red-600 text-[8px] font-normal">1</div> | ||
</div> | ||
</div> | ||
<div class="self-stretch text-black text-sm font-normal"> | ||
{{ workDescription }} | ||
</div> | ||
<div class="self-stretch justify-between items-center gap-4 inline-flex"> | ||
<div class="text-black text-opacity-50 text-xs font-normal"> | ||
#{{ number }} | ||
</div> | ||
<div class="justify-start items-center gap-1 flex"> | ||
<img class="w-3.5 h-3.5 rounded-[14px]" :src="doctor" /> | ||
<div class="text-black text-xs font-normal">Dr. Peter Silie</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'ItemComponent', | ||
props: { | ||
doctor: { type: String }, | ||
firstName: { type: String, required: true }, | ||
lastName: { type: String, required: true }, | ||
number: { type: String, required: true }, | ||
status: { type: String, required: true }, | ||
workDescription: { type: String }, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.