PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / v3 / src / views / common / FormFields / AmContentFormField.vue
ameliabooking / v3 / src / views / common / FormFields Last commit date
AmAddressFormField.vue 5 days ago AmAttachmentFormField.vue 5 days ago AmCheckboxFormField.vue 5 days ago AmContentFormField.vue 5 days ago AmDatePickerFormField.vue 5 days ago AmInputFormField.vue 5 days ago AmPhoneFormField.vue 5 days ago AmRadioFormField.vue 5 days ago AmSelectFormField.vue 5 days ago AmSocialButton.vue 5 days ago
AmContentFormField.vue
67 lines
1 <template>
2 <el-form-item ref="formFieldRef" class="am-ff__item am-ff__item-content">
3 <div
4 class="am-ff__item-content__inner"
5 v-html="`<span class='am-icon-circle-info'></span> ${props.label}`"
6 />
7 </el-form-item>
8 </template>
9
10 <script setup>
11 // * Import from Vue
12 import { ref } from 'vue'
13
14 // * Form Item Props
15 let props = defineProps({
16 label: {
17 type: String,
18 },
19 })
20
21 // * Form Item Reference
22 let formFieldRef = ref(null)
23
24 defineExpose({
25 formFieldRef,
26 })
27 </script>
28
29 <script>
30 export default {
31 name: 'ContentFormField',
32 }
33 </script>
34
35 <style lang="scss">
36 @mixin contentFormItem {
37 // am - amelia
38 // ff - form field
39 .am-ff__item {
40 &-content {
41 border: 1px solid var(--am-c-inp-border);
42 border-radius: 6px;
43 background-color: transparent;
44 padding: 8px 12px;
45
46 .am-icon-circle-info {
47 display: inline-block;
48 font-size: 22px;
49 position: relative;
50 width: 16px;
51 height: 16px;
52
53 &:before {
54 position: absolute;
55 top: -2px;
56 left: -3px;
57 }
58 }
59 }
60 }
61 }
62
63 .amelia-v2-booking #amelia-container {
64 @include contentFormItem;
65 }
66 </style>
67